Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@false.org>
To: Joel Brobecker <brobecker@adacore.com>
Cc: gdb-patches@sourceware.org
Subject: Re: [RFA/stabs] 't' type declaration is equivalent to 'Tt' for Ada
Date: Tue, 27 Feb 2007 16:54:00 -0000	[thread overview]
Message-ID: <20070227165404.GC31729@caradoc.them.org> (raw)
In-Reply-To: <20070209225249.GK3372@adacore.com>

On Fri, Feb 09, 2007 at 02:52:49PM -0800, Joel Brobecker wrote:
> The problem is that we only match STRUCT_DOMAIN symbols.
> However, in our case, the actual type was declared:
> 
>     system__standard_library__exception_data:t22=
> 
> This is different from:
> 
>     system__standard_library__exception_data:Tt22=
> 
> When we have a 't', the debugger builds a VAR_DOMAIN symbol. When we
> have a 'T', the debugger also builds a STRUCT_DOMAIN symbol. In Ada,
> there is no equivalent of the distinction between typedef and non-typedef.
> So as a result, I modified the stabsreader such that, for Ada, a 't'
> symbol would be treated as if it was defined with 'Tt'.

I guess this is OK.  It seems silly to rely on STRUCT_DOMAIN, but I
don't want to make intrusive changes to this code now - a drawback of
everything moving away from stabs is that it becomes harder to test.

-- 
Daniel Jacobowitz
CodeSourcery


  reply	other threads:[~2007-02-27 16:54 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-09 22:51 Joel Brobecker
2007-02-27 16:54 ` Daniel Jacobowitz [this message]
2007-02-28  6:01   ` 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=20070227165404.GC31729@caradoc.them.org \
    --to=drow@false.org \
    --cc=brobecker@adacore.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