diff options
author | David S. Miller <davem@redhat.com> | 2011-09-28 17:59:42 +0000 |
---|---|---|
committer | David S. Miller <davem@redhat.com> | 2011-09-28 17:59:42 +0000 |
commit | fe10a582b69fc09ce4775071aa619b0a6fc5dd1a (patch) | |
tree | 90f615bc2c8d392eb1532c4aacb28a0b717b84d4 /gdb/sparc-tdep.h | |
parent | 766ad876093f4df3a7f3836df3c705a2243ea2e7 (diff) | |
download | gdb-fe10a582b69fc09ce4775071aa619b0a6fc5dd1a.zip gdb-fe10a582b69fc09ce4775071aa619b0a6fc5dd1a.tar.gz gdb-fe10a582b69fc09ce4775071aa619b0a6fc5dd1a.tar.bz2 |
Fix complex floats on sparc.
* sparc-tdep.h (SPARC_F2_REGNUM, SPARC_F3_REGNUM, SPARC_F4_REGNUM,
SPARC_F5_REGNUM, SPARC_F6_REGNUM, SPARC_F7_REGNUM): New enums.
* sparc-tdep.c (sparc_complex_floating_p): New function.
(sparc32_store_arguments): Handle complex floats.
(sparc32_extract_return_value): Likewise.
(sparc32_store_return_value): Likewise.
(sparc32_stabs_argument_has_addr): Likewise.
* sparc64-tdep.c (sparc64_complex_floating_p): New function.
(sparc64_store_floating_fields): Handle complex floats.
(sparc64_store_arguments): Likewise.
(sparc64_store_return_value): Likewise.
Diffstat (limited to 'gdb/sparc-tdep.h')
-rw-r--r-- | gdb/sparc-tdep.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/sparc-tdep.h b/gdb/sparc-tdep.h index d4e8b06..92b4705 100644 --- a/gdb/sparc-tdep.h +++ b/gdb/sparc-tdep.h @@ -114,6 +114,12 @@ enum sparc_regnum SPARC_I7_REGNUM, /* %i7 */ SPARC_F0_REGNUM, /* %f0 */ SPARC_F1_REGNUM, + SPARC_F2_REGNUM, + SPARC_F3_REGNUM, + SPARC_F4_REGNUM, + SPARC_F5_REGNUM, + SPARC_F6_REGNUM, + SPARC_F7_REGNUM, SPARC_F31_REGNUM /* %f31 */ = SPARC_F0_REGNUM + 31 }; |