This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFC] problem fetching inferior memory due to breakpoint
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