aboutsummaryrefslogtreecommitdiff
path: root/gdb/coffread.c
diff options
context:
space:
mode:
authorElena Zannoni <ezannoni@kwikemart.cygnus.com>2003-05-14 17:43:20 +0000
committerElena Zannoni <ezannoni@kwikemart.cygnus.com>2003-05-14 17:43:20 +0000
commit176620f10b295fa215a01d9e5da62b246c8cfe83 (patch)
treec83604d581a84c065ff215d664702ea4b63d3850 /gdb/coffread.c
parentb7f31508f1f25327c0329d1384b72c4dd709171b (diff)
downloadgdb-176620f10b295fa215a01d9e5da62b246c8cfe83.zip
gdb-176620f10b295fa215a01d9e5da62b246c8cfe83.tar.gz
gdb-176620f10b295fa215a01d9e5da62b246c8cfe83.tar.bz2
2003-05-14 Elena Zannoni <ezannoni@redhat.com>
* symtab.h (enum domain_enum): Rename from namespace_enum. (UNDEF_DOMAIN, VAR_DOMAIN, STRUCT_DOMAIN, LABEL_DOMAIN, VARIABLES_DOMAIN, FUNCTIONS_DOMAIN, TYPES_DOMAIN, METHODS_DOMAIN): Rename from UNDEF_NAMESPACE, VAR_NAMESPACE, STRUCT_NAMESPACE, LABEL_NAMESPACE, VARIABLES_NAMESPACE, FUNCTIONS_NAMESPACE, TYPES_NAMESPACE, METHODS_NAMESPACE. (SYMBOL_NAMESPACE): Rename to SYMBOL_DOMAIN. (struct symbol, struct partial_symbol): Rename field 'namespace_enum namespace' to 'domain_enum domain'. (PSYMBOL_NAMESPACE): Rename to PSYMBOL_DOMAIN. Delete old define kludge for namespace. * ada-exp.y, ada-lang.c, ada-lang.h, alpha-tdep.c, arm-tdep.c, blockframe.c, c-exp.y, c-valprint.c, coffread.c, dbxread.c, dwarf2read.c, dwarfread.c, f-exp.y, gdbtypes.c, gdbtypes.h, gnu-v3-abi.c, hppa-tdep.c, hpread.c, jv-exp.y, jv-lang.c, language.c, linespec.c, m2-exp.y, m3-nat.c, mdebugread.c, mips-tdep.c, nlmread.c, objc-exp.y, objc-lang.c, objfiles.c, p-exp.y, p-valprint.c, parse.c, printcmd.c, scm-lang.c, source.c, stabsread.c, stack.c, symfile.c, symfile.h, symmisc.c, symtab.c, valops.c, values.c, xcoffread.c, xstormy16-tdep.c: Replace all occurrences of the above. 2003-05-12 Elena Zannoni <ezannoni@redhat.com> * mi-mi-cmd-stack.c (list_args_or_locals): Rename VAR_NAMESPACE to VAR_DOMAIN.
Diffstat (limited to 'gdb/coffread.c')
-rw-r--r--gdb/coffread.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/gdb/coffread.c b/gdb/coffread.c
index 0f36b95..6daf7b4 100644
--- a/gdb/coffread.c
+++ b/gdb/coffread.c
@@ -1425,7 +1425,7 @@ patch_opaque_types (struct symtab *s)
but search the whole chain, as there may be several syms
from different files with the same name. */
if (SYMBOL_CLASS (real_sym) == LOC_TYPEDEF &&
- SYMBOL_NAMESPACE (real_sym) == VAR_NAMESPACE &&
+ SYMBOL_DOMAIN (real_sym) == VAR_DOMAIN &&
TYPE_CODE (SYMBOL_TYPE (real_sym)) == TYPE_CODE_PTR &&
TYPE_LENGTH (TYPE_TARGET_TYPE (SYMBOL_TYPE (real_sym))) != 0)
{
@@ -1487,7 +1487,7 @@ process_coff_symbol (register struct coff_symbol *cs,
/* default assumptions */
SYMBOL_VALUE (sym) = cs->c_value;
- SYMBOL_NAMESPACE (sym) = VAR_NAMESPACE;
+ SYMBOL_DOMAIN (sym) = VAR_DOMAIN;
SYMBOL_SECTION (sym) = cs_to_section (cs, objfile);
if (ISFCN (cs->c_type))
@@ -1609,7 +1609,7 @@ process_coff_symbol (register struct coff_symbol *cs,
case C_TPDEF:
SYMBOL_CLASS (sym) = LOC_TYPEDEF;
- SYMBOL_NAMESPACE (sym) = VAR_NAMESPACE;
+ SYMBOL_DOMAIN (sym) = VAR_DOMAIN;
/* If type has no name, give it one */
if (TYPE_NAME (SYMBOL_TYPE (sym)) == 0)
@@ -1669,7 +1669,7 @@ process_coff_symbol (register struct coff_symbol *cs,
case C_UNTAG:
case C_ENTAG:
SYMBOL_CLASS (sym) = LOC_TYPEDEF;
- SYMBOL_NAMESPACE (sym) = STRUCT_NAMESPACE;
+ SYMBOL_DOMAIN (sym) = STRUCT_DOMAIN;
/* Some compilers try to be helpful by inventing "fake"
names for anonymous enums, structures, and unions, like
@@ -2079,7 +2079,7 @@ coff_read_enum_type (int index, int length, int lastsym)
obsavestring (name, strlen (name),
&current_objfile->symbol_obstack);
SYMBOL_CLASS (sym) = LOC_CONST;
- SYMBOL_NAMESPACE (sym) = VAR_NAMESPACE;
+ SYMBOL_DOMAIN (sym) = VAR_DOMAIN;
SYMBOL_VALUE (sym) = ms->c_value;
add_symbol_to_list (sym, symlist);
nsyms++;