From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28421 invoked by alias); 26 Jan 2009 05:04:25 -0000 Received: (qmail 28413 invoked by uid 22791); 26 Jan 2009 05:04:23 -0000 X-SWARE-Spam-Status: No, hits=-2.1 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from e24smtp04.br.ibm.com (HELO e24smtp04.br.ibm.com) (32.104.18.25) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 26 Jan 2009 05:04:19 +0000 Received: from d24relay01.br.ibm.com (d24relay01.br.ibm.com [9.8.31.16]) by e24smtp04.br.ibm.com (8.13.1/8.13.1) with ESMTP id n0Q53L3r014468 for ; Mon, 26 Jan 2009 03:03:21 -0200 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 n0Q63k4D3973182 for ; Mon, 26 Jan 2009 03:03:46 -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 n0Q54G5N008029 for ; Mon, 26 Jan 2009 03:04:16 -0200 Received: from [9.18.203.38] ([9.18.203.38]) by d24av02.br.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id n0Q54Gtd008026; Mon, 26 Jan 2009 03:04:16 -0200 Subject: Re: [PATCH 4/4] catch syscall -- try 4 -- Build system, testcase and documentation From: =?ISO-8859-1?Q?S=E9rgio?= Durigan =?ISO-8859-1?Q?J=FAnior?= To: Eli Zaretskii Cc: gdb-patches@sourceware.org, teawater@gmail.com In-Reply-To: References: <1232929837.26873.25.camel@miki> Content-Type: text/plain; charset=iso-8859-1 Date: Mon, 26 Jan 2009 05:04:00 -0000 Message-Id: <1232946245.26873.30.camel@miki> Mime-Version: 1.0 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: 2009-01/txt/msg00494.txt.bz2 Hi Eli, On Mon, 2009-01-26 at 06:01 +0200, Eli Zaretskii wrote: > > +Catchpoint 1 (call to syscall 'chroot'), 0xffffe424 in __kernel_vsyscall () > > This line (and others similar to it) is too long for @smallexample, it > will certainly overflow the page margin. Please break these long > lines in two. The rule is to have at most 74 characters inside > @smallexample blocks. Thanks, I fixed it. > > +If you configure @value{GDBN} using the @samp{--without-expat} option, > > +it will not be able to display syscall names. Also, if your > > +architecture does not have an XML file describing its system calls, > > +you will not be able to see the syscall names. > > It would be good to add here a sentence saying that these two features > are used for accessing the syscall name database. It might be obvious > for you, but a Joe Random Hacker may not immediately realize that > catching syscalls has any relation to XML and expat. Hmm, good observation. I'd like to know if this is good enough: If you configure @value{GDBN} using the @samp{--without-expat} option, it will not be able to display syscall names. Also, if your architecture does not have an XML file describing its system calls, you will not be able to see the syscall names. It is important to not that these two features are used for accessing the syscall name database. In either case, you will see a warning like this: ... What do you think? > What about a NEWS entry? Good idea. I'll send it ASAP. Thanks, -- Sérgio Durigan Júnior Linux on Power Toolchain - Software Engineer Linux Technology Center - LTC IBM Brazil