This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: backtrace through 'sleep', (1255 and 1253)
On Mon, Aug 04, 2003 at 11:40:47AM -0400, Elena Zannoni wrote:
> Unlikely to happen, I am afraid :-(
>
> > . Ask the gcc guys directly to not schedule any instructions between
> > 'push %ebp' and 'mov %esp, %ebp'.
> >
>
> more likely.
Not very, I think.
> > . Change gdb so that the prologue reader is more powerful. It doesn't
> > take much to get through the 'xor %ecx, %ecx' instruction. The
> > trouble is that there could be a billion different instructions
> > in there ('mov any-register, immediate'). The advantage is that
> > this would work without any changes to external software.
> >
>
> yes. How did the prologue analyzer changed between 5.3 and now?
Mark dramatically enhanced it at the same time he added dwarf2 CFI
unwinding. Unfortunately, the higher accuracy is causing it to assume
some functions are frameless which aren't.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer