OSDN Git Service

* source.c: #include gdb_assert.h.
authorbrobecke <brobecke>
Tue, 8 Aug 2006 22:06:06 +0000 (22:06 +0000)
committerbrobecke <brobecke>
Tue, 8 Aug 2006 22:06:06 +0000 (22:06 +0000)
commite46dff3e53cbf9e7c5e84d430dcf9ad30ae59eda
tree0b881c5ec05fdc8053cef24c8c554c6c49836858
parentfa01bb24804988e21f1bd326a5c77f9e39ccc8e4
    * 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.
gdb/ChangeLog
gdb/Makefile.in
gdb/source.c