[PATCH] guile: Type-check the argument to 'history-append!'

Ludovic Courtès ludo@gnu.org
Thu Jun 5 22:06:00 GMT 2014


Doug Evans <xdje42@gmail.com> skribis:

> 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.

Thanks, pushed.

Ludo’.



More information about the Gdb mailing list