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: Linetable



On Jul 27, 2005, at 2:54 PM, Sp3cial K wrote:


Hi, can someone please explain how symtab->linetable is constructed?

You're probably best off starting by looking at the readelf -wl output of your executable.



For each of the functions, the linetable contains two entries with same line number and slightly different pc, but these entries are not in NAS.map!

I have no idea what NAS.map is.


Before you assume that gdb has incorrectly read the line table, you should start by looking at the line table information in the executable.

Jason


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