Changeset 1477
- Timestamp:
- 12/02/07 23:09:45 (9 months ago)
- Files:
-
- libemu/trunk/testsuite/sctest.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
libemu/trunk/testsuite/sctest.c
r1442 r1477 1608 1608 } 1609 1609 1610 int32_t userhook_exit(struct emu_env_linux *env, struct emu_env_linux_syscall *syscall) 1611 { 1612 printf("Hook me Captain Cook!\n"); 1613 printf("%s:%i %s\n",__FILE__,__LINE__,__FUNCTION__); 1614 opts.steps = 0; 1615 return 0; 1616 } 1610 1617 1611 1618 int test(int n) … … 1633 1640 emu_env_w32_export_hook(env, NULL, "ExitProcess", user_hook_ExitProcess, NULL); 1634 1641 emu_env_w32_export_hook(env, NULL, "ExitThread", user_hook_ExitThread, NULL); 1642 1643 emu_env_linux_syscall_hook(lenv, "exit", userhook_exit, NULL); 1635 1644 1636 1645 /* uint32_t x;
