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.
This commit is contained in:
parent
956bafb0de
commit
e86f08d28f
|
@ -1,3 +1,8 @@
|
|||
2019-09-19 Christian Biesinger <cbiesinger@google.com>
|
||||
|
||||
* dwarf2loc.c: Remove extern declaration of dwarf_always_disassemble.
|
||||
* dwarf2read.h: Declare dwarf_always_disassemble.
|
||||
|
||||
2019-09-19 Tom de Vries <tdevries@suse.de>
|
||||
|
||||
PR gdb/25009
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -33,6 +33,8 @@ extern struct cmd_list_element *show_dwarf_cmdlist;
|
|||
typedef struct dwarf2_per_cu_data *dwarf2_per_cu_ptr;
|
||||
DEF_VEC_P (dwarf2_per_cu_ptr);
|
||||
|
||||
extern bool dwarf_always_disassemble;
|
||||
|
||||
/* A descriptor for dwarf sections.
|
||||
|
||||
S.ASECTION, SIZE are typically initialized when the objfile is first
|
||||
|
|
Loading…
Reference in New Issue