From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27605 invoked by alias); 28 Apr 2006 17:45:16 -0000 Received: (qmail 27597 invoked by uid 22791); 28 Apr 2006 17:45:15 -0000 X-Spam-Check-By: sourceware.org Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Fri, 28 Apr 2006 17:45:14 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1FZX1k-0000NF-9k for gdb-patches@sourceware.org; Fri, 28 Apr 2006 13:45:12 -0400 Date: Fri, 28 Apr 2006 17:45:00 -0000 From: Daniel Jacobowitz To: gdb-patches@sourceware.org Subject: Re: [RFC] problem fetching inferior memory due to breakpoint Message-ID: <20060428174512.GA1381@nevyn.them.org> Mail-Followup-To: gdb-patches@sourceware.org References: <20060426190517.GA930@adacore.com> <20060427205621.GD930@adacore.com> <20060428170001.GE930@adacore.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060428170001.GE930@adacore.com> User-Agent: Mutt/1.5.8i X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2006-04/txt/msg00369.txt.bz2 On Fri, Apr 28, 2006 at 10:00:01AM -0700, Joel Brobecker wrote: > Here is the transcript of my GDB session: > > (gdb) b *hello > Breakpoint 1 at 0x401050: file foo.c, line 5. > (gdb) run > Starting program: /home/gnatmail/brobecke/bt/foo.cygwin.exe > > Breakpoint 1, hello () at foo.c:5 > 5 { > (gdb) stepi 2 > 0x00401053 in hello () at foo.c:5 > 5 { > (gdb) bt > #0 0x00401053 in hello () at foo.c:5 > #1 0x0022ee78 in ?? () > #2 0x00401093 in main () at foo.c:12 FWIW, I get the same result. -- Daniel Jacobowitz CodeSourcery