This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
RE: function address from object file?
- From: "Atul Talesara" <atul dot talesara at nevisnetworks dot com>
- To: "Roopesh Kohad" <roopesh dot kohad at gmail dot com>, <gdb at sources dot redhat dot com>
- Date: Tue, 1 Mar 2005 16:49:44 +0530
- Subject: RE: function address from object file?
> $ gcc -c -g -o a.o a.c
This command will *only* compile the code, leaving
final address resolution/allocation to linking stage.
Hence you see zero-based addresses.
Regards,
Atul
http://the-shaolin.blogspot.com/
----------------------------------------------------------
You can tell more about a person by what he says about
others than you can by what others say about him.
----------------------------------------------------------