From: Pedro Alves <palves@redhat.com>
To: Yao Qi <yao@codesourcery.com>
Cc: gdb-patches@sourceware.org
Subject: Re: [PATCH] Print nonexisting/optimized out static fields gracefully.
Date: Tue, 15 Oct 2013 09:48:00 -0000 [thread overview]
Message-ID: <525D0F63.7040209@redhat.com> (raw)
In-Reply-To: <525C94DC.8040200@codesourcery.com>
On 10/15/2013 02:05 AM, Yao Qi wrote:
> On 10/11/2013 02:25 AM, Pedro Alves wrote:
>> After the patch:
>>
>> (gdb) p sss
>> $1 = {static aaa = <optimized out>}
>> (gdb) p sss.aaa
>> field aaa is nonexistent or has been optimized out
>
> Does this message above still exist?
Nope, sorry, it was a copy/paste error. After patch, we get:
(gdb) p sss
$1 = {static aaa = <optimized out>}
(gdb) p sss.aaa
$2 = <optimized out>
IOW, consistent "<optimized out>".
>
>> (gdb) p sss.aaa
>> $2 = <optimized out>
>
>
--
Pedro Alves
next prev parent reply other threads:[~2013-10-15 9:48 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-10 18:25 Pedro Alves
2013-10-15 1:07 ` Yao Qi
2013-10-15 9:48 ` Pedro Alves [this message]
2013-10-15 23:45 ` Doug Evans
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=525D0F63.7040209@redhat.com \
--to=palves@redhat.com \
--cc=gdb-patches@sourceware.org \
--cc=yao@codesourcery.com \
/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