mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-05 21:50:21 +08: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:
@ -667,7 +667,7 @@ extern int gdbtk_test (char *);
|
||||
}
|
||||
|
||||
for (i = 0; i < ndir; i++)
|
||||
catch_command_errors (directory_command, dirarg[i], 0, RETURN_MASK_ALL);
|
||||
catch_command_errors (directory_switch, dirarg[i], 0, RETURN_MASK_ALL);
|
||||
xfree (dirarg);
|
||||
|
||||
if (execarg != NULL
|
||||
|
Reference in New Issue
Block a user