[PING] Bad Indentation in remote.c: Someone please correct this.

Abhijit Halder abhijit.k.halder@gmail.com
Wed Sep 7 09:46:00 GMT 2011


On Wed, Sep 7, 2011 at 3:02 PM, Abhijit Halder
<abhijit.k.halder@gmail.com> wrote:
> ---------- Forwarded message ----------
> From: Abhijit Halder <abhijit.k.halder@gmail.com>
> Date: Sat, Sep 3, 2011 at 3:02 PM
> Subject: Bad Indentation
> To: gdb-patches@sourceware.org
>
>
> 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
> <   }
> ---
>> }
> Though this is not breaking anything (not a defect in that sense), but
> code walk through sometime become difficult.
>
> Thanks,
> Abhijit Halder
>

The actual fix should be:

Index: gdb/remote.c
===================================================================
RCS file: /cvs/src/src/gdb/remote.c,v
retrieving revision 1.461
diff -r1.461 remote.c
4882,4883c4882,4883
<     gdb_flush (gdb_stdtarg);
<   }
---
>   gdb_flush (gdb_stdtarg);
> }

Thanks,
Abhijit Halder



More information about the Gdb-patches mailing list