From: Doug Evans <dje@google.com>
To: Jan Kratochvil <jan.kratochvil@redhat.com>
Cc: gdb-patches <gdb-patches@sourceware.org>
Subject: Re: [patchv2] Record objfile->original_name as an absolute path
Date: Wed, 09 Oct 2013 16:37:00 -0000 [thread overview]
Message-ID: <CADPb22QC+HRc6fju=+s1mzGL1dkkRJ01N8JEAEJ6xzQ=qpu=Sw@mail.gmail.com> (raw)
In-Reply-To: <20131009144629.GC27355@host2.jankratochvil.net>
On Wed, Oct 9, 2013 at 7:46 AM, Jan Kratochvil
<jan.kratochvil@redhat.com> wrote:
> diff --git a/gdb/testsuite/gdb.dwarf2/dwp-symlink.c b/gdb/testsuite/gdb.dwarf2/dwp-symlink.c
> index 5be12fb..a93d5e7 100644
> --- a/gdb/testsuite/gdb.dwarf2/dwp-symlink.c
> +++ b/gdb/testsuite/gdb.dwarf2/dwp-symlink.c
> @@ -15,6 +15,13 @@
> You should have received a copy of the GNU General Public License
> along with this program. If not, see <http://www.gnu.org/licenses/>. */
>
> +/* Cheezy hack to prevent set_initial_language from trying to look up main.
> + We do this so that gdb won't try to open the dwp file when the file is
> + first selected. This gives us a chance to do a chdir before attempting
> + to access the debug info. */
> +asm (".globl main.main");
> +asm ("main.main: .byte 0");
> +
> int
> main (int argc, char **argv)
> {
People are actually ok with this?
next prev parent reply other threads:[~2013-10-09 16:37 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-26 1:29 [RFC] " Doug Evans
2013-09-26 1:54 ` Doug Evans
2013-09-26 8:28 ` Jan Kratochvil
2013-09-26 8:47 ` Jan Kratochvil
2013-09-27 19:37 ` Tom Tromey
2013-10-08 18:23 ` [patch] OBJF_NOT_FILENAME [Re: [RFC] Record objfile->original_name as an absolute path] Jan Kratochvil
2013-10-08 20:18 ` Tom Tromey
2013-10-09 13:23 ` [commit] " Jan Kratochvil
2013-10-09 14:46 ` [patchv2] Record objfile->original_name as an absolute path Jan Kratochvil
2013-10-09 16:37 ` Doug Evans [this message]
2013-10-10 4:58 ` Joel Brobecker
2013-10-10 16:31 ` Doug Evans
2013-10-10 16:37 ` Jan Kratochvil
2013-10-10 18:07 ` Tom Tromey
2013-10-10 18:55 ` Doug Evans
2013-12-02 21:26 ` [commit] " Jan Kratochvil
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='CADPb22QC+HRc6fju=+s1mzGL1dkkRJ01N8JEAEJ6xzQ=qpu=Sw@mail.gmail.com' \
--to=dje@google.com \
--cc=gdb-patches@sourceware.org \
--cc=jan.kratochvil@redhat.com \
/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