aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2002-04-06 00:19:44 +0000
committerAndrew Cagney <cagney@redhat.com>2002-04-06 00:19:44 +0000
commitf32e7a74f705a6064436a107ca2c8cab6754d966 (patch)
treec566ad4835ca978976016e038a3828aa0d03a11e /gdb
parent8227c0ffb14b297b1e53aa5154880d29f24103be (diff)
downloadgdb-f32e7a74f705a6064436a107ca2c8cab6754d966.zip
gdb-f32e7a74f705a6064436a107ca2c8cab6754d966.tar.gz
gdb-f32e7a74f705a6064436a107ca2c8cab6754d966.tar.bz2
* sparc-tdep.c (sparc_push_dummy_frame): Use GDB_TARGET_IS_SPARC64
as test for 64 bit target.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/sparc-tdep.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 4d8d01b..a709c26 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2002-04-04 Andrew Cagney <ac131313@redhat.com>
+
+ * sparc-tdep.c (sparc_push_dummy_frame): Use GDB_TARGET_IS_SPARC64
+ as test for 64 bit target.
+
2002-04-05 Andrew Cagney <ac131313@redhat.com>
* h8500-tdep.c (h8500_write_fp): Delete function.
diff --git a/gdb/sparc-tdep.c b/gdb/sparc-tdep.c
index f8bba7e..ed3726e 100644
--- a/gdb/sparc-tdep.c
+++ b/gdb/sparc-tdep.c
@@ -992,7 +992,7 @@ sparc_push_dummy_frame (void)
old function (sparc64_write_fp) did the below although I'm
not clear why. The same goes for why this is only done when
the underlying target is a simulator. */
- if (gdbarch_tdep (current_gdbarch)->intreg_size == 8)
+ if (GDB_TARGET_IS_SPARC64)
{
/* Target is a 64 bit SPARC. */
CORE_ADDR oldfp = read_register (FP_REGNUM);