summaryrefslogtreecommitdiff
path: root/binutils/dwarf.h
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2011-04-28 17:23:14 +0000
committerTom Tromey <tromey@redhat.com>2011-04-28 17:23:14 +0000
commit6379328b5621ca0b59ed9286f3bea7e841bb9f35 (patch)
tree73a69be2aeb0a0fc9067207f38641d8055145edf /binutils/dwarf.h
parent8cbdc88f8974b97d435e702172e2ba06728a875a (diff)
downloadbinutils-redhat-6379328b5621ca0b59ed9286f3bea7e841bb9f35.tar.gz
* NEWS: Add note about --dwarf-depth, --dwarf-start, and
dwarf-mode.el. * objdump.c (suppress_bfd_header): New global. (usage): Update. (OPTION_DWARF_DEPTH, OPTION_DWARF_START): New constants. (options): Add dwarf-depth and dwarf-start entries. (dump_bfd): Use suppress_bfd_header. (main): Handle OPTION_DWARF_START, OPTION_DWARF_DEPTH. * doc/binutils.texi (objcopy): Document --dwarf-depth and --dwarf-start. (readelf): Likewise. * dwarf-mode.el: New file. * dwarf.c (dwarf_cutoff_level, dwarf_start_die): New globals. (read_and_display_attr_value): Also check debug_info_p. (process_debug_info): Handle dwarf_start_die and dwarf_cutoff_level. * dwarf.h (dwarf_cutoff_level, dwarf_start_die): Declare. * readelf.c (usage): Update. (OPTION_DWARF_DEPTH): New macro. (OPTION_DWARF_START): Likewise. (options): Add dwarf-depth and dwarf-start entries. (parse_args): Handle OPTION_DWARF_START and OPTION_DWARF_DEPTH. testsuite * binutils-all/objdump.W: Correct output.
Diffstat (limited to 'binutils/dwarf.h')
-rw-r--r--binutils/dwarf.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/binutils/dwarf.h b/binutils/dwarf.h
index 62b57a6867..07b95b09ec 100644
--- a/binutils/dwarf.h
+++ b/binutils/dwarf.h
@@ -200,6 +200,9 @@ extern int do_trace_abbrevs;
extern int do_trace_aranges;
extern int do_wide;
+extern int dwarf_cutoff_level;
+extern unsigned long dwarf_start_die;
+
extern void init_dwarf_regnames (unsigned int);
extern void init_dwarf_regnames_i386 (void);
extern void init_dwarf_regnames_x86_64 (void);