diff options
author | Tom de Vries <tdevries@suse.de> | 2023-06-03 22:43:57 +0200 |
---|---|---|
committer | Tom de Vries <tdevries@suse.de> | 2023-06-03 22:43:57 +0200 |
commit | 26236df340ce4f2c447604cc89e65f85d9a80329 (patch) | |
tree | 371981e1cad3ff9853ae0f17dbc878686b143b49 /gdb/guile/scm-value.c | |
parent | 2829d6da3803881a53b38ebddee4bf42be80432b (diff) | |
download | binutils-26236df340ce4f2c447604cc89e65f85d9a80329.zip binutils-26236df340ce4f2c447604cc89e65f85d9a80329.tar.gz binutils-26236df340ce4f2c447604cc89e65f85d9a80329.tar.bz2 |
[gdb/guile] Fix doc string for value-optimized-out?
In gdb/guile/scm-value.c, I noticed in the value_functions array initializer:
...
{ "value-optimized-out?", 1, 0, 0,
as_a_scm_t_subr (gdbscm_value_optimized_out_p),
"\
Return #t if the value has been optimizd out." },
...
There's a typo in the doc string.
Fix this by using "optimized".
Reviewed-By: Tom Tromey <tom@tromey.com>
Diffstat (limited to 'gdb/guile/scm-value.c')
-rw-r--r-- | gdb/guile/scm-value.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/guile/scm-value.c b/gdb/guile/scm-value.c index 32a9539..6f325db 100644 --- a/gdb/guile/scm-value.c +++ b/gdb/guile/scm-value.c @@ -1358,7 +1358,7 @@ Typically this is used to convert numbers and strings to\n\ { "value-optimized-out?", 1, 0, 0, as_a_scm_t_subr (gdbscm_value_optimized_out_p), "\ -Return #t if the value has been optimizd out." }, +Return #t if the value has been optimized out." }, { "value-address", 1, 0, 0, as_a_scm_t_subr (gdbscm_value_address), "\ |