From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 99589 invoked by alias); 21 Aug 2019 18:15:31 -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 99573 invoked by uid 89); 21 Aug 2019 18:15:31 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-15.7 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_0,GIT_PATCH_1,GIT_PATCH_2,GIT_PATCH_3,SPF_HELO_PASS autolearn=ham version=3.3.1 spammy= X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 21 Aug 2019 18:15:29 +0000 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id B3C48898103; Wed, 21 Aug 2019 18:15:28 +0000 (UTC) Received: from localhost (unused-10-15-17-196.yyz.redhat.com [10.15.17.196]) by smtp.corp.redhat.com (Postfix) with ESMTP id 7AECA58BA; Wed, 21 Aug 2019 18:15:28 +0000 (UTC) From: Sergio Durigan Junior To: "Christian Biesinger via gdb-patches" Cc: Christian Biesinger Subject: Re: [PATCH 3/3] Load system gdbinit files from a directory References: <20190820221745.147370-1-cbiesinger@google.com> <20190820221745.147370-4-cbiesinger@google.com> Date: Wed, 21 Aug 2019 18:15:00 -0000 In-Reply-To: <20190820221745.147370-4-cbiesinger@google.com> (Christian Biesinger via gdb-patches's message of "Tue, 20 Aug 2019 17:17:45 -0500") Message-ID: <871rxegzb4.fsf@redhat.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-IsSubscribed: yes X-SW-Source: 2019-08/txt/msg00506.txt.bz2 On Tuesday, August 20 2019, Christian Biesinger via gdb-patches wrote: > diff --git a/gdb/configure b/gdb/configure > index cb71bbf057..e5aa2e6b3b 100755 > --- a/gdb/configure > +++ b/gdb/configure > @@ -693,6 +693,7 @@ WIN32LIBS > SER_HARDWIRE > WERROR_CFLAGS > WARN_CFLAGS > +SYSTEM_GDBINIT_DIR > SYSTEM_GDBINIT > TARGET_SYSTEM_ROOT > CONFIG_LDFLAGS > @@ -824,6 +825,7 @@ infodir > docdir > oldincludedir > includedir > +runstatedir > localstatedir > sharedstatedir > sysconfdir > @@ -884,6 +886,7 @@ with_libipt_prefix > with_included_regex > with_sysroot > with_system_gdbinit > +with_system_gdbinit_dir > enable_werror > enable_build_warnings > enable_gdb_build_warnings > @@ -956,6 +959,7 @@ datadir='${datarootdir}' > sysconfdir='${prefix}/etc' > sharedstatedir='${prefix}/com' > localstatedir='${prefix}/var' > +runstatedir='${localstatedir}/run' > includedir='${prefix}/include' > oldincludedir='/usr/include' > docdir='${datarootdir}/doc/${PACKAGE}' > @@ -1208,6 +1212,15 @@ do > | -silent | --silent | --silen | --sile | --sil) > silent=yes ;; > > + -runstatedir | --runstatedir | --runstatedi | --runstated \ > + | --runstate | --runstat | --runsta | --runst | --runs \ > + | --run | --ru | --r) > + ac_prev=runstatedir ;; > + -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \ > + | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \ > + | --run=* | --ru=* | --r=*) > + runstatedir=$ac_optarg ;; > + Something else I forgot to comment: this 'runstatedir' addition seems unrelated to the patch; it's probably due to the autoconf version you're using to regenerate these files. Make sure you have the correct versions installed: https://sourceware.org/gdb/wiki/DeveloperTips#Editing_configure.ac Thanks, -- Sergio GPG key ID: 237A 54B1 0287 28BF 00EF 31F4 D0EB 7628 65FC 5E36 Please send encrypted e-mail if possible http://sergiodj.net/