Bernhard Loos bernhardloos@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.