PR guile/17203
authorDoug Evans <xdje42@gmail.com>
Tue, 29 Jul 2014 02:20:30 +0000 (19:20 -0700)
committerDoug Evans <xdje42@gmail.com>
Tue, 29 Jul 2014 02:20:30 +0000 (19:20 -0700)
commit7ebdbe9292e4b696740b021938369adb1484da27
tree8b33e7c48f91cd111ccbd50ac27f7168e123dda7
parent385f635ae0be0077dad606c12118bbe0f886f28f
PR guile/17203

* guile/scm-param.c (pascm_parameter_defined_p): New function.
(gdbscm_register_parameter_x): Call it.  Raise error for pre-existing
parameters.

testsuite/
* gdb.guile/scm-parameter.exp: Add tests for trying to create
previously existing parameter, and previously ambiguously spelled
parameter.
gdb/ChangeLog
gdb/guile/scm-param.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.guile/scm-parameter.exp