stabs at function entry point?

Richard Henderson rth@redhat.com
Wed Mar 13 13:12:00 GMT 2002


On Tue, Mar 12, 2002 at 05:32:37PM -0800, Dale Johannesen wrote:
> Our gdb guy, Jim Ingham, pointed out that gcc3 on Darwin (which uses
> dbx-style debug info [stabs]) is generating the first line-number
> stab in a function before the prologue.  Jim argues that it should
> be after the prologue, and has convinced Stan and me.

Perhaps I'm mis-remembering, but I thought the first line number stab
goes with the very first instruction of the function, and the *second*
line number stab goes after the prologue.


r~



More information about the Gcc mailing list