aboutsummaryrefslogtreecommitdiff
path: root/gdb/irix5-nat.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-04-29 18:28:43 +0000
committerAndrew Cagney <cagney@redhat.com>2004-04-29 18:28:43 +0000
commit1b13c4f6d59534be9b16af9b38aee9430b0d3162 (patch)
tree48f230ce159297cc24982b32a610bddc92261d4a /gdb/irix5-nat.c
parenta8958849c4e86363003ed25c2bf1e7685fd7bf36 (diff)
downloadgdb-1b13c4f6d59534be9b16af9b38aee9430b0d3162.zip
gdb-1b13c4f6d59534be9b16af9b38aee9430b0d3162.tar.gz
gdb-1b13c4f6d59534be9b16af9b38aee9430b0d3162.tar.bz2
2004-04-29 Andrew Cagney <cagney@redhat.com>
* mips-tdep.c (mips_abi_regsize): Rename mips_saved_regsize. (mips_abi_regsize_string): Rename mips_saved_regsize_string. (struct gdbarch_tdep): Rename mips_default_saved_regsize to mips_default_abi_regsize. (mips_isa_regsize): Rename mips_regisze. * mipsnbsd-tdep.c: Update. * mips-linux-tdep.c: Update. * irix5-nat.c: Update. * mips-tdep.h (mips_isa_regsize): Update.
Diffstat (limited to 'gdb/irix5-nat.c')
-rw-r--r--gdb/irix5-nat.c12
1 files changed, 7 insertions, 5 deletions
diff --git a/gdb/irix5-nat.c b/gdb/irix5-nat.c
index da9e6e7..24bb883 100644
--- a/gdb/irix5-nat.c
+++ b/gdb/irix5-nat.c
@@ -1,6 +1,8 @@
/* Native support for the SGI Iris running IRIX version 5, for GDB.
- Copyright 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1998,
- 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
+
+ Copyright 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996,
+ 1998, 1999, 2000, 2001, 2002, 2004 Free Software Foundation, Inc.
+
Contributed by Alessandro Forin(af@cs.cmu.edu) at CMU
and by Per Bothner(bothner@cs.wisc.edu) at U.Wisconsin.
Implemented for Irix 4.x by Garrett A. Wollman.
@@ -56,7 +58,7 @@ supply_gregset (gregset_t *gregsetp)
{
int regi;
greg_t *regp = &(*gregsetp)[0];
- int gregoff = sizeof (greg_t) - mips_regsize (current_gdbarch);
+ int gregoff = sizeof (greg_t) - mips_isa_regsize (current_gdbarch);
static char zerobuf[32] = {0};
for (regi = 0; regi <= CTX_RA; regi++)
@@ -209,8 +211,8 @@ fetch_core_registers (char *core_reg_sect, unsigned core_reg_size,
{
memcpy ((char *) deprecated_registers, core_reg_sect, core_reg_size);
}
- else if (mips_regsize (current_gdbarch) == 4 &&
- core_reg_size == (2 * mips_regsize (current_gdbarch)) * NUM_REGS)
+ else if (mips_isa_regsize (current_gdbarch) == 4 &&
+ core_reg_size == (2 * mips_isa_regsize (current_gdbarch)) * NUM_REGS)
{
/* This is a core file from a N32 executable, 64 bits are saved
for all registers. */