[PATCH RFC] Convert function definitions to prototyped form
Kevin Buettner
kevinb@cygnus.com
Mon Jul 24 07:17:00 GMT 2000
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.)
Going forward, someone (me perhaps) should add the appropriate command
line switch to indent so that we can specify a custom indent.pro file
for gdb instead of picking up the users .indent.pro. We'll also need
a way of keeping gdb's indent.pro file current.
Kevin
More information about the Gdb-patches
mailing list