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: question, re: gdb.base/label.exp


>>>>> "Edjunior" == Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com> writes:

Edjunior> just clarifying, this means it should be fixed on gcc anyway?

Edjunior> I also ran into the same problem on RHEL5 and, although the
Edjunior> testcase passes ok on RHEL6, DW_AT_decl_line for label 'here'
Edjunior> still seems incorrect (16, instead of 9).

I changed this code in GDB this past week.  Now GDB looks at the label's
DW_AT_low_pc, not DW_AT_decl_line.

I don't know whether there are bugs with this in older versions of GCC.

Tom


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