From a09a458bb9e3105d8c5de733110bcd3f703fa459 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Wed, 18 Jun 2008 12:33:32 +0000 Subject: Fix building native gdb: download, extract, patch, build and install the ncurses library (that is needed by gdb) /trunk/scripts/build/debug/300-gdb.sh | 46 42 4 0 +++++++++++++++++++++++++++++++++++++---- /trunk/config/debug/gdb.in | 26 25 1 0 ++++++++++++++++++++++- 2 files changed, 67 insertions(+), 5 deletions(-) --- config/debug/gdb.in | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) (limited to 'config/debug') diff --git a/config/debug/gdb.in b/config/debug/gdb.in index dd655bfe..8bebde74 100644 --- a/config/debug/gdb.in +++ b/config/debug/gdb.in @@ -95,5 +95,29 @@ config GDB_VERSION # CT_INSERT_VERSION_STRING_ABOVE # Don't remove above line! -endif +if GDB_NATIVE + +comment "Native gdb needs the ncurses library on the target" + +choice + bool + prompt "ncurses version" + +config NCURSES_V_4_2 + bool + prompt "4.2" +config NCURSES_V_5_6 + bool + prompt "5.6" + +endchoice + +config NCURSES_VERSION + string + default "4.2" if NCURSES_V_4_2 + default "5.6" if NCURSES_V_5_6 + +endif # ncurses + +endif -- cgit v1.2.3