aboutsummaryrefslogtreecommitdiff
path: root/gdb/NEWS
diff options
context:
space:
mode:
authorAndrew Burgess <aburgess@redhat.com>2023-11-22 15:57:56 +0000
committerAndrew Burgess <aburgess@redhat.com>2023-12-08 17:52:00 +0000
commit1753e2c3f6c7c5b639c816a89ba83bcbe8bebf4e (patch)
treecce9bc1b61f4f365d380ce4f814207a04ed8720d /gdb/NEWS
parent7543c960b00ddea23f6105eff4358ec214a7f93c (diff)
downloadbinutils-1753e2c3f6c7c5b639c816a89ba83bcbe8bebf4e.zip
binutils-1753e2c3f6c7c5b639c816a89ba83bcbe8bebf4e.tar.gz
binutils-1753e2c3f6c7c5b639c816a89ba83bcbe8bebf4e.tar.bz2
gdb: fix GDB_DEBUG and GDBSERVER_DEBUG Makefile variables
The gdb/testsuite/README file documents GDB_DEBUG and GDBSERVER_DEBUG flags, which can be passed to make in order to enable debugging within GDB or gdbserver respectively. However, when I do: make check-gdb GDB_DEBUG=infrun I don't see the corresponding debug feature within GDB being enabled. Nor does: make check-gdb GDBSERVER_DEBUG=debug \ RUNTESTFLAGS="--target_board=native-extended-gdbserver" Appear to enable gdbserver debugging. I tracked this down to the GDB_DEBUG and GDBSERVER_DEBUG flags being missing from the TARGET_FLAGS_TO_PASS variable in gdb/Makefile. This variable already contains lots of testing related flags, like RUNTESTFLAGS and TESTS, so I think it makes sense to add GDB_DEBUG and GDBSERVER_DEBUG here too. With this done, this debug feature is now working as expected. Approved-By: Tom Tromey <tom@tromey.com>
Diffstat (limited to 'gdb/NEWS')
0 files changed, 0 insertions, 0 deletions