From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19744 invoked by alias); 15 Apr 2013 18:12:48 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 19733 invoked by uid 89); 15 Apr 2013 18:12:48 -0000 X-Spam-SWARE-Status: No, score=-5.9 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE,RP_MATCHES_RCVD,TW_DB,TW_XD autolearn=ham version=3.3.1 Received: from mail-ve0-f172.google.com (HELO mail-ve0-f172.google.com) (209.85.128.172) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Mon, 15 Apr 2013 18:12:47 +0000 Received: by mail-ve0-f172.google.com with SMTP id db10so1578678veb.31 for ; Mon, 15 Apr 2013 11:12:45 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type:x-gm-message-state; bh=io5zueIWsfrbXcVi4S7ZYWKnsFYHIjYrelsktHX0sw0=; b=nlaoVykZ1tX+0hlzMD7VSJQAzvUihyBTrEEyktAGD4ibnvLHUs59H7yIXyQ6UpoxLF WiukE2f4qnPhhm6BFVbaQBabYtIzXm4NOAatLabIQ/0mSorfQrjziD2f2Pfzwo2C7xIO 2nTDHoRNyCL3J3KUPu25RCsmrXMJTDR0+HKjIqQOfvyuyxQwIEcFvVJEB7vgDahp+39h j9VMcpixV3OkF2vRlqJUmA3Ge+K0uyZAHhC/YKWNTMozM+GnIvIFRL6psDG5rd9F7xl8 9gpVUcaxzzMb8lSHanvaJnjfN2rpW/Vr4hiOmaGU14S4K190H792XfP2LaF+FQIwNBjb HR7Q== MIME-Version: 1.0 X-Received: by 10.52.16.48 with SMTP id c16mr4925728vdd.41.1366049565561; Mon, 15 Apr 2013 11:12:45 -0700 (PDT) Received: by 10.220.123.70 with HTTP; Mon, 15 Apr 2013 11:12:45 -0700 (PDT) In-Reply-To: <83bo9k9ifl.fsf@gnu.org> References: <83r4jaynqq.fsf@gnu.org> <514B4AC3.1090103@redhat.com> <83zjxwy4ux.fsf@gnu.org> <20130321191051.GF5447@adacore.com> <83r4j8y1kh.fsf@gnu.org> <20130321203919.GG5447@adacore.com> <87r4j8zd0k.fsf@fleche.redhat.com> <83ehf85u7x.fsf@gnu.org> <83wqsbadfe.fsf@gnu.org> <20836.17485.525118.795474@ruffy2.mtv.corp.google.com> <83txnfa9m7.fsf@gnu.org> <51645982.8050904@redhat.com> <87k3oamlqy.fsf@fleche.redhat.com> <51658BC9.6080001@redhat.com> <878v4qmc14.fsf@fleche.redhat.com> <83eheg9lbr.fsf@gnu.org> <83bo9k9ifl.fsf@gnu.org> Date: Tue, 16 Apr 2013 01:34:00 -0000 Message-ID: Subject: Re: [PATCH] Display configuration details in --help From: Doug Evans To: Eli Zaretskii Cc: Tom Tromey , Pedro Alves , Joel Brobecker , gdb-patches Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQn90ItaqJwXiO89zaENm0i+P9Xp+QonTOVD2sbIIGi9T3u5XwSbvOI1Oub033ukAW/Nq4T55Xbq4W0moFfnGCu614czI8PXPzJXudjU8VrWQYzeFxYPrxsYLMwsu1m86VuzDyXhqSaFPGywhcBVg4D1jXrP7tATNpjNLn/LakpYj+fSSXJFYbdA33VoIbQpYt4cUB9XuaBZELcgzBHPsN2PhkvI3g== X-SW-Source: 2013-04/txt/msg00439.txt.bz2 On Fri, Apr 12, 2013 at 3:01 AM, Eli Zaretskii wrote: >> Date: Fri, 12 Apr 2013 11:58:48 +0300 >> From: Eli Zaretskii >> Cc: palves@redhat.com, dje@google.com, brobecker@adacore.com, gdb-patches@sourceware.org >> >> I will take a shot on regrouping the --help text later. > > Howe about the following (if accepted, I will write a patch to > implement this): > > This is the GNU debugger. Usage: > > gdb [options] [executable-file [core-file or process-id]] > gdb [options] --args executable-file [inferior-arguments ...] > > Selection of debuggee and its files: > > --args Arguments after executable-file are passed to inferior. > --core=COREFILE Analyze the core dump COREFILE. > --exec=EXECFILE Use EXECFILE as the executable. > --pid=PID Attach to running process PID. > --directory=DIR Search for source files in DIR. > --se=FILE Use FILE as symbol file and executable file. > --symbols=SYMFILE Read symbols from SYMFILE. > --readnow Fully read symbol files on first access. > --write Set writing into executable and core files. > > Initial commands and command files: > > --command=FILE, -x Execute GDB commands from FILE. > --init-command=FILE, -ix > Like -x but execute commands before loading inferior. > --eval-command=COMMAND, -ex > Execute a single GDB command. > May be used multiple times and in conjunction > with --command. > --init-eval-command=COMMAND, -iex > Like -ex but before loading inferior. > --nh Do not read ~/.gdbinit. > --nx Do not read any .gdbinit files in any directory. > > Output and user interface control: > > --epoch Output information used by epoch emacs-GDB interface. > --fullname Output information used by emacs-GDB interface. > --interpreter=INTERP > Select a specific interpreter / user interface > --tty=TTY Use TTY for input/output by the program being debugged. > -w Use the GUI interface. > --nw Do not use the GUI interface. > --tui Use the text-mode user interface > --dbx DBX compatibility mode. > --xdb XDB compatibility mode. > --quiet Do not print version number on startup. > > Miscellaneous options: > > -b BAUDRATE Set serial port baud rate used for remote debugging. > --batch Exit after processing options. > --batch-silent Like --batch, but suppress all gdb stdout output. > --return-child-result > GDB exit code will be the child's exit code. > --cd=DIR Change current directory to DIR. > -l TIMEOUT Set timeout in seconds for remote debugging. > > --configuration Print details about GDB configuration and then exit. > --help Print this message and then exit. > --version Print version information and then exit. Works for me, modulo do we care about alpha-sorting within each section? [If not, please add a comment saying that the lists are intentionally sorted (if at all) via means other than alphabetical.] Thanks!