This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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.
----------------------------------------------------------


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]