From dd92f6397700e5478ae02b7dfad416181d04ef22 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Wed, 16 Jun 1999 02:24:36 +0000 Subject: Add -M command line switch to objdump - text of switch is passed on to disassembler Add support for register name set selection ot ARM disassembler. --- include/ChangeLog | 5 +++++ include/dis-asm.h | 5 +++++ 2 files changed, 10 insertions(+) (limited to 'include') diff --git a/include/ChangeLog b/include/ChangeLog index fbadf92..d318d96 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,8 @@ +1999-06-14 Nick Clifton + + * dis-asm.h (arm_toggle_regnames): New prototype. + (struct diassemble_info): New field: disassembler_options. + 1999-04-11 Richard Henderson * bfdlink.h (bfd_elf_version_expr): Rename `match' to `pattern'. diff --git a/include/dis-asm.h b/include/dis-asm.h index 666ed69..b42a5ca 100644 --- a/include/dis-asm.h +++ b/include/dis-asm.h @@ -133,6 +133,9 @@ typedef struct disassemble_info { zero if unknown. */ bfd_vma target2; /* Second target address for dref2 */ + /* Command line options specific to the target disassembler. */ + char * disassembler_options; + } disassemble_info; @@ -181,6 +184,8 @@ extern int print_insn_tic30 PARAMS ((bfd_vma, disassemble_info*)); extern int print_insn_vax PARAMS ((bfd_vma, disassemble_info*)); extern int print_insn_tic80 PARAMS ((bfd_vma, disassemble_info*)); +extern int arm_toggle_regnames PARAMS ((void)); + /* Fetch the disassembler for a given BFD, if that support is available. */ extern disassembler_ftype disassembler PARAMS ((bfd *)); -- cgit v1.1