aboutsummaryrefslogtreecommitdiff
path: root/gdb/arch-utils.h
diff options
context:
space:
mode:
authorElena Zannoni <ezannoni@kwikemart.cygnus.com>2002-02-06 01:20:23 +0000
committerElena Zannoni <ezannoni@kwikemart.cygnus.com>2002-02-06 01:20:23 +0000
commita2cf933af419a80cd9bc59bd2bfa2a10d88e8a05 (patch)
treeafd2d32dc664bd6b9badb59b73e527c3dc86d37a /gdb/arch-utils.h
parent9a36a60b534b58e46366eb0574699381850b60f8 (diff)
downloadgdb-a2cf933af419a80cd9bc59bd2bfa2a10d88e8a05.zip
gdb-a2cf933af419a80cd9bc59bd2bfa2a10d88e8a05.tar.gz
gdb-a2cf933af419a80cd9bc59bd2bfa2a10d88e8a05.tar.bz2
2002-02-04 Elena Zannoni <ezannoni@redhat.com>
* gdbarch.sh: Add definitions for COFF_MAKE_MSYMBOL_SPECIAL and ELF_MAKE_MSYMBOL_SPECIAL. * gdbarch.c, gdbarch.h: Regenerate. * arch-utils.c (default_elf_make_msymbol_special, default_coff_make_msymbol_special): New functions. * arch-utils.h (default_elf_make_msymbol_special, default_coff_make_msymbol_special): Export. * elfread.c (elf_symtab_read): Compile use of ELF_MAKE_MSYMBOL_SPECIAL unconditionally because it is now multiarched. * coffread.c (coff_symtab_read): Ditto, for COFF_MAKE_MSYMBOL_SPECIAL.
Diffstat (limited to 'gdb/arch-utils.h')
-rw-r--r--gdb/arch-utils.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/gdb/arch-utils.h b/gdb/arch-utils.h
index 4fbe042..434edc3 100644
--- a/gdb/arch-utils.h
+++ b/gdb/arch-utils.h
@@ -122,6 +122,14 @@ void init_frame_pc_noop (int fromleaf, struct frame_info *prev);
void init_frame_pc_default (int fromleaf, struct frame_info *prev);
+/* Do nothing version of elf_make_msymbol_special. */
+
+void default_elf_make_msymbol_special (asymbol *sym, struct minimal_symbol *msym);
+
+/* Do nothing version of coff_make_msymbol_special. */
+
+void default_coff_make_msymbol_special (int val, struct minimal_symbol *msym);
+
/* Version of cannot_fetch_register() / cannot_store_register() that
always fails. */