aboutsummaryrefslogtreecommitdiff
path: root/gdb/gcore-elf.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/gcore-elf.h
parentca7f92c2f15b86b09c4a8ad14806bef666308d31 (diff)
downloadgdb-users/simark/clang-format.zip
gdb-users/simark/clang-format.tar.gz
gdb-users/simark/clang-format.tar.bz2
Run clang-format.shusers/simark/clang-format
Change-Id: Ia948cc26d534b0dd02702244d52434b1a2093968
Diffstat (limited to 'gdb/gcore-elf.h')
-rw-r--r--gdb/gcore-elf.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/gdb/gcore-elf.h b/gdb/gcore-elf.h
index 4803efd..ff65beb 100644
--- a/gdb/gcore-elf.h
+++ b/gdb/gcore-elf.h
@@ -17,7 +17,7 @@
/* This file contains generic functions for writing ELF based core files. */
-#if !defined (GCORE_ELF_H)
+#if !defined(GCORE_ELF_H)
#define GCORE_ELF_H 1
#include "gdb_bfd.h"
@@ -32,16 +32,17 @@ struct thread_info;
STOP_SIGNAL. The core file is being written to OBFD, and GDBARCH is the
architecture for which the core file is being generated. */
-extern void gcore_elf_build_thread_register_notes
- (struct gdbarch *gdbarch, struct thread_info *info, gdb_signal stop_signal,
- bfd *obfd, gdb::unique_xmalloc_ptr<char> *note_data, int *note_size);
+extern void gcore_elf_build_thread_register_notes (
+ struct gdbarch *gdbarch, struct thread_info *info, gdb_signal stop_signal,
+ bfd *obfd, gdb::unique_xmalloc_ptr<char> *note_data, int *note_size);
/* Add content to *NOTE_DATA (and update *NOTE_SIZE) to include a note
containing the current targtet's target description. The core file is
being written to OBFD. If something goes wrong then *NOTE_DATA can be
set to nullptr. */
-extern void gcore_elf_make_tdesc_note
- (bfd *obfd, gdb::unique_xmalloc_ptr<char> *note_data, int *note_size);
+extern void
+gcore_elf_make_tdesc_note (bfd *obfd, gdb::unique_xmalloc_ptr<char> *note_data,
+ int *note_size);
#endif /* GCORE_ELF_H */