From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23488 invoked by alias); 7 Nov 2008 03:58:00 -0000 Received: (qmail 23436 invoked by uid 22791); 7 Nov 2008 03:57:59 -0000 X-Spam-Check-By: sourceware.org Received: from igw3.br.ibm.com (HELO igw3.br.ibm.com) (32.104.18.26) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 07 Nov 2008 03:57:13 +0000 Received: from d24relay01.br.ibm.com (unknown [9.8.31.16]) by igw3.br.ibm.com (Postfix) with ESMTP id AB5973900DE for ; Fri, 7 Nov 2008 01:55:32 -0200 (BRDT) Received: from d24av02.br.ibm.com (d24av02.br.ibm.com [9.18.232.47]) by d24relay01.br.ibm.com (8.13.8/8.13.8/NCO v9.1) with ESMTP id mA73um453350536 for ; Fri, 7 Nov 2008 00:56:48 -0300 Received: from d24av02.br.ibm.com (loopback [127.0.0.1]) by d24av02.br.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id mA73v9cT001011 for ; Fri, 7 Nov 2008 01:57:09 -0200 Received: from [9.8.9.146] ([9.8.9.146]) by d24av02.br.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id mA73v9SA001006; Fri, 7 Nov 2008 01:57:09 -0200 Subject: Re: [PATCH 4/4] 'catch syscall' feature -- Build system, documentation and testcase From: =?ISO-8859-1?Q?S=E9rgio?= Durigan =?ISO-8859-1?Q?J=FAnior?= To: Eli Zaretskii Cc: gdb-patches@sourceware.org In-Reply-To: References: <1225773088.24532.56.camel@miki> Content-Type: text/plain; charset=iso-8859-1 Date: Fri, 07 Nov 2008 03:58:00 -0000 Message-Id: <1226030217.32321.107.camel@miki> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 Content-Transfer-Encoding: 8bit X-IsSubscribed: yes 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/msg00118.txt.bz2 On Tue, 2008-11-04 at 22:53 +0200, Eli Zaretskii wrote: > > From: =?ISO-8859-1?Q?S=E9rgio?= Durigan =?ISO-8859-1?Q?J=FAnior?= > > diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo > > index 261d1c7..3641fff 100644 > > --- a/gdb/doc/gdb.texinfo > > +++ b/gdb/doc/gdb.texinfo > > @@ -3635,6 +3635,12 @@ A failed Ada assertion. > > A call to @code{exec}. This is currently only available for HP-UX > > and @sc{gnu}/Linux. > > > > +@item syscall > > +@itemx syscall @var{syscall name} > > +@cindex break on call to/return from a system call > > +A call to/return from a @code{syscall} -- similar to the @code{strace} > > +utility. > > ...this is not really a user documentation. Please describe the > feature instead of sending the reader to look for external > documentation of an unrelated utility, which, btw, is available only > on some versions of Unix, but not on others. > > At the very least, we should explain what is @var{syscall name}. An > example of usage and typical GDB output get bonus points. I will fix this. Thanks. -- Sérgio Durigan Júnior Linux on Power Toolchain - Software Engineer Linux Technology Center - LTC IBM Brazil