Support assembler modules with line info only

Vladimir Prus ghost@cs.msu.su
Thu Jul 14 14:16:00 GMT 2005


The attached patch allows gdb to debug assembler modules that have only
line number information, and nothing else (including function names).


Changerlog entry:
2005-07-14  Vladimur Prus <ghost@cs.msu.su>

     gdb/infrun.c (handle_inferior_event): When deciding if we've entered
	    undebuggable function, check for ecs->sal.line != 0, not for
        ecs->stop_func_name != NULL.


Thanks,
Volodya
-------------- next part --------------
A non-text attachment was scrubbed...
Name: debug_assembler_functions.diff
Type: text/x-diff
Size: 933 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20050714/05606d87/attachment.bin>


More information about the Gdb-patches mailing list