This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA] set/unset/show substitute-path commands (take 2)


> On Tue, Jul 25, 2006 at 09:28:29AM -0700, Joel Brobecker wrote:
> >         * 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.
> > 
> > Does it look better? Tested on x86-linux.
> 
> OK.  Let's go with this version.  It needs documentation, testcase, and
> probably NEWS; those can be next :-)
> 
> Thanks!  Feel free to commit.

Now checked in - same for the doco part. NEWS entry next...

-- 
Joel


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]