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] |
... what?
It's the source search path because that's what it's used for. It's also documented that way:
`-directory DIRECTORY' `-d DIRECTORY' Add DIRECTORY to the path to search for source files.
Most users don't ever have to add a source path. If you're using a modern compiler, and debugging something built locally, and not using certain kinds of include path constructs (which is unambiguously an open, and recently discussed, bug in GDB) then GDB will Just Find Things.
I don't find it intuitive that the same path should be overloaded this way, and it makes changing the source searching algorithm even more complicated. However, I'd like to know if any other GDB maintainers have an opinion on this before I ask you to modify the patch.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |