This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: ptype of prototype of a funtion
- From: mec dot gnu at mindspring dot com (Michael Elizabeth Chastain)
- To: drow at false dot org, mukeshgct at hotpop dot com
- Cc: gdb at sources dot redhat dot com
- Date: Tue, 16 Mar 2004 09:16:33 -0500 (EST)
- Subject: Re: ptype of prototype of a funtion
Hello Murugesan,
gdb>ptype fun
type = int ()
Okay, I have some questions:
What computer and operating system are you using?
What compiler are you using to compile 'fun'?
What version of the compiler are you using?
What command line switches do you use to compile your program?
What command line switches do you use to link your program?
Can you make a small sample program which shows this problem?
Then use the 'script' command. 'cat' the program,
compile and link the program, run gdb on the program,
exit 'script', and mail us the typescript.
Michael C