aboutsummaryrefslogtreecommitdiff
path: root/gdb/osabi.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/osabi.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/osabi.h')
-rw-r--r--gdb/osabi.h12
1 files changed, 5 insertions, 7 deletions
diff --git a/gdb/osabi.h b/gdb/osabi.h
index 35f14ec..694d30ef 100644
--- a/gdb/osabi.h
+++ b/gdb/osabi.h
@@ -23,7 +23,7 @@
table in osabi.c. */
enum gdb_osabi
{
- GDB_OSABI_UNKNOWN = 0, /* keep this zero */
+ GDB_OSABI_UNKNOWN = 0, /* keep this zero */
GDB_OSABI_NONE,
GDB_OSABI_SVR4,
@@ -47,7 +47,7 @@ enum gdb_osabi
GDB_OSABI_SDE,
GDB_OSABI_PIKEOS,
- GDB_OSABI_INVALID /* keep this last */
+ GDB_OSABI_INVALID /* keep this last */
};
/* Register an OS ABI sniffer. Each arch/flavour may have more than
@@ -55,17 +55,15 @@ enum gdb_osabi
another. The first sniffer to return something other than
GDB_OSABI_UNKNOWN wins, so a sniffer should be careful to claim a file
only if it knows for sure what it is. */
-void gdbarch_register_osabi_sniffer (enum bfd_architecture,
- enum bfd_flavour,
- enum gdb_osabi (*)(bfd *));
+void gdbarch_register_osabi_sniffer (enum bfd_architecture, enum bfd_flavour,
+ enum gdb_osabi (*) (bfd *));
/* Register a handler for an OS ABI variant for a given architecture
and machine type. There should be only one handler for a given OS
ABI for each architecture and machine type combination. */
void gdbarch_register_osabi (enum bfd_architecture, unsigned long,
enum gdb_osabi,
- void (*)(struct gdbarch_info,
- struct gdbarch *));
+ void (*) (struct gdbarch_info, struct gdbarch *));
/* Lookup the OS ABI corresponding to the specified BFD. */
enum gdb_osabi gdbarch_lookup_osabi (bfd *);