Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/bhyve/common/
H A Dgdb.c154 static const struct gdb_reg gdb_regset[] = { variable
983 uint64_t regvals[nitems(gdb_regset)]; in gdb_read_regs()
984 int regnums[nitems(gdb_regset)]; in gdb_read_regs()
986 for (size_t i = 0; i < nitems(gdb_regset); i++) in gdb_read_regs()
987 regnums[i] = gdb_regset[i].id; in gdb_read_regs()
988 if (vm_get_register_set(vcpus[cur_vcpu], nitems(gdb_regset), in gdb_read_regs()
994 for (size_t i = 0; i < nitems(gdb_regset); i++) in gdb_read_regs()
995 append_unsigned_native(regvals[i], gdb_regset[i].size); in gdb_read_regs()
1006 if (reg >= nitems(gdb_regset)) { in gdb_read_one_reg()
1011 if (vm_get_register(vcpus[cur_vcpu], gdb_regset[reg].id, &regval) == in gdb_read_one_reg()
[all …]