Make extern declaration of dwarf_always_disassemble correct
authorChristian Biesinger <cbiesinger@google.com>
Wed, 18 Sep 2019 04:50:42 +0000 (13:50 +0900)
committerChristian Biesinger <cbiesinger@google.com>
Wed, 18 Sep 2019 04:54:48 +0000 (13:54 +0900)
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.

gdb/ChangeLog
gdb/dwarf2loc.c

index 8cb5bfeeb98e3cd2e47ccd290b49ed0d35ba1a0e..39fcac7a04ea9743a612b39c95e5a11c50705010 100644 (file)
@@ -1,3 +1,8 @@
+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.
+
 2019-09-17  Christian Biesinger  <cbiesinger@google.com>
 
        * ada-lang.c (ada_ignore_descriptive_types_p): Change to bool.
index 63643cb45d54a8abc4a0bc8a2d3b6c3d1fd51c70..29fccae594468d50c7dda02fb51dcdcedc91ed3e 100644 (file)
@@ -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,
This page took 0.031289 seconds and 4 git commands to generate.