|
From: <sv...@va...> - 2005-12-19 23:28:27
|
Author: sewardj
Date: 2005-12-19 23:28:23 +0000 (Mon, 19 Dec 2005)
New Revision: 5391
Log:
Make --trace-redir=3Dyes show additional useful info.
Modified:
branches/FNWRAP/coregrind/m_debuginfo/symtab.c
Modified: branches/FNWRAP/coregrind/m_debuginfo/symtab.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
--- branches/FNWRAP/coregrind/m_debuginfo/symtab.c 2005-12-19 23:24:38 UT=
C (rev 5390)
+++ branches/FNWRAP/coregrind/m_debuginfo/symtab.c 2005-12-19 23:28:23 UT=
C (rev 5391)
@@ -1364,7 +1364,7 @@
struct vki_stat stat_buf;
=20
oimage =3D (Addr)NULL;
- if (VG_(clo_verbosity) > 1)
+ if (VG_(clo_verbosity) > 1 || VG_(clo_trace_redir))
VG_(message)(Vg_DebugMsg, "Reading syms from %s (%p)",=20
si->filename, si->start );
=20
@@ -1813,9 +1813,9 @@
while (curr) {
if (start =3D=3D curr->start) {
// Found it; remove from list and free it.
- if (VG_(clo_verbosity) > 1)
+ if (VG_(clo_verbosity) > 1 || VG_(clo_trace_redir))
VG_(message)(Vg_DebugMsg,=20
- "discard syms at %p-%p in %s due to munmap()",=20
+ "Discarding syms at %p-%p in %s due to munmap()=
",=20
start, start+length,
curr->filename ? curr->filename : (Char *)"???"=
);
vg_assert(*prev_next_ptr =3D=3D curr);
|