aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbserver/linux-ppc-low.c
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>2011-01-06 00:14:09 +0000
committerMichael Snyder <msnyder@vmware.com>2011-01-06 00:14:09 +0000
commit493e2a69a40a30bcabe6ad5390dbae9bab98015d (patch)
tree26db7cf93932e5a4ef54faa2d6572d2f8ef759e4 /gdb/gdbserver/linux-ppc-low.c
parentb1ec4f36abd93b1386168e21a3f652288d7cd053 (diff)
downloadgdb-493e2a69a40a30bcabe6ad5390dbae9bab98015d.zip
gdb-493e2a69a40a30bcabe6ad5390dbae9bab98015d.tar.gz
gdb-493e2a69a40a30bcabe6ad5390dbae9bab98015d.tar.bz2
2011-01-05 Michael Snyder <msnyder@msnyder-server.eng.vmware.com>
* gdbreplay.c: Shorten lines of >= 80 columns. * linux-low.c: Ditto. * linux-ppc-low.c: Ditto. * linux-s390-low.c: Ditto. * linux-sparc-low.c: Ditto. * linux-x86-low.c: Ditto. * linux-xtensa-low.c: Ditto. * mem-break.c: Ditto. * nto-low.c: Ditto. * regcache.h: Ditto. * remote-utils.c: Ditto. * server.c: Ditto. * server.h: Ditto. * thread-db.c: Ditto. * tracepoint.c: Ditto. * utils.c: Ditto. * win32-low.h: Ditto.
Diffstat (limited to 'gdb/gdbserver/linux-ppc-low.c')
-rw-r--r--gdb/gdbserver/linux-ppc-low.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/gdbserver/linux-ppc-low.c b/gdb/gdbserver/linux-ppc-low.c
index 816906e..e19f10a 100644
--- a/gdb/gdbserver/linux-ppc-low.c
+++ b/gdb/gdbserver/linux-ppc-low.c
@@ -255,7 +255,8 @@ ppc_get_pc (struct regcache *regcache)
{
unsigned int pc;
(*the_target->read_memory) (addr, (unsigned char *) &pc, 4);
- return ((CORE_ADDR)1 << 63) | ((CORE_ADDR)fd << 32) | (CORE_ADDR) (pc - 4);
+ return ((CORE_ADDR)1 << 63)
+ | ((CORE_ADDR)fd << 32) | (CORE_ADDR) (pc - 4);
}
else if (register_size (0) == 4)
{