|
From: Nicholas N. <nj...@cs...> - 2006-08-13 04:49:03
|
On Sat, 12 Aug 2006, Bart Van Assche wrote:
> Patch:
>
>> svn diff coregrind/m_stacktrace.c
> Index: coregrind/m_stacktrace.c
> ===================================================================
> --- coregrind/m_stacktrace.c (revision 5998)
> +++ coregrind/m_stacktrace.c (working copy)
> @@ -412,8 +412,7 @@
> 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);
> + VG_(pp_StackTrace)(ips, VG_(get_StackTrace)(tid, ips, n_ips));
> }
Well spotted! I've committed it.
Nick
|