This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: Bad Indentation
On Sat, Sep 3, 2011 at 3:02 PM, Abhijit Halder
<abhijit.k.halder@gmail.com> wrote:
> Hi,
>
> I've found the following indentation problem. Can someone plz correct the same.
>
> #cvs diff gdb/remote.c
>
> Index: gdb/remote.c
> ===================================================================
> RCS file: /cvs/src/src/gdb/remote.c,v
> retrieving revision 1.461
> diff -r1.461 remote.c
> 4883c4883
> < ? }
> ---
>> }
>
>
> Thanks,
> Abhijit Halder
>
In the same context I did an exercise and found the following:
# grep -I --include=*.[ch] -r "^[ ]\{8,\}" gdb-top/ | wc -l
71233
Since our convention is converting 8 consecutive space into a tab
character, the above result seems to me the violation of that rule.
Can we run some script to correct the same?
Thanks,
Abhijit Halder