This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] avoid GDB crash on inspection of pascal arrays
- From: Tom Tromey <tromey at redhat dot com>
- To: Joel Brobecker <brobecker at adacore dot com>
- Cc: Eli Zaretskii <eliz at gnu dot org>, pierre dot muller at ics-cnrs dot unistra dot fr, gdb-patches at sourceware dot org
- Date: Tue, 09 Mar 2010 11:32:37 -0700
- Subject: Re: [PATCH] avoid GDB crash on inspection of pascal arrays
- References: <001801cabee0$31499ca0$93dcd5e0$%muller@ics-cnrs.unistra.fr> <20100308185450.GK3081@adacore.com> <001201cabf17$43e1b960$cba52c20$%muller@ics-cnrs.unistra.fr> <20100309051651.GM3081@adacore.com> <83mxyh2yes.fsf@gnu.org> <20100309175556.GB28410@adacore.com>
- Reply-to: tromey at redhat dot com
>>>>> "Joel" == Joel Brobecker <brobecker@adacore.com> writes:
>> If it helps someone, here's the Emacs recipe for converting all tabs
>> into the equivalent number of spaces:
Joel> Wasn't there a way to simply get emacs to reformat automatically?
Joel> I kind of remember something like ctrl-tab, or something like that
Joel> would reformat the current line. So if you select a region, and then
Joel> apply ctrl-tab, the whole region would be reformatted...
You can use indent-region to indent the current region.
This is bound to M-C-\ by default.
TAB will reindent the current line.
Tom