From: Nick Roberts <nickrob@snap.net.nz>
To: Aleksandar Ristovski <ARistovski@qnx.com>
Cc: gdb-patches@sourceware.org, Ryan Mansfield <RMansfield@qnx.com>
Subject: RE: [patch] Fix for varobj.c assertions.
Date: Tue, 15 Jan 2008 22:20:00 -0000 [thread overview]
Message-ID: <18317.12654.364705.470631@kahikatea.snap.net.nz> (raw)
In-Reply-To: <2F6320727174C448A52CEB63D85D11F40AB0@nova.ott.qnx.com>
> > Can anybody else duplicate this problem? (see pr2309)
> >
>
> I did some more testing, it turns out it depends on the toolchain version.
>
> Toolchain that produced the problem:
> gcc 4.1.1
> binutils 2.17
>
> However, with
> gcc 4.1.2
> binutils 2.18
> the problem does not reproduce.
>
>
> The patch fixes the problem in the case of problematic toolchain version.
Maybe it cures the symptom and not the cause. We really need to know what is
happening here. In your oringinal report the failed assertion occurred in
my_value_equal but that function has gone now. Presumably it now occurs in
install_new_value, but at which line?
When there is no problem, presumably *value (in adjust_value_for_child_access)
or value (in c_describe_child) are null. How do they become non null for
inaccessible memory in the failing case?
--
Nick http://www.inet.net.nz/~nickrob
next prev parent reply other threads:[~2008-01-15 22:20 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-15 14:51 Aleksandar Ristovski
2008-01-15 22:20 ` Nick Roberts [this message]
2008-01-29 19:21 ` Daniel Jacobowitz
-- strict thread matches above, loose matches on Subject: below --
2008-01-11 3:05 Aleksandar Ristovski
2008-01-11 4:50 ` Nick Roberts
2008-01-10 22:05 Aleksandar Ristovski
2008-01-10 22:37 ` Nick Roberts
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=18317.12654.364705.470631@kahikatea.snap.net.nz \
--to=nickrob@snap.net.nz \
--cc=ARistovski@qnx.com \
--cc=RMansfield@qnx.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