aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-04-28 22:47:21 +0000
committerAndrew Cagney <cagney@redhat.com>2004-04-28 22:47:21 +0000
commitd762c46af8cbc52c04519d3f397de1b7ad450050 (patch)
tree2764f0720df038336ae1a2ca46c3a8907b31681d /gdb
parent7e103f5bdf4328f9eb9611f618c684057b7f6975 (diff)
downloadgdb-d762c46af8cbc52c04519d3f397de1b7ad450050.zip
gdb-d762c46af8cbc52c04519d3f397de1b7ad450050.tar.gz
gdb-d762c46af8cbc52c04519d3f397de1b7ad450050.tar.bz2
2004-04-28 Andrew Cagney <cagney@redhat.com>
* stack.c (print_stack_frame): Fix description.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog2
-rw-r--r--gdb/stack.c10
2 files changed, 7 insertions, 5 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index b872fea..077980a 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,7 @@
2004-04-28 Andrew Cagney <cagney@redhat.com>
+ * stack.c (print_stack_frame): Fix description.
+
* NEWS: Mention gdb/gdbserver/configure execute permission
changed. PR server/519.
diff --git a/gdb/stack.c b/gdb/stack.c
index 213de17..ce1b7b1 100644
--- a/gdb/stack.c
+++ b/gdb/stack.c
@@ -136,11 +136,11 @@ print_stack_frame_stub (void *args)
return 0;
}
-/* Show or print a stack frame briefly. FRAME_INFI should be the
- frame info. This prints the level, the function executing, the
- arguments, and the file name and line number. If the pc is not at
- the beginning of the source line, the actual pc is printed at the
- beginning. */
+/* Show or print a stack frame FI briefly. The output is format
+ according to PRINT_LEVEL and PRINT_WHAT printing the frame's
+ relative level, function name, argument list, and file name and
+ line number. If the frame's PC is not at the beginning of the
+ source line, the actual PC is printed at the beginning. */
void
print_stack_frame (struct frame_info *fi, int print_level,