[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>
This commit is contained in:
Tom de Vries 2023-06-03 22:43:57 +02:00
parent 2829d6da38
commit 26236df340

View File

@ -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),
"\