|
From: <sv...@va...> - 2009-03-22 09:32:34
|
Author: sewardj Date: 2009-03-22 09:32:26 +0000 (Sun, 22 Mar 2009) New Revision: 9483 Log: Update. Modified: branches/DARWIN/docs/internals/Darwin-notes.txt Modified: branches/DARWIN/docs/internals/Darwin-notes.txt =================================================================== --- branches/DARWIN/docs/internals/Darwin-notes.txt 2009-03-22 00:49:24 UTC (rev 9482) +++ branches/DARWIN/docs/internals/Darwin-notes.txt 2009-03-22 09:32:26 UTC (rev 9483) @@ -1,7 +1,7 @@ Valgrind-developer notes, todos re the MacOSX port. -* m_syswrap/syscall-x86-darwin.S +* m_syswrap/syscall-amd64-darwin.S - correct signal mask is not applied during syscall - restart-labels are completely bogus @@ -42,13 +42,6 @@ -------- -Urr. Nastyness. There seem to be 4 different syscall types on -Darwin, with 4 different conventions for returning results. In order -to determine which syscall type we've got, it is sufficient to look at -the syscall number. Is that correct? If that's not true, then it -becomes impossible to write VG_UCONTEXT_SYSCALL_SYSRES for Darwin. - - m_main doesn't read symbols for the valgrind exe itself, which is annoying. On minimal investigation it seems that the executable isn't even listed by aspacem. This is very strange and not in accordance @@ -73,18 +66,13 @@ contains some ifdeffery. Clean up. -Get rid of priv_types_n_macros.h: RES2, getRES2, etc - - PRE(sys_fork), #ifdeffery syswrap-generic.c: VG_(init_preopened_fds) is #ifdefd for Darwin -scheduler.c: fi VEX_TRC_JMP_NODECODE and VEX_TRC_JMP_SIGSEGV -also: get rid of VG_(lock), VG_(unlock), VG_(unlock_lwpid) -also: VG_(get_thread_out_of_syscall) +scheduler.c: #ifdeffery in VG_(get_thread_out_of_syscall) look at notes in coregrind/Makefile.am re Mach RPC interface |