From e86f08d28f469b9400e91bbaf1b0a5e7f697732a Mon Sep 17 00:00:00 2001 From: Christian Biesinger Date: Thu, 19 Sep 2019 13:26:55 +0900 Subject: Declare dwarf_always_disassemble in dwarf2read.h And remove the declaration from dwarf2loc.c, for better typesafety. gdb/ChangeLog: 2019-09-19 Christian Biesinger * dwarf2loc.c: Remove extern declaration of dwarf_always_disassemble. * dwarf2read.h: Declare dwarf_always_disassemble. --- gdb/dwarf2loc.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'gdb/dwarf2loc.c') 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, -- cgit v1.1