]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
2002-10-23 Elena Zannoni <ezannoni@redhat.com>
authorElena Zannoni <ezannoni@kwikemart.cygnus.com>
Wed, 23 Oct 2002 23:28:17 +0000 (23:28 +0000)
committerElena Zannoni <ezannoni@kwikemart.cygnus.com>
Wed, 23 Oct 2002 23:28:17 +0000 (23:28 +0000)
* symtab.h: Update comment.

gdb/ChangeLog
gdb/symtab.h

index 05d0fc9f0291c8c2f4d317be4089e7cfa8d42eee..2e2faeb3c0b2aa19b65e76c9c65587e18f767fab 100644 (file)
@@ -1,3 +1,7 @@
+2002-10-23  Elena Zannoni  <ezannoni@redhat.com>
+
+       * symtab.h: Update comment.
+
 2002-10-23  Michael Snyder  <msnyder@redhat.com>
 
        * printcmd.c (address_info): Restore quotes in output.
index 941a7f12ad2c2a0427ec90a678164ef4ef75e5dd..6c18ccb40af24066bf3530ebce7fdad72c10649f 100644 (file)
@@ -126,6 +126,14 @@ struct general_symbol_info
 
 extern CORE_ADDR symbol_overlayed_address (CORE_ADDR, asection *);
 
+/* Note that all the following SYMBOL_* macros are used with the
+   SYMBOL argument being either a partial symbol, a minimal symbol or
+   a full symbol.  All three types have a ginfo field.  In particular
+   the SYMBOL_INIT_LANGUAGE_SPECIFIC, SYMBOL_INIT_DEMANGLED_NAME,
+   SYMBOL_DEMANGLED_NAME macros cannot be entirely substituted by
+   functions, unless the callers are changed to pass in the ginfo
+   field only, instead of the SYMBOL parameter.  */
+
 #define SYMBOL_NAME(symbol)            (symbol)->ginfo.name
 #define SYMBOL_VALUE(symbol)           (symbol)->ginfo.value.ivalue
 #define SYMBOL_VALUE_ADDRESS(symbol)   (symbol)->ginfo.value.address