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: [RFA v2 01/24] Introduce and use ui_out_emit_table


On 2017-07-30 18:23, Tom Tromey wrote:
"Simon" == Simon Marchi <simon.marchi@polymtl.ca> writes:

-  ALL_BREAKPOINTS (b)
+    ALL_BREAKPOINTS (b)

Simon> Shouldn't the scope just under this be indented as well?

I think gdb is inconsistent about this, and my rule has always been that
whatever Emacs chooses is correct, since I think that's nearly GNU
policy.  However, I will change it.  You may wish to fix the other
instances.

Hmm, ok. To me it would make sense to format it like for loops, since that's what it's replacing.

How does emacs format ALL_BREAKPOINTS with a single statement under it?

  ALL_BREAKPOINTS (b)
    foo (b);

or

  ALL_BREAKPOINTS (b)
  foo(b);

?


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