diff options
author | Joseph Myers <joseph@codesourcery.com> | 2009-04-21 10:13:05 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2009-04-21 10:13:05 +0000 |
commit | 29b0e8a24aad93899d3d81d9e43493adfa83c930 (patch) | |
tree | 320900356a949dd9b985d39cb6be0c3c0eaab724 /gdb/source.c | |
parent | ccabeb57ba166e3c9a5ec72fec715f05e1a93e2a (diff) | |
download | gdb-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.c')
-rw-r--r-- | gdb/source.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/source.c b/gdb/source.c index 43df92f..50f3510 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; |