How did KDbg find out the source corresponding to my executable?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Has someone here used KDbg?

Just a few minutes ago, I tried KDbg, the KDE front-end to gdb. (The change in position of g between the two names amuses me for some reason.)

When I selected an executable which was located at a location different from its source, KDbg automatically found out the location of the source-file and opened it for setting breakpoints etc.

Is the path to the source embedded in every executable? Upon examining the executable by nm for symbols I did not find the source path, but maybe that is not a symbol. Okay: readelf has an entry corresponding to the source filename but not the source path. Does KDbg search the home directory for the source filename?

If not, how could KDbg correctly open the source file?

Shriramana Sharma.

P.S: I realize this is slightly OT since it asks a question about a KDE application albeit most related to programming. I'm taking the chance that someone here has used KDbg.

-
To unsubscribe from this list: send the line "unsubscribe linux-c-programming" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Assembler]     [Git]     [Kernel List]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [C Programming]     [Yosemite Campsites]     [Yosemite News]     [GCC Help]

  Powered by Linux