2007-05-17 16:22:51 +00:00
|
|
|
# GDB menu
|
|
|
|
|
2011-05-08 19:02:44 +02:00
|
|
|
## help gdb is the GNU debugger
|
2007-05-17 16:22:51 +00:00
|
|
|
|
2010-03-15 21:42:55 +01:00
|
|
|
source "config/debug/gdb.in.cross"
|
|
|
|
source "config/debug/gdb.in.native"
|
2009-03-26 18:58:13 +00:00
|
|
|
|
2018-05-06 15:20:50 -07:00
|
|
|
|
2022-02-04 10:31:25 -08:00
|
|
|
# GDB10 and newer require std::future<> which was not implemented on some
|
|
|
|
# architectures until GCC9; see GCC PR 64735.
|
|
|
|
config GDB_DEP_NO_STD_FUTURE
|
|
|
|
def_bool y
|
|
|
|
depends on !GCC_9_or_later
|
2022-02-04 11:35:52 -08:00
|
|
|
select GDB_REQUIRE_older_than_10
|
2022-02-04 10:31:25 -08:00
|
|
|
|
2020-05-27 13:10:31 +03:00
|
|
|
# As of GDB 10.x gdbserver is now at the toplevel of the distributed
|
|
|
|
# tarball (instead of a subdirectory of gdb)
|
|
|
|
config GDB_GDBSERVER_TOPLEVEL
|
|
|
|
def_bool y
|
2022-02-04 11:35:52 -08:00
|
|
|
depends on GDB_10_or_later
|