With this commit, the IA-64 port passes its first DyninstAPI test, `test2'.
[dyninst.git] / dyninstAPI / src / linux-ia64.h
1 /* -*- Mode: C; indent-tabs-mode: true; tab-width: 4 -*- */
2
3 #ifndef LINUX_IA64_HDR
4 #define LINUX_IA64_HDR
5
6 #include "arch-ia64.h"
7 #include "inst-ia64.h"
8 #include <linux/ptrace.h>
9
10 IA64_bundle generateTrapBundle();
11
12 #if defined( MUTATOR_SAVES_REGISTERS )
13 struct dyn_saved_regs {
14     struct pt_regs pt;
15     struct switch_stack ss;
16 };
17 #else
18 struct dyn_saved_regs {
19         Address pc;
20         bool restorePredicateRegistersFromStack;
21         };
22 #endif
23
24 /* Removes a #ifdef in linux.C to include this here. */
25 #include <asm/ptrace_offsets.h>
26
27 #endif