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] New substitute-path commands


Hi Eli,

> Thanks.  My comments are below.

Thanks for your review (and also the effort you made in providing a
description of what a substitution rule is, much appreciated). I have
updated the source as per your comments, as well as reworked the
documentation to include your ideas. I also took the time to include a
small explaination of how this new functionality differs slightly from
the "dir" command. It's not necessary since the explaination can be
deduced from the rest of the documentation, but might make it easier to
figure this out.

2006-07-07  Joel Brobecker  <brobecker@adacore.com

        * source.c (substitute_path_from): New static variable.
        (substitute_path_to): Likewise.
        (xrewrite_source_path): New function.
        (find_and_open_source): Add source path rewriting support.
        (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.

Documentation ChangeLog entry:

2006-07-07  Joel Brobecker  <brobecker@adacore.com

        * gdb.texinfo (Source Path): Add documentation for new
        substitute-path commands.

Tested on x86-linux. I forgot to mention that this patch will
also require a small adjustment in the "help unset" test of help.exp.
Will do so immediately.

-- 
Joel

Attachment: subst.diff
Description: Text document

Attachment: subst-doc.diff
Description: Text document


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