Home
last modified time | relevance | path

Searched refs:gregs (Results 1 – 2 of 2) sorted by relevance

/xen/tools/debugger/gdbsx/gx/
A Dgx_local.c114 union xg_gdb_regs gregs; in prnt_vcpu_context() local
118 rc = xg_regs_read(XG_GPRS, vcpuid, &gregs, guest_bitness); in prnt_vcpu_context()
124 prnt_32regs(&gregs.gregs_32); in prnt_vcpu_context()
125 prnt_call_trace32(gregs.gregs_32.eip, gregs.gregs_32.esp); in prnt_vcpu_context()
127 prnt_64regs(&gregs.gregs_64); in prnt_vcpu_context()
128 prnt_call_trace64(gregs.gregs_64.rip, gregs.gregs_64.rsp); in prnt_vcpu_context()
A Dgx_main.c58 union xg_gdb_regs gregs; in gx_write_guest_regs() local
61 int regsz = (guest_bitness == 32) ? sizeof(gregs.gregs_32) : in gx_write_guest_regs()
62 sizeof(gregs.gregs_64); in gx_write_guest_regs()
68 gx_convert_ascii_to_int(rbuf, (char *)&gregs, regsz); in gx_write_guest_regs()
70 rc = xg_regs_write(XG_GPRS, current_vcpu, &gregs, guest_bitness); in gx_write_guest_regs()
86 union xg_gdb_regs gregs; in gx_read_guest_regs() local
89 rc = xg_regs_read(XG_GPRS, current_vcpu, &gregs, guest_bitness); in gx_read_guest_regs()
94 int sz = (guest_bitness == 32) ? sizeof(gregs.gregs_32) : in gx_read_guest_regs()
95 sizeof(gregs.gregs_64); in gx_read_guest_regs()
96 gx_convert_int_to_ascii((char *)&gregs, rbuf, sz); in gx_read_guest_regs()

Completed in 3 milliseconds