Daniel Jacobowitz wrote: > On Sat, Jul 13, 2002 at 04:21:49PM -0700, Dan Kegel wrote: > >>In my cross-development environment, I need to type >>set solib-search-path >>/opt/hardhat/devkit/ppc/405/powerpc-hardhat-linux/lib:/opt/hardhat/devkit/ppc/405/powerpc-hardhat-linux/usr/lib:/opt/hardhat/devkit/ppc/405/target/lib:/opt/hardhat/devkit/ppc/405/target/usr/lib >> >>when I start gdb. That's just a bit awkward; I'd prefer to have it default >>to the proper value, just like the Montavista version does. >> >>Here's a patch that lets you set the initial value of this patch at >>configure time. ... > > I believe that this was rejected in the past, for reference. I don't > remember why though. Maybe they'll like it this time. Seems quite handy. > (Also, it's almost certainly a solib-absolute-prefix of > /opt/hardhat/devkit/ppc/405/target that you want. You're quite right, thanks! Here's a revised patch that lets you set defaults for both variables. (Fixes a silly problem with the previous patch, too.) As before, you need to run autoconf after applying. - Dan