|Need help on Solaris -g stabs email@example.com (1994-11-23)|
|Re: Need help on Solaris -g stabs firstname.lastname@example.org (1994-11-30)|
|From:||email@example.com (Casper H.S. Dik)|
|X-Organisation:||Faculty of Mathematics & Computer Science University of Amsterdam Kruislaan 403 NL-1098 SJ Amsterdam The Netherlands|
|X-Telex:||10262 hef nl|
|Keywords:||sparc, assembler, linker, debug|
|Organization:||FWI, University of Amsterdam|
|X-Fax:||+31 20 525 7490|
|Date:||Wed, 30 Nov 1994 06:14:08 GMT|
|X-Phone:||+31 20 525 7463|
firstname.lastname@example.org (Dave Jones) writes:
>I have some debugger type software that I need to port to Sun OS 5.3
>(Solaris II). My problem is that the symbol table entries ("stab's") for
>function parameters do not seem to be propagated into shared libraries.
>For example, I have a routine named "shared_routine" with a parameter
>called "parameter" in file "foo.cc".
You need to pass the -xs switch to the compiler.
>But when I create a shared library with the file foo.o in it, I find no
>such information. Where did it go? Sun's dbx-based debugger (called,
>appropriately enough, "debugger") finds the information somewhere. Where,
One good way to find out stuff like this is:
truss -t open dbx
Return to the
Search the comp.compilers archives again.