[gdb/guile] Fix doc string for value-optimized-out?
commit26236df340ce4f2c447604cc89e65f85d9a80329
authorTom de Vries <tdevries@suse.de>
Sat, 3 Jun 2023 20:43:57 +0000 (3 22:43 +0200)
committerTom de Vries <tdevries@suse.de>
Sat, 3 Jun 2023 20:43:57 +0000 (3 22:43 +0200)
tree371981e1cad3ff9853ae0f17dbc878686b143b49
parent2829d6da3803881a53b38ebddee4bf42be80432b
[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>
gdb/guile/scm-value.c