* sparc-tdep.c (sparc_push_dummy_frame): Use GDB_TARGET_IS_SPARC64

as test for 64 bit target.
This commit is contained in:
Andrew Cagney
2002-04-06 00:19:44 +00:00
parent 8227c0ffb1
commit f32e7a74f7
2 changed files with 6 additions and 1 deletions

View File

@@ -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> 2002-04-05 Andrew Cagney <ac131313@redhat.com>
* h8500-tdep.c (h8500_write_fp): Delete function. * h8500-tdep.c (h8500_write_fp): Delete function.

View File

@@ -992,7 +992,7 @@ sparc_push_dummy_frame (void)
old function (sparc64_write_fp) did the below although I'm old function (sparc64_write_fp) did the below although I'm
not clear why. The same goes for why this is only done when not clear why. The same goes for why this is only done when
the underlying target is a simulator. */ 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. */ /* Target is a 64 bit SPARC. */
CORE_ADDR oldfp = read_register (FP_REGNUM); CORE_ADDR oldfp = read_register (FP_REGNUM);