This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
set print null-stop
- From: Alexander Petukhov <al_petukhov at mail dot ru>
- To: gdb at sourceware dot org
- Date: Sat, 22 Jan 2011 11:40:56 +0300
- Subject: set print null-stop
- References: <1292149712.15669.ezmlm@sourceware.org>
Hello, maling list.
Can't make "set print null-stop" work as written in manual.
For example:
char str[7];
sprintf(str, "i=%i", 0);
(gdb) p str
$1 = "i=0\000\017\377\267"
(gdb) set print null-stop
(gdb) p str
$2 = ""
Does this feature work or I'm doing something wrong?
Another question - is there a corresponding gdm/mi command?
Thank you,
Alexander