aboutsummaryrefslogtreecommitdiff
path: root/gprof/dummy.c
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@cygnus>1995-02-07 22:34:18 +0000
committerKen Raeburn <raeburn@cygnus>1995-02-07 22:34:18 +0000
commit5489fcc3d9dbb1f529dddb19b615e23d8ed59dc7 (patch)
tree1a79cfffd92f2afb67780dd7372c1759c49791aa /gprof/dummy.c
parent2559e01429d193b7957c106a6a8b0598476f9845 (diff)
downloadgdb-5489fcc3d9dbb1f529dddb19b615e23d8ed59dc7.zip
gdb-5489fcc3d9dbb1f529dddb19b615e23d8ed59dc7.tar.gz
gdb-5489fcc3d9dbb1f529dddb19b615e23d8ed59dc7.tar.bz2
Lots of changes from David Mosberger-Tang; see ChangeLog and NOTES for details:
Alpha support. Long options. New file format to support more information; backwards compatibility. Line-level profiling, on systems where bfd_find_nearest_line works. Selective display of data.
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 ***/