aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
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,