[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    valgrind/coregrind
From:       Jeremy Fitzhardinge <jeremy () goop ! org>
Date:       2004-03-16 8:20:14
Message-ID: 20040316082014.674E59982 () office ! kde ! org
[Download RAW message or body]

CVS commit by fitzhardinge: 

Print a backtrace for core-dumping signals, even if we're not actually
dumping core.


  M +2 -1      vg_signals.c   1.64


--- valgrind/coregrind/vg_signals.c  #1.63:1.64
@@ -1718,4 +1718,5 @@ static void vg_default_action(const vki_
    if (terminate) {
       struct vki_rlimit corelim;
+      Bool could_core = core;
 
       if (core) {
@@ -1729,5 +1730,5 @@ static void vg_default_action(const vki_
       }
 
-      if (VG_(clo_verbosity) != 0 && (core || VG_(clo_verbosity) > 1)) {
+      if (VG_(clo_verbosity) != 0 && (could_core || VG_(clo_verbosity) > 1)) {
          VG_(message)(Vg_UserMsg, "");
          VG_(message)(Vg_UserMsg, "Process terminating with default action of signal %d (%s)%s", 


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic