This is the mail archive of the
mailing list for the GDB project.
Re: [PATCH 1/4] 'catch syscall' feature -- Architecture-independent part
> From: =?ISO-8859-1?Q?S=E9rgio?= Durigan =?ISO-8859-1?Q?J=FAnior?= <firstname.lastname@example.org>
> Date: Wed, 05 Nov 2008 11:33:41 -0200
> On Wed, 2008-11-05 at 06:18 +0200, Eli Zaretskii wrote:
> > I'd like us very much to have some higher-level abstraction of a
> > syscall in target-independent code, than just a number. Can we do
> > that, please?
> I'm sorry about my bad design assumptions, but that just sounded good
> for me by the time I was developing. I think we can do the higher-level
> abstraction that you are asking, but I'd like you to please describe in
> more details how this abstraction would be, or even better, if that's
> not asking too much you could take the code I did and implement
> something better :-).
> I'm sorry about these assumptions I've made, again.
I think the assumption that system calls are numbered is pretty
reasonable. I have yet to encounter an OS that doesn't have them.