<div dir="ltr">There was a small change in the file <a href="http://pc386.in" target="_blank">pc386.in</a> that i made to get qemu to connect to gdb, but gdb can't seem to find the rtems kernel binaries.<div><br></div>
<div>The change was to add GDBARGS = -s if -G option is specified.</div><div><br></div><div>Thanks,</div><div>Sree</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Jul 28, 2013 at 2:56 PM, Joel Sherrill <span dir="ltr"><<a href="mailto:Joel.Sherrill@oarcorp.com" target="_blank">Joel.Sherrill@oarcorp.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


<div>
<pre style="font-size:10.0pt;font-family:Tahoma;word-wrap:break-word">Then it should start qemu with the right arguments to so it starts in gdb server. You will need to start gdb in another window and attach with a command like target remote :1234... From memory but that should be close.

You can always check the qemu docs to get the port number but the simulator is separate from gdb so you need to test it as an external target.

Sree harsha <<a href="mailto:sreehars@buffalo.edu" target="_blank">sreehars@buffalo.edu</a>> wrote:

</pre>
<div><div class="im">
<div>It is for pc386 to test the globaledf scheduler</div>
<div><br>
</div>
<div><br>
</div>
<div>
<div style="font-size:75%;color:#575757">Sent from my Verizon Wireless 4G LTE Smartphone</div>
</div>
<br>
<br>
<br></div><div><div class="h5">
-------- Original message --------<br>
From: Joel Sherrill <Joel.Sherrill@OARcorp.com> <br>
Date: 07/28/2013 2:09 PM (GMT-05:00) <br>
To: Sree Harsha Konduri <<a href="mailto:sreehars@buffalo.edu" target="_blank">sreehars@buffalo.edu</a>> <br>
Cc: <a href="mailto:rtems-devel@rtems.org" target="_blank">rtems-devel@rtems.org</a> <br>
Subject: Re: rtems-testing with gdb option <br>
<br>
<br>
<pre style="font-size:10.0pt;font-family:Tahoma;word-wrap:break-word">Depends on the simulator if that mode is supported. It is for simulators you run in a separate window from the gdb session.

Which simulator?

Sree Harsha Konduri <<a href="mailto:sreehars@buffalo.edu" target="_blank">sreehars@buffalo.edu</a>> wrote:

</pre>
<div>
<div dir="ltr">Hello,
<div><br>
</div>
<div>The rtems-testing module is provided with a -G option to put the executable to run in gdb mode, but this is not the case when we run it with -G. Is there something i am missing, can someone help me on this?</div>
<div><br>
</div>
<div>Thanks,</div>
<div>Sree</div>
</div>
</div>
</div></div></div>
</div>

</blockquote></div><br></div>