diff options
author | Christopher Faylor <me+cygwin@cgf.cx> | 2000-11-17 03:59:40 +0000 |
---|---|---|
committer | Christopher Faylor <me+cygwin@cgf.cx> | 2000-11-17 03:59:40 +0000 |
commit | b90a5f516abe227b7efe478de3f92193fe2d8c2c (patch) | |
tree | c23e6a5e2000d281a583bc6417eaad2dcfe41fde /gdb | |
parent | e35ce267f5838c87c6fdfaec396c2f2600c478c0 (diff) | |
download | gdb-b90a5f516abe227b7efe478de3f92193fe2d8c2c.zip gdb-b90a5f516abe227b7efe478de3f92193fe2d8c2c.tar.gz gdb-b90a5f516abe227b7efe478de3f92193fe2d8c2c.tar.bz2 |
* gdb.texinfo: Document new 'set step-mode' command.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/doc/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/doc/gdb.texinfo | 17 |
2 files changed, 21 insertions, 0 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index 63ab0a7..65b1249 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,3 +1,7 @@ +2000-11-10 Christopher Faylor <cgf@cygnus.com> + + * gdb.texinfo: Document new 'set step-mode' command. + 2000-10-16 Eli Zaretskii <eliz@is.elta.co.il> * gdb.texinfo (Contributors, MIPS Embedded): Minor spelling diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index f80462f..4a09118 100644 --- a/gdb/doc/gdb.texinfo +++ b/gdb/doc/gdb.texinfo @@ -3323,6 +3323,23 @@ The @code{next} command only stops at the first instruction of a source line. This prevents multiple stops that could otherwise occur in switch statements, for loops, etc. +@kindex set step-mode +@item set step-mode +@cindex functions without line info, and stepping +@cindex stepping into functions with no line info +@itemx set step-mode on +The @code{set step-mode on} command causes the @code{step} command to to +stop at the first instruction of a function which contains no debug line +information rather than stepping over it. + +This is useful in cases where you may be interested in inspecting the assembly +language of a function which has no symbolic info and do not want @value{GDBN} +to automatically skip over this function. + +@item set step-mode off +Causes the step command to step over any functions which contains no +debug information. This is the default. + @kindex finish @item finish Continue running until just after function in the selected stack frame |