diff options
author | Joel Brobecker <brobecker@gnat.com> | 2008-08-14 02:34:08 +0000 |
---|---|---|
committer | Joel Brobecker <brobecker@gnat.com> | 2008-08-14 02:34:08 +0000 |
commit | f3a2dd1a1d44f63b7194e72a4d932eb69defce30 (patch) | |
tree | ba969ba3860f5d5970bba6703c6aa5260eb1bdd5 /gdb | |
parent | 3d488bfcdec9a096a801442d4c91c51952b4b22b (diff) | |
download | gdb-f3a2dd1a1d44f63b7194e72a4d932eb69defce30.zip gdb-f3a2dd1a1d44f63b7194e72a4d932eb69defce30.tar.gz gdb-f3a2dd1a1d44f63b7194e72a4d932eb69defce30.tar.bz2 |
* gdb.texinfo (Ada Mode Intro): Improve the documentation regarding
the direct visibility of all names in user-written packages.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/doc/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/doc/gdb.texinfo | 10 |
2 files changed, 10 insertions, 5 deletions
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 <brobecker@adacore.com> + + * gdb.texinfo (Ada Mode Intro): Improve the documentation regarding + the direct visibility of all names in user-written packages. + 2008-08-13 Pedro Alves <pedro@codesourcery.com> * 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 |