#include "gdbsupport/enum-flags.h"
#include "gdbsupport/gdb_optional.h"
#include "gcore.h"
+#include "gcore-elf.h"
#include <ctype.h>
linux_corefile_thread (struct thread_info *info,
struct linux_corefile_thread_data *args)
{
- gcore_build_thread_register_notes (args->gdbarch, info, args->stop_signal,
- args->obfd, &args->note_data,
- args->note_size);
+ gcore_elf_build_thread_register_notes (args->gdbarch, info,
+ args->stop_signal,
+ args->obfd, &args->note_data,
+ args->note_size);
/* Don't return anything if we got no register information above,
such a core file is useless. */
/* File mappings. */
linux_make_mappings_corefile_notes (gdbarch, obfd, note_data, note_size);
+ /* Target description. */
+ gcore_elf_make_tdesc_note (obfd, ¬e_data, note_size);
+
return note_data;
}