summaryrefslogtreecommitdiff
path: root/gdb/source.c
diff options
context:
space:
mode:
authorJoseph Myers <jsm@polyomino.org.uk>2009-04-21 10:13:03 +0000
committerJoseph Myers <jsm@polyomino.org.uk>2009-04-21 10:13:03 +0000
commit345c85ba5e4ef630e73b27a17cac2ec295b909c2 (patch)
tree06f6fe7a0ce72f1eb6cd522cc91572c5c29f4c27 /gdb/source.c
parent0350c1e96b17869365e8adda6372578f6b0e2d19 (diff)
downloadgdb-345c85ba5e4ef630e73b27a17cac2ec295b909c2.tar.gz
gdb:
* 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.
Diffstat (limited to 'gdb/source.c')
-rw-r--r--gdb/source.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/source.c b/gdb/source.c
index 43df92ff83b..50f3510f130 100644
--- a/gdb/source.c
+++ b/gdb/source.c
@@ -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;