[prev in list] [next in list] [prev in thread] [next in thread]
List: gdb
Subject: Re: Why running the next command will jump back to the previous line position
From: asmwarrior <asmwarrior () gmail ! com>
Date: 2011-10-29 14:15:59
Message-ID: 4EAC0A9F.3080709 () gmail ! com
[Download RAW message or body]
On 2011-10-29 18:39, 陳韋任 wrote:
>>> Maybe GCC could produce there DW_LNS_negate_stmt so that the variable
>>> declaration line is still shown in backtraces (if the destructor crashes) but
>>> it is skipped over during stepping/nexting; but GDB currently would not show
>>> such line in backtraces, GCC currently does not produce DW_LNS_negate_stmt
>>> anyway.
>>>
>>
>> I'm not quite sure what DW_LNS_negate_stmt means, any way, I will forward my question to GCC maillist.
>
> GCC should emit debug information so that GDB can work correctly.
> You can checkout http://dwarfstd.org/doc/Dwarf3.pdf .
>
> Regards,
> chenwj
>
Well, thanks. It looks like there is a similar gcc bug report.
see:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49951
It looks like at this revision:
http://gcc.gnu.org/viewcvs?view=revision&revision=149722
I have no experience to dig into gcc source.... Hope the GCC guys can help.
asmwarrior
ollydbg from codeblocks' forum
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic