|
From: Jeremy F. <je...@go...> - 2005-03-22 00:58:15
|
Klint Gore wrote:
>On Mon, 21 Mar 2005 15:21:37 -0800, Jeremy Fitzhardinge <je...@go...> wrote:
>
>
>>Turns out it was a simple fix. Try this out:
>>
>>
>
>ok, that got me past the segmentation fault. I have an internal error
>(signal 8) and a message that the impossible happened. attached is the
>output.
>
Run without -v, or try this patch:
Index: valgrind/coregrind/vg_from_ucode.c
===================================================================
--- valgrind.orig/coregrind/vg_from_ucode.c 2005-03-10 21:09:43.000000000 -0800
+++ valgrind/coregrind/vg_from_ucode.c 2005-03-21 16:56:59.000000000 -0800
@@ -154,6 +154,11 @@ static Histogram histogram[100];
void VG_(print_ccall_stats)(void)
{
+ if (ccalls == 0) {
+ VG_(message)(Vg_DebugMsg, " No ccalls");
+ return;
+ }
+
VG_(message)(Vg_DebugMsg,
" ccalls: %u C calls, %u%% saves+restores avoided"
" (%d bytes)",
J
|