diff options
author | Tiezhu Yang <yangtiezhu@loongson.cn> | 2022-03-21 14:43:41 +0800 |
---|---|---|
committer | Tiezhu Yang <yangtiezhu@loongson.cn> | 2022-04-02 08:36:33 +0800 |
commit | 552f1157c6262e274295e9c8a131de13fa7b00a3 (patch) | |
tree | 8285bbf1e3aac7c907f969fe66ae49568282d77d /gdb/mips64-obsd-tdep.c | |
parent | 25eb6643748279586b609a9f0e1591c032ccb123 (diff) | |
download | gdb-552f1157c6262e274295e9c8a131de13fa7b00a3.zip gdb-552f1157c6262e274295e9c8a131de13fa7b00a3.tar.gz gdb-552f1157c6262e274295e9c8a131de13fa7b00a3.tar.bz2 |
gdb: rename floatformats_ia64_quad to floatformats_ieee_quad
It is better to rename floatformats_ia64_quad to floatformats_ieee_quad
to reflect the reality, and then we can clean up the related code.
As Tom Tromey said [1]:
These files are maintained in gcc and then imported into the
binutils-gdb repository, so any changes to them will have to
be proposed there first.
the related changes have been merged into gcc master now [2], it is time
to do it for gdb.
[1] https://sourceware.org/pipermail/gdb-patches/2022-March/186569.html
[2] https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=b2dff6b2d9d6
Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn>
Diffstat (limited to 'gdb/mips64-obsd-tdep.c')
-rw-r--r-- | gdb/mips64-obsd-tdep.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/gdb/mips64-obsd-tdep.c b/gdb/mips64-obsd-tdep.c index 0e63d16..8fe2834 100644 --- a/gdb/mips64-obsd-tdep.c +++ b/gdb/mips64-obsd-tdep.c @@ -29,10 +29,6 @@ #include "mips-tdep.h" #include "solib-svr4.h" -/* The MIPS64 Floating-Point Quad-Precision format is similar to - big-endian IA-64 Quad-Precision format. */ -#define floatformats_mips64_quad floatformats_ia64_quad - #define MIPS64OBSD_NUM_REGS 73 /* Core file support. */ @@ -150,7 +146,7 @@ mips64obsd_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch) tramp_frame_prepend_unwinder (gdbarch, &mips64obsd_sigframe); set_gdbarch_long_double_bit (gdbarch, 128); - set_gdbarch_long_double_format (gdbarch, floatformats_mips64_quad); + set_gdbarch_long_double_format (gdbarch, floatformats_ieee_quad); obsd_init_abi(info, gdbarch); |