From f3a2dd1a1d44f63b7194e72a4d932eb69defce30 Mon Sep 17 00:00:00 2001 From: Joel Brobecker Date: Thu, 14 Aug 2008 02:34:08 +0000 Subject: [PATCH] * gdb.texinfo (Ada Mode Intro): Improve the documentation regarding the direct visibility of all names in user-written packages. --- gdb/doc/ChangeLog | 5 +++++ gdb/doc/gdb.texinfo | 10 +++++----- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index f17217e181..999b2d22a8 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,3 +1,8 @@ +2008-08-13 Joel Brobecker + + * gdb.texinfo (Ada Mode Intro): Improve the documentation regarding + the direct visibility of all names in user-written packages. + 2008-08-13 Pedro Alves * gdb.texinfo (breakpoint always-inserted) Describe the auto mode diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index 5c851eefc4..1ef4c8af66 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