This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [rfc/rft] Fix incorrect static type in scm-lang.c
- From: "Ulrich Weigand" <uweigand at de dot ibm dot com>
- To: uweigand at de dot ibm dot com (Ulrich Weigand)
- Cc: gdb-patches at sourceware dot org
- Date: Wed, 3 Jun 2009 20:18:37 +0200 (CEST)
- Subject: Re: [rfc/rft] Fix incorrect static type in scm-lang.c
> scm-lang.c also contains a static type defined at startup depending on the
> initial current_gdbarch. As with mdebugread.c, this is broken even with
> today's --enable-targets= support.
>
> This patch removes the builtin_type_scm static type, and instead defines
> a per-gdbarch structure of builtin types, just like all other languages
> already do.
I've checked this in as well.
Bye,
Ulrich
--
Dr. Ulrich Weigand
GNU Toolchain for Linux on System z and Cell BE
Ulrich.Weigand@de.ibm.com