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] New rules for ARI (was [commit] Get rid of build warnings on xtensa-tdep.c)



> -----Message d'origine-----
> De?: gdb-patches-owner@sourceware.org [mailto:gdb-patches-
> owner@sourceware.org] De la part de Joel Brobecker
> Envoyé?: vendredi 11 mars 2011 12:40
> À?: Pierre Muller
> Cc?: 'Maxim Grigoriev'; gdb-patches@sourceware.org
> Objet?: Re: [RFA] New rules for ARI (was [commit] Get rid of build
> warnings on xtensa-tdep.c)
> 
> > so I tried to write a new rule
> > to find out if functions that have no parameters
> > do use () instead of (void).
> 
> Thanks!
> 
> >   While at it, I also tried to figure out if
> > there were calls to functions in first lines
> > (or prototype declarations with the function name at first line).
> 
> I think you meant first column?

  Whoops, of course, yes,
thanks for catching this...

 
> > OK to add these two new rules?
> 
> I think they would be useful - but be sure to s/line/column/ in
> the code as well:

  OK, I committed this to ss directory after
the substitution.

  New corresponding ARI warnings should appear
overnight.

Pierre


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