[PATCH] kernel32: make it possible to create a backtrace from a RaiseException exception in gdb

Alexandre Julliard julliard at winehq.org
Tue Sep 27 11:06:48 CDT 2011

Bernhard Loos <bernhardloos at googlemail.com> writes:

> RtlRaiseException_helper2 has one argument in this case and gcc
> retores the original esp value after the call. The problem is, that
> gcc doesn't emit DWARF frame adjustment ops for this whole exercise,
> so for the single instruction at 0x7b839cf9, gdb assumes the wrong Esp
> value and the result are broken backtraces. Usually, this doesn't hurt
> much but in this case the Eip value for the exception context points
> there which makes this pretty annoying.

I suggest filing a bug with gcc then.

Alexandre Julliard
julliard at winehq.org

More information about the wine-devel mailing list