diff options
Diffstat (limited to 'gdb/nat/ppc-linux.h')
-rw-r--r-- | gdb/nat/ppc-linux.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/nat/ppc-linux.h b/gdb/nat/ppc-linux.h index 30d936f..0ff2223 100644 --- a/gdb/nat/ppc-linux.h +++ b/gdb/nat/ppc-linux.h @@ -82,4 +82,10 @@ #define PTRACE_SETEVRREGS 21 #endif +#ifdef __powerpc64__ +/* Return whether the inferior is 64bit or not by checking certain bit + in MSR. */ +int ppc64_64bit_inferior_p (long msr); +#endif + #endif |