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/comp-unit.h | |
parent | 5895093f4a8767f8ad41cdc06f3f24b41cacf748 (diff) | |
download | binutils-009b64fc98a3bad39d19bbdca83a223dce3d87d4.zip binutils-009b64fc98a3bad39d19bbdca83a223dce3d87d4.tar.gz binutils-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/comp-unit.h')
0 files changed, 0 insertions, 0 deletions