public inbox for linuxppc-dev@ozlabs.org 
 help / color / mirror / Atom feed
* still using stabs debug format?
@ 2007-08-17 13:17 Kumar Gala
  2007-08-18  0:54 ` Segher Boessenkool
  0 siblings, 1 reply; 4+ messages in thread
From: Kumar Gala @ 2007-08-17 13:17 UTC (permalink / raw)
  To: linuxppc-dev@ozlabs•org list; +Cc: Ed Swarthout

Is anyone really still using the stabs format for kernel debug?

can we kill off the .stabs references?

- k

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: still using stabs debug format?
  2007-08-17 13:17 still using stabs debug format? Kumar Gala
@ 2007-08-18  0:54 ` Segher Boessenkool
  2007-08-18 16:33   ` Kumar Gala
  0 siblings, 1 reply; 4+ messages in thread
From: Segher Boessenkool @ 2007-08-18  0:54 UTC (permalink / raw)
  To: Kumar Gala; +Cc: linuxppc-dev@ozlabs•org list, Ed Swarthout

> 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?


Segher

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: still using stabs debug format?
  2007-08-18  0:54 ` Segher Boessenkool
@ 2007-08-18 16:33   ` Kumar Gala
  2007-09-12 16:00     ` Kumar Gala
  0 siblings, 1 reply; 4+ messages in thread
From: Kumar Gala @ 2007-08-18 16:33 UTC (permalink / raw)
  To: Segher Boessenkool; +Cc: linuxppc-dev@ozlabs•org list, Ed Swarthout


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?

- k

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: still using stabs debug format?
  2007-08-18 16:33   ` Kumar Gala
@ 2007-09-12 16:00     ` Kumar Gala
  0 siblings, 0 replies; 4+ messages in thread
From: Kumar Gala @ 2007-09-12 16:00 UTC (permalink / raw)
  To: bje, Ulrich Weigand
  Cc: linuxppc-dev@ozlabs•org list, Paul Mackerras, Ed Swarthout

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-09-12 15:57 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-17 13:17 still using stabs debug format? Kumar Gala
2007-08-18  0:54 ` Segher Boessenkool
2007-08-18 16:33   ` Kumar Gala
2007-09-12 16:00     ` Kumar Gala

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox