LiBei 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. 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. - Eric