diff options
author | Elena Zannoni <ezannoni@kwikemart.cygnus.com> | 2002-10-23 23:28:17 +0000 |
---|---|---|
committer | Elena Zannoni <ezannoni@kwikemart.cygnus.com> | 2002-10-23 23:28:17 +0000 |
commit | 736b5696ab6f8e1932c4089976400322e97d4255 (patch) | |
tree | 7eef1dab9bf374c0bcf9e9c41f3649fff782e746 /gdb/symtab.h | |
parent | 1c91ab884a6ac1b4d231df2157642d0387f355bc (diff) | |
download | gdb-736b5696ab6f8e1932c4089976400322e97d4255.tar.gz |
2002-10-23 Elena Zannoni <ezannoni@redhat.com>
* symtab.h: Update comment.
Diffstat (limited to 'gdb/symtab.h')
-rw-r--r-- | gdb/symtab.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gdb/symtab.h b/gdb/symtab.h index 941a7f12ad2..6c18ccb40af 100644 --- a/gdb/symtab.h +++ b/gdb/symtab.h @@ -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 |