I was able to run "make check" command on the SH4 target (but not using dejagnu remotely) with the following results:<br>&nbsp; - 74 tests passed<br>&nbsp; - 6 tests failed<br>On my host I can see:<br>&nbsp;- 79 passed<br>&nbsp;- 1 failed<br>
<br>I&#39;ve noticed ltrace for SH4 is not able to attach and trace (see the log below) a process by pid (so the &quot;attach-process&quot; 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, &quot;7 
28-11.test\n&quot;, 13 &lt;no return ...&gt;<br>DEBUG: process_event.c:115: process_event(): event: sysret (SYS_write [4])<br>2894 &lt;... SYS_write resumed&gt; )&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = 13<br>DEBUG: process_event.c:119: process_event(): event: breakpoint
<br>2894 sprintf( &lt;unfinished ...&gt;<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 &lt;... sprintf resumed&gt; &quot;\2145W),\231\315{(CX)~U\335q\030\376\377\377@\337V)\370\231
<br>\315{&quot;, &quot;\2145W),\231\315{(CX)~U\335q\030&quot;...) = 14<br>DEBUG: process_event.c:109: process_event(): event: syscall (SYS_exit [1])<br>2894 SYS_exit(2077072044 &lt;no return ...&gt;<br>DEBUG: process_event.c:115: process_event(): event: sysret (SYS_exit [1])
<br>2894 &lt;... SYS_exit resumed&gt; )&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &lt;void&gt;<br>DEBUG: process_event.c:109: process_event(): event: syscall (SYS_exit [1])<br>2894 SYS_exit(2077072044 &lt;no return ...&gt;<br>DEBUG: process_event.c:115: process_event(): event: sysret (SYS_exit [1])
<br>2894 &lt;... SYS_exit resumed&gt; )&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &lt;void&gt;<br>DEBUG: process_event.c:109: process_event(): event: syscall (SYS_exit [1])<br>2894 SYS_exit(2077072044 &lt;no return ...&gt;<br>...<br><br>Giuseppe
<br><br><div><span class="gmail_quote">On 18/06/07, <b class="gmail_sendername">Giuseppe Cavallaro</b> &lt;<a href="mailto:peppe.cavallaro@gmail.com">peppe.cavallaro@gmail.com</a>&gt; 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> &lt;<a href="mailto:ianw@gelato.unsw.edu.au" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">

ianw@gelato.unsw.edu.au</a>&gt; 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>&gt; where can I download the right testsuite version for ltrace 0.4?<br>&gt; So I&#39;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&nbsp; 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 &quot;make check&quot;
</blockquote></span><div><br>Concerning this point, it should take a long while.<br>Unfortunately, I&#39;ve not built and installed dejagnu package on my SH4 target rootFS yet. <br>So I cannot run &quot;make check&quot; command on the target, directly.
<br>I&#39;d like to execute the testsuite using dejagnu working &quot;cross-target mode&quot;.<br>I&#39;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&nbsp; 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>