mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 00:33:55 -06:00
gcc wants 1st static and then const
Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
parent
668a38fcbd
commit
3897293825
3 changed files with 4 additions and 4 deletions
|
@ -790,7 +790,7 @@ int kvm_arch_handle_exit(CPUState *env, struct kvm_run *run)
|
|||
#ifdef KVM_CAP_SET_GUEST_DEBUG
|
||||
int kvm_arch_insert_sw_breakpoint(CPUState *env, struct kvm_sw_breakpoint *bp)
|
||||
{
|
||||
const static uint8_t int3 = 0xcc;
|
||||
static const uint8_t int3 = 0xcc;
|
||||
|
||||
if (cpu_memory_rw_debug(env, bp->pc, (uint8_t *)&bp->saved_insn, 1, 0) ||
|
||||
cpu_memory_rw_debug(env, bp->pc, (uint8_t *)&int3, 1, 1))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue