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: [PATCH] Use search path for scripts


Eli Zaretskii wrote:
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?


The scripts I am interested in finding are *not* in the source tree. They are in a 'manually added' directory added from the command line with the -d switch.


Andrew


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