From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 115240 invoked by alias); 28 Jul 2015 15:40:18 -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 114749 invoked by uid 89); 28 Jul 2015 15:40:18 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_SOFTFAIL autolearn=no version=3.3.2 X-HELO: mtaout22.012.net.il Received: from mtaout22.012.net.il (HELO mtaout22.012.net.il) (80.179.55.172) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 28 Jul 2015 15:40:16 +0000 Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0NS700900F7N8Y00@a-mtaout22.012.net.il> for gdb-patches@sourceware.org; Tue, 28 Jul 2015 18:40:13 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NS70080VFJ0U990@a-mtaout22.012.net.il>; Tue, 28 Jul 2015 18:40:13 +0300 (IDT) Date: Tue, 28 Jul 2015 15:40:00 -0000 From: Eli Zaretskii Subject: Re: [PATCH 4/5] Use TARGET_FILENAME_PREFIX as the system root in some cases In-reply-to: <1438097772-31480-5-git-send-email-gbenson@redhat.com> To: Gary Benson Cc: gdb-patches@sourceware.org, palves@redhat.com, sandra@codesourcery.com, Paul_Koning@Dell.com, jan.kratochvil@redhat.com, brobecker@adacore.com Reply-to: Eli Zaretskii Message-id: <83egjsxpd8.fsf@gnu.org> References: <1438097772-31480-1-git-send-email-gbenson@redhat.com> <1438097772-31480-5-git-send-email-gbenson@redhat.com> X-IsSubscribed: yes X-SW-Source: 2015-07/txt/msg00831.txt.bz2 > From: Gary Benson > Cc: Pedro Alves , Sandra Loosemore , Paul_Koning@Dell.com, Jan Kratochvil , Joel Brobecker > Date: Tue, 28 Jul 2015 16:36:11 +0100 > > This commit updates solib_find_1 to use TARGET_FILENAME_PREFIX as the > system root if auto-target-prefix is enabled and gdb_sysroot is empty > and the target filesystem is not the local filesystem. > > gdb/ChangeLog: > > * solib.c (auto_target_prefix): New static variable. > (solib_find_1): Use TARGET_FILENAME_PREFIX as sysroot > in some cases. > (show_auto_target_prefix): New function. > (_initialize_solib): New "set/show auto-target-prefix" > commands. > * NEWS: Mention that GDB will use "target:" as the system > root in some cases. Mention new "set/show auto-target-prefix" > commands. > > gdb/doc/ChangeLog: > > * gdb.texinfo (Commands to Specify Files): Document the > "set/show auto-target-prefix" commands. OK for the documentation parts. Thanks.