aboutsummaryrefslogtreecommitdiff
path: root/gdb/guile
diff options
context:
space:
mode:
authorDoug Evans <xdje42@gmail.com>2015-02-05 23:31:05 -0800
committerDoug Evans <xdje42@gmail.com>2015-02-05 23:31:05 -0800
commite9fbd0432f8ab3983b166ae0b4d3e2ab6fbc8cf3 (patch)
treeacde89a23f2e4d1ea40f68fe93f36731107c342c /gdb/guile
parent119d62ffb87b8e6fc24d1cfa040586ec94f5655a (diff)
downloadgdb-e9fbd0432f8ab3983b166ae0b4d3e2ab6fbc8cf3.zip
gdb-e9fbd0432f8ab3983b166ae0b4d3e2ab6fbc8cf3.tar.gz
gdb-e9fbd0432f8ab3983b166ae0b4d3e2ab6fbc8cf3.tar.bz2
guile/scm-frame.c: Fix spelling errors in a comment.
gdb/ChangeLog: * guile/scm-frame.c: Fix spelling errors in a comment.
Diffstat (limited to 'gdb/guile')
-rw-r--r--gdb/guile/scm-frame.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/gdb/guile/scm-frame.c b/gdb/guile/scm-frame.c
index 157d20c..a30c093 100644
--- a/gdb/guile/scm-frame.c
+++ b/gdb/guile/scm-frame.c
@@ -300,13 +300,14 @@ frscm_get_frame_arg_unsafe (SCM self, int arg_pos, const char *func_name)
Thus code working with frames has to handle both Scheme errors (e.g., the
object is not a frame) and GDB errors (e.g., the frame lookup failed).
- To help keep things clear we split gdbscm_scm_to_frame into two:
+ To help keep things clear we split what would be gdbscm_scm_to_frame
+ into two:
- gdbscm_get_frame_smob_arg_unsafe
+ frscm_get_frame_smob_arg_unsafe
- throws a Scheme error if object is not a frame,
or if the inferior is gone or is no longer current
- gdbscm_frame_smob_to_frame
+ frscm_frame_smob_to_frame
- may throw a gdb error if the conversion fails
- it's not clear when it will and won't throw a GDB error,
but for robustness' sake we assume that whenever we call out to GDB