This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[commit 06/12] Minor reformatting of ada_lookup_symbol_list's documentation.
- From: Joel Brobecker <brobecker at adacore dot com>
- To: gdb-patches at sourceware dot org
- Cc: Joel Brobecker <brobecker at adacore dot com>
- Date: Thu, 29 Mar 2012 16:33:29 -0700
- Subject: [commit 06/12] Minor reformatting of ada_lookup_symbol_list's documentation.
- References: <1333064015-29503-1-git-send-email-brobecker@adacore.com>
This patch mostly removes a few trailing spaces.
gdb/ChangeLog:
* ada-lang.c (ada_lookup_symbol_list): Minor reformatting
of this function's documentation.
---
gdb/ChangeLog | 5 +++++
gdb/ada-lang.c | 10 +++++-----
2 files changed, 10 insertions(+), 5 deletions(-)
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 5fa637c..c64d1b9 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 b14c266..c063683 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
--
1.7.1