This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug mi/9752] MI -data-evaluate-expression prints optimized-out variable value as 0x0
- From: "nickrob at snap dot net dot nz" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: 14 Apr 2009 06:50:29 -0000
- Subject: [Bug mi/9752] MI -data-evaluate-expression prints optimized-out variable value as 0x0
- References: <20090116210457.9752.rschooler@tilera.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From nickrob at snap dot net dot nz 2009-04-14 06:50 -------
Subject: MI -data-evaluate-expression prints optimized-out variable value as 0x0
> Ok, thanks.
> I didn't see this on gdb-patches.
> Anyway, it is ok with a test case.
This patch just replaces the call to val_print with one to common_val_print.
There's no test for the MI command -stack-list-locals when values are
optimized out and presumably existing tests will pick up any regressions for
this circumstance. So, what would the be the purpose of a test case in this
particular instance?
--
http://sourceware.org/bugzilla/show_bug.cgi?id=9752
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.