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