This is the mail archive of the gdb@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: Should "dir" override the full path encoded in debug info?


On Mon, Jun 26, 2006 at 07:50:37AM -0700, Joel Brobecker wrote:
> > How about adding subcommands `add' and `remove' and having more than one
> > substitution rule?
> 
> I personally think that would be overkill... Others?

Well, it seem to me that eventually users will need to subsitute 
multiple paths. So, it makes sense to support it right away. I don't
know if add/remove is the best way. It would be a good idea to also
consider a key/value colon separated list. Where if they want to use :,
they will have to escape it (\).

substitute-path /home/foo=/home/bar:/home/foo\:1=/home/foo\:2

Just some ideas.

Bob Rossi


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