mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 17:18:55 +00:00
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.
This commit is contained in:
@@ -611,6 +611,8 @@ extern void add_path (char *, char **, int);
|
||||
|
||||
extern void directory_command (char *, int);
|
||||
|
||||
extern void directory_switch (char *, int);
|
||||
|
||||
extern char *source_path;
|
||||
|
||||
extern void init_source_path (void);
|
||||
|
||||
Reference in New Issue
Block a user