Line Table Problems
Jan Kratochvil
jan.kratochvil@redhat.com
Thu Oct 6 20:19:00 GMT 2011
On Wed, 05 Oct 2011 14:25:54 +0200, Andrew Burgess wrote:
> My question then is, am I doing something wrong, what could I do
> differently to get gdb to give me the full file/line-number
> information, or does this look like a gdb bug?
I am not posting a fix, just that you guessed the reason right and it is due
to that mode `3' you use there:
if (mode & 0x1)
disasm_flags |= DISASSEMBLY_SOURCE;
which is the same as /m for the CLI `disassemble' command which is filed as:
[Bug gdb/11833] New: disassemble/m should be PC-driven, not source line driven
http://sourceware.org/bugzilla/show_bug.cgi?id=11833
Thanks,
Jan
More information about the Gdb
mailing list