From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25426 invoked by alias); 22 May 2014 15:27:51 -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 25407 invoked by uid 89); 22 May 2014 15:27:50 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.8 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_SOFTFAIL autolearn=no version=3.3.2 X-HELO: mtaout23.012.net.il Received: from mtaout23.012.net.il (HELO mtaout23.012.net.il) (80.179.55.175) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 22 May 2014 15:27:49 +0000 Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0N5Z00000EQ3BR00@a-mtaout23.012.net.il> for gdb-patches@sourceware.org; Thu, 22 May 2014 18:27:46 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N5Z000R8EYA7290@a-mtaout23.012.net.il>; Thu, 22 May 2014 18:27:46 +0300 (IDT) Date: Thu, 22 May 2014 15:27:00 -0000 From: Eli Zaretskii Subject: Re: [PATCH, doc RFA]: Add guile progspace support In-reply-to: To: Doug Evans Cc: gdb-patches@sourceware.org Reply-to: Eli Zaretskii Message-id: <83lhttn88w.fsf@gnu.org> References: X-IsSubscribed: yes X-SW-Source: 2014-05/txt/msg00551.txt.bz2 > From: Doug Evans > Date: Wed, 21 May 2014 12:22:20 -0700 > > This patch adds guile progspace support. Thanks. > +@deffn {Scheme Procedure} progspace-filename progspace > +Return the file name of @var{progspace} as a string. > +If the program space does not have an associated file name, > +then @code{#f} is returned. This occurs, for example, when @value{GDBN} > +is started without a program to debug. I guess this is the file name of the executable program running in the progspace? If so, why not tell that explicitly? This text as written begs the question what file is named by that string. Also, is the file absolute, relative, something else? Is it just the value of argv[0] in that program? Etc. etc. > +A @code{gdb:invalid-object-error} exception is thrown if @var{PROGSPACE} > +is invalid. ^^^^^^^^^ "progspace", in lower case. > +@deffn {Scheme Procedure} progspace-objfiles progspace > +Return the list of objfiles of @var{progspace}. > +The order of objfiles in the result is arbitrary. "Arbitrary" or in the same order they are stored in some symbol table? > +A @code{gdb:invalid-object-error} exception is thrown if @var{PROGSPACE} > +is invalid. ^^^^^^^^^ "progspace" in lower case.