aboutsummaryrefslogtreecommitdiff
path: root/opcodes/arm-dis.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>1998-02-24 19:23:07 +0000
committerNick Clifton <nickc@redhat.com>1998-02-24 19:23:07 +0000
commit89dc75c562a7f4927b101173273450c461e0e831 (patch)
tree5db96df0aca318f0a9d135e9972c0292dad73f02 /opcodes/arm-dis.c
parentc3ba2ed2d0a0ada82f8c93c924e39e3069771bd6 (diff)
downloadgdb-89dc75c562a7f4927b101173273450c461e0e831.zip
gdb-89dc75c562a7f4927b101173273450c461e0e831.tar.gz
gdb-89dc75c562a7f4927b101173273450c461e0e831.tar.bz2
Removed saved_symbol code as it is no longer needed.
Diffstat (limited to 'opcodes/arm-dis.c')
-rw-r--r--opcodes/arm-dis.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/opcodes/arm-dis.c b/opcodes/arm-dis.c
index 91bcab1..d9d890e 100644
--- a/opcodes/arm-dis.c
+++ b/opcodes/arm-dis.c
@@ -709,7 +709,6 @@ print_insn_big_arm (pc, info)
unsigned char b[4];
long given;
int status;
- asymbol * saved_symbol;
coff_symbol_type * cs;
int is_thumb;
@@ -758,8 +757,6 @@ print_insn_big_arm (pc, info)
given = (b[0] << 24) | (b[1] << 16) | (b[2] << 8) | (b[3]);
}
- saved_symbol = info->symbol;
-
if (is_thumb)
{
status = print_insn_thumb (pc, info, given);
@@ -769,8 +766,6 @@ print_insn_big_arm (pc, info)
status = print_insn_arm (pc, info, given);
}
- info->symbol = saved_symbol; /* Stop displayed symbols from resetting the stored symbol */
-
return status;
}
@@ -782,7 +777,6 @@ print_insn_little_arm (pc, info)
unsigned char b[4];
long given;
int status;
- asymbol * saved_symbol;
coff_symbol_type * cs;
int is_thumb;
@@ -813,8 +807,6 @@ print_insn_little_arm (pc, info)
given = (b[0]) | (b[1] << 8) | (b[2] << 16) | (b[3] << 24);
- saved_symbol = info->symbol;
-
if (is_thumb)
{
status = print_insn_thumb (pc, info, given);
@@ -824,7 +816,5 @@ print_insn_little_arm (pc, info)
status = print_insn_arm (pc, info, given);
}
- info->symbol = saved_symbol; /* Stop displayed symbols from resetting the stored symbol */
-
return status;
}