mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-09-26 00:46:13 +08:00
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.
This commit is contained in:
@ -1,3 +1,9 @@
|
|||||||
|
2011-11-28 Joel Brobecker <brobecker@adacore.com>
|
||||||
|
|
||||||
|
* 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.
|
||||||
|
|
||||||
2011-11-28 Paul Hilfinger <hilfinger@adacore.com>
|
2011-11-28 Paul Hilfinger <hilfinger@adacore.com>
|
||||||
|
|
||||||
* symfile.h (struct quick_symbol_functions): Update the
|
* symfile.h (struct quick_symbol_functions): Update the
|
||||||
|
@ -232,14 +232,14 @@ struct quick_symbol_functions
|
|||||||
through global symbols if GLOBAL and otherwise static symbols.
|
through global symbols if GLOBAL and otherwise static symbols.
|
||||||
Passes NAME, NAMESPACE, and DATA to CALLBACK with each symbol
|
Passes NAME, NAMESPACE, and DATA to CALLBACK with each symbol
|
||||||
found. After each block is processed, passes NULL to CALLBACK.
|
found. After each block is processed, passes NULL to CALLBACK.
|
||||||
MATCH must be weaker than strcmp_iw in the sense that
|
MATCH must be weaker than strcmp_iw_ordered in the sense that
|
||||||
strcmp_iw(x,y) == 0 --> MATCH(x,y) == 0. ORDERED_COMPARE, if
|
strcmp_iw_ordered(x,y) == 0 --> MATCH(x,y) == 0. ORDERED_COMPARE,
|
||||||
non-null, must be an ordering relation compatible with strcmp_iw
|
if non-null, must be an ordering relation compatible with
|
||||||
in the sense that
|
strcmp_iw_ordered in the sense that
|
||||||
strcmp_iw(x,y) == 0 --> ORDERED_COMPARE(x,y) == 0
|
strcmp_iw_ordered(x,y) == 0 --> ORDERED_COMPARE(x,y) == 0
|
||||||
and
|
and
|
||||||
strcmp_iw(x,y) <= 0 --> ORDERED_COMPARE(x,y) <= 0
|
strcmp_iw_ordered(x,y) <= 0 --> ORDERED_COMPARE(x,y) <= 0
|
||||||
(allowing strcmp_iw(x,y) < 0 while 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
|
CALLBACK returns 0 to indicate that the scan should continue, or
|
||||||
non-zero to indicate that the scan should be terminated. */
|
non-zero to indicate that the scan should be terminated. */
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user