This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 4/5] Use TARGET_FILENAME_PREFIX as the system root in some cases


> 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]