2007-05-17 16:22:51 +00:00
|
|
|
# GDB menu
|
|
|
|
|
2011-05-08 17:02:44 +00:00
|
|
|
## help gdb is the GNU debugger
|
2007-05-17 16:22:51 +00:00
|
|
|
|
2010-03-15 20:42:55 +00:00
|
|
|
source "config/debug/gdb.in.cross"
|
|
|
|
source "config/debug/gdb.in.native"
|
2009-03-26 18:58:13 +00:00
|
|
|
|
2011-05-31 19:03:03 +00:00
|
|
|
config GDB_HAS_PKGVERSION_BUGURL
|
|
|
|
bool
|
2017-05-20 04:58:46 +00:00
|
|
|
default y if GDB_7_0_or_later
|
2010-03-20 17:49:15 +00:00
|
|
|
|
2014-08-17 22:10:01 +00:00
|
|
|
config GDB_HAS_PYTHON
|
|
|
|
bool
|
2017-05-20 04:58:46 +00:00
|
|
|
default y if GDB_7_0_or_later
|
2014-08-17 22:10:01 +00:00
|
|
|
|
2011-07-29 22:05:53 +00:00
|
|
|
config GDB_INSTALL_GDBINIT
|
|
|
|
bool
|
2017-05-20 04:58:46 +00:00
|
|
|
default y if GDB_7_0_or_later
|
2018-05-06 22:20:50 +00:00
|
|
|
|
|
|
|
# GDB 8.0 now requires C++ for build. GDB 7.12 offered a configure
|
|
|
|
# switch to fall back to C. We want to use that option because
|
|
|
|
# the conversion in 7.12 was incomplete and had some breakages.
|
|
|
|
config GDB_HAS_DISABLE_CXX_BUILD
|
|
|
|
def_bool y
|
|
|
|
depends on GDB_7_12_or_later && !GDB_8_0_or_later
|
2019-03-05 08:48:31 +00:00
|
|
|
|
|
|
|
# GDB 8.0 requires not just any C++, but recent enough to support C++11.
|
|
|
|
# Yes, in 2019 there are still LTS systems still lacking such support.
|
|
|
|
# I am looking at you, CentOS 6: no cookie for you, use an older GDB.
|
|
|
|
config GDB_DEP_CXX11
|
|
|
|
def_bool y
|
|
|
|
depends on !CONFIGURE_has_cxx11
|
|
|
|
select GDB_REQUIRE_older_than_8_0
|
2019-03-10 02:01:30 +00:00
|
|
|
|
|
|
|
config GDB_HAS_IPA_LIB
|
2019-03-11 07:33:22 +00:00
|
|
|
def_bool y
|
2019-03-10 02:01:30 +00:00
|
|
|
depends on GDB_7_2_or_later
|
|
|
|
|
2019-03-11 07:33:22 +00:00
|
|
|
# Does GDB need ps_get_thread_area with const qualifier?
|
|
|
|
config GDB_CONST_GET_THREAD_AREA
|
|
|
|
bool
|
|
|
|
default y if GDB_older_than_7_12
|