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


On Fri, Nov 25, 2005 at 06:30:54PM +0000, Andrew STUBBS wrote:
> I see your point about changing the search algorithm though. Although 
> even then, it might be more intuitive to always use the same algorithm 
> for both. Is it likely to change?

Very.  That search algorithm has (should have) more concepts of
"directory" to deal with than apply to scripts:
  - compilation directory can be absolute or relative
  - filename can be absolute, relative, or basename
  - Paths to include files can be relative to compilation directory
    or including file in some cases.

As said, I'll come back to this patch in a couple of days; let's see if
anyone else has a preference.

-- 
Daniel Jacobowitz
CodeSourcery, LLC


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