From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13681 invoked by alias); 13 Aug 2008 16:17:48 -0000 Received: (qmail 13673 invoked by uid 22791); 13 Aug 2008 16:17:48 -0000 X-Spam-Check-By: sourceware.org Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 13 Aug 2008 16:17:08 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id CD8212A961D for ; Wed, 13 Aug 2008 12:17:06 -0400 (EDT) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id EwHK3LLCWzbB for ; Wed, 13 Aug 2008 12:17:06 -0400 (EDT) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id 120B72A961B for ; Wed, 13 Aug 2008 12:17:06 -0400 (EDT) Received: by joel.gnat.com (Postfix, from userid 1000) id E8757E7ACD; Wed, 13 Aug 2008 18:16:53 +0200 (CEST) Date: Wed, 13 Aug 2008 16:17:00 -0000 From: Joel Brobecker To: gdb-patches@sourceware.org Subject: [RFA/doco] Minor rewording regarding implicit "use/with" Message-ID: <20080813161653.GA5060@adacore.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="17pEHd4RhPHOinZp" Content-Disposition: inline User-Agent: Mutt/1.4.2.2i 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-08/txt/msg00351.txt.bz2 --17pEHd4RhPHOinZp Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-length: 352 Hello, One on my collegues who is one of our Ada "lawyers" suggested the following rewording to make it more accurate. 2008-08-13 Joel Brobecker * gdb.texinfo (Ada Mode Intro): Improve the documentation regarding the direct visibility of all names in user-written packages. OK to commit? Thanks, -- Joel --17pEHd4RhPHOinZp Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="gdb.texinfo.diff" Content-length: 1085 diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index 5c851ee..1ef4c8a 100644 --- a/gdb/doc/gdb.texinfo +++ b/gdb/doc/gdb.texinfo @@ -11071,11 +11071,11 @@ are not particularly important to the @value{GDBN} user. That brevity is important to the @value{GDBN} user. @end itemize -Thus, for brevity, the debugger acts as if there were -implicit @code{with} and @code{use} clauses in effect for all user-written -packages, making it unnecessary to fully qualify most names with -their packages, regardless of context. Where this causes ambiguity, -@value{GDBN} asks the user's intent. +Thus, for brevity, the debugger acts as if all names declared in +user-written packages are directly visible, even if they are not visible +according to Ada rules, thus making it unnecessary to fully qualify most +names with their packages, regardless of context. Where this causes +ambiguity, @value{GDBN} asks the user's intent. The debugger will start in Ada mode if it detects an Ada main program. As for other languages, it will enter Ada mode when stopped in a program that --17pEHd4RhPHOinZp--