From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3049 invoked by alias); 25 Nov 2005 20:16:37 -0000 Received: (qmail 3042 invoked by uid 22791); 25 Nov 2005 20:16:37 -0000 X-Spam-Check-By: sourceware.org Received: from nitzan.inter.net.il (HELO nitzan.inter.net.il) (192.114.186.20) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 25 Nov 2005 20:16:36 +0000 Received: from HOME-C4E4A596F7 (IGLD-80-230-66-246.inter.net.il [80.230.66.246]) by nitzan.inter.net.il (MOS 3.6.5-GR) with ESMTP id CAH28032 (AUTH halo1); Fri, 25 Nov 2005 22:16:31 +0200 (IST) Date: Fri, 25 Nov 2005 22:33:00 -0000 Message-Id: From: Eli Zaretskii To: gdb-patches@sources.redhat.com CC: Andrew STUBBS In-reply-to: <20051125181735.GF736@nevyn.them.org> (message from Daniel Jacobowitz on Fri, 25 Nov 2005 13:17:35 -0500) Subject: Re: [PATCH] Use search path for scripts Reply-to: Eli Zaretskii References: <437B6718.7070300@st.com> <437C6D69.1030209@st.com> <437DC94B.7060601@st.com> <437DE8F9.9030606@st.com> <20051125175735.GB736@nevyn.them.org> <438752FE.9070302@st.com> <20051125181735.GF736@nevyn.them.org> X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2005-11/txt/msg00472.txt.bz2 > Date: Fri, 25 Nov 2005 13:17:35 -0500 > From: Daniel Jacobowitz > Cc: Eli Zaretskii , 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?