aboutsummaryrefslogtreecommitdiff
path: root/gprof/dummy.h
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.h
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.h')
-rw-r--r--gprof/dummy.h18
1 files changed, 11 insertions, 7 deletions
diff --git a/gprof/dummy.h b/gprof/dummy.h
index 7098963..f8a6bb6 100644
--- a/gprof/dummy.h
+++ b/gprof/dummy.h
@@ -32,17 +32,21 @@
*
* @(#)dummy.h 5.1 (Berkeley) 4/18/91
*/
+#ifndef dummy_h
+#define dummy_h
/*
* dummy.h -- This file should be used when a processor is not yet supported.
*/
- /*
- * offset (in bytes) of the code from the entry address of a routine.
- * (see asgnsamples for use and explanation.)
- */
-#define OFFSET_OF_CODE 0
-#define UNITS_TO_CODE (OFFSET_OF_CODE / sizeof(UNIT))
+/*
+ * Offset (in bytes) of the code from the entry address of a routine.
+ * (see hist_assign_samples()) for use and explanation.)
+ */
+#define OFFSET_TO_CODE 0
+#define UNITS_TO_CODE (OFFSET_TO_CODE / sizeof(UNIT))
enum opermodes { dummy };
-typedef enum opermodes operandenum;
+typedef enum opermodes operandenum;
+
+#endif /* dummy_h */