[patch 6/9]#2 Make linux_get_siginfo_type `type *' unique
Pedro Alves
pedro@codesourcery.com
Mon Aug 30 11:16:00 GMT 2010
On Monday 30 August 2010 08:13:34, Jan Kratochvil wrote:
> CHECK_TYPEDEF there is not required, (...)
Please drop it then.
> gdb/
> 2010-08-30 Jan Kratochvil <jan.kratochvil@redhat.com>
>
> 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.
> Call also CHECK_TYPEDEF.
> (_initialize_linux_tdep): New.
Otherwise okay.
--
Pedro Alves
More information about the Gdb-patches
mailing list