This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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



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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]