OSDN Git Service

2006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
authorams <ams>
Tue, 21 Feb 2006 19:46:47 +0000 (19:46 +0000)
committerams <ams>
Tue, 21 Feb 2006 19:46:47 +0000 (19:46 +0000)
commit101551193a16bf3607091aa853a51e0f01b8dca0
tree4f3c1e4edf653616f685ad280c8bf7abe58fb68d
parent9d140b3a304038740b8e55e7feb8c7787322b662
2006-02-21  Andrew Stubbs  <andrew.stubbs@st.com>

* defs.h (directory_switch): Add prototype.
* main.c (captured_main): Use directory_switch() instead of
directory_command() to add directories from the -d switch.
* source.c (directory_switch): New function.
(add_path): Use buildargv() to parse spaces in filenames properly.
Strip multiple trailing '/' rather than just one.
gdb/ChangeLog
gdb/defs.h
gdb/main.c
gdb/source.c