Obtaining current address for .stabs

John Levon levon@movementarian.org
Tue Mar 5 09:05:00 GMT 2002


On Tue, Mar 05, 2002 at 12:08:55AM -0500, Daniel Jacobowitz wrote:

> No need to do it this way at all.  I can give you a simpler solution, I
> think.  And this even fixes your problems with stabs: Use local labels.

This is exactly what I ended up doing, don't know why I thought of it
before :)

And it looks like it's working fine :

...
4884 hits (7.65109502772817%): &zone->lock in page_alloc.c:183
5741 hits (8.99363975310963%): &zone->lock in page_alloc.c:104
6196 hits (9.70642604254786%): &kernel_flag in readdir.c:26
12645 hits (19.8091925932888%): &dcache_lock in dcache.c:712

> DWARF-2.  Stabs is a crufty, underdocumented, hard-to-parse format. 

I have the spec, I shall go read :)

Thanks very much for your help Daniel.

regards
john
-- 
I am a complete moron for forgetting about endianness. May I be
forever marked as such.



More information about the Binutils mailing list