liujun wrote:
where can get the material about ctfconvert/ctfmerge
my problem is follow:
#gcc -D_KERNEL -c -g dummy.c
#ctfconvert -g -l LBL dummy.o
[color=Red]ERROR:ctfconvert:GCC-generated stabs are unsupported. Use DWAF
instead.
removing dummy.o[/color]
I don't know the PARAM -l means
The stabs message means (iirc) that you need to add the
-gdwarf-2
argument to your gcc command line.
The "-l label" argument to ctfconvert is to allow ctfconvert
to attach labels to the symbols which it finds in your object
file.
James C. McPherson
--
Solaris kernel software engineer, system admin and troubleshooter
http://www.jmcp.homeunix.com/blog
Find me on LinkedIn @ http://www.linkedin.com/in/jamescmcpherson
_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code