gdb/
authorJan Kratochvil <jan.kratochvil@redhat.com>
Tue, 31 Aug 2010 18:11:48 +0000 (18:11 +0000)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Tue, 31 Aug 2010 18:11:48 +0000 (18:11 +0000)
commit06253dd31f4ce1b549d8ba0755dbb71cfb748772
tree7d20a4149603d61a43c33f66be2ba9d1d14e1375
parentb8edc417a7143d28618086f1d6d946201001a075
gdb/
Make linux_get_siginfo_type `type *' unique.
* linux-tdep.c (linux_gdbarch_data_handle, struct linux_gdbarch_data)
(init_linux_gdbarch_data, get_linux_gdbarch_data): New.
(linux_get_siginfo_type): New variable linux_gdbarch_data.  Initialize
it.  Use linux_gdbarch_data->siginfo_type as a persistent storage.
(_initialize_linux_tdep): New.
gdb/ChangeLog
gdb/linux-tdep.c