aboutsummaryrefslogtreecommitdiff
path: root/gdb/amd64-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/amd64-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/amd64-linux-tdep.h')
-rw-r--r--gdb/amd64-linux-tdep.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/gdb/amd64-linux-tdep.h b/gdb/amd64-linux-tdep.h
index c253ae8..d93ac86 100644
--- a/gdb/amd64-linux-tdep.h
+++ b/gdb/amd64-linux-tdep.h
@@ -53,7 +53,8 @@ const target_desc *amd64_linux_read_description (uint64_t xcr0_features_bit,
Used for process record/replay, these will be translated into
a gdb-canonical set of syscall ids in linux-record.c. */
-enum amd64_syscall {
+enum amd64_syscall
+{
amd64_sys_read = 0,
amd64_sys_write = 1,
amd64_sys_open = 2,
@@ -328,7 +329,8 @@ enum amd64_syscall {
Used for process record/replay, these will be translated into
a gdb-canonical set of syscall ids in linux-record.c. */
-enum amd64_x32_syscall {
+enum amd64_x32_syscall
+{
amd64_x32_syscall_bit = 0x40000000,
amd64_x32_sys_read = (amd64_x32_syscall_bit + 0),
amd64_x32_sys_write = (amd64_x32_syscall_bit + 1),