diff options
author | Fernando Nasser <fnasser@redhat.com> | 2002-09-20 15:07:15 +0000 |
---|---|---|
committer | Fernando Nasser <fnasser@redhat.com> | 2002-09-20 15:07:15 +0000 |
commit | 878854263f6ac589407dc73ea1361d2075b00677 (patch) | |
tree | 4536804a3b3bddeb2a5323a6998668d4a1e36da8 /gdb/gdb.1 | |
parent | 0378c3323148fbb291d1035d9959de9d9c3a0f7b (diff) | |
download | gdb-878854263f6ac589407dc73ea1361d2075b00677.zip gdb-878854263f6ac589407dc73ea1361d2075b00677.tar.gz gdb-878854263f6ac589407dc73ea1361d2075b00677.tar.bz2 |
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.1 | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -1,7 +1,7 @@ .\" Copyright 1991, 1999 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 @@ -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 |