[commit] [patchv2] Record objfile->original_name as an absolute path

Jan Kratochvil jan.kratochvil@redhat.com
Mon Dec 2 21:26:00 GMT 2013


On Wed, 09 Oct 2013 16:46:29 +0200, Jan Kratochvil wrote:
> gdb/
> 2013-09-25  Doug Evans  <dje@google.com>
> 	    Jan Kratochvil  <jan.kratochvil@redhat.com>
> 
> 	* objfiles.c (allocate_objfile): Save original_name as an absolute
> 	path.
> 	* objfiles.h (struct objfile): Expand comment on original_name.
> 	* source.c (openp): Call gdb_abspath.
> 	* utils.c (gdb_abspath): New function.
> 	* utils.h (gdb_abspath): Declare.
> 
> gdb/testsuite/
> 2013-09-25  Doug Evans  <dje@google.com>
> 
> 	* gdb.dwarf/dwp-symlink.c: Fake out gdb to not load debug info
> 	at start.
> 	* gdb.dwarf/dwp-symlink.exp: Test trying to load dwp when the binary
> 	has been specified with a relative path and we have chdir'd before
> 	accessing the debug info.

Checked in: 04affae3ef7aa124b6ac0ce4f3a54063b7b4784f


Jan



More information about the Gdb-patches mailing list