This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA/commit]
- From: Thiago Jung Bauermann <bauerman at br dot ibm dot com>
- To: Hilfinger at adacore dot com
- Cc: gdb-patches at sourceware dot org
- Date: Fri, 08 Aug 2008 10:40:46 -0300
- Subject: Re: [RFA/commit]
- References: <20080808101213.07D78227B25@nile.gnat.com>
On Fri, 2008-08-08 at 06:12 -0400, Paul Hilfinger wrote:
> static struct type *
> +type_boolean (void)
> +{
> + return builtin_type (current_gdbarch)->builtin_bool;
> +}
To avoid introducing another use of current_gdbarch, I suggest using the
builtin_type_bool macro.
--
[]'s
Thiago Jung Bauermann
IBM Linux Technology Center