From: Pierre Muller Date: Fri, 23 Aug 2013 06:51:18 +0000 (+0000) Subject: ARI fix: Push # directives to start of line. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1ed3ee940d6f75b32502801cd6a50322488ff277;p=binutils-gdb.git ARI fix: Push # directives to start of line. * rs6000-nat.c (rs6000_ptrace32, rs6000_ptrace64): Rule applied. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 6d75e760b12..8b2bffacb8b 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2013-08-23 Pierre Muller + + ARI fix: Push # directives to start of line. + * rs6000-nat.c (rs6000_ptrace32, rs6000_ptrace64): Rule applied. + 2013-08-12 Muhammad Waqas PR gdb/15501 diff --git a/gdb/rs6000-nat.c b/gdb/rs6000-nat.c index 0953356d7f3..804b31680b1 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