X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2Fgdb.1;h=ec6c02a20503d49f82589e82a87582aff5cb4bf0;hb=95830fd17d6ae253d8f6c2595188cadd59058799;hp=2430b18c6cad1aa36765ad16f05aa288e8dcb453;hpb=27e232885db363fb545fd2f450e72d929e59b8f6;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/gdb.1 b/gdb/gdb.1 index 2430b18c6c..ec6c02a205 100644 --- a/gdb/gdb.1 +++ b/gdb/gdb.1 @@ -1,7 +1,7 @@ -.\" Copyright (c) 1991 Free Software Foundation +.\" Copyright (C) 1991-2013 Free Software Foundation, Inc. .\" See section COPYING for conditions for redistribution .\" $Id$ -.TH gdb 1 "4nov1991" "GNU Tools" "GNU Tools" +.TH gdb 1 "22may2002" "GNU Tools" "GNU Tools" .SH NAME gdb \- The GNU Debugger .SH SYNOPSIS @@ -9,6 +9,7 @@ gdb \- The GNU Debugger .TP .B gdb .RB "[\|" \-help "\|]" +.RB "[\|" \-nh "\|]" .RB "[\|" \-nx "\|]" .RB "[\|" \-q "\|]" .RB "[\|" \-batch "\|]" @@ -33,7 +34,10 @@ gdb \- The GNU Debugger .I core\c \&\|] .RB "[\|" "\-x "\c -.I cmds\c +.I file\c +\&\|] +.RB "[\|" "\-ex "\c +.I cmd\c \&\|] .RB "[\|" "\-d "\c .I dir\c @@ -150,6 +154,12 @@ Execute next program line (after stopping); step \c \& any function calls in the line. .TP +.B edit \fR[\|\fIfile\fB:\fR\|]\fIfunction +look at the program line where it is presently stopped. +.TP +.B list \fR[\|\fIfile\fB:\fR\|]\fIfunction +type the text of the program in the vicinity of where it is presently stopped. +.TP .B step Execute next program line (after stopping); step \c .I into\c @@ -256,6 +266,13 @@ Execute GDB commands from file \c .I file\c \&. +.TP +.BI "\-ex " "command"\c +\& +Execute given GDB \c +.I command\c +\&. + .TP .BI "\-directory=" "directory"\c .TP @@ -266,6 +283,10 @@ Add \c \& to the path to search for source files. .PP +.TP +.B \-nh +Do not execute commands from ~/.gdbinit. + .TP .B \-nx .TP @@ -273,8 +294,6 @@ Add \c Do not execute commands from any `\|\c .B .gdbinit\c \&\|' initialization files. -Normally, the commands in these files are executed after all the -command options and arguments have been processed. .TP @@ -349,15 +368,24 @@ Run using \c .PP .SH "SEE ALSO" -.RB "`\|" gdb "\|'" -entry in -.B info\c -\&; +The full documentation for +.B gdb +is maintained as a Texinfo manual. If the +.B info +and +.B gdb +programs and GDB's Texinfo documentation are properly installed at +your site, the command +.IP +.B info gdb +.PP +should give you access to the complete manual. + .I Using GDB: A Guide to the GNU Source-Level Debugger\c , Richard M. Stallman and Roland H. Pesch, July 1991. .SH COPYING -Copyright (c) 1991 Free Software Foundation, Inc. +Copyright (c) 1991, 2010 Free Software Foundation, Inc. .PP Permission is granted to make and distribute verbatim copies of this manual provided the copyright notice and this permission notice