Bug 21925

Summary: [onlinedocs] Error syntax: show set startup-with-shell
Product: gdb Reporter: Nixawk <hap.ddup>
Component: gdbAssignee: Not yet assigned to anyone <unassigned>
Status: RESOLVED FIXED    
Severity: normal CC: sergiodj
Priority: P2    
Version: 8.0   
Target Milestone: ---   
Host: Target:
Build: Last reconfirmed:

Description Nixawk 2017-08-08 12:59:16 UTC
Please fix the following command syntax:

Error:

    (gdb) show set startup-with-shell
    Undefined show command: "set startup-with-shell".  Try "help show".

Success:

    (gdb) show startup-with-shell 
    Use of shell to start subprocesses is on.

--------

Error Location:

1. https://sourceware.org/gdb/current/onlinedocs/gdb/Starting.html#Starting
2. http://sourceware.org/gdb/current/onlinedocs/gdb.pdf.gz
Comment 1 Sourceware Commits 2017-08-12 16:49:30 UTC
The master branch has been updated by Sergio Durigan Junior <sergiodj@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=ca145713f354ebd5e45ddf393ead46782d1f8b1e

commit ca145713f354ebd5e45ddf393ead46782d1f8b1e
Author: Sergio Durigan Junior <sergiodj@redhat.com>
Date:   Sat Aug 12 12:46:03 2017 -0400

    Fix typo on documentation ("show set startup-with-shell")
    
    The documentation was erroneously saying that there is a command named
    "show set startup-with-shell", while the correct version is "show
    startup-with-shell".  This commit fixes obvious mistake.
    
    gdb/doc/ChangeLog:
    2017-08-12  Sergio Durigan Junior  <sergiodj@redhat.com>
    
    	PR gdb/21925
    	* gdb.texinfo (Starting) <startup-with-shell>: Fix typo ("show
    	set...").
Comment 2 Sergio Durigan Junior 2017-08-12 16:50:15 UTC
Fixed.