aboutsummaryrefslogtreecommitdiff
path: root/gdb/elf-none-tdep.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/elf-none-tdep.c')
-rw-r--r--gdb/elf-none-tdep.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/gdb/elf-none-tdep.c b/gdb/elf-none-tdep.c
index 460f02e..8a4fe8d 100644
--- a/gdb/elf-none-tdep.c
+++ b/gdb/elf-none-tdep.c
@@ -21,7 +21,7 @@
#include "defs.h"
#include "elf-none-tdep.h"
#include "regset.h"
-#include "elf-bfd.h" /* for elfcore_write_* */
+#include "elf-bfd.h" /* for elfcore_write_* */
#include "inferior.h"
#include "regcache.h"
#include "gdbarch.h"
@@ -97,9 +97,8 @@ elf_none_make_corefile_notes (struct gdbarch *gdbarch, bfd *obfd,
stop_signal = GDB_SIGNAL_0;
if (signalled_thr != nullptr)
- gcore_elf_build_thread_register_notes (gdbarch, signalled_thr,
- stop_signal, obfd, &note_data,
- note_size);
+ gcore_elf_build_thread_register_notes (gdbarch, signalled_thr, stop_signal,
+ obfd, &note_data, note_size);
for (thread_info *thr : current_inferior ()->non_exited_threads ())
{
if (thr == signalled_thr)
@@ -109,7 +108,6 @@ elf_none_make_corefile_notes (struct gdbarch *gdbarch, bfd *obfd,
&note_data, note_size);
}
-
/* Target description. */
gcore_elf_make_tdesc_note (obfd, &note_data, note_size);