This is the mail archive of the gdb@sources.redhat.com 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: handling of absolute source file paths (feature wish/implementation idea)


On Thu, Jan 22, 2004 at 01:45:29PM -0500, Andrew Cagney wrote:
> Hmm, we're rapidly accumulating a long list of ways to alter the 
> absolute-prefix. cf also:
> 
> (gdb) help set debug-file-directory
> Set the directory where separate debug symbols are searched for.
> Separate debug symbols are first searched for in the same
> directory as the binary, then in the `.debug' subdirectory,
> and lastly at the path of the directory of the binary with
> the global debug-file directory prepended
> 
> and the ./configure option:
> 
>   --with-sysroot[=DIR] Search for usr/lib et al within DIR.
> 
> Might be time for some consolidation:
> 
> set absolute-prefix {source,solib,sysroot,debug,all} <path>

Hmm, maybe, but most places that I can think of would want either
solib, or source, but not both.  --with-sysroot just sets solib, also.
I have no idea what it ought to do with debug...

Now what would be really nice would be a manual chapter referencing all
of these.

> (although an immediate source-absolute-prefix shouldn't hurt).
> 
> BTW, wasn't there a mechanism for editing/replacing part of the source 
> prefix added, or did that get lost?

Now that sounds like a great idea.  I can't see it in the source,
though, and it doesn't ring a bell.

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer


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