From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11513 invoked by alias); 17 Jan 2008 09:56:47 -0000 Received: (qmail 11504 invoked by uid 22791); 17 Jan 2008 09:56:47 -0000 X-Spam-Check-By: sourceware.org Received: from kuber.nabble.com (HELO kuber.nabble.com) (216.139.236.158) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 17 Jan 2008 09:56:23 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1JFRTx-0005VP-IY for gdb@sourceware.org; Thu, 17 Jan 2008 01:56:21 -0800 Message-ID: <14915621.post@talk.nabble.com> Date: Thu, 17 Jan 2008 09:56:00 -0000 From: Guillaume MENANT To: gdb@sourceware.org Subject: Re: GDB startup session with Eclipse In-Reply-To: <20071219184050.GA9968@caradoc.them.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: guillaume.menant@geensys.com 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> X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2008-01/txt/msg00142.txt.bz2 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.