On 11/1/06, Ken Moffat <[EMAIL PROTECTED]> wrote:
At Jim's suggestion, I've been trying firefox-2.0 today - it builds (with the included nss/nspr) but gives the same result. I've also upgraded gdb to 6.5 from 6.4, which was a big help and at least gave me a bt. I can now see that it returns 1 from XRE_main which is in toolkit/xre/nsAppRunner.cpp. A quick look suggests I'll need to rebuild it with DEBUG somehow defined - what is the 'correct' way to define DEBUG - can I just pass it to make ? Does anybody have any useful pointers or HOWTOs for debugging this pile of^H^H^H^H^H^H^H truly wonderful package ?
Yes, you need --enable-debug, --disable-optimize. You can specify flags to --enable-debug, but the defaults will probably be fine. It also adds all the -DDEBUG, etc. Page through configure.in if you're curious. The other thing you can do is run "firefox -g" and it will run it through a debugger. I think it will automatically pick gdb as the default, but you might have to add "-d gdb". After that, you're trying to decipher a backtrace, so good luck with that. -- Dan -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
