From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 80190 invoked by alias); 18 Sep 2019 04:56:54 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 80178 invoked by uid 89); 18 Sep 2019 04:56:54 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-22.8 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_0,GIT_PATCH_1,GIT_PATCH_2,GIT_PATCH_3,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.1 spammy=H*MI:google X-HELO: mail-qk1-f201.google.com Received: from mail-qk1-f201.google.com (HELO mail-qk1-f201.google.com) (209.85.222.201) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 18 Sep 2019 04:56:52 +0000 Received: by mail-qk1-f201.google.com with SMTP id q80so6910126qke.22 for ; Tue, 17 Sep 2019 21:56:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:message-id:mime-version:subject:from:to:cc; bh=p0r4NqqWKz70d6nh3fCzxqupLVQIFAYc5b9iZI3zTKo=; b=jhZ56DmxNfwX5wLK2eozjC7HRPhFFRd926hUkav6uoTKRYmbFj400+O9XjCcDdkn4m pnyCQmI9rTfRE1vCgD5fOSu/M1+2EJALxRepXNF/W9N7b3pXJbCNfEpgT8McWVIOokBL eKXBkPckQXV69FfY+NHyvzHM/YSZCNj5YJ6JnBX4D1A5uYVQx6SJUF6RKWKeKn63qWS8 nzmz+X4a9J9kC5cJgkvQ6gDVYicHXPr0IaevHyQ6Biv30yy5ItXCz4h08K5HzGVzH4Fg EPUKlY7BQ1oKVvi4pFShG6DzBwkAqN/y17FhkbuUaU9X0l/sU8rpXcMWzCngBQcvp7rv 4AMQ== Date: Wed, 18 Sep 2019 04:56:00 -0000 Message-Id: <20190918045623.207809-1-cbiesinger@google.com> Mime-Version: 1.0 Subject: [PUSHED/OBVIOUS] Make extern declaration of dwarf_always_disassemble correct From: "Christian Biesinger via gdb-patches" Reply-To: Christian Biesinger To: gdb-patches@sourceware.org Cc: Christian Biesinger Content-Type: text/plain; charset="UTF-8" X-IsSubscribed: yes X-SW-Source: 2019-09/txt/msg00335.txt.bz2 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 * dwarf2loc.c: Change extern declaration of dwarf_always_disassemble to bool to match definition in dwarf2read.c. --- gdb/ChangeLog | 5 +++++ gdb/dwarf2loc.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 8cb5bfeeb98..39fcac7a04e 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2019-09-18 Christian Biesinger + + * dwarf2loc.c: Change extern declaration of dwarf_always_disassemble + to bool to match definition in dwarf2read.c. + 2019-09-17 Christian Biesinger * ada-lang.c (ada_ignore_descriptive_types_p): Change to bool. diff --git a/gdb/dwarf2loc.c b/gdb/dwarf2loc.c index 63643cb45d5..29fccae5944 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, -- 2.23.0.237.gc6a4ce50a0-goog