From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-il1-x142.google.com (mail-il1-x142.google.com [IPv6:2607:f8b0:4864:20::142]) by sourceware.org (Postfix) with ESMTPS id E1D69385DC00 for ; Wed, 3 Jun 2020 01:24:11 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org E1D69385DC00 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=sifive.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=nelson.chu@sifive.com Received: by mail-il1-x142.google.com with SMTP id b5so840885iln.5 for ; Tue, 02 Jun 2020 18:24:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sifive.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=ovEUPdfVshVeZ8px0PlLOXJOWlYHVQd042w068jCnnI=; b=DeoPyGLIXQzddeymTRfJ1p1lE7AhZeHAxQrjLBGIhHXDfNbJ6X8hLQqf9qMab8ctgu UwkBcLfgHUoImiISpKMe49ewZvx7ijDHyUoGIRs9zWw17yWOiZsC0BA8QRS0Zc9BI+zc K8Q52Fjxc/PZvbzSDuzbtAXYNOVXi9ItrfmKfJzTXcdg/cbrmc4rypxGn4V0+saXn65g J09/UankznX56Qk2WUabrgPDofBNDHaXt7oIU4g428BXzkO+rAzKtqjiCtmzHMnfUzu4 lOS25hgTDSm8baSy2XlMo2dtfOJRtUT/J4nH9YZoGnvQLaBDnN1NbzlKxL9Q2jjEtHaT BN4g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=ovEUPdfVshVeZ8px0PlLOXJOWlYHVQd042w068jCnnI=; b=gu9faPB5Ws0zqH6e27O+n6ZYihlSArqdxqtnTCUGJrauxeCrbnldDEHUWPXs34C9iS MbikDLoeBFx470ZuNSNms0dn7dOYP51a/WrIoH5C4SVxzgMPhleIYHflQqCOtSE0rrfc M2PkXRyyKIO/hgoe4bSOjkkuPhzNTzu5yN4ghPwT2YHTdjZM3WcMEF7/6Y8z7k1MS61U QG5Ks5PUQyMB0q+W7x0yibGTM1V6AWJ+7EyD1x/L7LhfBeMK/OTGTqKyQLHyGu4IRWvv G9W/MI+Ai62cZ+xhaQRNDGpyyp1CN0P5e4UWpZrmLQdUZUXG2Ec2xP9PcDyRnkJ+nDsG jsYw== X-Gm-Message-State: AOAM533czuNaeu/JsvKg6I4yKAAgu9SqKU5pOX8i+pnuxy7930IIxSBo wIKBeGlNWRAH7kw4csFWXgcXEoQTfr09cmk9vGXATpqWDzQ= X-Google-Smtp-Source: ABdhPJzQS2rRdFFAxln+96RaSBWanRJCqPHr/qm0vF7vDYQ4khKDxYN4rbWfi4Gb+/67m+4k5qute6e0Ktuf5FplAlY= X-Received: by 2002:a92:b704:: with SMTP id k4mr1781475ili.129.1591147451269; Tue, 02 Jun 2020 18:24:11 -0700 (PDT) MIME-Version: 1.0 References: <1591067065-5438-1-git-send-email-nelson.chu@sifive.com> In-Reply-To: From: Nelson Chu Date: Wed, 3 Jun 2020 09:24:01 +0800 Message-ID: Subject: Re: [PATCH] RISC-V: Fix the error when building RISC-V linux native gdbserver. To: Jim Wilson Cc: Binutils Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-5.9 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: binutils@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Binutils mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Jun 2020 01:24:15 -0000 On Wed, Jun 3, 2020 at 4:43 AM Jim Wilson wrote: > > On Mon, Jun 1, 2020 at 8:04 PM Nelson Chu wrote: > > Inlcude the bfd.h in the include/opcode/riscv.h may cause gdbserver fail > > to build. I just want to use the `bfd_boolean` in the opcodes/riscv-opc.c, > > but I didn't realize this cause the build failed. Fortunately, I can also > > use the `int` as the function return types just like others in the > > opcodes/riscv-opc.c. > > OK. Thanks for the fix. Thanks. Committed. Nelson