How to skip function prologues with stabs debug infomation?

Jan Kratochvil jan.kratochvil@redhat.com
Sat Aug 20 11:40:00 GMT 2011


On Sat, 20 Aug 2011 05:45:01 +0200, Triple Yang wrote:
> I agree with that. Since we can get line number from binary file's
> section offset, and vice versa, we can skip prologue using line
> number. The practical problem is that, I don't know how to implement
> it, i.e. what functions should be called. Any suggestions?

It is already implemented, if you just want to write a new GDB arch backend.
This code in GDB is arch-independent.

It would be better to give a reproducer or I do not understand the problem.


Regards,
Jan



More information about the Gdb mailing list