From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from eggs.gnu.org (eggs.gnu.org [IPv6:2001:470:142:3::10]) by sourceware.org (Postfix) with ESMTPS id 898FD3858426 for ; Sat, 7 Oct 2023 07:01:45 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 898FD3858426 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gnu.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gnu.org Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qp1Jn-0001LC-Hj; Sat, 07 Oct 2023 03:01:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=bl0LOwkeMbJxMM+JWJ6H/7tihUCqcu4ZLMfiY7EZ4Bc=; b=iNiD7PxVAE9guUM0f4Ns QhV4OBsy9AWJJfhaHiiZ8xXipcsdS4bLoMczfCoOwcACwe2WOe+hgxGgkUmrxncyZS+fniIrIvhne HP6De7k3NUrpAixgG7afQlrabTQWEc+ipvRHfJq0juxj+WVeZ4ztd0N8+pdGt87uJ6Luz9e3WAfAh dOinCuyvV9mbE10f+75rtEZf8+PqG2Q4anOamxo5QlyrqkpKmJkx5zFqVK9sTvyETaW+SMg1bJuMw EUlrHRfG6vveQHHyGateOJKpW7b8VC53jyvox09UktMc+a6AX98uFi8I7I8/pSUHLpyMscgYFoC4C Gzz4sVXzKkjLog==; Date: Sat, 07 Oct 2023 10:01:52 +0300 Message-Id: <83cyxq29wf.fsf@gnu.org> From: Eli Zaretskii To: Thiago Jung Bauermann Cc: gdb-patches@sourceware.org, tom@tromey.com In-Reply-To: <87y1ggll4e.fsf@linaro.org> (message from Thiago Jung Bauermann on Thu, 05 Oct 2023 20:12:17 -0300) Subject: Re: [PATCH v2] gdb/configure.ac: Add option --with-additional-debug-dirs References: <20231004183102.61669-1-thiago.bauermann@linaro.org> <831qe964lt.fsf@gnu.org> <87y1ggll4e.fsf@linaro.org> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=0.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: > From: Thiago Jung Bauermann > Cc: gdb-patches@sourceware.org, tom@tromey.com > Date: Thu, 05 Oct 2023 20:12:17 -0300 > > As a workaround, I was able to get away with some escaping: > > $ ~/src/binutils-gdb/configure \ > --disable-{binutils,ld,gold,gas,sim,gprof,gprofng} \ > --with-auto-load-dir='foo\\\;bar\\\;baz' && make > ⋮ > checking for default auto-load directory... foo\\\;bar\\\;baz > checking for default auto-load safe-path... foo\\\;bar\\\;baz > ⋮ > $ grep AUTO_LOAD gdb/config.h > #define AUTO_LOAD_DIR "foo;bar;baz" > #define AUTO_LOAD_SAFE_PATH "foo;bar;baz" Thanks, will use these in my next build, and see if it works for me as well.