Fix the argument list of gsubr stack frames.
authorLudovic Courtès <ludo@gnu.org>
Fri, 2 Oct 2009 08:26:30 +0000 (10:26 +0200)
committerLudovic Courtès <ludo@gnu.org>
Fri, 2 Oct 2009 08:28:51 +0000 (10:28 +0200)
commit5b2f2c75527c5899648eec46c7eca0f57420ff3b
tree0244084cae3f4d0c88fb99f5bf971ee9d6036398
parent187a43907f75265b504116aa1e96b40d57f4aa88
Fix the argument list of gsubr stack frames.

This fixes a bug introduced in e20d7001c3f7150400169fecb0bf0eefdf122fe2
and reported by Neil.

* libguile/eval.i.c (CEVAL)[DEVAL]: Don't duplicate ARG1 in
  `debug.info->a.args' for gsubr stack frames.
  (scm_apply): Likewise.

* test-suite/tests/eval.test ("stacks")["arguments of a gsubr stack
  frame"]: New test.
libguile/eval.i.c
test-suite/tests/eval.test