aboutsummaryrefslogtreecommitdiff
path: root/gdb/mips-tdep.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-10-30 22:11:18 +0000
committerAndrew Cagney <cagney@redhat.com>2004-10-30 22:11:18 +0000
commitd37cca3d684da261b7982e9b854d532048a355e2 (patch)
treeefad85534a7926b6630b4d31443c4e7616412346 /gdb/mips-tdep.c
parentb7cbf173ac114cb7f8bc5cca12079d8d9137acc5 (diff)
downloadgdb-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/mips-tdep.c')
-rw-r--r--gdb/mips-tdep.c4
1 files changed, 2 insertions, 2 deletions
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_*. */