aboutsummaryrefslogtreecommitdiff
path: root/gdb/amd64-nat.c
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@polymtl.ca>2023-02-08 15:36:23 -0500
committerSimon Marchi <simon.marchi@polymtl.ca>2023-02-08 15:46:02 -0500
commitc583a2520616c2736cffc389c89a48b159366e6c (patch)
treeb4925f26506fcee96c16119431c01760f05db95d /gdb/amd64-nat.c
parentca7f92c2f15b86b09c4a8ad14806bef666308d31 (diff)
downloadbinutils-users/simark/clang-format.zip
binutils-users/simark/clang-format.tar.gz
binutils-users/simark/clang-format.tar.bz2
Run clang-format.shusers/simark/clang-format
Change-Id: Ia948cc26d534b0dd02702244d52434b1a2093968
Diffstat (limited to 'gdb/amd64-nat.c')
-rw-r--r--gdb/amd64-nat.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/gdb/amd64-nat.c b/gdb/amd64-nat.c
index dfe1b5c..059dff9 100644
--- a/gdb/amd64-nat.c
+++ b/gdb/amd64-nat.c
@@ -80,13 +80,12 @@ amd64_native_gregset_supplies_p (struct gdbarch *gdbarch, int regnum)
return (amd64_native_gregset_reg_offset (gdbarch, regnum) != -1);
}
-
/* Supply register REGNUM, whose contents are stored in GREGS, to
REGCACHE. If REGNUM is -1, supply all appropriate registers. */
void
-amd64_supply_native_gregset (struct regcache *regcache,
- const void *gregs, int regnum)
+amd64_supply_native_gregset (struct regcache *regcache, const void *gregs,
+ int regnum)
{
const char *regs = (const char *) gregs;
struct gdbarch *gdbarch = regcache->arch ();
@@ -116,8 +115,8 @@ amd64_supply_native_gregset (struct regcache *regcache,
registers. */
void
-amd64_collect_native_gregset (const struct regcache *regcache,
- void *gregs, int regnum)
+amd64_collect_native_gregset (const struct regcache *regcache, void *gregs,
+ int regnum)
{
char *regs = (char *) gregs;
struct gdbarch *gdbarch = regcache->arch ();