[RFC] Use address_from_register in dwarf2-frame.c:read_addr_from_reg
Ulrich Weigand
uweigand@de.ibm.com
Thu Aug 28 11:51:00 GMT 2014
Maciej W. Rozycki wrote:
> On Wed, 27 Aug 2014, Ulrich Weigand wrote:
> > I guess it isn't too hard to support gdbarch_convert_register_p in that
> > routine as well; I just didn't have any target to test on.
> >
> > Can you try whether something along the following lines works for you?
>
> I'll see if I can push it through testing, though it may take a few days
> as some of MIPS hardware I use (and especially 64-bit one) is slooow (and
> I already have a test run under way).
Thanks!
> I'd expect the issue to be consistent across all ILP32 64-bit ABIs BTW,
> that is e.g. x32 x86-64 as well.
Well, I guess that depends on whether the hardware expects 32-bit pointer
values to be sign-extended when loaded in 64-bit registers or not. I don't
think x32 x86-64 requires this sign-extension (but I'm certainly not an
expert here) ...
Bye,
Ulrich
--
Dr. Ulrich Weigand
GNU/Linux compilers and toolchain
Ulrich.Weigand@de.ibm.com
More information about the Gdb-patches
mailing list