This is the mail archive of the
mailing list for the binutils project.
Re: Regressions with your line number change
- From: Teresa Johnson <tejohnson at google dot com>
- To: Hans-Peter Nilsson <hans-peter dot nilsson at axis dot com>
- Cc: binutils at sourceware dot org
- Date: Wed, 25 Jul 2012 17:04:03 -0700
- Subject: Re: Regressions with your line number change
- References: <201207252322.q6PNMiPx019185@ignucius.se.axis.com>
Reproduced and looking into it.
On Wed, Jul 25, 2012 at 4:22 PM, Hans-Peter Nilsson
> My autotester complains, for mipsisa32r2el-unknown-linux-gnu
> cross from a x86_64-linux host:
> Running /tmp/hpautotest-binutils/bsrc/src/gas/testsuite/gas/mips/mips.exp ...
> FAIL: assembly line numbers
> The time this regression started
> (2012-07-24-13:49:25..2012-07-24-21:07:06 UTC), seems to
> coincide with your line number patch:
> 2012-07-24 Teresa Johnson <firstname.lastname@example.org>
> * addr2line.c (find_address_in_section): Invoke
> bfd_find_nearest_line_discriminator to get the discriminator.
> (find_offset_in_section): Likewise.
> (translate_addresses): Print discriminator if it is non-zero.
> * objdump.c (show_line): Invoke
> bfd_find_nearest_line_discriminator to get the discriminator,
> and keep track of prev_discriminator. Print discriminator
> if it is non-zero.
> (disassemble_data): Initialize prev_discriminator.
> (dump_reloc_set): Invoke bfd_find_nearest_line_discriminator
> to get the discriminator, and keep track of last_discriminator.
> Print discriminator if it is non-zero.
> Please look into it. Thanks.
> brgds, H-P
Teresa Johnson | Software Engineer | email@example.com | 408-460-2413