From: John Coppens <john@jcoppens.com>
To: gdb@sourceware.org
Subject: Re: Debugging classes.
Date: Fri, 01 Oct 2010 19:28:00 -0000 [thread overview]
Message-ID: <20101001162814.622b8aab.john@jcoppens.com> (raw)
In-Reply-To: <20101001150705.ab95907e.john@jcoppens.com>
On Fri, 1 Oct 2010 15:07:05 -0300
John Coppens <john@jcoppens.com> wrote:
> Cannot access memory at address 0xb7
>
Gdb has problems visualizing values with optimizing on (-O2 in my
case). Solutions:
- Switch optimizing off, or
- Use a previous 'this', when it was still valid
Thanks to the #gdb IRC channel, I received suggestions that gdb 4.5.x
has some of these problems solved.
Cheers,
John
prev parent reply other threads:[~2010-10-01 19:28 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-01 18:07 John Coppens
2010-10-01 19:28 ` John Coppens [this message]
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=20101001162814.622b8aab.john@jcoppens.com \
--to=john@jcoppens.com \
--cc=gdb@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