This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch 6/9]#2 Make linux_get_siginfo_type `type *' unique
- From: Pedro Alves <pedro at codesourcery dot com>
- To: gdb-patches at sourceware dot org
- Cc: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- Date: Mon, 30 Aug 2010 12:16:45 +0100
- Subject: Re: [patch 6/9]#2 Make linux_get_siginfo_type `type *' unique
- References: <20100830071334.GG6831@host1.dyn.jankratochvil.net>
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