aboutsummaryrefslogtreecommitdiff
path: root/include/pub_tool_tooliface.h
diff options
context:
space:
mode:
authornjn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9>2009-05-28 01:53:07 +0000
committernjn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9>2009-05-28 01:53:07 +0000
commitf76d27a697a7b0bf3b84490baf60623fc96a23af (patch)
tree682ff0946c0b8b501714e055ff1269c6b0bf5d91 /include/pub_tool_tooliface.h
parentda8549df7939ee3024938cdd8a4cc64e6c2279b8 (diff)
downloadvalgrind-f76d27a697a7b0bf3b84490baf60623fc96a23af.tar.gz
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
Diffstat (limited to 'include/pub_tool_tooliface.h')
-rw-r--r--include/pub_tool_tooliface.h10
1 files changed, 8 insertions, 2 deletions
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