summaryrefslogtreecommitdiff
path: root/gdb/gdb.1
diff options
context:
space:
mode:
authorFernando Nasser <fnasser@redhat.com>2002-09-20 15:07:15 +0000
committerFernando Nasser <fnasser@redhat.com>2002-09-20 15:07:15 +0000
commit42130c05da1d72c73ee67ec44246e0f732e21a1a (patch)
tree7d54397bbdcfe09a39a4bbd24d6c94b0562df882 /gdb/gdb.1
parent9797dfc9975c2632a1a961b25635f17877564075 (diff)
downloadgdb-42130c05da1d72c73ee67ec44246e0f732e21a1a.tar.gz
From 2002-07-02 George Helffrich <george@gly.bris.ac.uk>
* cli/cli-cmds.c (list_command): New function. Implements the new cli edit command. (_init_cli_cmds): Add new command definition. * gdb.1: Document edit command. * doc/gdb.texinfo: Document edit command.
Diffstat (limited to 'gdb/gdb.1')
-rw-r--r--gdb/gdb.18
1 files changed, 7 insertions, 1 deletions
diff --git a/gdb/gdb.1 b/gdb/gdb.1
index 55272c689d5..dbe3178f7d1 100644
--- a/gdb/gdb.1
+++ b/gdb/gdb.1
@@ -1,7 +1,7 @@
.\" Copyright 1991, 1999 Free Software Foundation, Inc.
.\" See section COPYING for conditions for redistribution
.\" $Id: gdb.1,v 1.4 1999/01/05 00:50:50 jsm Exp $
-.TH gdb 1 "4nov1991" "GNU Tools" "GNU Tools"
+.TH gdb 1 "22may2002" "GNU Tools" "GNU Tools"
.SH NAME
gdb \- The GNU Debugger
.SH SYNOPSIS
@@ -150,6 +150,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