bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/9784] Feature Request: would like an option to provide a p


From: hjl dot tools at gmail dot com
Subject: [Bug binutils/9784] Feature Request: would like an option to provide a prefix for the debug info source
Date: 25 Jan 2009 17:19:14 -0000

------- Additional Comments From hjl dot tools at gmail dot com  2009-01-25 
17:19 -------
(In reply to comment #2)
> Specifically, most of the files I deal with have a source in a tree at
> /usr/src/debug/kernel-2.6.27/*
> 
> Now, what I would like to do is make a prefix so that if a package sets an
> absolute source dir like above, I can do
> /home/arjan/diagnostics/usr/src/debug/kernel-2.6.27
> rather than sticking it in / where I would need root privs to install it
> (and where I would also not be able to make a more tiny namespace).

In one binary, you may have

/usr/src/debug/kernel-2.6.27/fs/*
/usr/src/debug/kernel-2.6.27/net/*
/usr/src/foobar/*

How should prefix be handled? I think we may need

   * --prefix=PREFIX to specify the prefix to add to the absolute paths.
     PREFIX must be absolute as well, otherwise its value is ignored. The
     default is no prefix.

   * --prefix-strip=N to indicate the how many initial directory names
     to strip off the hardwired absolute paths. Default value is 0.  It
     has no effect if PREFIX is undefined, empty or non-absolute.

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=9784

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]