[Bug c++/10908] New: error reading variable for char variable
egor at sun dot com
sourceware-bugzilla@sourceware.org
Thu Nov 5 14:55:00 GMT 2009
#include <stdio.h>
main() {
char cc = 'z';
printf("cc=%c", cc); // STOP HERE
return 0;
}
Stop in the provided sample:
(gdb) print cc
$1 = 122 '<error reading variable>
Reproduced on Solaris 10 and OpenSolaris
--
Summary: error reading variable for char variable
Product: gdb
Version: 7.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned at sourceware dot org
ReportedBy: egor at sun dot com
CC: gdb-prs at sourceware dot org
http://sourceware.org/bugzilla/show_bug.cgi?id=10908
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
More information about the Gdb-prs
mailing list