|
From: <sv...@va...> - 2005-11-16 03:51:05
|
Author: sewardj
Date: 2005-11-16 03:51:02 +0000 (Wed, 16 Nov 2005)
New Revision: 5142
Log:
Slightly reorder the preamble-printing order, and also print the CPU arch=
/subarch detected.
Modified:
trunk/coregrind/m_main.c
Modified: trunk/coregrind/m_main.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_main.c 2005-11-16 00:11:14 UTC (rev 5141)
+++ trunk/coregrind/m_main.c 2005-11-16 03:51:02 UTC (rev 5142)
@@ -1596,10 +1596,10 @@
=20
if (VG_(clo_verbosity) > 1) {
SysRes fd;
+ VexArch vex_arch;
+ VexArchInfo vex_archinfo;
if (!logging_to_fd)
VG_(message)(Vg_DebugMsg, "");
- VG_(message)(Vg_DebugMsg, "Valgrind library directory: %s", VG_(li=
bdir));
-
VG_(message)(Vg_DebugMsg, "Command line");
if (VG_(args_the_exename))
VG_(message)(Vg_DebugMsg, " %s", VG_(args_the_exename));
@@ -1629,6 +1629,12 @@
VG_(close)(fd.val);
# undef BUF_LEN
}
+
+ VG_(machine_get_VexArchInfo)( &vex_arch, &vex_archinfo );
+ VG_(message)(Vg_DebugMsg, "Arch and subarch: %s, %s",
+ LibVEX_ppVexArch ( vex_arch ),
+ LibVEX_ppVexSubArch( vex_archinfo.subarc=
h ) );
+ VG_(message)(Vg_DebugMsg, "Valgrind library directory: %s", VG_(li=
bdir));
}
}
=20
|