[PATCH 1/4] 'catch syscall' feature -- Architecture-independent part
Pedro Alves
pedro@codesourcery.com
Wed Nov 5 18:57:00 GMT 2008
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
More information about the Gdb-patches
mailing list