diff options
author | Nick Clifton <nickc@redhat.com> | 2003-11-14 15:12:44 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2003-11-14 15:12:44 +0000 |
commit | 22a398e1906e55c453f561070206acb80daf91f1 (patch) | |
tree | 65bf0b1990f70a6de47ecf23178e8cac8daedac9 /opcodes/dis-init.c | |
parent | 0a90bcdd1e7a73c342ab98507cee35df59fbcdbd (diff) | |
download | gdb-22a398e1906e55c453f561070206acb80daf91f1.zip gdb-22a398e1906e55c453f561070206acb80daf91f1.tar.gz gdb-22a398e1906e55c453f561070206acb80daf91f1.tar.bz2 |
Add new field to disassemble_info structure: symbol_is_valid() and use it to
skip displaying arm elf mapping symbols in disassembly output.
Diffstat (limited to 'opcodes/dis-init.c')
-rw-r--r-- | opcodes/dis-init.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/opcodes/dis-init.c b/opcodes/dis-init.c index 4c3e36e..35a5ee7 100644 --- a/opcodes/dis-init.c +++ b/opcodes/dis-init.c @@ -26,6 +26,7 @@ init_disassemble_info (struct disassemble_info *info, void *stream, fprintf_ftype fprintf_func) { memset (info, 0, sizeof (*info)); + info->flavour = bfd_target_unknown_flavour; info->arch = bfd_arch_unknown; info->endian = BFD_ENDIAN_UNKNOWN; @@ -36,6 +37,7 @@ init_disassemble_info (struct disassemble_info *info, void *stream, info->memory_error_func = perror_memory; info->print_address_func = generic_print_address; info->symbol_at_address_func = generic_symbol_at_address; + info->symbol_is_valid = generic_symbol_is_valid; info->display_endian = BFD_ENDIAN_UNKNOWN; } |