|
From: <sv...@va...> - 2012-07-23 15:05:31
|
florian 2012-07-23 16:05:22 +0100 (Mon, 23 Jul 2012)
New Revision: 12774
Log:
Eliminate magic constant. Use VG_(clo_backtrace_size) instead.
Modified files:
trunk/coregrind/m_scheduler/scheduler.c
Modified: trunk/coregrind/m_scheduler/scheduler.c (+1 -1)
===================================================================
--- trunk/coregrind/m_scheduler/scheduler.c 2012-07-23 01:11:10 +01:00 (rev 12773)
+++ trunk/coregrind/m_scheduler/scheduler.c 2012-07-23 16:05:22 +01:00 (rev 12774)
@@ -1428,7 +1428,7 @@
VG_(umsg)(
"valgrind: Unrecognised instruction at address %#lx.\n",
VG_(get_IP)(tid));
- VG_(get_and_pp_StackTrace)(tid, 50);
+ VG_(get_and_pp_StackTrace)(tid, VG_(clo_backtrace_size));
#define M(a) VG_(umsg)(a "\n");
M("Your program just tried to execute an instruction that Valgrind" );
M("did not recognise. There are two possible reasons for this." );
|