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

Bernhard Loos bernhardloos at googlemail.com
Tue Sep 27 14:05:33 CDT 2011


On Tue, Sep 27, 2011 at 6:06 PM, Alexandre Julliard <julliard at winehq.org> wrote:
> 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.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50544
Let's see how it goes.

> --
> Alexandre Julliard
> julliard at winehq.org
>



More information about the wine-devel mailing list