From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kevin Buettner To: Mark Kettenis Cc: gdb@sourceware.cygnus.com Subject: Re: Proposal: convert function definitions to prototyped form Date: Fri, 02 Jun 2000 08:16:00 -0000 Message-id: <1000602151553.ZM30578@ocotillo.lan> References: <1000602075018.ZM29997@ocotillo.lan> <200006021226.e52CQ2I01239@delius.kettenis.local> X-SW-Source: 2000-06/msg00016.html On Jun 2, 2:26pm, Mark Kettenis wrote: > Date: Fri, 2 Jun 2000 00:50:19 -0700 > From: Kevin Buettner > > Comma separated list with differing number of stars on the parameter > names (sparc-tdep.c): > > static branch_type > -isbranch (instruction, addr, target) > - long instruction; > - CORE_ADDR addr, *target; > +isbranch (long instruction, CORE_ADDR addr, CORE_ADDR * target) > { > > I guess you should tweak it some more such that it outputs > > CORE_ADDR *target > > instead of > > CORE_ADDR * target > > (note the spurious space between * and target). I noticed that. The space was put there by ``indent''. I would very much like to get rid of that space and it would be easy to make the perl script postprocess the ``indent'' output. But in doing so, we (obviously) generate different output than that of ``indent''. I suppose the other solution is to fix indent. :-) FYI, I'm using GNU indent 2.2.5. Kevin