rtems-testing with gdb option

Joel Sherrill joel.sherrill at OARcorp.com
Mon Jul 29 14:38:04 UTC 2013


On 7/28/2013 10:30 PM, Sree Harsha Konduri wrote:
> There was a small change in the file pc386.in <http://pc386.in> that i 
> made to get qemu to connect to gdb, but gdb can't seem to find the 
> rtems kernel binaries.
>
> The change was to add GDBARGS = -s if -G option is specified.
>
Can you provide the patch? I am happy to commit it.
> Thanks,
> Sree
>
>
> On Sun, Jul 28, 2013 at 2:56 PM, Joel Sherrill 
> <Joel.Sherrill at oarcorp.com <mailto:Joel.Sherrill at oarcorp.com>> wrote:
>
>     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 <sreehars at buffalo.edu  <mailto:sreehars at buffalo.edu>> wrote:
>
>     It is for pc386 to test the globaledf scheduler
>
>
>     Sent from my Verizon Wireless 4G LTE Smartphone
>
>
>
>     -------- Original message --------
>     From: Joel Sherrill <Joel.Sherrill at OARcorp.com>
>     Date: 07/28/2013 2:09 PM (GMT-05:00)
>     To: Sree Harsha Konduri <sreehars at buffalo.edu
>     <mailto:sreehars at buffalo.edu>>
>     Cc: rtems-devel at rtems.org <mailto:rtems-devel at rtems.org>
>     Subject: Re: rtems-testing with gdb option
>
>
>     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 <sreehars at buffalo.edu  <mailto:sreehars at buffalo.edu>> wrote:
>
>     Hello,
>
>     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?
>
>     Thanks,
>     Sree
>
>


-- 
Joel Sherrill, Ph.D.             Director of Research & Development
joel.sherrill at OARcorp.com        On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
Support Available                (256) 722-9985

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20130729/891c7234/attachment-0001.html>


More information about the devel mailing list