gdbstub: Use vaddr type for generic insert/remove_breakpoint() API
Both insert/remove_breakpoint() handlers are used in system and user emulation. We can not use the 'hwaddr' type on user emulation, we have to use 'vaddr' which is defined as "wide enough to contain any #target_ulong virtual address". gdbstub.c doesn't require to include "exec/hwaddr.h" anymore. Reviewed-by:Richard Henderson <richard.henderson@linaro.org> Reviewed-by:
Fabiano Rosas <farosas@suse.de> Signed-off-by:
Philippe Mathieu-Daudé <philmd@linaro.org> Message-Id: <20221216215519.5522-4-philmd@linaro.org>
Showing
- accel/kvm/kvm-all.c 2 additions, 2 deletionsaccel/kvm/kvm-all.c
- accel/kvm/kvm-cpus.h 2 additions, 2 deletionsaccel/kvm/kvm-cpus.h
- accel/tcg/tcg-accel-ops.c 2 additions, 2 deletionsaccel/tcg/tcg-accel-ops.c
- gdbstub/gdbstub.c 0 additions, 1 deletiongdbstub/gdbstub.c
- gdbstub/internals.h 4 additions, 2 deletionsgdbstub/internals.h
- gdbstub/softmmu.c 2 additions, 3 deletionsgdbstub/softmmu.c
- gdbstub/user.c 2 additions, 3 deletionsgdbstub/user.c
- include/sysemu/accel-ops.h 3 additions, 3 deletionsinclude/sysemu/accel-ops.h
Loading
Please register or sign in to comment