This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [PATCH RFC] Convert function definitions to prototyped form
Kevin Buettner wrote:
>
> On Jul 24, 2:45pm, Andrew Cagney wrote:
>
> > Did the problem with indentation get sorted?
>
> Yes.
>
> > From memory, the suggestion was to add the file indent.pro.
>
> Right. But that's not how I ended up doing it since it wasn't
> possible to specify a custom indent.pro file from a command line
> switch.
>
> Instead, I put the list of types into the script. Each time indent
> gets called, a suitable set of -T switches are passed directly to
> indent. These types were generated by check-decls. (Recall that
> check-decls needs to find all of the types in order to create typedefs
> for a C-program which checks the output of fix-decls.)
Ok.
A indent.??? that was correct for GDB would still be very helpful, put
it down for a rainy day.
Andrew