+2013-10-24 "Maciej W. Rozycki <macro@codesourcery.com>
+
+ * linux-tdep.c (linux_corefile_thread_data): Remove `num_notes'
+ member.
+ (linux_corefile_thread_callback): Update accordingly.
+ (linux_make_corefile_notes): Likewise.
+
2013-10-24 Pedro Alves <palves@redhat.com>
* NEWS (New options): Mention set/show startup-with-shell.
bfd *obfd;
char *note_data;
int *note_size;
- int num_notes;
enum gdb_signal stop_signal;
linux_collect_thread_registers_ftype collect;
};
args->note_data = args->collect (regcache, info->ptid, args->obfd,
args->note_data, args->note_size,
args->stop_signal);
- args->num_notes++;
if (siginfo_data != NULL)
{
args->note_size,
"CORE", NT_SIGINFO,
siginfo_data, siginfo_size);
- args->num_notes++;
}
do_cleanups (old_chain);
thread_args.obfd = obfd;
thread_args.note_data = note_data;
thread_args.note_size = note_size;
- thread_args.num_notes = 0;
thread_args.stop_signal = find_stop_signal ();
thread_args.collect = collect;
iterate_over_threads (linux_corefile_thread_callback, &thread_args);