diff options
author | Tom Tromey <tom@tromey.com> | 2020-02-08 13:40:54 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2020-02-08 13:43:24 -0700 |
commit | 009b64fc98a3bad39d19bbdca83a223dce3d87d4 (patch) | |
tree | 882afa596b156b851e975ff9d67aada38c59b26f /gdb/dwarf2/read.h | |
parent | 5895093f4a8767f8ad41cdc06f3f24b41cacf748 (diff) | |
download | gdb-009b64fc98a3bad39d19bbdca83a223dce3d87d4.zip gdb-009b64fc98a3bad39d19bbdca83a223dce3d87d4.tar.gz gdb-009b64fc98a3bad39d19bbdca83a223dce3d87d4.tar.bz2 |
Move dwarf_always_disassemble to dwarf2/loc.c
dwarf_always_disassemble is only used in dwarf2/loc.c, so move the
definition and the command infrastructure to that file.
2020-02-08 Tom Tromey <tom@tromey.com>
* dwarf2/read.c (dwarf_always_disassemble)
(show_dwarf_always_disassemble): Move to loc.c.
(_initialize_dwarf2_read): Move "always-disassemble" registration
to loc.c.
* dwarf2/read.h (dwarf_always_disassemble): Don't declare.
* dwarf2/loc.c (dwarf_always_disassemble): Move from read.c. Now
static.
(show_dwarf_always_disassemble): Move from read.c.
(_initialize_dwarf2loc): Move always-disassemble from read.c.
Change-Id: I33fb88112e98e583c3f4919d20e4d100f2ea0124
Diffstat (limited to 'gdb/dwarf2/read.h')
-rw-r--r-- | gdb/dwarf2/read.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/gdb/dwarf2/read.h b/gdb/dwarf2/read.h index 138a929..fdaafbb 100644 --- a/gdb/dwarf2/read.h +++ b/gdb/dwarf2/read.h @@ -33,8 +33,6 @@ extern struct cmd_list_element *set_dwarf_cmdlist; extern struct cmd_list_element *show_dwarf_cmdlist; -extern bool dwarf_always_disassemble; - struct tu_stats { int nr_uniq_abbrev_tables; |