From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8594 invoked by alias); 12 Apr 2013 10:01:22 -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 8584 invoked by uid 89); 12 Apr 2013 10:01:22 -0000 X-Spam-SWARE-Status: No, score=-4.2 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_NO,SPF_SOFTFAIL,TW_DB,TW_XD autolearn=no version=3.3.1 Received: from mtaout22.012.net.il (HELO mtaout22.012.net.il) (80.179.55.172) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Fri, 12 Apr 2013 10:01:21 +0000 Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0ML400100ZPP7300@a-mtaout22.012.net.il> for gdb-patches@sourceware.org; Fri, 12 Apr 2013 13:01:17 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0ML4001KSZU47010@a-mtaout22.012.net.il>; Fri, 12 Apr 2013 13:01:17 +0300 (IDT) Date: Fri, 12 Apr 2013 14:43:00 -0000 From: Eli Zaretskii Subject: Re: [PATCH] Display configuration details in --help In-reply-to: <83eheg9lbr.fsf@gnu.org> To: tromey@redhat.com, palves@redhat.com, dje@google.com, brobecker@adacore.com Cc: gdb-patches@sourceware.org Reply-to: Eli Zaretskii Message-id: <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> X-SW-Source: 2013-04/txt/msg00375.txt.bz2 > 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.