Feedback about users/palves/cli-options
Pedro Alves
palves@redhat.com
Fri May 17 14:46:00 GMT 2019
Err, my replies below made no sense. Let me try again.
On 5/17/19 1:50 PM, Pedro Alves wrote:
>
>> * (gdb) thread apply 1 3 -ascenTAB will complete
>> Â but the resulting command fails:
>> Â Â Â (gdb) thread apply 1 3 -ascending p $pc
>> Â Â Â Invalid thread ID: -ascending p $pc
>> Â (gdb)
> Haven't looked at this one yet.
>
I meant to write here what I had written below. I.e.:
I've fixed this one. The issue is that "-ascending" can only be used
with "thread apply all". The fix is to remove "-ascending" from
"thread apply TID"'s completer's supported options.
>> * help thread apply: the second line for the help for -ascending
>> Â should probably better be indented to the right, like the first line.
>>
>> * help thread apply says:
>> Â Â Â -q
>> Â Â Â Â Â Â Disables printing the frame location information.
>> Â It should be
>> Â Â Â Â Â Â Disables printing the thread information.
>>
> I've fixed this one. The issue is that "-ascending" can only be used
> with "thread apply all". The fix is to remove "-ascending" from
> "thread apply TID"'s completer's supported options.
And here I meant to say that this is fixed. The help generation
routine wasn't considering one case.
Thanks,
Pedro Alves
More information about the Gdb-patches
mailing list