aboutsummaryrefslogtreecommitdiff
path: root/gprof/alpha.c
diff options
context:
space:
mode:
authorBen Elliston <bje@au.ibm.com>2005-01-20 23:37:57 +0000
committerBen Elliston <bje@au.ibm.com>2005-01-20 23:37:57 +0000
commit210c61aa9bfd0f10e0d105d294280a863d8cfec9 (patch)
tree0430f850dff180c50bb8f91805a742ec09b431cc /gprof/alpha.c
parent9a12353f39f7b8c322b108ad6a729999661cf989 (diff)
downloadgdb-210c61aa9bfd0f10e0d105d294280a863d8cfec9.zip
gdb-210c61aa9bfd0f10e0d105d294280a863d8cfec9.tar.gz
gdb-210c61aa9bfd0f10e0d105d294280a863d8cfec9.tar.bz2
* gmon.h, alpha.c, vax.c: Remove #if 0'd chunks.
Diffstat (limited to 'gprof/alpha.c')
-rw-r--r--gprof/alpha.c60
1 files changed, 31 insertions, 29 deletions
diff --git a/gprof/alpha.c b/gprof/alpha.c
index 83c4009..b89e9cc 100644
--- a/gprof/alpha.c
+++ b/gprof/alpha.c
@@ -45,36 +45,38 @@
#define Jxx_FUNC_RET 2
#define Jxx_FUNC_JSR_COROUTINE 3
-#if 0
+/* *INDENT-OFF* */
/* Here to document only. We can't use this when cross compiling as
- the bitfield layout might not be the same as native. */
-typedef union
- {
- struct
- {
- unsigned other:26;
- unsigned op_code:6;
- }
- a; /* any format */
- struct
- {
- int disp:21;
- unsigned ra:5;
- unsigned op_code:6;
- }
- b; /* branch format */
- struct
- {
- int hint:14;
- unsigned func:2;
- unsigned rb:5;
- unsigned ra:5;
- unsigned op_code:6;
- }
- j; /* jump format */
- }
-alpha_Instruction;
-#endif
+ the bitfield layout might not be the same as native.
+
+ typedef union
+ {
+ struct
+ {
+ unsigned other:26;
+ unsigned op_code:6;
+ }
+ a; -- any format
+ struct
+ {
+ int disp:21;
+ unsigned ra:5;
+ unsigned op_code:6;
+ }
+ b; -- branch format
+ struct
+ {
+ int hint:14;
+ unsigned func:2;
+ unsigned rb:5;
+ unsigned ra:5;
+ unsigned op_code:6;
+ }
+ j; -- jump format
+ }
+ alpha_Instruction;
+*/
+/* *INDENT-ON* */
static Sym indirect_child;