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]

GDB cannot find line info


Hello,

I have found a bug in our compiler (Open64 for ST200), which I have fixed to make it correctly output the directory table related to debug_line info.
But now, I have many regressions in the GDB testsuite (6.8), the first one being in break.exp: now the command "break break.c:103" returns 'No line 103 in file "break.c"'


I have dumped the dwarf debug_line info with 'dwarfdump -l' and 'readelf -wl', but could not find anything suspect:
- with dwarfdump, the only difference is in the directory path
- with readelf, the directory tables contain one more entry (absolute path to gdb.base) and the file table has dir numbers updated accordingly. (obviously, the length and offset of the corresponding sections are different)


Is there any GDB internal command I could use to understand the problem?

Thanks,

Christophe.


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