Further fix the documentation in struct quick_symbol_functions
authorJoel Brobecker <brobecker@gnat.com>
Tue, 29 Nov 2011 01:09:23 +0000 (01:09 +0000)
committerJoel Brobecker <brobecker@gnat.com>
Tue, 29 Nov 2011 01:09:23 +0000 (01:09 +0000)
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.

gdb/ChangeLog
gdb/symfile.h

index ce61c09752daf78804488f245ba291dffac69e12..12dc10a65125bc6ad8e66f800f25e5cc8dc536d4 100644 (file)
@@ -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>
 
        * symfile.h (struct quick_symbol_functions): Update the
 2011-11-28  Paul Hilfinger  <hilfinger@adacore.com>
 
        * symfile.h (struct quick_symbol_functions): Update the
index 923bfc9c46be545d5a6629d63774077603c2eb08..6b6ffc99a1312cfe83875172db19557dead84313 100644 (file)
@@ -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.
      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 
      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.  */
 
      CALLBACK returns 0 to indicate that the scan should continue, or
      non-zero to indicate that the scan should be terminated.  */
 
This page took 0.029551 seconds and 4 git commands to generate.