aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-10-31 02:59:21 +0000
committerAndrew Cagney <cagney@redhat.com>2004-10-31 02:59:21 +0000
commitf92761eccf0d2de387deb3f0036a52536798d227 (patch)
tree7c0821f44b739f2af302557e3451f039bca55cf7 /gdb/objfiles.c
parent2004-10-30 Andrew Cagney <cagney@gnu.org> (diff)
downloadbinutils-gdb-f92761eccf0d2de387deb3f0036a52536798d227.tar.gz
binutils-gdb-f92761eccf0d2de387deb3f0036a52536798d227.tar.bz2
binutils-gdb-f92761eccf0d2de387deb3f0036a52536798d227.zip
2004-10-30 Andrew Cagney <cagney@gnu.org>
* config/alpha/tm-alpha.h (MDEBUG_EFI_SYMBOL_NAME): Rename MIPS_EFI_SYMBOL_NAME. (mips_extra_func_info_t, mips_extra_func_info): Delete. (struct mdebug_extra_func_info): Replace struct alpha_extra_func_info and alpha_extra_func_info_t. * config/mips/tm-mips.h (MDEBUG_EFI_SYMBOL_NAME): Rename MIPS_EFI_SYMBOL_NAME. (struct mdebug_extra_func_info): Replace struct alpha_extra_func_info and alpha_extra_func_info_t. * objfiles.c, mips-tdep.c, mips-mdebug-tdep.c: Update. * mdebugread.c, alpha-mdebug-tdep.c:
Diffstat (limited to 'gdb/objfiles.c')
-rw-r--r--gdb/objfiles.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gdb/objfiles.c b/gdb/objfiles.c
index 3c4e0b402b0..a4aa652f258 100644
--- a/gdb/objfiles.c
+++ b/gdb/objfiles.c
@@ -555,12 +555,13 @@ objfile_relocate (struct objfile *objfile, struct section_offsets *new_offsets)
SYMBOL_VALUE_ADDRESS (sym) +=
ANOFFSET (delta, SYMBOL_SECTION (sym));
}
-#ifdef MIPS_EFI_SYMBOL_NAME
+#ifdef MDEBUG_EFI_SYMBOL_NAME
/* Relocate Extra Function Info for ecoff. */
else if (SYMBOL_CLASS (sym) == LOC_CONST
&& SYMBOL_DOMAIN (sym) == LABEL_DOMAIN
- && strcmp (DEPRECATED_SYMBOL_NAME (sym), MIPS_EFI_SYMBOL_NAME) == 0)
+ && strcmp (DEPRECATED_SYMBOL_NAME (sym),
+ MDEBUG_EFI_SYMBOL_NAME) == 0)
ecoff_relocate_efi (sym, ANOFFSET (delta,
s->block_line_section));
#endif