SPARC GDB Failure

Doug Evans dje@google.com
Mon Sep 7 18:16:00 GMT 2009


On Mon, Sep 7, 2009 at 10:54 AM, Jan
Kratochvil<jan.kratochvil@redhat.com> wrote:
> On Mon, 07 Sep 2009 19:44:03 +0200, Doug Evans wrote:
>> The patch is fine with me.
>
> Checked-in.
> [...]
> http://sourceware.org/ml/gdb-cvs/2009-09/msg00028.html
>
> --- src/gdb/ChangeLog   2009/09/07 11:09:33     1.10846
> +++ src/gdb/ChangeLog   2009/09/07 17:52:38     1.10847
> @@ -1,3 +1,9 @@
> +2009-09-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
> +
> +       * m68k-tdep.c (m68k_gdbarch_init): Allocate TDEP as cleared.
> +       * sparc-tdep.c (sparc32_gdbarch_init): Allocate TDEP as cleared.
> +       Remove explicit clearing of TDEP fields.
> +
> [...]

Long-term-wise, maybe the thing to do is have all allocs of
gdbarch_tdep go through a function (gdbarch_tdep_alloc or some such).
That would make it clear how one *should* alloc them.



More information about the Gdb mailing list