Update documentation in struct quick_symbol_functions
authorJoel Brobecker <brobecker@gnat.com>
Tue, 29 Nov 2011 01:01:02 +0000 (01:01 +0000)
committerJoel Brobecker <brobecker@gnat.com>
Tue, 29 Nov 2011 01:01:02 +0000 (01:01 +0000)
Paul sent me this documentiion update when I asked him a question
about compare_names in ada-lang.c.

gdb/ChangeLog:

        * symfile.h (struct quick_symbol_functions): Update the
        documentation for field map_matching_symbols.

gdb/ChangeLog
gdb/symfile.h

index cf90f8b909e62c460bae183b303041e8d301bf45..ce61c09752daf78804488f245ba291dffac69e12 100644 (file)
@@ -1,3 +1,8 @@
+2011-11-28  Paul Hilfinger  <hilfinger@adacore.com>
+
+       * symfile.h (struct quick_symbol_functions): Update the
+       documentation for field map_matching_symbols.
+
 2011-11-28  Joel Brobecker  <brobecker@adacore.com>
 
        * ada-lang.c (compare_names): Fix wrong return value in case
index accd20ee97946b21a66cd1bd68480cd756e4dc1d..923bfc9c46be545d5a6629d63774077603c2eb08 100644 (file)
@@ -228,7 +228,7 @@ struct quick_symbol_functions
 
   /* Find global or static symbols in all tables that are in NAMESPACE 
      and for which MATCH (symbol name, NAME) == 0, passing each to 
-     CALLBACK, reading in partial symbol symbol tables as needed.  Look
+     CALLBACK, reading in partial symbol tables as needed.  Look
      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.
@@ -236,10 +236,10 @@ struct quick_symbol_functions
      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(x,y) == 0 --> ORDERED_COMPARE(x,y) == 0 
+            strcmp_iw(x,y) == 0 --> ORDERED_COMPARE(x,y) == 0
      and 
-            strcmp(x,y) <= 0 --> ORDERED_COMPARE(x,y) <= 0
-     (allowing strcmp(x,y) < 0 while ORDERED_COMPARE(x, y) == 0).
+            strcmp_iw(x,y) <= 0 --> ORDERED_COMPARE(x,y) <= 0
+     (allowing strcmp_iw(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.  */
 
This page took 0.037491 seconds and 4 git commands to generate.