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


Joel Brobecker wrote:
I think the suggested interface allowed a FROM argument for removing that substitution alone. I still think this feature would be nice to have.

Currently, we only provide one substitution rule, so the extra argument at this moment is not needed. My understanding is that, should more than one rule be needed, the plan is to provide this through a different type of interface - See Daniel's message.

Unless I misread Daniel's message, he was referring to an interface in which pairs of FROM/TO paths are added, one at a time, to an unordered list.


Anyway, if your implementation only allows one (I didn't read it that closely), then the extra argument clearly isn't necessary.

I would still like to see a solution where more than one mapping was allowed, one for each of our various libraries, not to mention the header files. I want to be able to ship our toolset to customers with a number of 'preset' mappings, computed from the install location, and still allow them to use the feature for their own sources.

Andrew


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