aboutsummaryrefslogtreecommitdiff
path: root/gdb/source.h
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2009-04-21 10:13:05 +0000
committerJoseph Myers <joseph@codesourcery.com>2009-04-21 10:13:05 +0000
commit29b0e8a24aad93899d3d81d9e43493adfa83c930 (patch)
tree320900356a949dd9b985d39cb6be0c3c0eaab724 /gdb/source.h
parentccabeb57ba166e3c9a5ec72fec715f05e1a93e2a (diff)
downloadgdb-29b0e8a24aad93899d3d81d9e43493adfa83c930.zip
gdb-29b0e8a24aad93899d3d81d9e43493adfa83c930.tar.gz
gdb-29b0e8a24aad93899d3d81d9e43493adfa83c930.tar.bz2
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.h')
-rw-r--r--gdb/source.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/source.h b/gdb/source.h
index 47968f0..72271fe 100644
--- a/gdb/source.h
+++ b/gdb/source.h
@@ -66,4 +66,7 @@ extern struct symtab_and_line set_current_source_symtab_and_line (const struct s
/* Reset any information stored about a default file and line to print. */
extern void clear_current_source_symtab_and_line (void);
+
+/* Add a source path substitution rule. */
+extern void add_substitute_path_rule (char *, char *);
#endif