Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Joel Brobecker <brobecker@adacore.com>
To: Doug Evans <dje@google.com>
Cc: Jan Kratochvil <jan.kratochvil@redhat.com>,
	gdb-patches <gdb-patches@sourceware.org>
Subject: Re: [patchv2] Record objfile->original_name as an absolute path
Date: Thu, 10 Oct 2013 04:58:00 -0000	[thread overview]
Message-ID: <20131010045819.GL3092@adacore.com> (raw)
In-Reply-To: <CADPb22QC+HRc6fju=+s1mzGL1dkkRJ01N8JEAEJ6xzQ=qpu=Sw@mail.gmail.com>

> > +/* 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?

FWIW, I tend to be a little less demanding in the testsuite.
But the first question is whether there is another alternative.
Is there?

-- 
Joel


  reply	other threads:[~2013-10-10  4:58 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
2013-10-10  4:58       ` Joel Brobecker [this message]
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=20131010045819.GL3092@adacore.com \
    --to=brobecker@adacore.com \
    --cc=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