summaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2012-03-29 23:30:04 +0000
committerJoel Brobecker <brobecker@gnat.com>2012-03-29 23:30:04 +0000
commit73e7ee4e16dd314cf92b2479c6daa71cb78ac50c (patch)
tree90d977f1ca5502436bc9968e309c344e5b7abb25 /gdb
parentd87ba317232961fe0e6d30858220c930a11a53b0 (diff)
downloadgdb-73e7ee4e16dd314cf92b2479c6daa71cb78ac50c.tar.gz
Minor reformatting of ada_lookup_symbol_list's documentation.
This patch mostly removes a few trailing spaces. gdb/ChangeLog: * ada-lang.c (ada_lookup_symbol_list): Minor reformatting of this function's documentation.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/ada-lang.c10
2 files changed, 10 insertions, 5 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 5fa637cdb20..c64d1b92518 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,4 +1,9 @@
2012-03-29 Joel Brobecker <brobecker@adacore.com>
+
+ * ada-lang.c (ada_lookup_symbol_list): Minor reformatting
+ of this function's documentation.
+
+2012-03-29 Joel Brobecker <brobecker@adacore.com>
Andrey Smirnov <andrew.smirnov@gmail.com>
-Wshadow warning fix.
diff --git a/gdb/ada-lang.c b/gdb/ada-lang.c
index b14c266962c..c063683867c 100644
--- a/gdb/ada-lang.c
+++ b/gdb/ada-lang.c
@@ -5050,18 +5050,18 @@ add_nonlocal_symbols (struct obstack *obstackp, const char *name,
}
/* Find symbols in DOMAIN matching NAME0, in BLOCK0 and enclosing
- scope and in global scopes, returning the number of matches. Sets
- *RESULTS to point to a vector of (SYM,BLOCK) tuples,
+ scope and in global scopes, returning the number of matches.
+ Sets *RESULTS to point to a vector of (SYM,BLOCK) tuples,
indicating the symbols found and the blocks and symbol tables (if
- any) in which they were found. This vector are transient---good only to
- the next call of ada_lookup_symbol_list. Any non-function/non-enumeral
+ any) in which they were found. This vector are transient---good only to
+ the next call of ada_lookup_symbol_list. Any non-function/non-enumeral
symbol match within the nest of blocks whose innermost member is BLOCK0,
is the one match returned (no other matches in that or
enclosing blocks is returned). If there are any matches in or
surrounding BLOCK0, then these alone are returned. Otherwise, if
FULL_SEARCH is non-zero, then the search extends to global and
file-scope (static) symbol tables.
- Names prefixed with "standard__" are handled specially: "standard__"
+ Names prefixed with "standard__" are handled specially: "standard__"
is first stripped off, and only static and global symbols are searched. */
int