Searched refs:gregset (Results 1 - 24 of 24) sorted by relevance

/freebsd-11-stable/contrib/gdb/gdb/
H A Dcore-regset.c47 #include "gregset.h"
65 gdb_gregset_t gregset; local
71 if (core_reg_size != sizeof (gregset))
72 warning ("Wrong size gregset in core file.");
75 memcpy (&gregset, core_reg_sect, sizeof (gregset));
76 supply_gregset (&gregset);
H A Damd64obsd-tdep.c63 if (tdep->gregset == NULL)
65 tdep->gregset = XMALLOC (struct regset);
66 tdep->gregset->descr = tdep;
67 tdep->gregset->supply_regset = amd64obsd_supply_regset;
69 return tdep->gregset;
H A Darmnbsd-nat.c41 supply_gregset (struct reg *gregset) argument
48 supply_register (regno, (char *) &gregset->r[regno]);
50 supply_register (ARM_SP_REGNUM, (char *) &gregset->r_sp);
51 supply_register (ARM_LR_REGNUM, (char *) &gregset->r_lr);
53 r_pc = ADDR_BITS_REMOVE (gregset->r_pc);
57 supply_register (ARM_PS_REGNUM, (char *) &gregset->r_cpsr);
59 supply_register (ARM_PS_REGNUM, (char *) &gregset->r_pc);
406 struct reg gregset; local
418 memcpy (&gregset, core_reg_sect, sizeof (gregset));
[all...]
H A Dsparc64-tdep.c1151 sparc64_supply_gregset (const struct sparc_gregset *gregset,
1163 int offset = gregset->r_tstate_offset;
1176 regs + gregset->r_pc_offset + 4);
1180 regs + gregset->r_npc_offset + 4);
1184 int offset = gregset->r_y_offset + 8 - gregset->r_y_size;
1192 regs + gregset->r_tstate_offset);
1196 regs + gregset->r_pc_offset);
1200 regs + gregset->r_npc_offset);
1207 memcpy (buf + 8 - gregset
1144 sparc64_supply_gregset(const struct sparc_gregset *gregset, struct regcache *regcache, int regnum, const void *gregs) argument
1258 sparc64_collect_gregset(const struct sparc_gregset *gregset, const struct regcache *regcache, int regnum, void *gregs) argument
[all...]
H A Dsparc64-tdep.h90 extern void sparc64_supply_gregset (const struct sparc_gregset *gregset,
93 extern void sparc64_collect_gregset (const struct sparc_gregset *gregset,
H A Di386nbsd-tdep.c86 if (tdep->gregset == NULL)
88 tdep->gregset = XMALLOC (struct regset);
89 tdep->gregset->descr = tdep;
90 tdep->gregset->supply_regset = i386nbsd_aout_supply_regset;
92 return tdep->gregset;
H A Di386obsd-tdep.c162 if (tdep->gregset == NULL)
164 tdep->gregset = XMALLOC (struct regset);
165 tdep->gregset->descr = tdep;
166 tdep->gregset->supply_regset = i386obsd_aout_supply_regset;
168 return tdep->gregset;
H A Dsparc-tdep.h57 struct regset *gregset; member in struct:gdbarch_tdep
177 extern void sparc32_supply_gregset (const struct sparc_gregset *gregset,
180 extern void sparc32_collect_gregset (const struct sparc_gregset *gregset,
H A Dsparc64obsd-tdep.c189 tdep->gregset = XMALLOC (struct regset);
190 tdep->gregset->descr = &sparc64obsd_core_gregset;
191 tdep->gregset->supply_regset = sparc64obsd_supply_gregset;
H A Dproc-service.c32 #include "gregset.h"
234 ps_lgetregs (gdb_ps_prochandle_t ph, lwpid_t lwpid, prgregset_t gregset)
241 fill_gregset ((gdb_gregset_t *) gregset, -1);
251 ps_lsetregs (gdb_ps_prochandle_t ph, lwpid_t lwpid, const prgregset_t gregset)
258 supply_gregset ((gdb_gregset_t *) gregset);
230 ps_lgetregs(gdb_ps_prochandle_t ph, lwpid_t lwpid, prgregset_t gregset) argument
247 ps_lsetregs(gdb_ps_prochandle_t ph, lwpid_t lwpid, const prgregset_t gregset) argument
H A Dsparc64nbsd-nat.c32 sparc64nbsd_supply_gregset (const struct sparc_gregset *gregset, argument
45 sparc64nbsd_collect_gregset (const struct sparc_gregset *gregset, argument
H A Dsparc-tdep.c1118 return tdep->gregset;
1145 tdep->gregset = NULL;
1201 if (tdep->gregset)
1325 sparc32_supply_gregset (const struct sparc_gregset *gregset,
1334 regs + gregset->r_psr_offset);
1338 regs + gregset->r_pc_offset);
1342 regs + gregset->r_npc_offset);
1346 regs + gregset->r_y_offset);
1353 int offset = gregset->r_g1_offset;
1367 if (gregset
1312 sparc32_supply_gregset(const struct sparc_gregset *gregset, struct regcache *regcache, int regnum, const void *gregs) argument
1376 sparc32_collect_gregset(const struct sparc_gregset *gregset, const struct regcache *regcache, int regnum, void *gregs) argument
[all...]
H A Dsparc64fbsd-tdep.c230 tdep->gregset = XMALLOC (struct regset);
231 tdep->gregset->descr = &sparc64fbsd_gregset;
232 tdep->gregset->supply_regset = sparc64fbsd_supply_gregset;
H A Dsparc64nbsd-tdep.c232 tdep->gregset = XMALLOC (struct regset);
233 tdep->gregset->descr = &sparc64nbsd_gregset;
234 tdep->gregset->supply_regset = sparc64nbsd_supply_gregset;
H A Dia64-fbsd-tdep.c250 static struct regset gregset = { NULL, ia64_fbsd_supply_gregset }; variable in typeref:struct:regset
258 return (&gregset);
H A Di386-tdep.h61 struct regset *gregset; member in struct:gdbarch_tdep
H A Dsparcnbsd-tdep.c279 tdep->gregset = XMALLOC (struct regset);
280 tdep->gregset->descr = &sparc32nbsd_gregset;
281 tdep->gregset->supply_regset = sparc32nbsd_supply_gregset;
H A Dsol-thread.c82 #include "gregset.h"
551 prgregset_t gregset;
581 val = p_td_thr_getgregs (&thandle, gregset);
602 supply_gregset ((gdb_gregset_t *) &gregset);
629 prgregset_t gregset;
658 val = p_td_thr_getgregs (&thandle, gregset);
688 fill_gregset ((gdb_gregset_t *) &gregset, regno);
691 val = p_td_thr_setgregs (&thandle, gregset);
1147 prgregset_t gregset)
1159 fill_gregset ((gdb_gregset_t *) gregset,
547 prgregset_t gregset; local
625 prgregset_t gregset; local
1141 ps_lgetregs(gdb_ps_prochandle_t ph, lwpid_t lwpid, prgregset_t gregset) argument
1164 ps_lsetregs(gdb_ps_prochandle_t ph, lwpid_t lwpid, const prgregset_t gregset) argument
[all...]
H A Dthread-db.c940 prgregset_t gregset;
954 err = td_thr_getgregs_p (&thread_info->private->th, gregset);
967 supply_gregset ((gdb_gregset_t *) gregset);
974 prgregset_t gregset;
998 fill_gregset ((gdb_gregset_t *) gregset, -1);
1001 err = td_thr_setgregs_p (&thread_info->private->th, gregset);
934 prgregset_t gregset; local
968 prgregset_t gregset; local
H A Di386-tdep.c1630 if (tdep->gregset == NULL)
1632 tdep->gregset = XMALLOC (struct regset);
1633 tdep->gregset->descr = tdep;
1634 tdep->gregset->supply_regset = i386_supply_gregset;
1636 return tdep->gregset;
1920 tdep->gregset = NULL;
H A Ds390-tdep.c60 const struct regset *gregset; member in struct:gdbarch_tdep
471 return tdep->gregset;
3051 tdep->gregset = &s390_gregset;
3066 tdep->gregset = &s390x_gregset;
/freebsd-11-stable/gnu/usr.bin/gdb/arch/arm/
H A Darmfbsd-nat.c70 supply_gregset (struct reg *gregset) argument
77 supply_register (regno, (char *) &gregset->r[regno]);
79 supply_register (ARM_SP_REGNUM, (char *) &gregset->r_sp);
80 supply_register (ARM_LR_REGNUM, (char *) &gregset->r_lr);
81 supply_register (ARM_PC_REGNUM, (char *) &gregset->r_pc);
84 supply_register (ARM_PS_REGNUM, (char *) &gregset->r_cpsr);
86 supply_register (ARM_PS_REGNUM, (char *) &gregset->r_pc);
94 fill_gregset (struct reg *gregset, int regno) argument
100 regcache_collect (i, &gregset->r[i]);
102 regcache_collect (ARM_SP_REGNUM, &gregset
494 struct reg gregset; local
[all...]
/freebsd-11-stable/contrib/gdb/gdb/gdbserver/
H A Dproc-service.c129 ps_lgetregs (gdb_ps_prochandle_t ph, lwpid_t lwpid, prgregset_t gregset) argument
145 gregset_info()->fill_function (gregset, regcache);
159 ps_lsetregs (gdb_ps_prochandle_t ph, lwpid_t lwpid, const prgregset_t gregset) argument
173 gregset_info()->store_function (gregset, regcache);
/freebsd-11-stable/gnu/usr.bin/gdb/libgdb/
H A Dfbsd-threads.c45 #include "gregset.h"
878 prgregset_t gregset; local
898 err = td_thr_getgregs_p (&th, gregset);
922 supply_gregset (gregset);
979 prgregset_t gregset; local
1005 err = td_thr_getgregs_p (&th, gregset);
1022 fill_gregset (gregset, regno);
1023 err = td_thr_setgregs_p (&th, gregset);
1687 ps_lgetregs (struct ps_prochandle *ph, lwpid_t lwpid, prgregset_t gregset) argument
1697 fill_gregset (gregset,
1703 ps_lsetregs(struct ps_prochandle *ph, lwpid_t lwpid, const prgregset_t gregset) argument
[all...]

Completed in 241 milliseconds