This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] disassemble support start,+length format
- From: Tom Tromey <tromey at redhat dot com>
- To: crquan at gmail dot com
- Cc: gdb-patches at sourceware dot org, Hui Zhu <teawater at gmail dot com>, Joel Brobecker <brobecker at adacore dot com>, Eli Zaretskii <eliz at gnu dot org>
- Date: Tue, 13 Apr 2010 17:28:45 -0600
- Subject: Re: [PATCH] disassemble support start,+length format
- References: <1270933267-14720-1-git-send-email-crquan@gmail.com>
- Reply-to: tromey at redhat dot com
>>>>> ">" == Cheng Renquan <crquan@gmail.com> writes:
>> {
>> /* Two arguments. */
>> + int incl_flag = 0;
>> low = pc;
>> + if (arg[0] == '+')
>> + {
This still looks wrong. The brace should be 2 spaces in from the 'if'.
Also this doesn't skip whitespace before the '+'.
Tom