|
From: <sv...@va...> - 2005-05-03 15:20:07
|
Author: sewardj
Date: 2005-05-03 16:20:01 +0100 (Tue, 03 May 2005)
New Revision: 3602
Modified:
trunk/coregrind/vg_dwarf.c
Log:
Improve debug printing
Modified: trunk/coregrind/vg_dwarf.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_dwarf.c 2005-05-03 12:22:00 UTC (rev 3601)
+++ trunk/coregrind/vg_dwarf.c 2005-05-03 15:20:01 UTC (rev 3602)
@@ -1632,7 +1632,7 @@
if (VG_(clo_trace_cfi)) {
VG_(printf)("\n-----------------------------------------------\n")=
;
VG_(printf)("CFI info: ehframe %p, ehframe_sz %d\n",
- ehframe, ehframe_sz );
+ ehframe, ehframe_sz );
VG_(printf)("CFI info: name %s\n",
si->filename );
}
@@ -1656,7 +1656,8 @@
=20
UChar* ciefde_start =3D data;
if (VG_(clo_trace_cfi))=20
- VG_(printf)("\ncie/fde.start =3D %p\n", ciefde_start);
+ VG_(printf)("\ncie/fde.start =3D %p (ehframe + 0x%x)\n",=20
+ ciefde_start, ciefde_start - ehframe);
=20
UInt ciefde_len =3D read_UInt(data); data +=3D sizeof(UInt);
if (VG_(clo_trace_cfi))=20
|