summaryrefslogtreecommitdiff
path: root/gdb/core-regset.c
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@specifix.com>2010-12-31 22:59:51 +0000
committerMichael Snyder <msnyder@specifix.com>2010-12-31 22:59:51 +0000
commit4b1d7842adfc9887086cea526e5ca5e923e48422 (patch)
tree111d3852e82a916629399ffd1587ed51e587b009 /gdb/core-regset.c
parent063d51569a462844484401166c2fb3a46691668a (diff)
downloadgdb-4b1d7842adfc9887086cea526e5ca5e923e48422.tar.gz
2010-12-31 Michael Snyder <msnyder@vmware.com>
* charset.c: Comment cleanup and long line wrapping. * charset.h: Ditto. * c-lang.c: Ditto. * c-lang.h: Ditto. * coff-pe-read.c: Ditto. * coff-pe-read.h: Ditto. * coffread.c: Ditto. * command.h: Ditto. * complaints.c: Ditto. * complaints.h: Ditto. * completer.c: Ditto. * completer.h: Ditto. * corefile.c: Ditto. * corelow.c: Ditto. * core-regset.c: Ditto. * cp-abi.c: Ditto. * cp-abi.h: Ditto. * cp-namespace.c: Ditto. * cp-support.c: Ditto. * cp-support.h: Ditto. * cp-valprint.c: Ditto. * cp-typeprint.c: Ditto. * c-valprint.c: Ditto.
Diffstat (limited to 'gdb/core-regset.c')
-rw-r--r--gdb/core-regset.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/gdb/core-regset.c b/gdb/core-regset.c
index e9134a93b52..4d929c60dc7 100644
--- a/gdb/core-regset.c
+++ b/gdb/core-regset.c
@@ -1,7 +1,7 @@
/* Machine independent GDB support for core files on systems using "regsets".
- Copyright (C) 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2003, 2007, 2008,
- 2009, 2010 Free Software Foundation, Inc.
+ Copyright (C) 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2003, 2007,
+ 2008, 2009, 2010 Free Software Foundation, Inc.
This file is part of GDB.
@@ -59,7 +59,9 @@
static void
fetch_core_registers (struct regcache *regcache,
- char *core_reg_sect, unsigned core_reg_size, int which,
+ char *core_reg_sect,
+ unsigned core_reg_size,
+ int which,
CORE_ADDR reg_addr)
{
gdb_gregset_t gregset;
@@ -86,7 +88,8 @@ fetch_core_registers (struct regcache *regcache,
{
memcpy (&fpregset, core_reg_sect, sizeof (fpregset));
if (gdbarch_fp0_regnum (get_regcache_arch (regcache)) >= 0)
- supply_fpregset (regcache, (const gdb_fpregset_t *) fpregset_p);
+ supply_fpregset (regcache,
+ (const gdb_fpregset_t *) fpregset_p);
}
break;