From: Guillaume MENANT <guillaume.menant@geensys.com>
To: gdb@sourceware.org
Subject: Re: GDB startup session with Eclipse
Date: Thu, 17 Jan 2008 09:56:00 -0000 [thread overview]
Message-ID: <14915621.post@talk.nabble.com> (raw)
In-Reply-To: <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.
next prev parent reply other threads:[~2008-01-17 9:56 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-12-19 12:35 Guillaume MENANT
2007-12-19 13:55 ` Daniel Jacobowitz
2007-12-19 15:30 ` Guillaume MENANT
2007-12-19 15:37 ` Daniel Jacobowitz
2007-12-19 17:01 ` Guillaume MENANT
2007-12-19 17:07 ` Daniel Jacobowitz
2007-12-19 18:02 ` Guillaume MENANT
2007-12-19 18:40 ` Daniel Jacobowitz
2008-01-17 9:56 ` Guillaume MENANT [this message]
[not found] ` <14923786.post@talk.nabble.com>
2008-01-17 18:00 ` Vladimir Prus
2008-01-18 7:53 ` Guillaume MENANT
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=14915621.post@talk.nabble.com \
--to=guillaume.menant@geensys.com \
--cc=gdb@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox