aboutsummaryrefslogtreecommitdiff
path: root/gdb/mipsnbsd-nat.c
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2004-10-30 14:31:19 +0000
committerMark Kettenis <kettenis@gnu.org>2004-10-30 14:31:19 +0000
commit4c7d22cba3b87d66890c2f39c4d9d062294635a8 (patch)
tree42fda437759f8ad0573d3c4fc6db06cbc452b407 /gdb/mipsnbsd-nat.c
parent1c8831c5ad418b350e80294d0f6dcb863ba15c1f (diff)
downloadgdb-4c7d22cba3b87d66890c2f39c4d9d062294635a8.zip
gdb-4c7d22cba3b87d66890c2f39c4d9d062294635a8.tar.gz
gdb-4c7d22cba3b87d66890c2f39c4d9d062294635a8.tar.bz2
* mips-tdep.c (mips_fetch_instruction, mips16_fetch_instruction)
(mips_mdebug_frame_cache, mips16_scan_prologue) (mips32_scan_prologue, mips_stub_frame_cache) (heuristic_proc_start, heuristic_proc_desc) (mips_eabi_push_dummy_call, mips_n32n64_push_dummy_call) (mips_n32n64_return_value, mips_o32_push_dummy_call) (mips_o32_return_value, mips_o64_push_dummy_call) (mips_step_skips_delay, mips_skip_trampoline_code) (mips_gdbarch_init): Use MIPS_A0_REGNUM instead of A0_REGNUM, MIPS_RA_REGNUM instead of RA_REGNUM, MIPS_T9_REGNUM instead of T9_REGNUM, MIPS_V0_REGNUM instead of V0_REGNUM, MIPS_ZERO_REGNUM instead of ZERO_REGNUM, MIPS32_SIZE_INSN instead of MIPS_INSTLEN and MIPS16_INSN_SIZE instead of MIPS16_INSTLEN. (mips_dump_tdep): Don't print A0_REGNUM, RA_REGNUM, T9_REGNUM, V0_REGNUM, ZERO_REGNUM, MIPS_INSTLEN and MIPS16_INSTLEN. Use MIPS_A0_REGNUM instead of A0_REGNUM. * mips-linux-tdep.c (mips_linux_o32_sigframe_init) (mips_linux_n32n64_sigframe_init): Use MIPS_ZERO_REGNUM instead of ZERO_REGNUM. * mipsnbsd-tdep.c (mipsnbsd_cannot_fetch_register) (mipsnbsd_cannot_store_register): Use MIPS_ZERO_REGNUM instead of ZERO_REGNUM. (mipsnbsd_get_longjmp_target): Use MIPS_A0_REGNUM instead of A0_REGNUM. * mipsnbsd-nat.c: Include "mips-tdep.h". (getregs_supplies): Use MIPS_ZERO_REGNUM instead of ZERO_REGNUM. * Makefile.in (mipsnbsd-nat.o): Update dependencies.
Diffstat (limited to 'gdb/mipsnbsd-nat.c')
-rw-r--r--gdb/mipsnbsd-nat.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/mipsnbsd-nat.c b/gdb/mipsnbsd-nat.c
index 45fe2bc..175e6be 100644
--- a/gdb/mipsnbsd-nat.c
+++ b/gdb/mipsnbsd-nat.c
@@ -23,6 +23,7 @@
#include "inferior.h"
#include "regcache.h"
+#include "mips-tdep.h"
#include "mipsnbsd-tdep.h"
#include <sys/types.h>
@@ -33,7 +34,7 @@
static int
getregs_supplies (int regno)
{
- return ((regno) >= ZERO_REGNUM && (regno) <= PC_REGNUM);
+ return ((regno) >= MIPS_ZERO_REGNUM && (regno) <= PC_REGNUM);
}
void