This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: GDB startup session with Eclipse
- From: Guillaume MENANT <guillaume dot menant at geensys dot com>
- To: gdb at sourceware dot org
- Date: Thu, 17 Jan 2008 01:56:21 -0800 (PST)
- Subject: Re: GDB startup session with Eclipse
- References: <14416165.post@talk.nabble.com> <20071219135523.GA20046@caradoc.them.org> <14418949.post@talk.nabble.com> <20071219153714.GA31218@caradoc.them.org> <14420820.post@talk.nabble.com> <20071219170714.GA4495@caradoc.them.org> <14422110.post@talk.nabble.com> <20071219184050.GA9968@caradoc.them.org>
I'm still working on the GDB startup management in my stub. The log of the
sent commands is the following :
GDB -> $Hc-1#
Wrapper reply -> $+#
Call unsupported or unrecognized command method
Wrapper reply -> $#00
GDB -> $+#
GDB -> $qC#
Wrapper reply -> $+#
Call unsupported or unrecognized command method
Wrapper reply -> $#00
GDB -> $+#
GDB -> $qOffsets#
Wrapper reply -> $+#
Call unsupported or unrecognized command method
Wrapper reply -> $#00
GDB -> $+#
GDB -> $?#
Wrapper reply -> $+#
Call ? method
Sending stop reply
Wrapper reply -> $S12#B6
GDB -> $+#
GDB -> $Hg0#
Wrapper reply -> $+#
Call unsupported or unrecognized command method
Wrapper reply -> $#00
GDB -> $+#
GDB -> $p44#
Wrapper reply -> $+#
Call unsupported or unrecognized command method
Wrapper reply -> $#00
GDB -> $+#
GDB -> $g#
Wrapper reply -> $+#
Call g command method
Wrapper reply ->
$000074A3400010544000105440001054400010544000105440001054400010540001C4A9400010544000105440001054400010544000105440001054400010540003137F400010544000105440001054400010544000105440001054400010544000105440001054400010544000105440001054400010544000105440001054400010544000105440001054400010544000105440001054400010544000105440001054400010544000105440001054400010544000105440001054400010544000105440001054400010544000105440001054400010544000105440001054400010544000105440001054400010544000105440001054400010544000105400000000009000E60000000240000000400012584A71AA200000404000000000#52
GDB -> $+#
GDB -> $!#
Wrapper reply -> $+#
Call unsupported or unrecognized command method
Wrapper reply -> $#00
GDB -> $+#
GDB -> $qSymbol::#
Wrapper reply -> $+#
Call unsupported or unrecognized command method
Wrapper reply -> $#00
GDB -> $+#
GDB -> $k#
Wrapper reply -> $+#
Call unsupported or unrecognized command method
Wrapper reply -> $#00
GDB -> $k#
Wrapper reply -> $+#
Call unsupported or unrecognized command method
Wrapper reply -> $#00
GDB -> $+#
Deleting socket.
1 - What is the real purpose of the '!' command (I'm french and I don't
understand weel the explanation in the GDB documentation).
2 - Is qSymbol mandatory ? What is a symbol and what are their use ?
3 - Why GDB sends me a 'k' command ? Yet, I'm assuming there is no running
software in my AT697 to kill. I just want to connect to GDB and make my
board enter in debug mode in order to load my application in my board using
GDB. Am I right ?
4 - Why GDB closes the TCP/IP socket at the end of this exchange ?
Thanks a lot for your answers which will be very usefull to me :)
Daniel Jacobowitz-2 wrote:
>
> On Wed, Dec 19, 2007 at 10:02:12AM -0800, Guillaume MENANT wrote:
>>
>> Thanks. I've seen this part about the '+' and '-' but I haven't realized
>> that
>> it was in both sides :-/ Here is the current conversation between my
>> software (<-) and GDB controlled by Eclipse (->) :
>>
>> -> 'qSupported'
>> <- 'qXfer:memory-map:read+'
>
> Make sure you have the encapsulation and checksumming right.
>
> Try 'set debug serial 1' and 'set debug remote 1'.
>
> --
> Daniel Jacobowitz
> CodeSourcery
>
>
--
View this message in context: http://www.nabble.com/GDB-startup-session-with-Eclipse-tp14416165p14915621.html
Sent from the Sourceware - gdb list mailing list archive at Nabble.com.