This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: gdb v7.0 - user defined command's document section - space prefixed end
- From: Tom Tromey <tromey at redhat dot com>
- To: Joel Brobecker <brobecker at adacore dot com>
- Cc: James Pandavan <james dot pandavan at googlemail dot com>, gdb at sourceware dot org
- Date: Wed, 04 Nov 2009 13:46:44 -0700
- Subject: Re: gdb v7.0 - user defined command's document section - space prefixed end
- References: <4AE7D19A.70600@googlemail.com> <20091103143305.GN4573@adacore.com> <4AF07D60.2020305@googlemail.com> <20091103194313.GS4573@adacore.com>
- Reply-to: tromey at redhat dot com
>>>>> "Joel" == Joel Brobecker <brobecker@adacore.com> writes:
>> I noticed my scripts didn't work under v7.0 only when I saw this bug in
>> launchpad. I guess I am not the only one who has indented "ends" this way
>> :)
>> https://bugs.launchpad.net/ubuntu/+source/gdb/+bug/461594
Joel> If you could maybe help us a little bit, and track down the author
Joel> of the patch that introduced the change of behavior, and then ask
Joel> him whether the change was intended?
I think it may be because we allow multi-line python commands, and
python is sensitive to indentation.
Tom