aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPaul Brook <paul@codesourcery.com>2006-10-31 20:21:57 +0000
committerPaul Brook <paul@codesourcery.com>2006-10-31 20:21:57 +0000
commit2087ad8497a3aa9818a7bf0a866b56ac92069bfa (patch)
tree21683cd8a2dcd9b4b04f32bd4f1609c60966ee49 /include
parent7a1d4c38938b172a8f3fdb38b01551306bd51d8d (diff)
downloadgdb-2087ad8497a3aa9818a7bf0a866b56ac92069bfa.zip
gdb-2087ad8497a3aa9818a7bf0a866b56ac92069bfa.tar.gz
gdb-2087ad8497a3aa9818a7bf0a866b56ac92069bfa.tar.bz2
2006-10-30 Paul Brook <paul@codesourcery.com>
binutils/ * objdump.c (disassemble_section): Set info->symtab_pos. (disassemble_data): Set info->symtab and info->symtab_size. include/ * dis-asm.h (disassemble_info): Add symtab, symtab_pos and symtab_size. opcodes/ * arm-dis.c (last_is_thumb, last_mapping_sym, last_mapping_addr): New. (get_sym_code_type): New function. (print_insn): Search for mapping symbols.
Diffstat (limited to 'include')
-rw-r--r--include/ChangeLog5
-rw-r--r--include/dis-asm.h6
2 files changed, 11 insertions, 0 deletions
diff --git a/include/ChangeLog b/include/ChangeLog
index 3edbe8d..b7cb681 100644
--- a/include/ChangeLog
+++ b/include/ChangeLog
@@ -1,3 +1,8 @@
+2006-10-30 Paul Brook <paul@codesourcery.com>
+
+ * dis-asm.h (disassemble_info): Add symtab, symtab_pos and
+ symtab_size.
+
2006-10-30 H.J. Lu <hongjiu.lu@intel.com>
PR ld/3111
diff --git a/include/dis-asm.h b/include/dis-asm.h
index cb8039b..af48e85 100644
--- a/include/dis-asm.h
+++ b/include/dis-asm.h
@@ -96,6 +96,12 @@ typedef struct disassemble_info
/* Number of symbols in array. */
int num_symbols;
+ /* Symbol table provided for targets that want to look at it. This is
+ used on Arm to find mapping symbols and determine Arm/Thumb code. */
+ asymbol **symtab;
+ int symtab_pos;
+ int symtab_size;
+
/* For use by the disassembler.
The top 16 bits are reserved for public use (and are documented here).
The bottom 16 bits are for the internal use of the disassembler. */