|
From: <sv...@va...> - 2005-05-02 10:39:20
|
Author: sewardj
Date: 2005-05-02 11:39:16 +0100 (Mon, 02 May 2005)
New Revision: 3593
Modified:
trunk/coregrind/m_stacktrace.c
trunk/coregrind/vg_symtab2.c
Log:
rm debug printing
Modified: trunk/coregrind/m_stacktrace.c
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/coregrind/m_stacktrace.c 2005-05-02 10:33:44 UTC (rev 3592)
+++ trunk/coregrind/m_stacktrace.c 2005-05-02 10:39:16 UTC (rev 3593)
@@ -145,7 +145,7 @@
Addr sp =3D STACK_PTR(tst->arch);
Addr stack_highest_word =3D tst->client_stack_highest_word;
=20
-#ifdef __x86__
+#if defined(VGP_x86_linux)
/* Nasty little hack to deal with sysinfo syscalls - if libc is
using the sysinfo page for syscalls (the TLS version does), then
ip will always appear to be in that page when doing a syscall,
Modified: trunk/coregrind/vg_symtab2.c
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/coregrind/vg_symtab2.c 2005-05-02 10:33:44 UTC (rev 3592)
+++ trunk/coregrind/vg_symtab2.c 2005-05-02 10:39:16 UTC (rev 3593)
@@ -844,9 +844,12 @@
if (here_max > si->cfisi_maxaddr)
si->cfisi_maxaddr =3D here_max;
}
- VG_(printf)("%d entries, %p .. %p\n", si->cfisi_used,
- si->cfisi_minaddr, si->cfisi_maxaddr);
=20
+ if (VG_(clo_trace_cfi))
+ VG_(printf)("canonicaliseCfiSI: %d entries, %p .. %p\n",=20
+ si->cfisi_used,
+ si->cfisi_minaddr, si->cfisi_maxaddr);
+
/* Sort the cfisi array by base address. */
VG_(ssort)(si->cfisi, si->cfisi_used, sizeof(*si->cfisi), compare_Cfi=
SI);
=20
|