This is the mail archive of the gdb@sourceware.org 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: Elf debugging


maybedoo wrote:
Hi,

I want to debug an elf binary. Compiling with the debugging symbols works
fine, but when I'm connected with gdb, after loading it, it can't find my
source files. I've set the path to the src with "directory" but the same.
How can I find out what files are loaded and how can I load my file I need
for a breakpoint?

It should work. What compiler are you using?




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