diff options
author | Nick Clifton <nickc@redhat.com> | 2000-02-07 18:27:19 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2000-02-07 18:27:19 +0000 |
commit | a3d9c82d148b173714f89bc96fd37bf745aae67f (patch) | |
tree | 63e2d8a05df3e99bdc285e3028469ca85528cb3f | |
parent | aa47baa99261b9721c465634af3158957b5f5914 (diff) | |
download | gdb-a3d9c82d148b173714f89bc96fd37bf745aae67f.zip gdb-a3d9c82d148b173714f89bc96fd37bf745aae67f.tar.gz gdb-a3d9c82d148b173714f89bc96fd37bf745aae67f.tar.bz2 |
Rename parse_disassembler_option (again)
-rw-r--r-- | opcodes/ChangeLog | 5 | ||||
-rw-r--r-- | opcodes/arm-dis.c | 11 |
2 files changed, 11 insertions, 5 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index 2b72067..7230e8b 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,3 +1,8 @@ +2000-02-07 Nick Clifton <nickc@cygnus.com> + + * arm-dis.c (parse_arm_diassembler_option): Rename again. + Previous delat did not take. + 2000-02-03 Timothy Wall <twall@redhat.com> * dis-buf.c (buffer_read_memory): Use octets_per_byte field 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); } |