aboutsummaryrefslogtreecommitdiff
path: root/gdb/ppc-linux-tdep.h
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/ppc-linux-tdep.h
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/ppc-linux-tdep.h')
-rw-r--r--gdb/ppc-linux-tdep.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/gdb/ppc-linux-tdep.h b/gdb/ppc-linux-tdep.h
index af70c7a..2ff332e 100644
--- a/gdb/ppc-linux-tdep.h
+++ b/gdb/ppc-linux-tdep.h
@@ -20,7 +20,7 @@
#ifndef PPC_LINUX_TDEP_H
#define PPC_LINUX_TDEP_H
-#include "ppc-tdep.h" /* For PPC_NUM_REGS. */
+#include "ppc-tdep.h" /* For PPC_NUM_REGS. */
struct regset;
@@ -38,13 +38,14 @@ const struct regset *ppc_linux_cgprregset (struct gdbarch *gdbarch);
/* Get the checkpointed vector regset that matches the target byte
order. */
-const struct regset* ppc_linux_cvmxregset (struct gdbarch *gdbarch);
+const struct regset *ppc_linux_cvmxregset (struct gdbarch *gdbarch);
/* Extra register number constants. The Linux kernel stores a
"trap" code and the original value of r3 into special "registers";
these need to be saved and restored when performing an inferior
call while the inferior was interrupted within a system call. */
-enum {
+enum
+{
PPC_ORIG_R3_REGNUM = PPC_NUM_REGS,
PPC_TRAP_REGNUM,
};