2006-04-07 Andrew Stubbs <andrew.stubbs@st.com>
authorAndrew Stubbs <andrew.stubbs@st.com>
Fri, 7 Apr 2006 13:31:15 +0000 (13:31 +0000)
committerAndrew Stubbs <andrew.stubbs@st.com>
Fri, 7 Apr 2006 13:31:15 +0000 (13:31 +0000)
commite28493f22671b9acb23366572cfba9dd5ed13a8d
tree5cf23b92d541855717b39dc9e1c8819371e31f13
parentf2e349f91a7063d6a09630bce740696a7bd38fea
2006-04-07  Andrew Stubbs  <andrew.stubbs@st.com>

gdb/
* cli/cli-script.c (struct user_args): Add command field.
(arg_cleanup): Free command string.
(setup_user_args): Copy the command line before relying on it.

gdb/testsuite/
* gdb.base/commands.exp (recursive_source_test): New test.
gdb/ChangeLog
gdb/cli/cli-script.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/commands.exp