aboutsummaryrefslogtreecommitdiff
path: root/gdb/symfile.h
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2011-11-29 01:09:23 +0000
committerJoel Brobecker <brobecker@gnat.com>2011-11-29 01:09:23 +0000
commit1e3a8f45c5a6e5d922e6e981d1572f2db35fb7a9 (patch)
tree81030e09de84d6ef19425a745d89ff21b6dfb5d4 /gdb/symfile.h
parent265e52c36abba16b6b78ba06ec1a6607d08cb1fc (diff)
downloadgdb-1e3a8f45c5a6e5d922e6e981d1572f2db35fb7a9.zip
gdb-1e3a8f45c5a6e5d922e6e981d1572f2db35fb7a9.tar.gz
gdb-1e3a8f45c5a6e5d922e6e981d1572f2db35fb7a9.tar.bz2
Further fix the documentation in struct quick_symbol_functions
gdb/ChangeLog: * symfile.h (struct quick_symbol_functions): Fix the documentation of field map_matching_symbols, as symbols are sorted using strcmp_iw_ordered, not strcmp_iw.
Diffstat (limited to 'gdb/symfile.h')
-rw-r--r--gdb/symfile.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/gdb/symfile.h b/gdb/symfile.h
index 923bfc9..6b6ffc9 100644
--- a/gdb/symfile.h
+++ b/gdb/symfile.h
@@ -232,14 +232,14 @@ struct quick_symbol_functions
through global symbols if GLOBAL and otherwise static symbols.
Passes NAME, NAMESPACE, and DATA to CALLBACK with each symbol
found. After each block is processed, passes NULL to CALLBACK.
- MATCH must be weaker than strcmp_iw in the sense that
- strcmp_iw(x,y) == 0 --> MATCH(x,y) == 0. ORDERED_COMPARE, if
- non-null, must be an ordering relation compatible with strcmp_iw
- in the sense that
- strcmp_iw(x,y) == 0 --> ORDERED_COMPARE(x,y) == 0
+ MATCH must be weaker than strcmp_iw_ordered in the sense that
+ strcmp_iw_ordered(x,y) == 0 --> MATCH(x,y) == 0. ORDERED_COMPARE,
+ if non-null, must be an ordering relation compatible with
+ strcmp_iw_ordered in the sense that
+ strcmp_iw_ordered(x,y) == 0 --> ORDERED_COMPARE(x,y) == 0
and
- strcmp_iw(x,y) <= 0 --> ORDERED_COMPARE(x,y) <= 0
- (allowing strcmp_iw(x,y) < 0 while ORDERED_COMPARE(x, y) == 0).
+ strcmp_iw_ordered(x,y) <= 0 --> ORDERED_COMPARE(x,y) <= 0
+ (allowing strcmp_iw_ordered(x,y) < 0 while ORDERED_COMPARE(x, y) == 0).
CALLBACK returns 0 to indicate that the scan should continue, or
non-zero to indicate that the scan should be terminated. */