still using stabs debug format?

Kumar Gala galak at kernel.crashing.org
Thu Sep 13 02:00:32 EST 2007


Ben, Uli

Paul/BenH suggested that you might be able to help with my question.

> On Aug 17, 2007, at 7:54 PM, Segher Boessenkool wrote:
>
>>> Is anyone really still using the stabs format for kernel debug?
>>>
>>> can we kill off the .stabs references?
>>
>> What, you want to replace them with dwarf markup?  Or just
>> get rid of the debug info completely?
>
> There are two users today:
>
> * N_SO for file information we can easily make into .file
> * N_FUN used in _GLOBAL() that marks it a 'function' is a bit
> misleading since we use this for both functions and data.  Not sure
> what to do about that one, any suggestions?

#define _GLOBAL(n)      \
         .text;          \
         .stabs __stringify(n:F-1),N_FUN,0,0,n;\
         .globl n;       \
n:

this is the .stabs reference I'm trying to figure out what the dwarf  
equiv would be.

- k



More information about the Linuxppc-dev mailing list