aboutsummaryrefslogtreecommitdiff
path: root/gdb/symtab.h
diff options
context:
space:
mode:
authorStan Shebs <shebs@codesourcery.com>1994-04-15 21:55:49 +0000
committerStan Shebs <shebs@codesourcery.com>1994-04-15 21:55:49 +0000
commitfad466eb6de0629edc89081998337fd13566e989 (patch)
tree0190472f3bd8a3ce36a30ba310c4aa2acfb5cfc0 /gdb/symtab.h
parent97ea252ef8065df3fcc039801fcc370aa3e3c00f (diff)
downloadgdb-fad466eb6de0629edc89081998337fd13566e989.zip
gdb-fad466eb6de0629edc89081998337fd13566e989.tar.gz
gdb-fad466eb6de0629edc89081998337fd13566e989.tar.bz2
Fri Apr 15 11:53:46 1994 Stan Shebs (shebs@andros.cygnus.com)
* source.c (DIRNAME_SEPARATOR): New macro, replaces all references to : in search path processing. * defs.h (qsort): Rename argument in prototype. * symtab.h (SAYMBOL_VALUE): Rename value field, avoids bugs in some compilers. * breakpoint.c, exec.c, mdebugread.c, mipsread.c, xcoffexec.c (false): Eliminate usages.
Diffstat (limited to 'gdb/symtab.h')
-rw-r--r--gdb/symtab.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/symtab.h b/gdb/symtab.h
index 24a807a..cd1ad34 100644
--- a/gdb/symtab.h
+++ b/gdb/symtab.h
@@ -64,7 +64,7 @@ struct general_symbol_info
/* The fact that this is a long not a LONGEST mainly limits the
range of a LOC_CONST. Since LOC_CONST_BYTES exists, I'm not
sure that is a big deal. */
- long value;
+ long ivalue;
struct block *block;
@@ -110,7 +110,7 @@ struct general_symbol_info
};
#define SYMBOL_NAME(symbol) (symbol)->ginfo.name
-#define SYMBOL_VALUE(symbol) (symbol)->ginfo.value.value
+#define SYMBOL_VALUE(symbol) (symbol)->ginfo.value.ivalue
#define SYMBOL_VALUE_ADDRESS(symbol) (symbol)->ginfo.value.address
#define SYMBOL_VALUE_BYTES(symbol) (symbol)->ginfo.value.bytes
#define SYMBOL_BLOCK_VALUE(symbol) (symbol)->ginfo.value.block