This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Use search path for scripts
> Date: Fri, 25 Nov 2005 13:17:35 -0500
> From: Daniel Jacobowitz <drow@false.org>
> Cc: Eli Zaretskii <eliz@gnu.org>, gdb-patches@sources.redhat.com
>
> 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.
Would it be reasonable to make GDB look for scripts in the source file
directories recorded in the debug info? Assuming you accept the
argument that scripts are usually in the source tree, that sounds
plausible, no?