From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11100 invoked by alias); 23 Jun 2005 16:16:46 -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 11043 invoked by uid 22791); 23 Jun 2005 16:16:40 -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 16:16:40 +0000 Received: from drow by nevyn.them.org with local (Exim 4.51) id 1DlUNb-0003aa-11; Thu, 23 Jun 2005 12:16:39 -0400 Date: Thu, 23 Jun 2005 16:16:00 -0000 From: Daniel Jacobowitz To: Chad Phillips Cc: gdb@sources.redhat.com Subject: Re: single-stepping remote target fails Message-ID: <20050623161638.GA13696@nevyn.them.org> Mail-Followup-To: Chad Phillips , gdb@sources.redhat.com References: <42BAD2C4.3070802@yahoo.com> <42BAD801.1000509@yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <42BAD801.1000509@yahoo.com> User-Agent: Mutt/1.5.8i X-SW-Source: 2005-06/txt/msg00207.txt.bz2 On Thu, Jun 23, 2005 at 11:40:49AM -0400, Chad Phillips wrote: > >On Thu, Jun 23, 2005 at 11:18:28AM -0400, Chad Phillips wrote: > >> Problem 1. > >> Single stepping in C source only steps by single machine instruction. > >> I had expected that GDB might try to set breakpoints on the next > >> instruction and then continue, but I see no such requests from GDB. > >> How does GDB cause single steps through C (any high level language) > >> source? > >It does hardware single steps until the source line of the $pc changes. > > Interesting. It makes no requests to set breakpoints. If I explicitly > set breakpoints, they work. But when I issue the step command, I get > no breakpoint commands at my proxy application from GDB. Any Ideas? I have no idea what you mean; could you give a concrete example? -- Daniel Jacobowitz CodeSourcery, LLC