crash is a line-oriented tool and never uses gdb's full-screen terminal
user interface. Pass --disable-tui so that the TUI sources (16 files) are
not built into crash.
Assisted-by: LLM
Signed-off-by: Dave Young <yangrr.2009(a)tsinghua.org.cn>
---
Makefile | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index ae29ea5b5737..2c7573d1c8a9 100644
--- a/Makefile
+++ b/Makefile
@@ -326,7 +326,8 @@ gdb_merge: force
@rm -f ${PROGRAM}
@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 --disable-sim; \
+ --with-bugurl="" --with-expat=no --with-python=no --disable-sim \
+ --disable-tui; \
$(MAKE) CRASH_TARGET=${TARGET}; echo ${TARGET} > crash.target) \
else $(MAKE) rebuild; fi
@if [ ! -f ${PROGRAM} ]; then \
--
2.51.1