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]

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


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


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