guile: Type-check the argument to 'history-append!'.
authorLudovic Courtès <ludo@gnu.org>
Thu, 5 Jun 2014 22:02:33 +0000 (00:02 +0200)
committerLudovic Courtès <ludo@gnu.org>
Thu, 5 Jun 2014 22:05:18 +0000 (00:05 +0200)
commitfb9347707fa2ca1cd968d56bc7ae29596c6aff81
treeffd5897a1d15ef4350f1d9b5936d36d84e72d77e
parent6ef284bd18c31645eb3ec4e7691a0f07100d6b4e
guile: Type-check the argument to 'history-append!'.

gdb/
2014-06-05  Ludovic Courtès  <ludo@gnu.org>

* guile/scm-value.c (gdbscm_history_append_x): Use
'vlscm_get_value_smob_arg_unsafe' instead of
'vlscm_scm_to_value'.

gdb/testsuite/
2014-06-05  Ludovic Courtès  <ludo@gnu.org>

* gdb.guile/scm-value.exp (test_value_in_inferior): Add test
"history-append! type error".
gdb/ChangeLog
gdb/guile/scm-value.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.guile/scm-value.exp