From: Joel Brobecker Date: Thu, 14 Aug 2008 02:34:08 +0000 (+0000) Subject: * gdb.texinfo (Ada Mode Intro): Improve the documentation regarding X-Git-Tag: binutils-2_19-branchpoint~229 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f3a2dd1a1d44f63b7194e72a4d932eb69defce30;p=external%2Fbinutils.git * gdb.texinfo (Ada Mode Intro): Improve the documentation regarding the direct visibility of all names in user-written packages. --- diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index f17217e..999b2d2 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 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