This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA/commit]


> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]