Re: Need help on Solaris -g stabs (Casper H.S. Dik)
Wed, 30 Nov 1994 06:14:08 GMT

          From comp.compilers

Related articles
Need help on Solaris -g stabs (1994-11-23)
Re: Need help on Solaris -g stabs (1994-11-30)
| List of all articles for this month |

Newsgroups: comp.compilers,comp.sys.sun.misc
From: (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
References: 94-11-141
Date: Wed, 30 Nov 1994 06:14:08 GMT
X-Phone: +31 20 525 7463 (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 "".

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,
>pray tell?

One good way to find out stuff like this is:

truss -t open dbx


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.