forked from Imagelibrary/binutils-gdb
* mips.c: New file.
* Makefile.am (sources): Add mips.c. (mips.o): New rule. * Makefile.in: Regenerate. * corefile.c: Update copyright years. (find_call): Call mips_find_call for bfd_arch_mips.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
/* corefile.c
|
||||
|
||||
Copyright 2000, 2001 Free Software Foundation, Inc.
|
||||
Copyright 2000, 2001, 2002 Free Software Foundation, Inc.
|
||||
|
||||
This file is part of GNU Binutils.
|
||||
|
||||
@@ -48,6 +48,7 @@ extern void alpha_find_call PARAMS ((Sym *, bfd_vma, bfd_vma));
|
||||
extern void vax_find_call PARAMS ((Sym *, bfd_vma, bfd_vma));
|
||||
extern void tahoe_find_call PARAMS ((Sym *, bfd_vma, bfd_vma));
|
||||
extern void sparc_find_call PARAMS ((Sym *, bfd_vma, bfd_vma));
|
||||
extern void mips_find_call PARAMS ((Sym *, bfd_vma, bfd_vma));
|
||||
|
||||
static void
|
||||
DEFUN (read_function_mappings, (filename), const char *filename)
|
||||
@@ -261,6 +262,10 @@ DEFUN (find_call, (parent, p_lowpc, p_highpc),
|
||||
tahoe_find_call (parent, p_lowpc, p_highpc);
|
||||
break;
|
||||
|
||||
case bfd_arch_mips:
|
||||
mips_find_call (parent, p_lowpc, p_highpc);
|
||||
break;
|
||||
|
||||
default:
|
||||
fprintf (stderr, _("%s: -c not supported on architecture %s\n"),
|
||||
whoami, bfd_printable_name(core_bfd));
|
||||
|
||||
Reference in New Issue
Block a user