Revision 1b530a6d darwin-user/main.c
b/darwin-user/main.c | ||
---|---|---|
41 | 41 |
#include <mach/mach_init.h> |
42 | 42 |
#include <mach/vm_map.h> |
43 | 43 |
|
44 |
int singlestep; |
|
45 |
|
|
44 | 46 |
const char *interp_prefix = ""; |
45 | 47 |
|
46 | 48 |
asm(".zerofill __STD_PROG_ZONE, __STD_PROG_ZONE, __std_prog_zone, 0x0dfff000"); |
... | ... | |
751 | 753 |
"-d options activate log (logfile='%s')\n" |
752 | 754 |
"-g wait for gdb on port 1234\n" |
753 | 755 |
"-p pagesize set the host page size to 'pagesize'\n", |
756 |
"-singlestep always run in singlestep mode\n" |
|
754 | 757 |
TARGET_ARCH, |
755 | 758 |
TARGET_ARCH, |
756 | 759 |
interp_prefix, |
... | ... | |
842 | 845 |
#endif |
843 | 846 |
exit(1); |
844 | 847 |
} |
848 |
} else if (!strcmp(r, "singlestep")) { |
|
849 |
singlestep = 1; |
|
845 | 850 |
} else |
846 | 851 |
{ |
847 | 852 |
usage(); |
Also available in: Unified diff