* configure.ac (--with-relocated-sources): New.
	* configure, config.in: Regenerate.
	* source.c (add_substitute_path_rule): Remove static.
	* source.h (add_substitute_path_rule): Declare.
	* main.c: Include "source.h".
	(captured_main): Add substitution rule if RELOC_SRCDIR.

gdb/doc:
	* gdb.texinfo (Source Path): Document --with-relocated-sources.
This commit is contained in:
Joseph Myers 2009-04-21 10:13:05 +00:00
parent ccabeb57ba
commit 29b0e8a24a
9 changed files with 69 additions and 1 deletions

View file

@ -1746,7 +1746,7 @@ find_substitute_path_rule (const char *from)
/* Add a new substitute-path rule at the end of the current list of rules.
The new rule will replace FROM into TO. */
static void
void
add_substitute_path_rule (char *from, char *to)
{
struct substitute_path_rule *rule;