2010-03-15 20:42:55 +00:00
|
|
|
# Menu for the native gdbserver
|
|
|
|
|
|
|
|
config GDB_GDBSERVER
|
|
|
|
bool
|
|
|
|
prompt "gdbserver"
|
2017-02-10 06:14:36 +00:00
|
|
|
default y
|
2010-03-15 20:42:55 +00:00
|
|
|
depends on ! BARE_METAL
|
|
|
|
help
|
|
|
|
Build and install a gdbserver for the target, to run on the target.
|
|
|
|
|
|
|
|
if GDB_GDBSERVER
|
|
|
|
|
2012-05-17 15:56:27 +00:00
|
|
|
config GDB_GDBSERVER_HAS_IPA_LIB
|
|
|
|
bool
|
|
|
|
depends on GDB_7_2_or_later
|
|
|
|
default y
|
|
|
|
|
2010-03-15 20:42:55 +00:00
|
|
|
config GDB_GDBSERVER_STATIC
|
|
|
|
bool
|
|
|
|
prompt "Build a static gdbserver"
|
2016-02-26 11:58:09 +00:00
|
|
|
depends on CONFIGURE_has_static_link
|
2010-03-15 20:42:55 +00:00
|
|
|
default y
|
|
|
|
help
|
|
|
|
In case you have trouble with dynamic loading of shared libraries,
|
|
|
|
you will find that a static gdbserver comes in handy.
|
|
|
|
|
2012-05-17 15:56:27 +00:00
|
|
|
config GDB_GDBSERVER_BUILD_IPA_LIB
|
|
|
|
bool
|
|
|
|
prompt "Build the IPA library"
|
|
|
|
depends on GDB_GDBSERVER_HAS_IPA_LIB && !GDB_GDBSERVER_STATIC
|
|
|
|
help
|
|
|
|
gdbserver >= 7.2 comes with an optional library to use tracepoints,
|
|
|
|
the In Process Agent (IPA) library, libinproctrace.so.
|
|
|
|
|
|
|
|
Say 'y' if you indend to use tracepoints when debugging your
|
|
|
|
programs with gdbserver.
|
|
|
|
|
|
|
|
Note: Currently, building this library is not possible when the
|
|
|
|
gdbserver is built statically. This is a limitation in
|
|
|
|
crosstool-NG, so do not bug upstream about it...
|
|
|
|
|
2010-03-15 20:42:55 +00:00
|
|
|
endif # GDB_GDBSERVER
|
|
|
|
|
|
|
|
if BARE_METAL
|
|
|
|
comment "In bare-metal, you'll need to "
|
|
|
|
comment "provide your own gdbserver stub."
|
|
|
|
endif # BARE_METAL
|