Re: [gdb-7.0 release] 2009-09-02 status and proposed plan

Jonas Maebe
2009-09-05T08:24:10Z

On 05 Sep 2009, at 10:12, Mark Kettenis wrote:

> Unless people are aware of an operating system that uses negative
> numbers for system calls

Afaik, Mac OS X uses negative numbers for Mach traps and positive ones
for BSD-style syscalls (both use the same kernel interface, i.e., int
0x80/syscall/sysenter on x86, etc).

On the other hand, the syscall interface (both Mach and BSD) is
private on Mac OS X and syscall behaviour can differ even between
minor OS revisions, so a syscall replay mechanism would not be really
feasible for that platform (or at the very least, it would be
extremely fragile).

Jonas