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




On 02/25/2011 06:19 AM, Jan Kratochvil wrote:
On Thu, 24 Feb 2011 21:09:39 +0100, Tom Tromey wrote:
"Jan" == Jan Kratochvil<jan.kratochvil@redhat.com> writes:

Jan> The question is if we say this GCC is broken (and XFAIL it or move it to Jan> gdb.dwarf2/) or whether GDB should use SYMBOL_VALUE_ADDRESS.

Jan>  I am for the latter, DWARF talks for DW_TAG_label about
Jan>  DW_AT_low_pc and not about DW_AT_decl_line.

Yes, I also think that makes sense.

Just it will not work on reload of the executable changed underneath where PCs change as EXPLICIT_PC needs to be in charge.

But it already does not work now for `run':


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


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

Thanks,
--
Edjunior


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