diff options
author | Andrew Cagney <cagney@redhat.com> | 2004-10-30 22:11:18 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2004-10-30 22:11:18 +0000 |
commit | d37cca3d684da261b7982e9b854d532048a355e2 (patch) | |
tree | efad85534a7926b6630b4d31443c4e7616412346 /gdb | |
parent | b7cbf173ac114cb7f8bc5cca12079d8d9137acc5 (diff) | |
download | gdb-d37cca3d684da261b7982e9b854d532048a355e2.zip gdb-d37cca3d684da261b7982e9b854d532048a355e2.tar.gz gdb-d37cca3d684da261b7982e9b854d532048a355e2.tar.bz2 |
2004-10-30 Andrew Cagney <cagney@gnu.org>
* config/mips/tm-mips.h (t_insn): Delete.
* mips-tdep.c (mips_fetch_instruction, mips_skip_trampoline_code):
Replace t_insn with ULONGEST.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/config/mips/tm-mips.h | 3 | ||||
-rw-r--r-- | gdb/mips-tdep.c | 4 |
3 files changed, 8 insertions, 5 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index e4c4ebb..4189edc 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2004-10-30 Andrew Cagney <cagney@gnu.org> + + * config/mips/tm-mips.h (t_insn): Delete. + * mips-tdep.c (mips_fetch_instruction, mips_skip_trampoline_code): + Replace t_insn with ULONGEST. + 2004-10-30 Mark Kettenis <kettenis@gnu.org> * mipsnbsd-tdep.c: Include "regset.h" and "gdb_assert.h". diff --git a/gdb/config/mips/tm-mips.h b/gdb/config/mips/tm-mips.h index 76cb636..3fce4fc 100644 --- a/gdb/config/mips/tm-mips.h +++ b/gdb/config/mips/tm-mips.h @@ -84,7 +84,4 @@ typedef struct mips_extra_func_info #define DEPRECATED_IGNORE_HELPER_CALL(pc) mips_ignore_helper (pc) extern int mips_ignore_helper (CORE_ADDR pc); -/* Definitions and declarations used by mips-tdep.c and remote-mips.c */ -typedef unsigned long t_inst; /* Integer big enough to hold an instruction */ - #endif /* TM_MIPS_H */ diff --git a/gdb/mips-tdep.c b/gdb/mips-tdep.c index acdf125..8ec9645 100644 --- a/gdb/mips-tdep.c +++ b/gdb/mips-tdep.c @@ -847,7 +847,7 @@ mips_write_pc (CORE_ADDR pc, ptid_t ptid) /* Fetch and return instruction from the specified location. If the PC is odd, assume it's a MIPS16 instruction; otherwise MIPS32. */ -static t_inst +static ULONGEST mips_fetch_instruction (CORE_ADDR addr) { char buf[MIPS_INSN32_SIZE]; @@ -4506,7 +4506,7 @@ mips_skip_trampoline_code (CORE_ADDR pc) address from those two instructions. */ CORE_ADDR target_pc = read_signed_register (2); - t_inst inst; + ULONGEST inst; int i; /* See if the name of the target function is __fn_stub_*. */ |