diff options
author | Joel Brobecker <brobecker@gnat.com> | 2006-08-08 22:06:06 +0000 |
---|---|---|
committer | Joel Brobecker <brobecker@gnat.com> | 2006-08-08 22:06:06 +0000 |
commit | 2f61ca93c255ebbe010e39cdcb8fce2b1ee8e8e2 (patch) | |
tree | fa1f878eed39400f7ebde65cb2f8a5b38a6cc9f4 /gdb/cli/cli-script.c | |
parent | f4b618d1636802c1a830e9887605deb055c6b74d (diff) | |
download | gdb-2f61ca93c255ebbe010e39cdcb8fce2b1ee8e8e2.zip gdb-2f61ca93c255ebbe010e39cdcb8fce2b1ee8e8e2.tar.gz gdb-2f61ca93c255ebbe010e39cdcb8fce2b1ee8e8e2.tar.bz2 |
* source.c: #include gdb_assert.h.
(substitute_path_rule): New struct.
(substitute_path_rules): New static global variable.
(substitute_path_rule_matches): New function.
(get_substitute_path_rule): New function.
(rewrite_source_path): New function.
(find_and_open_source): Add source path rewriting support.
(strip_trailing_directory_separator): New function.
(find_substitute_path_rule): New function.
(add_substitute_path_rule): New function.
(delete_substitute_path_rule): New function.
(show_substitute_path_command): New function.
(unset_substitute_path_command): New function.
(set_substitute_path_command): New function.
(_initialize_source): Add new substitute-path commands.
* Makefile.in (source.o): Add dependency on gdb_assert.h.
Diffstat (limited to 'gdb/cli/cli-script.c')
0 files changed, 0 insertions, 0 deletions