Linux targets: drop fall back to target method for 'make_corefile_notes'
authorAndreas Arnez <arnez@linux.vnet.ibm.com>
Wed, 10 Sep 2014 12:42:14 +0000 (12:42 +0000)
committerAndreas Krebbel <krebbel@linux.vnet.ibm.com>
Tue, 30 Sep 2014 07:14:39 +0000 (09:14 +0200)
commitf968fe80b09ddc88538db2250b367fc0074739fa
tree074ff20465431c4dc63eebb7d95a5dbcdb6a26c8
parent174ad59a8eff83977a367d2cbb358c00fc470ee9
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.
gdb/ChangeLog
gdb/linux-nat.c
gdb/linux-tdep.c
gdb/linux-tdep.h