On Mon, Jul 07, 2008 at 06:45:23PM -0400, Theodore Tso wrote: > On Mon, Jul 07, 2008 at 06:16:22PM -0400, Daniel Jacobowitz wrote: > >For various reasons we don't use it at work - instead we added some GCC > >command line options to relocate the debug info at compile time. In > >the end, it comes down to the same result. > > Were these private hacks to GCC? I tried looking at the gcc info > file, and I didn't see any options to force the debug info to a > different pathname; maybe I missed it, or the info file I was looking > for was too out of date (gcc 4.1.3).
The latter. They'll be in GCC 4.4. You can find -fdebug-prefix-map here: http://gcc.gnu.org/onlinedocs/gcc/Debugging-Options.html#Debugging-Options There are also some configure options for the bootstrapping problem, i.e. getting libgcc's debug info in the right place. -- Daniel Jacobowitz CodeSourcery -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]