This is the mail archive of the
mailing list for the GDB project.
RE: [PATCH 0/4] 'catch syscall' feature -- Introduction
- From: "Pierre Muller" <muller at ics dot u-strasbg dot fr>
- To: "'Sérgio Durigan Júnior'" <sergiodj at linux dot vnet dot ibm dot com>, <gdb-patches at sourceware dot org>
- Date: Tue, 4 Nov 2008 09:27:08 +0100
- Subject: RE: [PATCH 0/4] 'catch syscall' feature -- Introduction
- References: <1225773077.24532.51.camel@miki>
I had just one question about this:
This patch is linux specific in its current state,
but I thought (but you are welcome to correct me if I am wrong,
as I am unsure of what follows) that other operating systems
also use syscalls (like FreeBSD or NetBSD, probably others also).
If my previous statement is wrong, you can skip
what is following, otherwise my questions are:
1) Do all OS using syscalls use the same number to
2) Do all OS follow the "linux" habit of never changing the
syscall numbers in changing versions?
If the answer to 2) is NO, it probably means that
extending this patch to such OS's will be harder...
Even if we stick to linux only for now,
shouldn't we explicitly add linux in the name of the processor-dependent
This would make it easier to extend the feature to other OS's
Pascal language support maintainer for GDB
> -----Message d'origine-----
> De?: email@example.com [mailto:gdb-patches-
> firstname.lastname@example.org] De la part de Sérgio Durigan Júnior
> Envoyé?: Tuesday, November 04, 2008 5:31 AM
> À?: email@example.com
> Objet?: [PATCH 0/4] 'catch syscall' feature -- Introduction
> Hello guys,
> This is the new version of the "catch syscall" patch. I have reviewed
> for a while, fixing things that you have proposed to me and
> new code. Basically, the changes are:
> - Grammar errors fixed (including the "two-spaces-after-dot" rule) (as
> pointed out by Michael).
> - Rework of the "arch independent" part of the patch, now using the new
> breakpoint_ops mechanism (as implemented by Joel).
> - Tab-completion support (as suggested by Tromey).
> - Storing the syscalls names using XML support, and not directly in the
> source-code (as requested by Daniel Jacobowits).
> - PPC, PPC64 and i386 support.
> - Implementation of the GDB's datadir (Daniel asked this too).
> Well, I think that's it. You guys already know what this patch is
> supposed to do, but in case you have forgotten:
> Hope you like it :-).
> Best regards,
> Sérgio Durigan Júnior
> Linux on Power Toolchain - Software Engineer
> Linux Technology Center - LTC
> IBM Brazil