From f76d27a697a7b0bf3b84490baf60623fc96a23af Mon Sep 17 00:00:00 2001 From: njn Date: Thu, 28 May 2009 01:53:07 +0000 Subject: Merge the DARWIN branch onto the trunk. I tried using 'svn merge' to do the merge but it did a terrible job and there were bazillions of conflicts. So instead I just took the diff between the branch and trunk at r10155, applied the diff to the trunk, 'svn add'ed the added files (no files needed to be 'svn remove'd) and committed. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10156 a5019735-40e9-0310-863c-91ae7b9d1cf9 --- include/pub_tool_tooliface.h | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'include/pub_tool_tooliface.h') diff --git a/include/pub_tool_tooliface.h b/include/pub_tool_tooliface.h index 3a7c391b3..5b1725c2c 100644 --- a/include/pub_tool_tooliface.h +++ b/include/pub_tool_tooliface.h @@ -439,8 +439,14 @@ extern void VG_(needs_final_IR_tidy_pass) ( IRSB*(*final_tidy)(IRSB*) ); what kind of error message should be emitted. */ typedef enum { Vg_CoreStartup=1, Vg_CoreSignal, Vg_CoreSysCall, - Vg_CoreTranslate, Vg_CoreClientReq } - CorePart; + // This is for platforms where syscall args are passed on the + // stack; although pre_mem_read is the callback that will be + // called, such an arg should be treated (with respect to + // presenting information to the user) as if it was passed in a + // register, ie. like pre_reg_read. + Vg_CoreSysCallArgInMem, + Vg_CoreTranslate, Vg_CoreClientReq + } CorePart; /* Events happening in core to track. To be notified, pass a callback function to the appropriate function. To ignore an event, don't do -- cgit v1.2.3