On Tue, Feb 26, 2013 at 8:26 AM, Dave Anderson <anderson(a)redhat.com> wrote:
Try this patch to the top-level Makefile:
--- Makefile 2013-02-26 11:22:58.975556683 -0500
+++ Makefile 2013-02-26 11:22:35.764557539 -0500
@@ -225,7 +225,7 @@
@if [ ! -f ${GDB}/config.status ]; then \
(cd ${GDB}; ./configure ${GDB_CONF_FLAGS}
--with-separate-debug-dir=/usr/lib/debug \
--with-bugurl="" --with-expat=no --with-python=no; \
- make --no-print-directory CRASH_TARGET=${TARGET}; echo ${TARGET} >
crash.target) \
+ make CFLAGS="-g3 -O0" --no-print-directory CRASH_TARGET=${TARGET};
echo ${TARGET} > crash.target) \
else (cd ${GDB}/gdb; make --no-print-directory CRASH_TARGET=${TARGET};); fi
@if [ ! -f ${GDB}/gdb/libgdb.a ]; then \
echo; echo "gdb build failed: ${GDB}/gdb/libgdb.a does not exist"; \
Worked for me...
Very plausible. I kept trying to configure it. "sed"
worked, too. :)
Thank you.