This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Print nonexisting/optimized out static fields gracefully.
- From: Yao Qi <yao at codesourcery dot com>
- To: Pedro Alves <palves at redhat dot com>
- Cc: <gdb-patches at sourceware dot org>
- Date: Tue, 15 Oct 2013 09:05:32 +0800
- Subject: Re: [PATCH] Print nonexisting/optimized out static fields gracefully.
- Authentication-results: sourceware.org; auth=none
- References: <1381429510-14825-1-git-send-email-palves at redhat dot com>
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?
(gdb) p sss.aaa
$2 = <optimized out>
--
Yao (éå)