This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug gdb/11049] set print null-stop on spoils print for strings
- From: "pemekcz at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: 3 Dec 2009 14:33:24 -0000
- Subject: [Bug gdb/11049] set print null-stop on spoils print for strings
- References: <20091203141442.11049.pemekcz@gmail.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From pemekcz at gmail dot com 2009-12-03 14:33 -------
cast to char * restores correct behavior
(gdb) print (char *)string
$4 = "qwerty"
--
http://sourceware.org/bugzilla/show_bug.cgi?id=11049
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.