summaryrefslogtreecommitdiff
path: root/gdb/arch-utils.c
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
commit283899efa89904188926930f0383922e91cc49fd (patch)
tree27d7e4c1ad04caeb7e026febbf859679ff8f5d02 /gdb/arch-utils.c
parentac63e8606c012ce1148b9b5e83afb46204714a9b (diff)
downloadgdb-283899efa89904188926930f0383922e91cc49fd.tar.gz
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.c')
-rw-r--r--gdb/arch-utils.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/gdb/arch-utils.c b/gdb/arch-utils.c
index 1ec50064675..a01fb4ef0c0 100644
--- a/gdb/arch-utils.c
+++ b/gdb/arch-utils.c
@@ -359,6 +359,18 @@ init_frame_pc_default (int fromleaf, struct frame_info *prev)
prev->pc = read_pc ();
}
+void
+default_elf_make_msymbol_special (asymbol *sym, struct minimal_symbol *msym)
+{
+ return;
+}
+
+void
+default_coff_make_msymbol_special (int val, struct minimal_symbol *msym)
+{
+ return;
+}
+
int
cannot_register_not (int regnum)
{