# GDB menu

## help gdb is the GNU debugger

source "config/debug/gdb.in.cross"
source "config/debug/gdb.in.native"


# 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
    select GDB_REQUIRE_older_than_10

# 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
    depends on GDB_10_or_later
