[Patch] New gdbarch method "dwarf_cfa_op" and migrate SPARC to it

Ivo Raisr ivo.raisr@oracle.com
Fri Apr 21 19:53:00 GMT 2017



On 21.4.2017 21:37, Pedro Alves wrote:
> On 04/21/2017 03:56 PM, Jiong Wang wrote:
>
>> Hi Ivo,
>>
>>   Thanks very much for testing this on SPARC platform.
>>
>>   What's really reused is the DWARF CFA number 0x2d behind
>> DW_CFA_GNU_window_save.  It is in vendor extension space (
>> DW_CFA_lo_user.. DW_CFA_hi_user) so the semantics depends on vendor
>> interpreation.
>
> Maybe the commit log could/should be simplified, because
> I was confused too.
>
> Doesn't the Aarch64 version of the opcode have its own
> name, like DW_CFA_GNU_Aarch64_whatever, even if it reuses the
> opcode number?  I think that would help a lot going forward
> if it had one.  E.g., it'd avoid confusion, allow for easier
> searching, etc.

Introducing Aarch64 specific name would be very much appreciated.
+1 here!
I.



More information about the Gdb-patches mailing list