diff options
author | Ian Lance Taylor <ian@airs.com> | 1998-11-07 23:32:19 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1998-11-07 23:32:19 +0000 |
commit | 4e331d427d96a948a85d24e28e9ca62b7a6a0e0a (patch) | |
tree | e2b43d2c0de49b1b746de01d571706e8faf75ab7 /include/dis-asm.h | |
parent | 446b878f24c62a9be0b3e6714df67b93fbb97402 (diff) | |
download | gdb-4e331d427d96a948a85d24e28e9ca62b7a6a0e0a.zip gdb-4e331d427d96a948a85d24e28e9ca62b7a6a0e0a.tar.gz gdb-4e331d427d96a948a85d24e28e9ca62b7a6a0e0a.tar.bz2 |
Sat Nov 7 18:30:20 1998 Peter Schauer <peter.schauer@regent.e-technik.tu-muenchen.de>
* dis-asm.h (print_insn_vax): Declare.
Diffstat (limited to 'include/dis-asm.h')
-rw-r--r-- | include/dis-asm.h | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/include/dis-asm.h b/include/dis-asm.h index c804299..70a4da4 100644 --- a/include/dis-asm.h +++ b/include/dis-asm.h @@ -51,9 +51,15 @@ typedef struct disassemble_info { unsigned long mach; /* Endianness (for bi-endian cpus). Mono-endian cpus can ignore this. */ enum bfd_endian endian; - /* The symbol at the start of the function being disassembled. This - is not set reliably, but if it is not NULL, it is correct. */ - asymbol *symbol; + + /* An array of pointers to symbols either at the location being disassembled + or at the start of the function being disassembled. The array is sorted + so that the first symbol is intended to be the one used. The others are + present for any misc. purposes. This is not set reliably, but if it is + not NULL, it is correct. */ + asymbol **symbols; + /* Number of symbols in array. */ + int num_symbols; /* For use by the disassembler. The top 16 bits are reserved for public use (and are documented here). @@ -166,10 +172,10 @@ extern int print_insn_little_powerpc PARAMS ((bfd_vma, disassemble_info*)); extern int print_insn_rs6000 PARAMS ((bfd_vma, disassemble_info*)); extern int print_insn_w65 PARAMS ((bfd_vma, disassemble_info*)); extern int print_insn_d10v PARAMS ((bfd_vma, disassemble_info*)); -/* start-sanitize-d30v */ extern int print_insn_d30v PARAMS ((bfd_vma, disassemble_info*)); -/* end-sanitize-d30v */ extern int print_insn_v850 PARAMS ((bfd_vma, disassemble_info*)); +extern int print_insn_tic30 PARAMS ((bfd_vma, disassemble_info*)); +extern int print_insn_vax PARAMS ((bfd_vma, disassemble_info*)); /* start-sanitize-tic80 */ extern int print_insn_tic80 PARAMS ((bfd_vma, disassemble_info*)); /* end-sanitize-tic80 */ @@ -222,7 +228,8 @@ extern int generic_symbol_at_address #define INIT_DISASSEMBLE_INFO_NO_ARCH(INFO, STREAM, FPRINTF_FUNC) \ (INFO).fprintf_func = (FPRINTF_FUNC), \ (INFO).stream = (STREAM), \ - (INFO).symbol = NULL, \ + (INFO).symbols = NULL, \ + (INFO).num_symbols = 0, \ (INFO).buffer = NULL, \ (INFO).buffer_vma = 0, \ (INFO).buffer_length = 0, \ |