* [Buildroot] [git commit branch/next] host-gdb: enable terminal user interface support
@ 2014-08-30 7:03 Peter Korsgaard
2014-08-30 7:31 ` Thomas Petazzoni
0 siblings, 1 reply; 3+ messages in thread
From: Peter Korsgaard @ 2014-08-30 7:03 UTC (permalink / raw)
To: buildroot
commit: http://git.buildroot.net/buildroot/commit/?id=2474fb0bf1a786f3a170631f3dbce8b38092f986
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/next
Add a configuration option to compile host-gdb with the
--enable-tui switch.
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
---
package/gdb/Config.in.host | 6 ++++++
package/gdb/gdb.mk | 8 +++++++-
2 files changed, 13 insertions(+), 1 deletions(-)
diff --git a/package/gdb/Config.in.host b/package/gdb/Config.in.host
index cbc1361..8846eaf 100644
--- a/package/gdb/Config.in.host
+++ b/package/gdb/Config.in.host
@@ -13,6 +13,12 @@ config BR2_PACKAGE_HOST_GDB
if BR2_PACKAGE_HOST_GDB
+config BR2_PACKAGE_HOST_GDB_TUI
+ bool "GDB TUI support"
+ select BR2_PACKAGE_NCURSES
+ help
+ This option enables terminal user interface (TUI) for gdb
+
choice
prompt "GDB debugger Version"
depends on !BR2_arc
diff --git a/package/gdb/gdb.mk b/package/gdb/gdb.mk
index 8ab264b..7e87bf9 100644
--- a/package/gdb/gdb.mk
+++ b/package/gdb/gdb.mk
@@ -114,7 +114,6 @@ HOST_GDB_CONF_OPT = \
--target=$(GNU_TARGET_NAME) \
--enable-static --disable-shared \
--without-uiout \
- --disable-tui \
--disable-gdbtk \
--without-x \
--enable-threads \
@@ -123,6 +122,13 @@ HOST_GDB_CONF_OPT = \
$(GDB_DISABLE_BINUTILS_CONF_OPT) \
--disable-sim
+ifeq ($(BR2_PACKAGE_HOST_GDB_TUI),y)
+ HOST_GDB_DEPENDENCIES += host-ncurses
+ HOST_GDB_CONF_OPT += --enable-tui
+else
+ HOST_GDB_CONF_OPT += --disable-tui
+endif
+
ifeq ($(GDB_FROM_GIT),y)
HOST_GDB_DEPENDENCIES += host-texinfo
else
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [Buildroot] [git commit branch/next] host-gdb: enable terminal user interface support
2014-08-30 7:03 [Buildroot] [git commit branch/next] host-gdb: enable terminal user interface support Peter Korsgaard
@ 2014-08-30 7:31 ` Thomas Petazzoni
2014-08-30 9:29 ` Peter Korsgaard
0 siblings, 1 reply; 3+ messages in thread
From: Thomas Petazzoni @ 2014-08-30 7:31 UTC (permalink / raw)
To: buildroot
Dear Peter Korsgaard,
On Sat, 30 Aug 2014 09:03:34 +0200, Peter Korsgaard wrote:
> +config BR2_PACKAGE_HOST_GDB_TUI
> + bool "GDB TUI support"
> + select BR2_PACKAGE_NCURSES
It seems like you didn't commit v2, because v2 was fixing this.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] [git commit branch/next] host-gdb: enable terminal user interface support
2014-08-30 7:31 ` Thomas Petazzoni
@ 2014-08-30 9:29 ` Peter Korsgaard
0 siblings, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2014-08-30 9:29 UTC (permalink / raw)
To: buildroot
>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:
> Dear Peter Korsgaard,
> On Sat, 30 Aug 2014 09:03:34 +0200, Peter Korsgaard wrote:
>> +config BR2_PACKAGE_HOST_GDB_TUI
>> + bool "GDB TUI support"
>> + select BR2_PACKAGE_NCURSES
> It seems like you didn't commit v2, because v2 was fixing this.
Yeah, seems like I ended up using the wrong pw id. It's fixed now.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-08-30 9:29 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-30 7:03 [Buildroot] [git commit branch/next] host-gdb: enable terminal user interface support Peter Korsgaard
2014-08-30 7:31 ` Thomas Petazzoni
2014-08-30 9:29 ` Peter Korsgaard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox