Remove "run" and "debug" targets. Adjust "gdb" target to read symbols from TARGET_DEBUG, which has the symbols. Also remove the "-ex 'b _start'" and append -S to QEMU_DEBUG_PARAMS to wait for debugger instead. I am not sure we can even use software breakpoints.
Remove "run" and "debug" targets. Adjust "gdb" target to read symbols from TARGET_DEBUG, which has the symbols. Also remove the "-ex 'b _start'" and append -S to QEMU_DEBUG_PARAMS to wait for debugger instead. I am not sure we can even use software breakpoints.