From: Joel Brobecker <brobecker@adacore.com>
To: gdb-patches@sourceware.org
Subject: Re: [RFA/stabs] fix failed assertion during replacement of undefined type
Date: Fri, 18 Apr 2008 08:55:00 -0000 [thread overview]
Message-ID: <20080417232854.GH12735@adacore.com> (raw)
In-Reply-To: <20080416230934.GA6274@caradoc.them.org>
> > The compiler ended up emitting the following debugging info for this
> > type, which is incomplete:
> >
> > .stabs "pck__data_t:t(0,32)=B(0,33)=xepck__data_t:",128,0,3,0
>
> I think we should simply refuse this. It's circular and obviously
> broken. We have a reference to a named type and the reference is
> clearly intended to be to a non-volatile type, so GDB blowing up is
> not entirely unreasonable.
I agree that the stabs is wrong, and that we should refuse it. The problem
is that I haven't found a better way of doing that while reading the stabs,
so I decided to do it during the final phase when we are fixing undefined
types.
--
Joel
next prev parent reply other threads:[~2008-04-17 23:31 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-03 21:59 Joel Brobecker
2008-04-17 0:19 ` Daniel Jacobowitz
2008-04-18 8:55 ` Joel Brobecker [this message]
2008-04-19 2:13 ` Joel Brobecker
2008-04-19 6:00 ` Daniel Jacobowitz
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=20080417232854.GH12735@adacore.com \
--to=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