On Thu, Mar 30, 2006 at 12:44:08PM -0600, Eric Lowe wrote: > >Then I did like this, it's no use either. > >#gcc -D_KERNEL -c -g dummy.c > >#ctfconvert -g -l LBL dummy.o > >and I got the message??? > >ERROR:ctfconvert:GCC-generated stabs are unsupported. Use DWAF instead. > >removing dummy.o > > First you need -g to generate the stabs that ctfconvert needs; your second > attempt got that right, but as the error message says gcc stabs aren't > supported by ctfconvert yet. You need to use the Sun C compiler.
Or DWARF for GCC. Namely -gdwarf2. I'm not sure if his GCC is just too old to produce DWARF by default, or what. > Hopefully someone who knows more about the CTF roadmap can chime in on > whether there is an RFE to support gcc-style stabs and if so, when it's > likely to become supported. AFAIK there's no plan to do this, since it's not really needed. regards john