diff options
author | Christian Biesinger <cbiesinger@google.com> | 2019-09-19 13:26:55 +0900 |
---|---|---|
committer | Christian Biesinger <cbiesinger@google.com> | 2019-09-20 09:13:53 +0900 |
commit | e86f08d28f469b9400e91bbaf1b0a5e7f697732a (patch) | |
tree | 6e303dc3535bae8a8cb75bd02fc5b15f216646cd /gdb/dwarf2loc.c | |
parent | 956bafb0de05aaf6e9d61a8af040fe25d689e53f (diff) | |
download | gdb-e86f08d28f469b9400e91bbaf1b0a5e7f697732a.zip gdb-e86f08d28f469b9400e91bbaf1b0a5e7f697732a.tar.gz gdb-e86f08d28f469b9400e91bbaf1b0a5e7f697732a.tar.bz2 |
Declare dwarf_always_disassemble in dwarf2read.h
And remove the declaration from dwarf2loc.c, for better typesafety.
gdb/ChangeLog:
2019-09-19 Christian Biesinger <cbiesinger@google.com>
* dwarf2loc.c: Remove extern declaration of dwarf_always_disassemble.
* dwarf2read.h: Declare dwarf_always_disassemble.
Diffstat (limited to 'gdb/dwarf2loc.c')
-rw-r--r-- | gdb/dwarf2loc.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/gdb/dwarf2loc.c b/gdb/dwarf2loc.c index 29fccae..c8ba029 100644 --- a/gdb/dwarf2loc.c +++ b/gdb/dwarf2loc.c @@ -46,8 +46,6 @@ #include "gdbsupport/underlying.h" #include "gdbsupport/byte-vector.h" -extern bool dwarf_always_disassemble; - static struct value *dwarf2_evaluate_loc_desc_full (struct type *type, struct frame_info *frame, const gdb_byte *data, |