From: Philippe Waroquiers Date: Tue, 2 Jun 2015 22:17:51 +0000 (+0000) Subject: Default is 1 for the unwind length range, not 0 X-Git-Tag: svn/VALGRIND_3_11_0~325 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8e6d249a367801b6359a260a9bf9d488299a6df8;p=thirdparty%2Fvalgrind.git Default is 1 for the unwind length range, not 0 git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15307 --- diff --git a/coregrind/m_gdbserver/server.c b/coregrind/m_gdbserver/server.c index 7a67fd029d..485050b521 100644 --- a/coregrind/m_gdbserver/server.c +++ b/coregrind/m_gdbserver/server.c @@ -459,7 +459,7 @@ int handle_gdb_valgrind_command (char *mon, OutputSink *sink_wanted_at_return) } case 10: { /* unwind */ Addr address; - SizeT sz = 0; + SizeT sz = 1; if (VG_(strtok_get_address_and_size) (&address, &sz, &ssaveptr)) { VG_(ppUnwindInfo) (address, address + sz - 1);