From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18973 invoked by alias); 4 Nov 2008 08:28:07 -0000 Received: (qmail 18874 invoked by uid 22791); 4 Nov 2008 08:28:06 -0000 X-Spam-Check-By: sourceware.org Received: from mailhost.u-strasbg.fr (HELO mailhost.u-strasbg.fr) (130.79.200.154) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 04 Nov 2008 08:27:14 +0000 Received: from baal.u-strasbg.fr (baal.u-strasbg.fr [IPv6:2001:660:2402::41]) by mailhost.u-strasbg.fr (8.14.2/jtpda-5.5pre1) with ESMTP id mA48R8wc082104 ; Tue, 4 Nov 2008 09:27:08 +0100 (CET) Received: from mailserver.u-strasbg.fr (ms1.u-strasbg.fr [IPv6:2001:660:2402::141]) by baal.u-strasbg.fr (8.14.0/jtpda-5.5pre1) with ESMTP id mA48R7bE088070 ; Tue, 4 Nov 2008 09:27:07 +0100 (CET) (envelope-from muller@ics.u-strasbg.fr) Received: from d620muller (www-ics.u-strasbg.fr [130.79.210.225]) (user=mullerp mech=LOGIN) by mailserver.u-strasbg.fr (8.14.3/jtpda-5.5pre1) with ESMTP id mA48R73T080826 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO) ; Tue, 4 Nov 2008 09:27:07 +0100 (CET) (envelope-from muller@ics.u-strasbg.fr) From: "Pierre Muller" To: "=?iso-8859-1?Q?'S=E9rgio_Durigan_J=FAnior'?=" , References: <1225773077.24532.51.camel@miki> In-Reply-To: <1225773077.24532.51.camel@miki> Subject: RE: [PATCH 0/4] 'catch syscall' feature -- Introduction Date: Tue, 04 Nov 2008 08:28:00 -0000 Message-ID: <000001c93e57$20856620$61903260$@u-strasbg.fr> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook 12.0 Content-Language: en-us X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.0 (mailhost.u-strasbg.fr [IPv6:2001:660:2402::154]); Tue, 04 Nov 2008 09:27:08 +0100 (CET) X-Virus-Status: Clean Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2008-11/txt/msg00022.txt.bz2 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 functionality correspondence? 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 xml files? This would make it easier to extend the feature to other OS's later, no? Pierre Muller Pascal language support maintainer for GDB > -----Message d'origine----- > De=A0: gdb-patches-owner@sourceware.org [mailto:gdb-patches- > owner@sourceware.org] De la part de S=E9rgio Durigan J=FAnior > Envoy=E9=A0: Tuesday, November 04, 2008 5:31 AM > =C0=A0: gdb-patches@sourceware.org > Objet=A0: [PATCH 0/4] 'catch syscall' feature -- Introduction >=20 > Hello guys, >=20 > This is the new version of the "catch syscall" patch. I have reviewed > it > for a while, fixing things that you have proposed to me and > implementing > new code. Basically, the changes are: >=20 > - Grammar errors fixed (including the "two-spaces-after-dot" rule) (as > pointed out by Michael). >=20 > - Rework of the "arch independent" part of the patch, now using the new > breakpoint_ops mechanism (as implemented by Joel). >=20 > - Tab-completion support (as suggested by Tromey). >=20 > - Storing the syscalls names using XML support, and not directly in the > source-code (as requested by Daniel Jacobowits). >=20 > - PPC, PPC64 and i386 support. >=20 > - Implementation of the GDB's datadir (Daniel asked this too). >=20 > Well, I think that's it. You guys already know what this patch is > supposed to do, but in case you have forgotten: >=20 > http://sourceware.org/ml/gdb-patches/2008-09/msg00583.html >=20 > Hope you like it :-). >=20 > Best regards, >=20 > -- > S=E9rgio Durigan J=FAnior > Linux on Power Toolchain - Software Engineer > Linux Technology Center - LTC > IBM Brazil