How can I get the C function prototype from a SO(link by cc) on solaris using gdb?

Keith Seitz
Fri Jun 21 10:27:00 GMT 2002

On Fri, 21 Jun 2002, wrote:

>  I try to find out the prototype of functions in this library,gdb output:
> (gdb) p GetDatVersion
>  $1 = {<text variable, no debug info>} 0xff273374 <GetDatVersion>

>  Does the library must complied by gcc?

No, but it must contain debug info that gdb can read...


More information about the Gdb mailing list