summaryrefslogtreecommitdiff
path: root/config/debug/gdb.in
diff options
context:
space:
mode:
Diffstat (limited to 'config/debug/gdb.in')
-rw-r--r--config/debug/gdb.in26
1 files changed, 25 insertions, 1 deletions
diff --git a/config/debug/gdb.in b/config/debug/gdb.in
index dd655bf..8bebde7 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