This is the mail archive of the archer@sourceware.org mailing list for the Archer 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: [PATCH] [python] Add gdb.value_history_count()


Thanks for your suggestions.

On Tue, Jan 5, 2010 at 8:50 AM, Phil Muldoon <pmuldoon@redhat.com> wrote:
> On 12/30/2009 05:16 PM, Matt McCormick wrote:
>
> Looks good. ?As this is Tom's branch he will have to note whether it
> can be checked in or not. ?Some small nits:
>
>
>
>> gdb/doc/ChangeLog
>>
>> 2009-30-12 ?Matt McCormick ?<matt@mmmccormick.com>
>>
>> ? ? ? ? * doc/gdb.texinfo (Basic Python): Document gdb.value_history_count.
>
>
> As there is a ChangeLog in the doc/ directory, the paths should be
> relative to the ChangeLog. ?So in this case, the doc/ prefix is not
> necessary.
>

Logical.

>
>> gdb/testsuite/ChangeLog
>>
>> 2009-30-12 ?Matt McCormick ?<matt@mmmccormick.com>
>>
>> ? ? ? ? * testsuite/gdb.python/py-value.exp (test_value_history_count): Test
>> ? ? ? gdb.value_history_count.
>
>
> Same here with testsuite/.
>
>> +@findex gdb.value_history_count
>> +@defun value_history_count
>> +Return an int corresponding to the number of entries in the value history
>> +(@pxref{Value History}).
>> +@end defun
>
>
> Missing period at the end of that sentence.
>
>>
>> +/* This returns the number of entries in the value history. ?*/
>> +
>> +int get_value_history_count();
>> +
>
> Need a space before the '('.
>
> And git diff --check reports a rogue whitespace ;)
>
> git diff --check
> gdb/testsuite/gdb.python/py-value.exp:277: trailing whitespace.
>

Git + extra whitespace = bull + red flag.

> Cheers!
>
> Phil
>

Thanks, Phil.  Will post an update.


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