[PATCH] Use search path for scripts
Andrew STUBBS
andrew.stubbs@st.com
Mon Nov 28 19:34:00 GMT 2005
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
More information about the Gdb-patches
mailing list