From: Doug Evans <dje@google.com>
To: gdb-patches@sourceware.org
Subject: Re: [PATCH] Allow gdb.lookup_objfile to work with symlinked binary
Date: Wed, 14 Jan 2015 01:05:00 -0000 [thread overview]
Message-ID: <21685.49362.32472.16941@ruffy2.mtv.corp.google.com> (raw)
In-Reply-To: <yjt2ioh8pma3.fsf@ruffy.mtv.corp.google.com>
Doug Evans writes:
> Hi.
>
> This patch enhances gdb.lookup_objfile so that it works with a
> symlinked binary.
>
> Regression tested on amd64-linux.
>
> 2014-12-18 Doug Evans <dje@google.com>
>
> * objfiles.c (objfile_filename): New function.
> * objfiles.h (objfile_filename): Declare it.
> (objfile_name): Add function comment.
> * python/py-objfile.c (objfpy_lookup_objfile_by_name): Try both the
> bfd file name (which may be realpath'd), and the original name.
>
> testsuite/
> * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
> binary.
Committed.
prev parent reply other threads:[~2015-01-14 1:05 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-18 23:32 Doug Evans
2015-01-14 1:05 ` Doug Evans [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=21685.49362.32472.16941@ruffy2.mtv.corp.google.com \
--to=dje@google.com \
--cc=gdb-patches@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).