diff options
author | Andreas Arnez <arnez@linux.vnet.ibm.com> | 2014-09-10 12:42:14 +0000 |
---|---|---|
committer | Andreas Krebbel <krebbel@linux.vnet.ibm.com> | 2014-09-30 09:14:39 +0200 |
commit | f968fe80b09ddc88538db2250b367fc0074739fa (patch) | |
tree | 074ff20465431c4dc63eebb7d95a5dbcdb6a26c8 /gdb/linux-tdep.h | |
parent | 174ad59a8eff83977a367d2cbb358c00fc470ee9 (diff) | |
download | gdb-f968fe80b09ddc88538db2250b367fc0074739fa.zip gdb-f968fe80b09ddc88538db2250b367fc0074739fa.tar.gz gdb-f968fe80b09ddc88538db2250b367fc0074739fa.tar.bz2 |
Linux targets: drop fall back to target method for 'make_corefile_notes'
Now that all Linux targets use the regset iterator, the fall back to
the deprecated target method is dropped.
gdb/ChangeLog:
* linux-nat.c (linux_nat_collect_thread_registers): Remove.
(linux_nat_make_corefile_notes): Remove.
(linux_target_install_ops): Do not set target method
'make_corefile_notes'.
* linux-tdep.c (struct linux_corefile_thread_data)<collect>:
Remove field.
(linux_corefile_thread_callback): Instead of args->collect, call
linux_collect_thread_registers.
(linux_make_corefile_notes): Remove 'collect' parameter. Return
NULL unless there is a regset iterator.
(linux_make_corefile_notes_1): Remove.
(linux_init_abi): Replace reference to linux_make_corefile_notes_1
by linux_make_corefile_notes.
* linux-tdep.h (linux_make_corefile_notes): Remove prototype.
Diffstat (limited to 'gdb/linux-tdep.h')
-rw-r--r-- | gdb/linux-tdep.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/gdb/linux-tdep.h b/gdb/linux-tdep.h index 610e2f0..2354603 100644 --- a/gdb/linux-tdep.h +++ b/gdb/linux-tdep.h @@ -29,9 +29,6 @@ typedef char *(*linux_collect_thread_registers_ftype) (const struct regcache *, bfd *, char *, int *, enum gdb_signal); -char *linux_make_corefile_notes (struct gdbarch *, bfd *, int *, - linux_collect_thread_registers_ftype); - struct type *linux_get_siginfo_type (struct gdbarch *); extern enum gdb_signal linux_gdb_signal_from_target (struct gdbarch *gdbarch, |