From 176620f10b295fa215a01d9e5da62b246c8cfe83 Mon Sep 17 00:00:00 2001 From: Elena Zannoni Date: Wed, 14 May 2003 17:43:20 +0000 Subject: 2003-05-14 Elena Zannoni * 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 * mi-mi-cmd-stack.c (list_args_or_locals): Rename VAR_NAMESPACE to VAR_DOMAIN. --- gdb/printcmd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gdb/printcmd.c') diff --git a/gdb/printcmd.c b/gdb/printcmd.c index 018d773..11fd1df 100644 --- a/gdb/printcmd.c +++ b/gdb/printcmd.c @@ -1076,7 +1076,7 @@ address_info (char *exp, int from_tty) if (exp == 0) error ("Argument required."); - sym = lookup_symbol (exp, get_selected_block (0), VAR_NAMESPACE, + sym = lookup_symbol (exp, get_selected_block (0), VAR_DOMAIN, &is_a_field_of_this, (struct symtab **) NULL); if (sym == NULL) { @@ -1844,7 +1844,7 @@ print_frame_args (struct symbol *func, struct frame_info *fi, int num, struct symbol *nsym; nsym = lookup_symbol (DEPRECATED_SYMBOL_NAME (sym), - b, VAR_NAMESPACE, (int *) NULL, (struct symtab **) NULL); + b, VAR_DOMAIN, (int *) NULL, (struct symtab **) NULL); if (SYMBOL_CLASS (nsym) == LOC_REGISTER) { /* There is a LOC_ARG/LOC_REGISTER pair. This means that -- cgit v1.1