Skip to content
  • David Johnson's avatar
    Fix up gdb/qemu driver to only load status once, effectively. · 8cb8dcbf
    David Johnson authored
        /*
         * NB: QEMU's gdb stub removes all breakpoints on '?', so we have to
         * only call this on target attach!  We have to trust our status as
         * TARGET_PAUSED when we call gdb_pause(), if it succeeds.  This
         * must also be the gdb client's default behavior, although I don't
         * think I saw this in the protocol docs.
         */
    
    (And of course gdb stubs always send stop statuses on breakpoint
    exception or whatever... so strictly speaking, we don't need to rely on
    this call at all.)
    8cb8dcbf