aboutsummaryrefslogtreecommitdiff
path: root/gdb/rs6000-nat.c
diff options
context:
space:
mode:
authorPierre Muller <muller@sourceware.org>2013-08-23 06:51:18 +0000
committerPierre Muller <muller@sourceware.org>2013-08-23 06:51:18 +0000
commit1ed3ee940d6f75b32502801cd6a50322488ff277 (patch)
tree62fc71fcc39f09a4c4279b8660f681b0981e6fab /gdb/rs6000-nat.c
parent9eaabc7557aef5ca4f68daed3ab0c3f5a664a020 (diff)
downloadgdb-1ed3ee940d6f75b32502801cd6a50322488ff277.zip
gdb-1ed3ee940d6f75b32502801cd6a50322488ff277.tar.gz
gdb-1ed3ee940d6f75b32502801cd6a50322488ff277.tar.bz2
ARI fix: Push # directives to start of line.
* rs6000-nat.c (rs6000_ptrace32, rs6000_ptrace64): Rule applied.
Diffstat (limited to 'gdb/rs6000-nat.c')
-rw-r--r--gdb/rs6000-nat.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/gdb/rs6000-nat.c b/gdb/rs6000-nat.c
index 0953356..804b316 100644
--- a/gdb/rs6000-nat.c
+++ b/gdb/rs6000-nat.c
@@ -131,11 +131,11 @@ regmap (struct gdbarch *gdbarch, int regno, int *isfloat)
static int
rs6000_ptrace32 (int req, int id, int *addr, int data, int *buf)
{
- #ifdef HAVE_PTRACE64
+#ifdef HAVE_PTRACE64
int ret = ptrace64 (req, id, (long long) addr, data, buf);
- #else
+#else
int ret = ptrace (req, id, (int *)addr, data, buf);
- #endif
+#endif
#if 0
printf ("rs6000_ptrace32 (%d, %d, 0x%x, %08x, 0x%x) = 0x%x\n",
req, id, (unsigned int)addr, data, (unsigned int)buf, ret);
@@ -149,11 +149,11 @@ static int
rs6000_ptrace64 (int req, int id, long long addr, int data, void *buf)
{
#ifdef ARCH3264
- #ifdef HAVE_PTRACE64
+# ifdef HAVE_PTRACE64
int ret = ptrace64 (req, id, addr, data, buf);
- #else
+# else
int ret = ptracex (req, id, addr, data, buf);
- #endif
+# endif
#else
int ret = 0;
#endif