aboutsummaryrefslogtreecommitdiff
path: root/gprof/dummy.c
diff options
context:
space:
mode:
Diffstat (limited to 'gprof/dummy.c')
-rw-r--r--gprof/dummy.c15
1 files changed, 10 insertions, 5 deletions
diff --git a/gprof/dummy.c b/gprof/dummy.c
index 21a6db3..a78caec 100644
--- a/gprof/dummy.c
+++ b/gprof/dummy.c
@@ -1,13 +1,18 @@
#include "gprof.h"
+#include "symtab.h"
+
/*
* dummy.c -- This file should be used for an unsupported processor type.
* It does nothing, but prevents findcall() from being unresolved.
*/
-findcall( parentp , p_lowpc , p_highpc )
- nltype *parentp;
- unsigned long p_lowpc;
- unsigned long p_highpc;
+void
+DEFUN(find_call, (parent, p_lowpc, p_highpc),
+ Sym *parent AND bfd_vma p_lowpc AND bfd_vma p_highpc)
{
-}
+ fprintf(stderr, "%s: -c supported on this machine architecture\n",
+ whoami);
+} /* find_call */
+
+ /*** end of dummy.c ***/