Re: arm_addr_bits_remove

Pedro Alves
2008-01-24T04:54:30Z

Jim Blandy wrote:
> On Jan 23, 2008 11:28 AM, Daniel Jacobowitz wrote:
>> It was for Thumb in the first place.
>>
>> http://sourceware.org/ml/gdb-patches/2001-03/msg00182.html
>> http://sourceware.org/ml/gdb-patches/2001-04/msg00012.html
>>
>> That may not be true on new toolchains though.
>
> Rats. If it'd be quick for you to check current toolchains, could you?
>

Jim Blandy wrote:
> 2001-04-06 Fernando Nasser <fnasser@redhat.com>
>
> * buildsym.c (record_line): Turn off unused addr bits.
>
> Could we try simply removing this?
>

Removing this shows no regressions on arm-eabi or arm-linux-gnueabi.

I've also ran the testsuite on arm-linux-gnueabi arm/thumb
replacing the stripping in record_line by logging the pc being
stripped, and no odd address was ever printed.

Would a patch removing this be more acceptable then?

--
Pedro Alves