aboutsummaryrefslogtreecommitdiff
path: root/opcodes/arm-dis.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2000-02-07 18:27:19 +0000
committerNick Clifton <nickc@redhat.com>2000-02-07 18:27:19 +0000
commita3d9c82d148b173714f89bc96fd37bf745aae67f (patch)
tree63e2d8a05df3e99bdc285e3028469ca85528cb3f /opcodes/arm-dis.c
parentaa47baa99261b9721c465634af3158957b5f5914 (diff)
downloadgdb-a3d9c82d148b173714f89bc96fd37bf745aae67f.zip
gdb-a3d9c82d148b173714f89bc96fd37bf745aae67f.tar.gz
gdb-a3d9c82d148b173714f89bc96fd37bf745aae67f.tar.bz2
Rename parse_disassembler_option (again)
Diffstat (limited to 'opcodes/arm-dis.c')
-rw-r--r--opcodes/arm-dis.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/opcodes/arm-dis.c b/opcodes/arm-dis.c
index f897292..a3f44db 100644
--- a/opcodes/arm-dis.c
+++ b/opcodes/arm-dis.c
@@ -622,7 +622,8 @@ print_insn_thumb (pc, info, given)
info->bytes_per_chunk = 4;
info->bytes_per_line = 4;
- func (stream, "bl\t");
+ func (stream, "bl\t");
+
info->print_address_func (BDISP23 (given) * 2 + pc + 4, info);
return 4;
}
@@ -827,8 +828,8 @@ print_insn_thumb (pc, info, given)
}
/* Parse an individual disassembler option. */
-static void
-parse_disassembler_option (option)
+void
+parse_arm_disassembler_option (option)
char * option;
{
if (option == NULL)
@@ -877,12 +878,12 @@ parse_disassembler_options (options)
if (space)
{
* space = '\0';
- parse_disassembler_option (options);
+ parse_arm_disassembler_option (options);
* space = ' ';
options = space + 1;
}
else
- parse_disassembler_option (options);
+ parse_arm_disassembler_option (options);
}
while (space);
}