This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[commit] [patchv2] Record objfile->original_name as an absolute path
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: Doug Evans <dje at google dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Mon, 2 Dec 2013 22:26:02 +0100
- Subject: [commit] [patchv2] Record objfile->original_name as an absolute path
- Authentication-results: sourceware.org; auth=none
- References: <yjt2zjr09xqr dot fsf at ruffy dot mtv dot corp dot google dot com> <20130926084713 dot GA11031 at host2 dot jankratochvil dot net> <20131009144629 dot GC27355 at host2 dot jankratochvil dot net>
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