I was able to run "make check" command on the SH4 target (but not using dejagnu remotely) with the following results:<br> - 74 tests passed<br> - 6 tests failed<br>On my host I can see:<br> - 79 passed<br> - 1 failed<br>
<br>I've noticed ltrace for SH4 is not able to attach and trace (see the log below) a process by pid (so the "attach-process" test fails).<br>Any idea? Where can I start looking at?<br><br>....<br>DEBUG: breakpoints.c
:31: insert_breakpoint(): symbol=getpwuid, addr=0x4012a0<br>DEBUG: breakpoint.c:25: enable_breakpoint(): enable_breakpoint(2894,0x4012a0)<br>DEBUG: process_event.c:93: process_event(): event: signal (SIGSTOP [19])<br>2894 --- SIGSTOP (Stopped (signal)) ---
<br>DEBUG: process_event.c:93: process_event(): event: signal (SIGSTOP [19])<br>2894 --- SIGSTOP (Stopped (signal)) ---<br>DEBUG: process_event.c:109: process_event(): event: syscall (SYS_write [4])<br>2894 SYS_write(1, "7
28-11.test\n", 13 <no return ...><br>DEBUG: process_event.c:115: process_event(): event: sysret (SYS_write [4])<br>2894 <... SYS_write resumed> ) = 13<br>DEBUG: process_event.c:119: process_event(): event: breakpoint
<br>2894 sprintf( <unfinished ...><br>DEBUG: breakpoints.c:31: insert_breakpoint(): symbol=(nil), addr=0x4041d8<br>DEBUG: breakpoint.c:25: enable_breakpoint(): enable_breakpoint(2894,0x4041d8)<br>DEBUG: process_event.c:119: process_event(): event: breakpoint
<br>DEBUG: breakpoint.c:25: enable_breakpoint(): enable_breakpoint(2894,0x4016e4)<br>DEBUG: process_event.c:119: process_event(): event: breakpoint<br>2894 <... sprintf resumed> "\2145W),\231\315{(CX)~U\335q\030\376\377\377@\337V)\370\231
<br>\315{", "\2145W),\231\315{(CX)~U\335q\030"...) = 14<br>DEBUG: process_event.c:109: process_event(): event: syscall (SYS_exit [1])<br>2894 SYS_exit(2077072044 <no return ...><br>DEBUG: process_event.c:115: process_event(): event: sysret (SYS_exit [1])
<br>2894 <... SYS_exit resumed> ) = <void><br>DEBUG: process_event.c:109: process_event(): event: syscall (SYS_exit [1])<br>2894 SYS_exit(2077072044 <no return ...><br>DEBUG: process_event.c:115: process_event(): event: sysret (SYS_exit [1])
<br>2894 <... SYS_exit resumed> ) = <void><br>DEBUG: process_event.c:109: process_event(): event: syscall (SYS_exit [1])<br>2894 SYS_exit(2077072044 <no return ...><br>...<br><br>Giuseppe
<br><br><div><span class="gmail_quote">On 18/06/07, <b class="gmail_sendername">Giuseppe Cavallaro</b> <<a href="mailto:peppe.cavallaro@gmail.com">peppe.cavallaro@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><span class="e" id="q_1133e2b627a925a7_0"><span class="gmail_quote"></span><span>On 14/06/07, <b class="gmail_sendername">Ian Wienand</b> <<a href="mailto:ianw@gelato.unsw.edu.au" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
ianw@gelato.unsw.edu.au</a>> wrote:</span><div><span><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Wed, Jun 13, 2007 at 03:59:49PM +0200, Giuseppe Cavallaro wrote:<br>> where can I download the right testsuite version for ltrace 0.4?<br>> So I'll provide the testsuite results.<br><br>Please make sure your patch applies against SVN (it should be fine)
</blockquote></span><div><br>in attachment the new PATCH based on the latest tree.<br></div><span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
and then run the test suite with "make check"
</blockquote></span><div><br>Concerning this point, it should take a long while.<br>Unfortunately, I've not built and installed dejagnu package on my SH4 target rootFS yet. <br>So I cannot run "make check" command on the target, directly.
<br>I'd like to execute the testsuite using dejagnu working "cross-target mode".<br>I've modified both the testsuite/Makefile and my dejagnu configuration files (site.exp etc...) so all tests are remotely built on SH4 target but the ltrace command, built for SH4 and invoked by dejagnu, is executed on the i386 host, so all tests fails (for more details see the log in attachment).
<br>How can I force dejagnu to execute the ltrace command on the remote target?<br><br>Regards,<br>Giuseppe</div></div>
<br clear="all">
</span></div><br clear="all"></blockquote></div><br>