sysdep.h revision bac2da505ee174b7fb984b975c5938f88f0dbab2
1#ifndef LTRACE_SYSDEP_H
2#define LTRACE_SYSDEP_H
3
4#include <arch.h>
5
6#ifndef ARCH_HAVE_LTELF_DATA
7struct arch_ltelf_data {
8};
9#endif
10
11#ifndef ARCH_HAVE_BREAKPOINT_DATA
12struct arch_breakpoint_data {
13};
14#endif
15
16#ifndef ARCH_HAVE_LIBRARY_SYMBOL_DATA
17struct arch_library_symbol_data {
18};
19#endif
20
21#ifndef ARCH_HAVE_LIBRARY_DATA
22struct arch_library_data {
23};
24#endif
25
26#ifndef ARCH_HAVE_PROCESS_DATA
27struct arch_process_data {
28};
29#endif
30
31#ifndef ARCH_HAVE_ADDRESS_TYPES
32/* We should in general be able to trace 64-bit processes with 32-bit
33 * ltrace.  (At least PPC has several PTRACE requests related to
34 * tracing 64-on-32, so presumably it should be possible.)  But ltrace
35 * is currently hopelessly infested with using void* for host address.
36 * So keep with it, for now.  */
37typedef void *arch_addr_t;
38#endif
39
40#endif /* LTRACE_SYSDEP_H */
41