2006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
authorAndrew Stubbs <andrew.stubbs@st.com>
Tue, 21 Feb 2006 18:22:27 +0000 (18:22 +0000)
committerAndrew Stubbs <andrew.stubbs@st.com>
Tue, 21 Feb 2006 18:22:27 +0000 (18:22 +0000)
commit1986bccdb576b7758273dfa5ec8274c6be55f268
tree588b071c964fe48831999229b1b9a279cd59c581
parenta6b0a3f3145cd0f1d7d5314e9698c542e4e7b888
2006-02-21  Andrew Stubbs  <andrew.stubbs@st.com>

* symfile.c (generic_load): Use buildargv() and tilde_expand()
to parse file names with quoting, spaces and tildes properly.
(load_command): Quote all special characters before calling
target_load() such that buildargv() doesn't break file names.
(_initialize_symfile): Mention the load offset in the help for
the load command.
* remote-sim.c: Include readline.h.
(gdbsim_load): Use buildargv and tilde_expand() to parse file
names with quoting, spaces and tildes properly.
* target.h (target_load): Comment the parameters better.
* Makefile.in (remote_sim.o): Add readline.h dependency.

testsuite/
* gdb.base/help.exp (help load): Update expected results.
gdb/Makefile.in
gdb/remote-sim.c
gdb/symfile.c
gdb/target.h
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/help.exp