|
From: <sv...@va...> - 2006-08-28 12:36:14
|
Author: sewardj
Date: 2006-08-28 13:36:11 +0100 (Mon, 28 Aug 2006)
New Revision: 6027
Log:
Merge r5999 (BartV: Don't print more lines of a stack-trace than were
obtained.)
Modified:
branches/VALGRIND_3_2_BRANCH/coregrind/m_stacktrace.c
Modified: branches/VALGRIND_3_2_BRANCH/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
--- branches/VALGRIND_3_2_BRANCH/coregrind/m_stacktrace.c 2006-08-28 12:3=
2:43 UTC (rev 6026)
+++ branches/VALGRIND_3_2_BRANCH/coregrind/m_stacktrace.c 2006-08-28 12:3=
6:11 UTC (rev 6027)
@@ -412,8 +412,8 @@
void VG_(get_and_pp_StackTrace) ( ThreadId tid, UInt n_ips )
{
Addr ips[n_ips];
- VG_(get_StackTrace)(tid, ips, n_ips);
- VG_(pp_StackTrace) ( ips, n_ips);
+ UInt n_ips_obtained =3D VG_(get_StackTrace)(tid, ips, n_ips);
+ VG_(pp_StackTrace)(ips, n_ips_obtained);
}
=20
=20
|