From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31493 invoked by alias); 23 Dec 2013 18:45:10 -0000 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 Received: (qmail 31477 invoked by uid 89); 23 Dec 2013 18:45:09 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.0 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_SOFTFAIL autolearn=no version=3.3.2 X-HELO: mtaout21.012.net.il Received: from mtaout21.012.net.il (HELO mtaout21.012.net.il) (80.179.55.169) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 23 Dec 2013 18:45:08 +0000 Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0MY900100VZTM900@a-mtaout21.012.net.il> for gdb-patches@sourceware.org; Mon, 23 Dec 2013 20:44:12 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MY9001UPW1NLU10@a-mtaout21.012.net.il>; Mon, 23 Dec 2013 20:44:12 +0200 (IST) Date: Mon, 23 Dec 2013 18:45:00 -0000 From: Eli Zaretskii Subject: Re: [doc RFA] Move docs on auto-loading extensions to Extending GDB section In-reply-to: To: Doug Evans Cc: gdb-patches@sourceware.org Reply-to: Eli Zaretskii Message-id: <83sitj76h6.fsf@gnu.org> References: <83wqiv79zw.fsf@gnu.org> X-IsSubscribed: yes X-SW-Source: 2013-12/txt/msg00894.txt.bz2 > From: Doug Evans > Cc: gdb-patches@sourceware.org > Date: Mon, 23 Dec 2013 10:03:52 -0800 > > I did change/add *some* wording, but kept it minimal. > E.g., I added this: > > +There are various kinds of files @value{GDBN} can automatically load. > +In addition to these files, @value{GDBN} supports auto-loading code written > +in various extension languages. @xref{Auto-loading extensions}. ^^ Two spaces. > >> +@menu > >> +* objfile-gdb.ext file:: The @file{@var{objfile}-gdb.@var{ext}} file > > > > Node names cannot contain periods, this confuses some Info readers. > > I guess the solution here is to use this? > > * MENU-ENTRY-NAME: NODE-NAME. DESCRIPTION > > [cut-n-pasted from texinfo docs] Yes. > If so, I'll use it for this entry too: > > * dotdebug_gdb_scripts section:: The @code{.debug_gdb_scripts} section Thanks. > >> +For systems using file formats like ELF and COFF, > >> +when @value{GDBN} loads a new object file > >> +it will look for a special section named @code{.debug_gdb_scripts}. > >> +If this section exists, its contents is a list of NUL-terminated names > > ^^^ > > "NULL", right? > > NULL is a zero-valued pointer. > NUL is the common ASCII name for character '\0'. > I grepped for other uses of NUL in the docs and found a few > so figured it was ok to use. E.g., > > ---snip--- > There is no trailing NUL byte in a remote protocol packet; if the stub > stores packets in a NUL-terminated format, it should allow an extra > byte in its buffer for the NUL. If this stub feature is not supported, > ---snip--- Unicode calls it NULL, but I won't argue. Thank, you can commit the patch.