aboutsummaryrefslogtreecommitdiff
path: root/gprof/alpha.h
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1996-03-21 22:07:14 +0000
committerIan Lance Taylor <ian@airs.com>1996-03-21 22:07:14 +0000
commit0f579087abbd52ef11e1c0dc0236e0393ccfaba0 (patch)
tree4219135568b5e7b910d0e79702c9cad8924380e6 /gprof/alpha.h
parent9e4ebb1b3a69d506af5f46c3704458ff5bbfc999 (diff)
downloadgdb-0f579087abbd52ef11e1c0dc0236e0393ccfaba0.zip
gdb-0f579087abbd52ef11e1c0dc0236e0393ccfaba0.tar.gz
gdb-0f579087abbd52ef11e1c0dc0236e0393ccfaba0.tar.bz2
Thu Mar 21 17:02:02 1996 David Mosberger-Tang <davidm@azstarnet.com>
* gprof.c (default_excluded_list): Add "__mcount". * gprof.c (main): Change ifdef __osf__ to __alpha__. * gmon_io.c (gmon_out_read): If BSD44_FORMAT is defined, get the profiling rate from the header. * gmon.h (struct raw_phdr): Only include pad if both __alpha__ and __osf__ are defined. Add new fields if BSD44_FORMAT is defined. * alpha.h (MIN_INSN_SIZE): Define. * core.c (MIN_INSN_SIZE): If not defined, define as 1. (core_sym_class): Ignore debugging symbols. (core_create_line_syms): Use MIN_INSN_SIZE when gathering line information.
Diffstat (limited to 'gprof/alpha.h')
-rw-r--r--gprof/alpha.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gprof/alpha.h b/gprof/alpha.h
index 9eb92bc..b91324e 100644
--- a/gprof/alpha.h
+++ b/gprof/alpha.h
@@ -28,4 +28,9 @@
#define OFFSET_TO_CODE 0
#define UNITS_TO_CODE (OFFSET_TO_CODE / sizeof(UNIT))
+/*
+ * Minimum size of an instruction (in bytes):
+ */
+#define MIN_INSN_SIZE 4
+
#endif /* alpha_h */