Skip to content

Commits

Permalink
qom-cpu-11.v2
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Commits on Jul 7, 2013

  1. cpu: Introduce CPUClass::gdb_core_xml_file for GDB_CORE_XML

    Replace the GDB_CORE_XML define in gdbstub.c with a CPUClass field.
    Use first_cpu for qSupported and qXfer:features:read: for now.
    Add a stub for xml_builtin.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    afaerber committed Jul 7, 2013
    Copy the full SHA
    f406cce View commit details
    Browse the repository at this point in the history
  2. target-cris: Factor out CPUClass::gdb_read_register() hook for v10

    Signed-off-by: Andreas Färber <afaerber@suse.de>
    afaerber committed Jul 7, 2013
    Copy the full SHA
    558121b View commit details
    Browse the repository at this point in the history
  3. cpu: Introduce CPUClass::gdb_{read,write}_register()

    Completes migration of target-specific code to new target-*/gdbstub.c.
    
    Acked-by: Michael Walle <michael@walle.cc> (for lm32)
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    afaerber committed Jul 7, 2013
    Copy the full SHA
    a1ad714 View commit details
    Browse the repository at this point in the history
  4. gdbstub: Replace GET_REG*() macros with gdb_get_reg*() functions

    This avoids polluting the global namespace with a non-prefixed macro and
    makes it obvious in the call sites that we return.
    
    Semi-automatic conversion using, e.g.,
     sed -i 's/GET_REGL(/return gdb_get_regl(mem_buf, /g' target-*/gdbstub.c
    followed by manual tweaking for sparc's GET_REGA() and Coding Style.
    
    Acked-by: Michael Walle <michael@walle.cc> (for lm32)
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    afaerber committed Jul 7, 2013
    Copy the full SHA
    2e4117d View commit details
    Browse the repository at this point in the history
  5. target-xtensa: Move cpu_gdb_{read,write}_register()

    Signed-off-by: Andreas Färber <afaerber@suse.de>
    afaerber committed Jul 7, 2013
    Copy the full SHA
    369d4e8 View commit details
    Browse the repository at this point in the history
  6. target-lm32: Move cpu_gdb_{read,write}_register()

    Acked-by: Michael Walle <michael@walle.cc>
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    afaerber committed Jul 7, 2013
    Copy the full SHA
    01fab0a View commit details
    Browse the repository at this point in the history
  7. target-s390x: Move cpu_gdb_{read,write}_register()

    Signed-off-by: Andreas Färber <afaerber@suse.de>
    afaerber committed Jul 7, 2013
    Copy the full SHA
    3d85a33 View commit details
    Browse the repository at this point in the history
  8. target-alpha: Move cpu_gdb_{read,write}_register()

    Signed-off-by: Andreas Färber <afaerber@suse.de>
    afaerber committed Jul 7, 2013
    Copy the full SHA
    d6b3a52 View commit details
    Browse the repository at this point in the history
  9. target-cris: Move cpu_gdb_{read,write}_register()

    Signed-off-by: Andreas Färber <afaerber@suse.de>
    afaerber committed Jul 7, 2013
    Copy the full SHA
    d0ca926 View commit details
    Browse the repository at this point in the history
  10. target-microblaze: Move cpu_gdb_{read,write}_register()

    Signed-off-by: Andreas Färber <afaerber@suse.de>
    afaerber committed Jul 7, 2013
    Copy the full SHA
    4e751ad View commit details
    Browse the repository at this point in the history
  11. target-sh4: Move cpu_gdb_{read,write}_register()

    Signed-off-by: Andreas Färber <afaerber@suse.de>
    afaerber committed Jul 7, 2013
    Copy the full SHA
    57cce77 View commit details
    Browse the repository at this point in the history
  12. target-openrisc: Move cpu_gdb_{read,write}_register()

    Signed-off-by: Andreas Färber <afaerber@suse.de>
    afaerber committed Jul 7, 2013
    Copy the full SHA
    6975da0 View commit details
    Browse the repository at this point in the history
  13. target-mips: Move cpu_gdb_{read,write}_register()

    Signed-off-by: Andreas Färber <afaerber@suse.de>
    afaerber committed Jul 7, 2013
    Copy the full SHA
    0c1ecdd View commit details
    Browse the repository at this point in the history
  14. target-m68k: Move cpu_gdb_{read,write}_register()

    Signed-off-by: Andreas Färber <afaerber@suse.de>
    afaerber committed Jul 7, 2013
    Copy the full SHA
    5a0b52a View commit details
    Browse the repository at this point in the history
  15. target-arm: Move cpu_gdb_{read,write}_register()

    Signed-off-by: Andreas Färber <afaerber@suse.de>
    afaerber committed Jul 7, 2013
    Copy the full SHA
    f1fac91 View commit details
    Browse the repository at this point in the history
  16. target-sparc: Move cpu_gdb_{read,write}_register()

    Signed-off-by: Andreas Färber <afaerber@suse.de>
    afaerber committed Jul 7, 2013
    Copy the full SHA
    06b2ec0 View commit details
    Browse the repository at this point in the history
  17. target-ppc: Move cpu_gdb_{read,write}_register()

    Signed-off-by: Andreas Färber <afaerber@suse.de>
    afaerber committed Jul 7, 2013
    Copy the full SHA
    79e06f2 View commit details
    Browse the repository at this point in the history
  18. target-i386: Move cpu_gdb_{read,write}_register()

    Signed-off-by: Andreas Färber <afaerber@suse.de>
    afaerber committed Jul 7, 2013
    Copy the full SHA
    788a403 View commit details
    Browse the repository at this point in the history
  19. cpu: Introduce CPUState::gdb_num_regs and CPUClass::gdb_num_core_regs

    CPUState::gdb_num_regs replaces num_g_regs.
    CPUClass::gdb_num_core_regs replaces NUM_CORE_REGS.
    
    Allows building gdb_register_coprocessor() for xtensa, too.
    
    As a side effect this should fix coprocessor register numbering for SMP.
    
    Acked-by: Michael Walle <michael@walle.cc> (for lm32)
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    afaerber committed Jul 7, 2013
    Copy the full SHA
    c11584c View commit details
    Browse the repository at this point in the history
  20. gdbstub: Drop dead code in cpu_gdb_{read,write}_register()

    GET_REG*() macros include a return statement, thus no need for break.
    
    Acked-by: Michael Walle <michael@walle.cc> (for lm32)
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    afaerber committed Jul 7, 2013
    Copy the full SHA
    8929255 View commit details
    Browse the repository at this point in the history
  21. gdbstub: Fix cpu_gdb_{read,write}_register() Coding Style

    Add braces, replace tabs, remove trailing whitespace, drop space before
    parenthesis and place break etc. below case statements.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    afaerber committed Jul 7, 2013
    Copy the full SHA
    84a4da2 View commit details
    Browse the repository at this point in the history
  22. target-xtensa: Introduce XtensaCPU subclasses

    Register a CPU type per core registered. Save the XtensaConfig in
    XtensaCPUClass and copy it from there to CPUXtensaState, to avoid
    touching every env->config access for now.
    
    Prepares for storing per-class GDB register count.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    afaerber committed Jul 7, 2013
    Copy the full SHA
    c59a9aa View commit details
    Browse the repository at this point in the history
  23. gdbstub: Change gdb_register_coprocessor() argument to CPUState

    Signed-off-by: Andreas Färber <afaerber@suse.de>
    afaerber committed Jul 7, 2013
    Copy the full SHA
    7f6a4b8 View commit details
    Browse the repository at this point in the history
  24. cpu: Move gdb_regs field from CPU_COMMON to CPUState

    Prepares for changing gdb_register_coprocessor() argument to CPUState.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    afaerber committed Jul 7, 2013
    Copy the full SHA
    9e5ccc4 View commit details
    Browse the repository at this point in the history
  25. gdbstub: Change GDBState::g_cpu to CPUState

    Use CPUState::env_ptr for Xtensa.
    
    This removes the last user of CPUArchState from gdb_set_stop_cpu().
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    afaerber committed Jul 7, 2013
    Copy the full SHA
    fc8c46e View commit details
    Browse the repository at this point in the history
  26. cpu: Introduce CPUClass::memory_rw_debug() for target_memory_rw_debug()

    Make inline target_memory_rw_debug() always available and change its
    argument to CPUState. Let it check if CPUClass::memory_rw_debug provides
    a specialized callback and fall back to cpu_memory_rw_debug() otherwise.
    
    The only overriding implementation is for 32-bit sparc.
    
    This prepares for changing GDBState::g_cpu to CPUState.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    afaerber committed Jul 7, 2013
    Copy the full SHA
    d3790a8 View commit details
    Browse the repository at this point in the history
  27. exec: Change cpu_memory_rw_debug() argument to CPUState

    Propagate X86CPU in kvmvapic for simplicity.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    afaerber committed Jul 7, 2013
    Copy the full SHA
    d40d6bd View commit details
    Browse the repository at this point in the history
  28. cpu: Turn cpu_get_phys_page_debug() into a CPUClass hook

    Change breakpoint_invalidate() argument to CPUState alongside.
    
    Since all targets now assign a softmmu-only field, we can drop helpers
    cpu_class_set_{do_unassigned_access,vmsd}() and device_class_set_vmsd().
    
    Prepares for changing cpu_memory_rw_debug() argument to CPUState.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    afaerber committed Jul 7, 2013
    Copy the full SHA
    b4dc45a View commit details
    Browse the repository at this point in the history
  29. gdbstub: Change gdb_{read,write}_register() argument to CPUState

    Use CPUState::env_ptr for now.
    
    Prepares for changing GDBState::g_cpu to CPUState.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    afaerber committed Jul 7, 2013
    Copy the full SHA
    fd8529f View commit details
    Browse the repository at this point in the history
  30. gdbstub: Change GDBState::c_cpu to CPUState

    Allows us to drop find_cpu().
    Xtensa still needs env for its num_g_regs.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    afaerber committed Jul 7, 2013
    Copy the full SHA
    c88b726 View commit details
    Browse the repository at this point in the history
  31. gdbstub: Change gdb_handlesig() argument to CPUState

    Prepares for changing GDBState::c_cpu to CPUState.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    afaerber committed Jul 7, 2013
    Copy the full SHA
    50ebff3 View commit details
    Browse the repository at this point in the history
  32. gdbstub: Change syscall callback argument to CPUState

    Callback implementations were specific to arm and m68k, so can easily
    cast to ARMCPU and M68kCPU respectively.
    
    Prepares for changing GDBState::c_cpu to CPUState.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    afaerber committed Jul 7, 2013
    Copy the full SHA
    7068dc0 View commit details
    Browse the repository at this point in the history
  33. kvm: Change kvm_{insert,remove}_breakpoint() argument to CPUState

    CPUArchState is no longer directly used since converting CPU loops to
    CPUState.
    
    Prepares for changing GDBState::c_cpu to CPUState.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    afaerber committed Jul 7, 2013
    Copy the full SHA
    2989db1 View commit details
    Browse the repository at this point in the history
  34. cpu: Change cpu_single_step() argument to CPUState

    Use CPUState::env_ptr for now.
    
    Needed for GdbState::c_cpu.
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    afaerber committed Jul 7, 2013
    Copy the full SHA
    88e00ec View commit details
    Browse the repository at this point in the history
  35. gdbstub: Update gdb_handlesig() and gdb_signalled() Coding Style

    In particular reindent to 4 instead of 2 spaces.
    
    Prepares for changing cpu_single_step() argument in gdb_handlesig().
    
    Signed-off-by: Andreas Färber <afaerber@suse.de>
    afaerber committed Jul 7, 2013
    Copy the full SHA
    60ac475 View commit details
    Browse the repository at this point in the history
Older