Searched refs:regno (Results 1 - 25 of 226) sorted by relevance

12345678910

/freebsd-11-stable/contrib/gdb/gdb/config/i386/
H A Dnm-i386sco.h31 #define CANNOT_STORE_REGISTER(regno) ((regno) == 14 || (regno) == 15)
/freebsd-11-stable/contrib/gdb/gdb/
H A Dalphabsd-tdep.c30 alphabsd_supply_reg (char *regs, int regno) argument
33 alpha_supply_int_regs (regno, regs, regs + 31*8, NULL);
37 alphabsd_fill_reg (char *regs, int regno) argument
40 alpha_fill_int_regs (regno, regs, regs + 31*8, NULL);
44 alphabsd_supply_fpreg (char *fpregs, int regno) argument
47 alpha_supply_fp_regs (regno, fpregs, fpregs + 32*8);
51 alphabsd_fill_fpreg (char *fpregs, int regno) argument
54 alpha_fill_fp_regs (regno, fpregs, fpregs + 32*8);
H A Dppcnbsd-nat.c34 getregs_supplies (int regno) argument
38 return ((regno >= 0 && regno <= 31)
39 || regno == tdep->ppc_lr_regnum
40 || regno == tdep->ppc_cr_regnum
41 || regno == tdep->ppc_xer_regnum
42 || regno == tdep->ppc_ctr_regnum
43 || regno == PC_REGNUM);
48 getfpregs_supplies (int regno) argument
52 return ((regno >
57 fetch_inferior_registers(int regno) argument
87 store_inferior_registers(int regno) argument
[all...]
H A Dia64-fbsd-tdep.c101 ia64_fbsd_regcache_collect (struct regcache *regcache, int regno, argument
106 if (regno < 0 || regno >= NUM_REGS)
109 ofs = reg_offset[regno];
110 if (regno == IA64_BSP_REGNUM)
113 regcache_raw_collect (regcache, regno, &bsp);
120 regcache_raw_collect (regcache, regno, (char*)regs + ofs);
125 ia64_fbsd_regcache_supply (struct regcache *regcache, int regno, argument
130 if (regno < 0 || regno >
155 fill_fpregset(void *fpregs, int regno) argument
173 fill_gregset(void *gregs, int regno) argument
193 int regno; local
205 int regno; local
215 ia64_fbsd_supply_gregset(const struct regset *regset, struct regcache *regcache, int regno, const void *gregs, size_t len) argument
233 ia64_fbsd_supply_fpregset(const struct regset *regset, struct regcache *regcache, int regno, const void *fpregs, size_t len) argument
[all...]
H A Dppcfbsd-nat.c38 getregs_supplies (int regno) argument
42 return ((regno >= tdep->ppc_gp0_regnum && regno <= tdep->ppc_gplast_regnum)
43 || regno == tdep->ppc_lr_regnum
44 || regno == tdep->ppc_cr_regnum
45 || regno == tdep->ppc_xer_regnum
46 || regno == tdep->ppc_ctr_regnum
47 || regno == PC_REGNUM);
52 getfpregs_supplies (int regno) argument
68 return ((regno >
73 fetch_inferior_registers(int regno) argument
103 store_inferior_registers(int regno) argument
[all...]
H A Dmipsfbsd-nat.c40 getregs_supplies (int regno) argument
42 return ((regno) >= ZERO_REGNUM && (regno) <= PC_REGNUM);
46 fetch_inferior_registers (int regno) argument
48 if (regno == -1 || getregs_supplies (regno))
56 mipsfbsd_supply_reg ((char *) &regs, regno);
57 if (regno != -1)
61 if (regno == -1 || regno >
74 store_inferior_registers(int regno) argument
[all...]
H A Dmipsnbsd-nat.c33 getregs_supplies (int regno) argument
35 return ((regno) >= ZERO_REGNUM && (regno) <= PC_REGNUM);
39 fetch_inferior_registers (int regno) argument
41 if (regno == -1 || getregs_supplies (regno))
49 mipsnbsd_supply_reg ((char *) &regs, regno);
50 if (regno != -1)
54 if (regno == -1 || regno >
67 store_inferior_registers(int regno) argument
[all...]
H A Dalphabsd-nat.c56 fill_gregset (gregset_t *gregsetp, int regno) argument
58 alphabsd_fill_reg ((char *) gregsetp, regno);
68 fill_fpregset (fpregset_t *fpregsetp, int regno) argument
70 alphabsd_fill_fpreg ((char *) fpregsetp, regno);
77 getregs_supplies (int regno)
79 return ((regno >= ALPHA_V0_REGNUM && regno <= ALPHA_ZERO_REGNUM)
80 || regno >= PC_REGNUM);
88 fetch_inferior_registers (int regno)
90 if (regno
76 getregs_supplies(int regno) argument
87 fetch_inferior_registers(int regno) argument
118 store_inferior_registers(int regno) argument
[all...]
H A Dmips-nat.c55 register_ptrace_addr (int regno) argument
57 return (regno < 32 ? GPR_BASE + regno
58 : regno == mips_regnum (current_gdbarch)->pc ? PC
59 : regno == mips_regnum (current_gdbarch)->cause ? CAUSE
60 : regno == mips_regnum (current_gdbarch)->hi ? MMHI
61 : regno == mips_regnum (current_gdbarch)->lo ? MMLO
62 : regno == mips_regnum (current_gdbarch)->fp_control_status ? FPC_CSR
63 : regno == mips_regnum (current_gdbarch)->fp_implementation_revision ? FPC_EIR
64 : regno >
73 fetch_inferior_registers(int regno) argument
105 store_inferior_registers(int regno) argument
177 int regno; local
225 register_addr(int regno, CORE_ADDR blockend) argument
[all...]
H A Darmnbsd-nat.c43 int regno; local
47 for (regno = ARM_A1_REGNUM; regno < ARM_SP_REGNUM; regno++)
48 supply_register (regno, (char *) &gregset->r[regno]);
65 int regno; local
67 for (regno = ARM_F0_REGNUM; regno <= ARM_F7_REGNUM; regno
75 fetch_register(int regno) argument
123 int regno; local
138 fetch_fp_register(int regno) argument
171 int regno; local
186 fetch_inferior_registers(int regno) argument
204 store_register(int regno) argument
276 int regno; local
312 store_fp_register(int regno) argument
351 int regno; local
368 store_inferior_registers(int regno) argument
395 int regno; local
[all...]
H A Dppcnbsd-tdep.c49 ppcnbsd_supply_reg (char *regs, int regno) argument
56 if (regno == i || regno == -1)
60 if (regno == tdep->ppc_lr_regnum || regno == -1)
63 if (regno == tdep->ppc_cr_regnum || regno == -1)
66 if (regno == tdep->ppc_xer_regnum || regno == -1)
69 if (regno
77 ppcnbsd_fill_reg(char *regs, int regno) argument
105 ppcnbsd_supply_fpreg(char *fpregs, int regno) argument
121 ppcnbsd_fill_fpreg(char *fpregs, int regno) argument
[all...]
H A Dcore-aout.c52 #define CORE_REGISTER_ADDR(regno, regptr) register_addr(regno, regptr)
80 int regno; local
95 for (regno = 0; regno < numregs; regno++)
97 addr = CORE_REGISTER_ADDR (regno, reg_ptr);
100 bad_reg = regno;
102 supply_register (regno, core_reg_sect + addr);
116 register_addr (int regno, CORE_ADD argument
[all...]
H A Dia64-fbsd-nat.c53 fetch_inferior_registers (int regno) argument
60 if (regno == -1 || GREG_SUPPLIES(regno))
68 if (regno == -1 || FPREG_SUPPLIES(regno))
78 store_inferior_registers (int regno) argument
85 if (regno == -1 || GREG_SUPPLIES(regno))
90 fill_gregset (&regs.r, regno);
94 if (regno !
[all...]
H A Di386-nto-tdep.c62 /* Given a gdb regno, return the offset into Neutrino's register structure
65 nto_reg_offset (int regno) argument
67 return (regno >= 0 && regno < NUM_GPREGS) ? regmap[regno] : -1;
73 unsigned regno; local
76 for (regno = 0; regno < FP0_REGNUM; regno++)
78 int offset = nto_reg_offset (regno);
110 i386nto_regset_id(int regno) argument
123 i386nto_register_area(int regno, int regset, unsigned *off) argument
173 int regno; local
[all...]
H A Ddelta68-nat.c37 register_addr (int regno, CORE_ADDR blockend) argument
42 if (regno >= 0 && regno < sizeof (sysv68reg) / sizeof (sysv68reg[0]))
43 return blockend + sysv68reg[regno] * 4;
44 else if (regno < FPC_REGNUM)
45 return offsetof (struct user, u_fpu.regs.reg[regno - FP0_REGNUM][0]);
46 else if (regno == FPC_REGNUM)
48 else if (regno == FPS_REGNUM)
50 else if (regno == FPI_REGNUM)
56 regno);
[all...]
H A Dgregset.h49 the native target gregset/fpregset. If regno is -1,
52 extern void fill_gregset (gdb_gregset_t *gregs, int regno);
53 extern void fill_fpregset (gdb_fpregset_t *fpregs, int regno);
66 extern void fill_fpxregset (gdb_fpxregset_t *fpxregs, int regno);
H A Di386bsd-nat.c57 #define CANNOT_FETCH_REGISTER(regno) cannot_fetch_register (regno)
62 #define CANNOT_STORE_REGISTER(regno) cannot_fetch_register (regno)
99 #define REG_ADDR(regset, regno) ((char *) (regset) + reg_offset[regno])
102 #define GETREGS_SUPPLIES(regno) \
103 ((0 <= (regno) && (regno) <= 15))
114 cannot_fetch_register (int regno)
113 cannot_fetch_register(int regno) argument
143 fill_gregset(gregset_t *gregsetp, int regno) argument
168 fill_fpregset(fpregset_t *fpregsetp, int regno) argument
177 fetch_inferior_registers(int regno) argument
227 store_inferior_registers(int regno) argument
368 register_u_addr(CORE_ADDR blockend, int regno) argument
[all...]
H A Dalpha-nat.c62 int regno; local
98 for (regno = 0; regno < ALPHA_NUM_REGS; regno++)
100 if (CANNOT_FETCH_REGISTER (regno))
102 supply_register (regno, NULL);
105 addr = 8 * core_reg_mapping[regno];
109 if (regno == ALPHA_UNIQUE_REGNUM)
111 supply_register (regno, NULL);
115 bad_reg = regno;
167 register_addr(int regno, CORE_ADDR blockend) argument
211 fill_gregset(gdb_gregset_t *gregsetp, int regno) argument
235 fill_fpregset(gdb_fpregset_t *fpregsetp, int regno) argument
[all...]
H A Di386v4-nat.c119 fill_gregset (gregset_t *gregsetp, int regno) argument
125 if (regno == -1 || regno == i)
150 fill_fpregset (fpregset_t *fpregsetp, int regno) argument
155 i387_fill_fsave ((char *) fpregsetp, regno);
H A Ddink32-rom.c36 int regno = 0; local
47 regno = regname[1] - '0';
49 regno = (regname[1] - '0') * 10 + (regname[2] - '0');
57 regno = 32 + regname[2] - '0';
59 regno = 32 + (regname[2] - '0') * 10 + (regname[3] - '0');
66 regno = 64;
71 regno = 65;
76 regno = 66;
82 regno = 67;
84 regno
[all...]
H A Di386gnu-nat.c116 gnu_fetch_registers (int regno)
128 if (regno < I386_NUM_GREGS || regno == -1)
141 if (regno == -1)
153 proc_debug (thread, "fetching register %s", REGISTER_NAME (regno));
155 supply_register (regno, REG_ADDR (state, regno));
156 thread->fetched_regs |= (1 << regno);
160 if (regno >= I386_NUM_GREGS || regno
115 gnu_fetch_registers(int regno) argument
171 store_fpregs(struct proc *thread, int regno) argument
202 gnu_store_registers(int regno) argument
[all...]
/freebsd-11-stable/contrib/gdb/gdb/config/rs6000/
H A Dtm-rs6000ly.h29 #define CANNOT_STORE_REGISTER(regno) (regno == PS_REGNUM)
/freebsd-11-stable/contrib/gcc/
H A Daddresses.h51 ok_for_base_p_1 (unsigned regno, enum machine_mode mode ATTRIBUTE_UNUSED, argument
56 return REGNO_MODE_CODE_OK_FOR_BASE_P (regno, mode, outer_code, index_code);
60 return REGNO_MODE_OK_FOR_REG_BASE_P (regno, mode);
63 return REGNO_MODE_OK_FOR_BASE_P (regno, mode);
65 return REGNO_OK_FOR_BASE_P (regno);
74 regno_ok_for_base_p (unsigned regno, enum machine_mode mode, argument
77 if (regno >= FIRST_PSEUDO_REGISTER && reg_renumber[regno] >= 0)
78 regno = reg_renumber[regno];
[all...]
H A Dcaller-save.c299 unsigned int regno = reg_renumber[i];
301 = regno + hard_regno_nregs[regno][GET_MODE (regno_reg_rtx[i])];
303 for (r = regno; r < endregno; r++)
396 int regno;
408 for (regno = 0; regno < FIRST_PSEUDO_REGISTER; regno++)
409 if (TEST_HARD_REG_BIT (referenced_regs, regno))
410 regno
297 unsigned int regno = reg_renumber[i]; local
393 int regno; local
412 unsigned regno; local
479 int regno; local
501 int regno, endregno, i; local
531 int regno, endregno, i; local
592 int regno = REGNO (x); local
637 insert_restore(struct insn_chain *chain, int before_p, int regno, int maxrestore, enum machine_mode *save_mode) argument
709 insert_save(struct insn_chain *chain, int before_p, int regno, HARD_REG_SET (*to_save), enum machine_mode *save_mode) argument
821 int regno, i; local
[all...]
/freebsd-11-stable/gnu/usr.bin/gdb/arch/arm/
H A Darmfbsd-nat.c72 int regno; local
76 for (regno = ARM_A1_REGNUM; regno < ARM_SP_REGNUM; regno++)
77 supply_register (regno, (char *) &gregset->r[regno]);
94 fill_gregset (struct reg *gregset, int regno) argument
99 if ((regno == -1 || regno == i))
101 if (regno
114 int regno; local
124 fill_fpregset(struct fpreg *fparegset, int regno) argument
138 fetch_register(int regno) argument
190 int regno; local
207 fetch_fp_register(int regno) argument
244 int regno; local
261 fetch_inferior_registers(int regno) argument
279 store_register(int regno) argument
355 int regno; local
393 store_fp_register(int regno) argument
436 int regno; local
455 store_inferior_registers(int regno) argument
483 int regno; local
[all...]

Completed in 227 milliseconds

12345678910