diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2008-06-18 12:33:32 (GMT) |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2008-06-18 12:33:32 (GMT) |
commit | a09a458bb9e3105d8c5de733110bcd3f703fa459 (patch) | |
tree | 6988aef617fa7eba2c9ccfd8cf1979fe2b28d0aa /config/debug | |
parent | 1b822b4447ce4cf557398bc4a264b575636015af (diff) |
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(-)
Diffstat (limited to 'config/debug')
-rw-r--r-- | config/debug/gdb.in | 26 |
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 |