From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27256 invoked by alias); 23 Jun 2005 20:43:47 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 27051 invoked by uid 22791); 23 Jun 2005 20:43:26 -0000 Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Thu, 23 Jun 2005 20:43:26 +0000 Received: from drow by nevyn.them.org with local (Exim 4.51) id 1DlYXh-0007p9-5Q; Thu, 23 Jun 2005 16:43:21 -0400 Date: Thu, 23 Jun 2005 20:43:00 -0000 From: Daniel Jacobowitz To: Chad Phillips Cc: ramana.radhakrishnan@codito.com, gdb@sources.redhat.com Subject: Re: single-stepping remote target fails Message-ID: <20050623204321.GA30007@nevyn.them.org> Mail-Followup-To: Chad Phillips , ramana.radhakrishnan@codito.com, gdb@sources.redhat.com References: <42BAD2C4.3070802@yahoo.com> <42BAD801.1000509@yahoo.com> <1119545687.15278.62.camel@localhost.localdomain> <42BB1D8C.5020203@yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <42BB1D8C.5020203@yahoo.com> User-Agent: Mutt/1.5.8i X-SW-Source: 2005-06/txt/msg00214.txt.bz2 On Thu, Jun 23, 2005 at 04:37:32PM -0400, Chad Phillips wrote: > > >On Thu, Jun 23, 2005 at 01:06:42PM -0400, Chad Phillips wrote: > >>Sending packet: $s#73...Ack > >>Packet received: S00 > >>Sending packet: $p40#d4...Ack > >>Packet received: 0000438E > >> > >>Program received signal 0, Signal 0. > > > >You should be returning S05, SIGTRAP. > > > > Fantastic! That solved my problem. Now, gdb continues to step to the > next source instruction. Thanks! > > BTW, the documentation for the remote protocol simply says that the > signal number is 'poorly defined', and in general to use UNIX > conventions. I made the incorrect assumption that the signal number is > irrelevant. Are there other signal numbers that have significance to GDB? I think, only cosmetically. -- Daniel Jacobowitz CodeSourcery, LLC