public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
From: Tom Tromey <tromey@redhat.com>
To: "Pierre Muller" <pierre.muller@ics-cnrs.unistra.fr>
Cc: "'Iain Buclaw'" <ibuclaw@gdcproject.org>, <gdb-patches@sourceware.org>
Subject: Re: [PATCH] Add d_main_name to dlang.c
Date: Tue, 19 Nov 2013 21:08:00 -0000	[thread overview]
Message-ID: <87bo1gksu3.fsf@fleche.redhat.com> (raw)
In-Reply-To: <39451.43601527$1384894769@news.gmane.org> (Pierre Muller's	message of "Tue, 19 Nov 2013 18:58:54 -0200")

Pierre>   I thought that in general, using the mangled name
Pierre> would allow to find main even if you do not generate
Pierre> any debug information, as long as you do not remove the
Pierre> assembler symbols from the executable.
Pierre>   This seems like a valid reason to prefer mangled name
Pierre> over demangled, no?

The demangled name ends up in the minimal symbol table as well.
It's convoluted but it ends up in symbol_find_demangled_name, which has
a case for language_d.

Tom

  parent reply	other threads:[~2013-11-19 21:05 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-19  1:53 Iain Buclaw
2013-11-19 16:09 ` Tom Tromey
2013-11-19 17:50   ` Iain Buclaw
2013-11-19 18:06     ` Tom Tromey
2013-11-19 21:05       ` Pierre Muller
     [not found]       ` <39451.43601527$1384894769@news.gmane.org>
2013-11-19 21:08         ` Tom Tromey [this message]
2014-01-03 18:18           ` Iain Buclaw
2014-01-07  9:53             ` Iain Buclaw
2014-01-07 10:44               ` Joel Brobecker

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=87bo1gksu3.fsf@fleche.redhat.com \
    --to=tromey@redhat.com \
    --cc=gdb-patches@sourceware.org \
    --cc=ibuclaw@gdcproject.org \
    --cc=pierre.muller@ics-cnrs.unistra.fr \
    /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).