From 29b0e8a24aad93899d3d81d9e43493adfa83c930 Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Tue, 21 Apr 2009 10:13:05 +0000 Subject: 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. --- gdb/source.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gdb/source.h') 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 -- cgit v1.1