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
> Date: Thu, 27 Apr 2006 13:56:21 -0700
> From: Joel Brobecker <brobecker@adacore.com>
> Cc: gdb-patches@sources.redhat.com
>
> > > (gdb) bt
> > > #0 0x00401053 in hello () at foo.c:5
> > > #1 0x0022ee88 in ?? ()
> > > #2 0x00401093 in main () at foo.c:12
> > >
> > > We get an extra frame between hello() and main().
> >
> > I cannot reproduce this with a MinGW-compiled program, using GDB 6.3
> > and 6.3.50.20051116-cvs. What version of GDB are you using? Is this
> > problem visible only in a recent codebase?
>
> Right now, I'm working on 6.4.50.20060426-cvs. I would pretty surprised
> if 6.3 didn't have the problem
Then this is very strange, since I don't think the two ports of GCC,
the MinGW one and the Cygwin one, produce different code here. We
could compare disassembly, I guess.
What compilation switches did you use? For that matter, can you
compile with -v and post everything that GCC printed?