Home
last modified time | relevance | path

Searched refs:gregset (Results 1 – 25 of 34) sorted by relevance

12

/netbsd/src/external/gpl3/gcc/dist/libgcc/config/i386/
Dgnu-unwind.h109 gregset_t *gregset = &uctxp->uc_mcontext.gregs; in x86_gnu_fallback_frame_state() local
110 usp = (*gregset)[REG_UESP]; in x86_gnu_fallback_frame_state()
112 fs->regs.reg[0].loc.offset = (unsigned long)&(*gregset)[REG_EAX] - usp; in x86_gnu_fallback_frame_state()
113 fs->regs.reg[1].loc.offset = (unsigned long)&(*gregset)[REG_ECX] - usp; in x86_gnu_fallback_frame_state()
114 fs->regs.reg[2].loc.offset = (unsigned long)&(*gregset)[REG_EDX] - usp; in x86_gnu_fallback_frame_state()
115 fs->regs.reg[3].loc.offset = (unsigned long)&(*gregset)[REG_EBX] - usp; in x86_gnu_fallback_frame_state()
116 fs->regs.reg[5].loc.offset = (unsigned long)&(*gregset)[REG_EBP] - usp; in x86_gnu_fallback_frame_state()
117 fs->regs.reg[6].loc.offset = (unsigned long)&(*gregset)[REG_ESI] - usp; in x86_gnu_fallback_frame_state()
118 fs->regs.reg[7].loc.offset = (unsigned long)&(*gregset)[REG_EDI] - usp; in x86_gnu_fallback_frame_state()
119 fs->regs.reg[8].loc.offset = (unsigned long)&(*gregset)[REG_EIP] - usp; in x86_gnu_fallback_frame_state()
/netbsd/src/external/gpl3/gdb/dist/gdb/
Darm-netbsd-tdep.c56 const arm_nbsd_reg *gregset = static_cast<const arm_nbsd_reg *>(gregs); in arm_nbsd_supply_gregset() local
62 regcache->raw_supply (i, (char *) &gregset->reg[i]); in arm_nbsd_supply_gregset()
65 regcache->raw_supply (ARM_SP_REGNUM, (char *) &gregset->sp); in arm_nbsd_supply_gregset()
68 regcache->raw_supply (ARM_LR_REGNUM, (char *) &gregset->lr); in arm_nbsd_supply_gregset()
75 uint32_t r_pc = gdbarch_addr_bits_remove (regcache->arch (), gregset->pc); in arm_nbsd_supply_gregset()
82 regcache->raw_supply (ARM_PS_REGNUM, (char *) &gregset->cpsr); in arm_nbsd_supply_gregset()
84 regcache->raw_supply (ARM_PS_REGNUM, (char *) &gregset->pc); in arm_nbsd_supply_gregset()
Dproc-service.c145 ps_lgetregs (struct ps_prochandle *ph, lwpid_t lwpid, prgregset_t gregset) in ps_lgetregs() argument
150 fill_gregset (regcache, (gdb_gregset_t *) gregset, -1); in ps_lgetregs()
159 ps_lsetregs (struct ps_prochandle *ph, lwpid_t lwpid, const prgregset_t gregset) in ps_lsetregs() argument
163 supply_gregset (regcache, (const gdb_gregset_t *) gregset); in ps_lsetregs()
Dsol-thread.c476 prgregset_t gregset; in fetch_registers() local
478 gdb_gregset_t *gregset_p = &gregset; in fetch_registers()
501 val = p_td_thr_getgregs (&thandle, gregset); in fetch_registers()
530 prgregset_t gregset; in store_registers() local
551 val = p_td_thr_getgregs (&thandle, gregset); in store_registers()
561 fill_gregset (regcache, (gdb_gregset_t *) &gregset, regnum); in store_registers()
564 val = p_td_thr_setgregs (&thandle, gregset); in store_registers()
844 ps_lgetregs (struct ps_prochandle *ph, lwpid_t lwpid, prgregset_t gregset) in ps_lgetregs() argument
851 fill_gregset (regcache, (gdb_gregset_t *) gregset, -1); in ps_lgetregs()
860 const prgregset_t gregset) in ps_lsetregs() argument
[all …]
Damd64-fbsd-nat.c103 const struct regset *gregset = find_gregset (gdbarch); in fetch_registers() local
105 if (fetch_register_set<struct reg> (regcache, regnum, PT_GETREGS, gregset)) in fetch_registers()
175 const struct regset *gregset = find_gregset (gdbarch); in store_registers() local
178 gregset)) in store_registers()
Dloongarch-linux-nat.c380 supply_gregset (struct regcache *regcache, const gdb_gregset_t *gregset) in supply_gregset() argument
382 loongarch_gregset.supply_regset (nullptr, regcache, -1, gregset, in supply_gregset()
387 fill_gregset (const struct regcache *regcache, gdb_gregset_t *gregset, in fill_gregset() argument
390 loongarch_gregset.collect_regset (nullptr, regcache, regnum, gregset, in fill_gregset()
Dsparc-tdep.h75 const struct regset *gregset = nullptr; member
Dppc-linux-nat.c1129 gdb_gregset_t gregset; in fetch_all_gp_regs() local
1131 if (ptrace (PTRACE_GETREGS, tid, 0, (void *) &gregset) < 0) in fetch_all_gp_regs()
1141 supply_gregset (regcache, (const gdb_gregset_t *) &gregset); in fetch_all_gp_regs()
1681 gdb_gregset_t gregset; in store_all_gp_regs() local
1683 if (ptrace (PTRACE_GETREGS, tid, 0, (void *) &gregset) < 0) in store_all_gp_regs()
1693 fill_gregset (regcache, &gregset, regno); in store_all_gp_regs()
1695 if (ptrace (PTRACE_SETREGS, tid, 0, (void *) &gregset) < 0) in store_all_gp_regs()
Dsparc-sol2-tdep.c200 tdep->gregset = &sparc32_sol2_gregset; in sparc32_sol2_init_abi()
Dsparc64-sol2-tdep.c203 tdep->gregset = &sparc64_sol2_gregset; in sparc64_sol2_init_abi()
Dsparc64-fbsd-tdep.c229 tdep->gregset = &sparc64fbsd_gregset; in sparc64fbsd_init_abi()
Dsparc64-netbsd-tdep.c254 tdep->gregset = &sparc64nbsd_gregset; in sparc64nbsd_init_abi()
Dsparc-netbsd-tdep.c305 tdep->gregset = &sparc32nbsd_gregset; in sparc32nbsd_init_abi()
Dsparc-linux-tdep.c428 tdep->gregset = &sparc32_linux_gregset; in sparc32_linux_init_abi()
Dsparc64-linux-tdep.c371 tdep->gregset = &sparc64_linux_gregset; in sparc64_linux_init_abi()
Dsparc64-obsd-tdep.c428 tdep->gregset = &sparc64obsd_gregset; in sparc64obsd_init_abi()
Dsparc-tdep.c1780 cb (".reg", tdep->sizeof_gregset, tdep->sizeof_gregset, tdep->gregset, NULL, in sparc_iterate_over_regset_sections()
1928 if (tdep->gregset) in sparc32_gdbarch_init()
DChangeLog-20001371 * sparc-tdep.c (gregset.h): Don't include unless USE_PROC_FS is
1554 to match declarations in gregset.h.
1557 in gregset.h.
1874 [!HAVE_PROC_SERVICE_H]: Include "gregset.h", define prgregset_t
2041 * gregset.h: Protect against multiple inclusion. Remove some
4057 * i386bsd-nat.c: Include "gregset.h".
4215 * gregset.h: New file. Typedefs for gdb_gregset_t and
4217 * procfs.c: Include gregset.h. Delete local prototypes for
4219 * sol-thread.c: Include gregset.h, delete local prototypes,
4225 arm-linux-nat.c, alpha-nat.c: Include gregset.h.
DChangeLog-2014882 (sparc32_sol2_init_abi): Set tdep->gregset/sizeof_gregset and
890 (sparc64_sol2_init_abi): Set tdep->gregset/sizeof_gregset and
981 * i386gnu-nat.c: Do not include <sys/procfs.h> or "gregset.h".
3488 gregset, sizeof_gregset, fpregset, and sizeof_fpregset.
8647 * sparc-tdep.h (struct gdbarch_tdep): Constify 'gregset' and
8784 * mips-tdep.h (struct gdbarch_tdep): Remove fields 'gregset',
8809 'gregset', 'fpregset', and 'xstateregset'.
8810 * i386-tdep.h (struct gdbarch_tdep): Remove fields 'gregset',
8825 * arm-tdep.h (struct gdbarch_tdep): Remove 'gregset', 'fpregset',
8834 * aarch64-tdep.h (struct gdbarch_tdep): Remove 'gregset' and
DChangeLog-20042783 <sys/procfs.h>, "elf-bfd.h", "gregset.h", <ctype.h>,
6141 * amd64fbsd-nat.c: Don't include <sys/procfs.h> and "gregset.h".
7548 * i386bsd-nat.c: Don't include "gregset.h".
7556 "gdb_assert.h". Con't include "gregset.h".
8516 the right place in the gregset.
14593 (sparc64nbsd_init_abi): Initialize TDEP->gregset,
14618 (sparc64fbsd_init_abi): Initialize TDEP->gregset,
14627 (sparc32nbsd_init_abi): Initialize TDEP->gregset and
14632 (struct gdbarch_tdep): Add gregset, sizeof_gregset,
14636 (sparc32_gdbarch_init): Initialize TDEP->gregset,
DMakefile.in1396 gregset.h \
DChangeLog-20165133 * gdb_proc_service.h: Add an include of gregset.h
5134 [!HAVE_PROC_SERVICE_H]: Remove the include of gregset.h.
5146 "gregset.h".
5375 * nat/linux-ptrace.c: Include "gregset.h".
DChangeLog-20029948 * gregset.h: Say "GNU/Linux".
10662 * gregset.h: If FILL_FPXREGSET is defined, provide
12322 * x86-64-linux-tdep.c, gregset.h, gdb_wait.h: Ditto.
14504 * gregset.h: Remove references to fpxregs.
14664 * gregset.h (gdb_fpxregset_t): Define.
DChangeLog-20077656 * gregset.h (struct regcache): Add forward declaration.
7938 * mips-linux-nat.c: Include "gregset.h".
8119 <sys/procfs.h>, and "gregset.h".
DChangeLog-20103123 * mips-tdep.c(mips_gdbarch_init): Initialize tdep->gregset,
3125 * mips-tdep.h(gdbarch_tdep): Add gregset, gregset64, fpregset
4792 * gregset.h (GDB_FPXREGSET_T): Remove.

12