aboutsummaryrefslogtreecommitdiff
path: root/gdb/doc
diff options
context:
space:
mode:
authorGuinevere Larsen <blarsen@redhat.com>2023-09-19 14:06:49 +0200
committerGuinevere Larsen <blarsen@redhat.com>2023-09-19 14:06:49 +0200
commit12f567bcb640285b0afab74e2ac8d471a175722d (patch)
tree1a9dd294547fd00c16f8d307a9dd141f2154281b /gdb/doc
parent5d69d9edc4fa357ab20a3eba6dd072f176505919 (diff)
downloadfsf-binutils-gdb-12f567bcb640285b0afab74e2ac8d471a175722d.zip
fsf-binutils-gdb-12f567bcb640285b0afab74e2ac8d471a175722d.tar.gz
fsf-binutils-gdb-12f567bcb640285b0afab74e2ac8d471a175722d.tar.bz2
gdb/cli: fixes to newly added "list ." command
After the series that added this command was pushed, Pedro mentioned that the news description could easily be misinterpreted, as well as some code and test improvements that should be made. While fixing the test, I realized that code repetition wasn't happening as it should, so I took care of that too. Approved-By: Andrew Burgess <aburgess@redhat.com> Reviewed-By: Eli Zaretskii <eliz@gnu.org>
Diffstat (limited to 'gdb/doc')
-rw-r--r--gdb/doc/gdb.texinfo6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index aa3c677..5db30bf 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -9212,9 +9212,9 @@ Same as using with no arguments.
Print lines just before the lines last printed.
@item list .
-Print the lines surrounding the location that is where the inferior
-is stopped. If the inferior is not running, print around the main
-function instead.
+Print the lines surrounding the point of execution within the
+currently selected frame. If the inferior is not running, print lines
+around the start of the main function instead.
@end table
@cindex @code{list}, how many lines to display