diff options
author | Christian Biesinger <cbiesinger@google.com> | 2019-09-18 13:50:42 +0900 |
---|---|---|
committer | Christian Biesinger <cbiesinger@google.com> | 2019-09-18 13:54:48 +0900 |
commit | a3d181d2e784d57ea04728ac2f8f747fa798e78a (patch) | |
tree | daa2aafb014535e6df4cfb0a2c3f198f2126de16 /gdb/dwarf2loc.c | |
parent | 7e9ad3a35cde2342e07c34345d5ee671ea8aeeb4 (diff) | |
download | gdb-a3d181d2e784d57ea04728ac2f8f747fa798e78a.zip gdb-a3d181d2e784d57ea04728ac2f8f747fa798e78a.tar.gz gdb-a3d181d2e784d57ea04728ac2f8f747fa798e78a.tar.bz2 |
Make extern declaration of dwarf_always_disassemble correct
This was an oversight in 491144b5e21bbfd41969c175aebb663976f59058;
dwarf2loc.c has an extern definition for dwarf_always_disassemble
that I missed. This patch updates it from int to bool to match
the definition in dwarf2read.c.
gdb/ChangeLog:
2019-09-18 Christian Biesinger <cbiesinger@google.com>
* dwarf2loc.c: Change extern declaration of dwarf_always_disassemble
to bool to match definition in dwarf2read.c.
Diffstat (limited to 'gdb/dwarf2loc.c')
-rw-r--r-- | gdb/dwarf2loc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/dwarf2loc.c b/gdb/dwarf2loc.c index 63643cb..29fccae 100644 --- a/gdb/dwarf2loc.c +++ b/gdb/dwarf2loc.c @@ -46,7 +46,7 @@ #include "gdbsupport/underlying.h" #include "gdbsupport/byte-vector.h" -extern int dwarf_always_disassemble; +extern bool dwarf_always_disassemble; static struct value *dwarf2_evaluate_loc_desc_full (struct type *type, struct frame_info *frame, |