This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 4/5] Use TARGET_FILENAME_PREFIX as the system root in some cases
- From: Eli Zaretskii <eliz at gnu dot org>
- To: Gary Benson <gbenson at redhat dot com>
- Cc: gdb-patches at sourceware dot org, palves at redhat dot com, sandra at codesourcery dot com, Paul_Koning at Dell dot com, jan dot kratochvil at redhat dot com, brobecker at adacore dot com
- Date: Tue, 28 Jul 2015 18:40:03 +0300
- Subject: Re: [PATCH 4/5] Use TARGET_FILENAME_PREFIX as the system root in some cases
- Authentication-results: sourceware.org; auth=none
- References: <1438097772-31480-1-git-send-email-gbenson at redhat dot com> <1438097772-31480-5-git-send-email-gbenson at redhat dot com>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> From: Gary Benson <gbenson@redhat.com>
> Cc: Pedro Alves <palves@redhat.com>, Sandra Loosemore <sandra@codesourcery.com>, Paul_Koning@Dell.com, Jan Kratochvil <jan.kratochvil@redhat.com>, Joel Brobecker <brobecker@adacore.com>
> 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.