]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
output the nr of IP in the stacktrace header produced by v.info exectxt
authorPhilippe Waroquiers <philippe.waroquiers@skynet.be>
Fri, 11 Jan 2013 23:48:28 +0000 (23:48 +0000)
committerPhilippe Waroquiers <philippe.waroquiers@skynet.be>
Fri, 11 Jan 2013 23:48:28 +0000 (23:48 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13222

coregrind/m_execontext.c

index afcde03888cafe04f56235705d6d9b88101673d2..b81dbffae616b8155d32c5514d8bcb1b4993d4a5 100644 (file)
@@ -156,8 +156,8 @@ void VG_(print_ExeContext_stats) ( Bool with_stacktraces )
       VG_(message)(Vg_DebugMsg, "   exectx: Printing contexts stacktraces\n");
       for (i = 0; i < ec_htab_size; i++) {
          for (ec = ec_htab[i]; ec; ec = ec->chain) {
-            VG_(message)(Vg_DebugMsg, "   exectx: stacktrace ecu %u\n",
-                         ec->ecu);
+            VG_(message)(Vg_DebugMsg, "   exectx: stacktrace ecu %u n_ips %u\n",
+                         ec->ecu, ec->n_ips);
             VG_(pp_StackTrace)( ec->ips, ec->n_ips );
          }
       }