This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA/commit]
- From: Paul Hilfinger <hilfingr at EECS dot Berkeley dot EDU>
- To: Thiago Jung Bauermann <bauerman at br dot ibm dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Fri, 08 Aug 2008 16:41:47 -0700
- Subject: Re: [RFA/commit]
- Reply-to: Hilfinger at CS dot Berkeley dot EDU
> 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.
OK. Thanks.
Paul Hilfinger