This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch 6/9]#2 Make linux_get_siginfo_type `type *' unique


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]