This is the mail archive of the gdb-patches@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: [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.

-- 
Daniel Jacobowitz
CodeSourcery


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