This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: fix "too much information" bug w/ "info vector" on PowerPC


On Tue, Aug 30, 2005 at 03:22:51PM -0700, Jim Blandy wrote:
> 
> Daniel Jacobowitz <drow@false.org> writes:
> > On Tue, Aug 30, 2005 at 02:42:31PM -0700, Jim Blandy wrote:
> >> - I'm not sure why the indentation in your patch is weird, but in any
> >>   case, there seems to be a preference for using spaces in new code,
> >>   not tabs.
> >
> > Er, really?  GNU convention is tabs, as far as I know.
> 
> I don't see anything in the coding standards, but maybe I've missed
> something.
> 
> Avoiding tab characters makes patches read normally and avoids
> problems with different tab sizes.  And all the popular editors can be
> configured to make the 'tab' command use either.  Most of the other
> Free software projects I know of have a convention of using spaces.

I know all these things - but they aren't relevant to GDB.  GDB has
about eight times more code using tabs than spaces (I just checked).
Let's not dribble in the opposite direction without a deliberate
decision, please.

IIRC GCC and binutils also use a tab convention.

-- 
Daniel Jacobowitz
CodeSourcery, LLC


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]