It is not possible to place a breakpoint from with a
debugger and have VisualBoy Advance stop on it. The old
configure.in set the compile flag BKPT_SUPPORT to
compile in this functionality. This flag is missing
from the current configure.in and breakpoint support is
This patch adds the support for breakpoints when the
--enable-dev flag is passed to configure.
In addition, the embedded application protocol
interface changed for thumb code in a recent version of
GCC. The patch for this, to debugger.cpp, allows thumb
code to be correctly identified when breakpoints are
set on it. Note that this is only for the VBA internal
debugger. GNU GDB and Insight behaviour are not
changed. Code compiled with older compilers and the old
EABI are not affected and continue to work as before.
(tested with devkitARM r8 to r15)
Thanks must go to ribrdb2 on forums.gbadev.org for the
information required to put this patch together.