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 ednesday 05 November 2008 18:37:26, Eli Zaretskii wrote
> > Yes, but that falls into api-tracing land, which is a bit different
> > from syscall tracing.
> 
> It's different in implementation details, but very similar in essence,
> as far as Joe Random Hacker is concerned. ÂFrom the Windows
> programmer's POV, Windows APIs _are_ syscalls.

Sorry, here's where I think I'm missing something.

What's wrong with "break ReadFile" ?  What would you gain with
"catch syscall ReadFile", and how would that be different from
"b foo_function_in_a_random_so" on non-Windows systems?

-- 
Pedro Alves


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