|
From: <sv...@va...> - 2009-05-16 10:49:05
|
Author: sewardj
Date: 2009-05-16 11:49:03 +0100 (Sat, 16 May 2009)
New Revision: 9855
Log:
Helgrind and exp-Ptrcheck:
Update calls to VG_(needs_xml_output) to be in accordance with
core/tool iface change committed in r9846/7.
Modified:
branches/MESSAGING_TIDYUP/exp-ptrcheck/pc_common.h
branches/MESSAGING_TIDYUP/exp-ptrcheck/pc_main.c
branches/MESSAGING_TIDYUP/helgrind/hg_errors.h
branches/MESSAGING_TIDYUP/helgrind/hg_main.c
Modified: branches/MESSAGING_TIDYUP/exp-ptrcheck/pc_common.h
===================================================================
--- branches/MESSAGING_TIDYUP/exp-ptrcheck/pc_common.h 2009-05-16 10:46:09 UTC (rev 9854)
+++ branches/MESSAGING_TIDYUP/exp-ptrcheck/pc_common.h 2009-05-16 10:49:03 UTC (rev 9855)
@@ -47,8 +47,9 @@
void h_record_sysparam_error( ThreadId tid, CorePart part, Char* s,
Addr lo, Addr hi, Seg* seglo, Seg* seghi );
-Bool pc_eq_Error ( VgRes res, Error* e1, Error* e2 );
-void pc_pp_Error ( Error* err );
+Bool pc_eq_Error ( VgRes res, Error* e1, Error* e2 );
+void pc_before_pp_Error ( Error* err );
+void pc_pp_Error ( Error* err );
UInt pc_update_Error_extra ( Error* err );
Bool pc_is_recognised_suppression ( Char* name, Supp *su );
Bool pc_read_extra_suppression_info ( Int fd, Char* buf,
Modified: branches/MESSAGING_TIDYUP/exp-ptrcheck/pc_main.c
===================================================================
--- branches/MESSAGING_TIDYUP/exp-ptrcheck/pc_main.c 2009-05-16 10:46:09 UTC (rev 9854)
+++ branches/MESSAGING_TIDYUP/exp-ptrcheck/pc_main.c 2009-05-16 10:49:03 UTC (rev 9855)
@@ -185,7 +185,7 @@
pc_get_error_name,
pc_print_extra_suppression_info);
- VG_(needs_xml_output) ();
+ VG_(needs_xml_output) (pc_before_pp_Error);
VG_(needs_syscall_wrapper)( h_pre_syscall,
h_post_syscall );
Modified: branches/MESSAGING_TIDYUP/helgrind/hg_errors.h
===================================================================
--- branches/MESSAGING_TIDYUP/helgrind/hg_errors.h 2009-05-16 10:46:09 UTC (rev 9854)
+++ branches/MESSAGING_TIDYUP/helgrind/hg_errors.h 2009-05-16 10:49:03 UTC (rev 9855)
@@ -35,9 +35,10 @@
/* The standard bundle of error management functions that we are
required to present to the core/tool interface at startup. */
-Bool HG_(eq_Error) ( VgRes not_used, Error* e1, Error* e2 );
-void HG_(pp_Error) ( Error* err );
-UInt HG_(update_extra) ( Error* err );
+Bool HG_(eq_Error) ( VgRes not_used, Error* e1, Error* e2 );
+void HG_(before_pp_Error) ( Error* err );
+void HG_(pp_Error) ( Error* err );
+UInt HG_(update_extra) ( Error* err );
Bool HG_(recognised_suppression) ( Char* name, Supp *su );
Bool HG_(read_extra_suppression_info) ( Int fd, Char* buf, Int nBuf,
Supp* su );
Modified: branches/MESSAGING_TIDYUP/helgrind/hg_main.c
===================================================================
--- branches/MESSAGING_TIDYUP/helgrind/hg_main.c 2009-05-16 10:46:09 UTC (rev 9854)
+++ branches/MESSAGING_TIDYUP/helgrind/hg_main.c 2009-05-16 10:49:03 UTC (rev 9855)
@@ -4204,7 +4204,7 @@
HG_(get_error_name),
HG_(print_extra_suppression_info));
- VG_(needs_xml_output) ();
+ VG_(needs_xml_output) (HG_(before_pp_Error));
VG_(needs_command_line_options)(hg_process_cmd_line_option,
hg_print_usage,
|