[PATCH] guile: Type-check the argument to 'history-append!'
Doug Evans
xdje42@gmail.com
Thu Jun 5 16:35:00 GMT 2014
On Thu, Jun 5, 2014 at 5:50 AM, Ludovic Courtès <ludo@gnu.org> wrote:
> The patch below add a missing type check in ‘history-append!’ (I’m guilty.)
>
> OK to push?
>
> Ludo’.
>
> 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".
LGTM.
More information about the Gdb
mailing list