Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* How can I get the C function prototype from a SO(link by cc) on solaris using gdb?
@ 2002-06-21  2:16 NewHaka@hotmail
  2002-06-21  8:38 ` Joel Brobecker
  2002-06-21 10:05 ` Don Howard
  0 siblings, 2 replies; 6+ messages in thread
From: NewHaka@hotmail @ 2002-06-21  2:16 UTC (permalink / raw)
  To: gdb

 hi,all
 
 (gdb 5.0 sparc solaris 8)
 
 I have a library link by sun cc,this library is complied and link
 with flag -g.
 
 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>
(gdb) p GetDatVersion
type = int ()
 
 Does the library must complied by gcc?
 
 
 Thanks.
 
 regards
 haka
 


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2002-06-24  0:46 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-06-21  2:16 How can I get the C function prototype from a SO(link by cc) on solaris using gdb? NewHaka@hotmail
2002-06-21  8:38 ` Joel Brobecker
2002-06-21 10:05 ` Don Howard
2002-06-21 10:08   ` Don Howard
2002-06-21 10:27   ` Keith Seitz
2002-06-23 17:46     ` Hi,Thank you for your help! Re: How can I get the C function protot NewHaka@hotmail

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox