This is the mail archive of the
mailing list for the GDB project.
Re: [PATCH 1/4] 'catch syscall' feature -- Architecture-independent part
On Wed, Nov 05, 2008 at 08:43:02PM +0200, Eli Zaretskii wrote:
> We could, but that would be second best, IMO. It would be better to
> make the abstraction less Unix-centric.
I don't think that Windows API calls belong in "catch syscall". It's
not like other platforms don't provide system services in userspace
too; but that's a different debugger feature than this one.
I wouldn't call the abstraction Unix-centric. Classic Mac OS did the
same thing; I believe the Amiga OS did too. A better example might be
Hurd, which uses system calls in the same way - but primarily to
facilitate inter-program communication to the servers providing system
services. There's scope for a debugger to trace system services
separately from system calls.