[PATCH 1/2] [gdb/symtab] Apply workaround for PR gas/31115 a bit more

Alexandra Petlanova Hajkova ahajkova@redhat.com
Mon Dec 2 12:09:58 GMT 2024


On Fri, Nov 29, 2024 at 5:08 PM Tom de Vries <tdevries@suse.de> wrote:

> In commit 8a61ee551ce ("[gdb/symtab] Workaround PR gas/31115"), I applied a
> workaround for PR gas/31115 in read_func_scope, fixing test-case
> gdb.arch/pr25124.exp.
>
> Recently I noticed that the test-case is failing again.
>
> Fix this by factoring out the workaround into a new function
> fixup_low_high_pc
> and applying it in dwarf2_die_base_address.
>
> While we're at it, do the same in dwarf2_record_block_ranges.
>
> Tested on arm-linux with target boards unix/-marm and unix/-mthumb.
> ---
>
> Hi,
great you fixed this. I've tried this doesn't add any regression on
ppc64le, Fedora Rawhide.

   Reviewed-By: Alexandra Petlanova Hajkova <ahajkova@redhat.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://sourceware.org/pipermail/gdb-patches/attachments/20241202/05227057/attachment.htm>


More information about the Gdb-patches mailing list