Searched refs:writebuf (Results 1 - 25 of 218) sorted by relevance

123456789

/netbsd-current/external/gpl3/gdb/dist/gdb/nat/
H A Dnetbsd-nat.h68 unsigned const char *writebuf, CORE_ADDR offset,
79 extern int write_memory (pid_t pid, unsigned const char *writebuf,
H A Dnetbsd-nat.c188 unsigned const char *writebuf, CORE_ADDR offset, int len)
205 memcpy (((gdb_byte *) &psi.psi_siginfo) + offset, writebuf, len);
216 write_memory (pid_t pid, unsigned const char *writebuf, CORE_ADDR offset, argument
230 io.piod_addr = (void *)(writebuf + bytes_written);
187 qxfer_siginfo(pid_t pid, const char *annex, unsigned char *readbuf, unsigned const char *writebuf, CORE_ADDR offset, int len) argument
/netbsd-current/external/gpl3/gdb.old/dist/gdb/
H A Dsparc-nat.h50 const gdb_byte *writebuf,
70 const gdb_byte *writebuf,
75 return sparc_xfer_wcookie (object, annex, readbuf, writebuf,
78 return BaseTarget::xfer_partial (object, annex, readbuf, writebuf,
H A Dbfd-target.c50 const gdb_byte *writebuf,
69 const gdb_byte *writebuf,
77 return section_table_xfer_memory_partial (readbuf, writebuf,
67 xfer_partial(target_object object, const char *annex, gdb_byte *readbuf, const gdb_byte *writebuf, ULONGEST offset, ULONGEST len, ULONGEST *xfered_len) argument
H A Dppc-sysv-tdep.c598 const gdb_byte *writebuf)
607 if (writebuf != NULL)
615 memcpy (regval + 4, writebuf, 4);
619 p = writebuf;
635 if (writebuf != NULL || readbuf != NULL)
641 if (writebuf != NULL)
643 writebuf + i * 8);
675 gdb_byte *readbuf, const gdb_byte *writebuf,
698 if (writebuf)
704 target_float_convert (writebuf, typ
596 get_decimal_float_return_value(struct gdbarch *gdbarch, struct type *valtype, struct regcache *regcache, gdb_byte *readbuf, const gdb_byte *writebuf) argument
673 do_ppc_sysv_return_value(struct gdbarch *gdbarch, struct type *func_type, struct type *type, struct regcache *regcache, gdb_byte *readbuf, const gdb_byte *writebuf, int broken_gcc) argument
1004 ppc_sysv_abi_return_value(struct gdbarch *gdbarch, struct value *function, struct type *valtype, struct regcache *regcache, gdb_byte *readbuf, const gdb_byte *writebuf) argument
1014 ppc_sysv_abi_broken_return_value(struct gdbarch *gdbarch, struct value *function, struct type *valtype, struct regcache *regcache, gdb_byte *readbuf, const gdb_byte *writebuf) argument
1738 ppc64_sysv_abi_return_value_base(struct gdbarch *gdbarch, struct type *valtype, struct regcache *regcache, gdb_byte *readbuf, const gdb_byte *writebuf, int index) argument
1904 ppc64_sysv_abi_return_value(struct gdbarch *gdbarch, struct value *function, struct type *valtype, struct regcache *regcache, gdb_byte *readbuf, const gdb_byte *writebuf) argument
[all...]
H A Drs6000-lynx178-tdep.c265 gdb_byte *readbuf, const gdb_byte *writebuf)
282 if (writebuf)
283 regcache->cooked_write (tdep->ppc_vr0_regnum + 2, writebuf);
316 if (writebuf)
318 target_float_convert (writebuf, valtype, regval, regtype);
342 if (writebuf)
347 unpack_long (valtype, writebuf));
369 if (writebuf)
371 regcache->cooked_write (tdep->ppc_gp0_regnum + 3, writebuf);
372 regcache->cooked_write (tdep->ppc_gp0_regnum + 4, writebuf
263 rs6000_lynx178_return_value(struct gdbarch *gdbarch, struct value *function, struct type *valtype, struct regcache *regcache, gdb_byte *readbuf, const gdb_byte *writebuf) argument
[all...]
H A Dinf-ptrace.c369 const gdb_byte *writebuf,
406 if (writebuf != NULL)
408 memcpy (buf.byte + skip, writebuf + n, chunk);
433 const gdb_byte *writebuf,
454 piod.piod_op = writebuf ? PIOD_WRITE_I : PIOD_READ_D;
455 piod.piod_addr = writebuf ? (void *) writebuf : readbuf;
473 *xfered_len = inf_ptrace_peek_poke (ptid, readbuf, writebuf,
488 if (writebuf)
365 inf_ptrace_peek_poke(ptid_t ptid, gdb_byte *readbuf, const gdb_byte *writebuf, ULONGEST addr, ULONGEST len) argument
428 xfer_partial(enum target_object object, const char *annex, gdb_byte *readbuf, const gdb_byte *writebuf, ULONGEST offset, ULONGEST len, ULONGEST *xfered_len) argument
H A Dinf-ptrace.h56 const gdb_byte *writebuf,
H A Dauxv.c44 const gdb_byte *writebuf,
53 fd = gdb_open_cloexec (pathname, writebuf != NULL ? O_WRONLY : O_RDONLY, 0);
63 l = write (fd, writebuf, (size_t) len);
82 const gdb_byte *writebuf,
140 if (writebuf != NULL)
142 if (target_write_memory (data_address, writebuf, len) == 0)
225 const gdb_byte *writebuf,
230 gdb_assert (readbuf || writebuf);
243 ret = ld_so_xfer_auxv (readbuf, writebuf, offset, len, xfered_len);
248 return procfs_xfer_auxv (readbuf, writebuf, offse
43 procfs_xfer_auxv(gdb_byte *readbuf, const gdb_byte *writebuf, ULONGEST offset, ULONGEST len, ULONGEST *xfered_len) argument
81 ld_so_xfer_auxv(gdb_byte *readbuf, const gdb_byte *writebuf, ULONGEST offset, ULONGEST len, ULONGEST *xfered_len) argument
221 memory_xfer_auxv(struct target_ops *ops, enum target_object object, const char *annex, gdb_byte *readbuf, const gdb_byte *writebuf, ULONGEST offset, ULONGEST len, ULONGEST *xfered_len) argument
[all...]
H A Dcorelow.c82 const gdb_byte *writebuf,
145 const gdb_byte *writebuf,
756 const gdb_byte *writebuf,
763 (readbuf, writebuf,
792 writebuf,
805 gdb_byte *readbuf, const gdb_byte *writebuf,
822 (readbuf, writebuf,
836 xfer_status = xfer_memory_via_mappings (readbuf, writebuf, offset,
840 writebuf, offset, len,
853 (readbuf, writebuf,
754 xfer_memory_via_mappings(gdb_byte *readbuf, const gdb_byte *writebuf, ULONGEST offset, ULONGEST len, ULONGEST *xfered_len) argument
803 xfer_partial(enum target_object object, const char *annex, gdb_byte *readbuf, const gdb_byte *writebuf, ULONGEST offset, ULONGEST len, ULONGEST *xfered_len) argument
[all...]
H A Dbsd-kvm.c92 const gdb_byte *writebuf,
177 gdb_byte *readbuf, const gdb_byte *writebuf)
183 if (writebuf && nbytes > 0)
184 nbytes = kvm_write (core_kd, addr, writebuf, nbytes);
191 const gdb_byte *writebuf,
198 LONGEST ret = bsd_kvm_xfer_memory (offset, len, readbuf, writebuf);
176 bsd_kvm_xfer_memory(CORE_ADDR addr, ULONGEST len, gdb_byte *readbuf, const gdb_byte *writebuf) argument
189 xfer_partial(enum target_object object, const char *annex, gdb_byte *readbuf, const gdb_byte *writebuf, ULONGEST offset, ULONGEST len, ULONGEST *xfered_len) argument
H A Drs6000-nat.c86 const gdb_byte *writebuf,
99 const gdb_byte *writebuf,
392 const gdb_byte *writebuf,
403 readbuf, writebuf,
428 if (writebuf)
451 writebuf, partial_len);
648 const char *annex, gdb_byte *readbuf, const gdb_byte *writebuf,
657 if (writebuf)
390 xfer_partial(enum target_object object, const char *annex, gdb_byte *readbuf, const gdb_byte *writebuf, ULONGEST offset, ULONGEST len, ULONGEST *xfered_len) argument
644 xfer_shared_libraries(enum target_object object, const char *annex, gdb_byte *readbuf, const gdb_byte *writebuf, ULONGEST offset, ULONGEST len, ULONGEST *xfered_len) argument
H A Dnbsd-nat.h55 const gdb_byte *writebuf,
H A Dfbsd-nat.h54 const gdb_byte *writebuf,
/netbsd-current/external/gpl3/gdb/dist/gdb/
H A Dsparc-nat.h52 const gdb_byte *writebuf,
72 const gdb_byte *writebuf,
77 return sparc_xfer_wcookie (object, annex, readbuf, writebuf,
80 return BaseTarget::xfer_partial (object, annex, readbuf, writebuf,
H A Dbfd-target.c49 const gdb_byte *writebuf,
68 const gdb_byte *writebuf,
76 return section_table_xfer_memory_partial (readbuf, writebuf,
66 xfer_partial(target_object object, const char *annex, gdb_byte *readbuf, const gdb_byte *writebuf, ULONGEST offset, ULONGEST len, ULONGEST *xfered_len) argument
H A Dppc-sysv-tdep.c604 const gdb_byte *writebuf)
613 if (writebuf != NULL)
621 memcpy (regval + 4, writebuf, 4);
625 p = writebuf;
641 if (writebuf != NULL || readbuf != NULL)
647 if (writebuf != NULL)
649 writebuf + i * 8);
681 gdb_byte *readbuf, const gdb_byte *writebuf,
704 if (writebuf)
710 target_float_convert (writebuf, typ
602 get_decimal_float_return_value(struct gdbarch *gdbarch, struct type *valtype, struct regcache *regcache, gdb_byte *readbuf, const gdb_byte *writebuf) argument
679 do_ppc_sysv_return_value(struct gdbarch *gdbarch, struct type *func_type, struct type *type, struct regcache *regcache, gdb_byte *readbuf, const gdb_byte *writebuf, int broken_gcc) argument
1010 ppc_sysv_abi_return_value(struct gdbarch *gdbarch, struct value *function, struct type *valtype, struct regcache *regcache, gdb_byte *readbuf, const gdb_byte *writebuf) argument
1020 ppc_sysv_abi_broken_return_value(struct gdbarch *gdbarch, struct value *function, struct type *valtype, struct regcache *regcache, gdb_byte *readbuf, const gdb_byte *writebuf) argument
1796 ppc64_sysv_abi_return_value_base(struct gdbarch *gdbarch, struct type *valtype, struct regcache *regcache, gdb_byte *readbuf, const gdb_byte *writebuf, int index) argument
1985 ppc64_sysv_abi_return_value(struct gdbarch *gdbarch, struct value *function, struct type *valtype, struct regcache *regcache, gdb_byte *readbuf, const gdb_byte *writebuf) argument
[all...]
H A Drs6000-lynx178-tdep.c266 gdb_byte *readbuf, const gdb_byte *writebuf)
283 if (writebuf)
284 regcache->cooked_write (tdep->ppc_vr0_regnum + 2, writebuf);
317 if (writebuf)
319 target_float_convert (writebuf, valtype, regval, regtype);
343 if (writebuf)
348 unpack_long (valtype, writebuf));
370 if (writebuf)
372 regcache->cooked_write (tdep->ppc_gp0_regnum + 3, writebuf);
373 regcache->cooked_write (tdep->ppc_gp0_regnum + 4, writebuf
264 rs6000_lynx178_return_value(struct gdbarch *gdbarch, struct value *function, struct type *valtype, struct regcache *regcache, gdb_byte *readbuf, const gdb_byte *writebuf) argument
[all...]
H A Dloongarch-tdep.c1129 const gdb_byte *writebuf, size_t offset)
1133 if (writebuf)
1134 regcache->cooked_write_part (regnum, 0, len, writebuf + offset);
1142 gdb_byte *readbuf, const gdb_byte *writebuf)
1171 if (writebuf)
1176 ULONGEST data = extract_unsigned_integer (writebuf, len, BFD_ENDIAN_LITTLE);
1181 LONGEST data = extract_signed_integer (writebuf, len, BFD_ENDIAN_LITTLE);
1195 loongarch_xfer_reg (regcache, a0, regsize, readbuf, writebuf, 0);
1196 loongarch_xfer_reg (regcache, a1, len - regsize, readbuf, writebuf, regsize);
1202 loongarch_xfer_reg (regcache, f0, len, readbuf, writebuf,
1127 loongarch_xfer_reg(struct regcache *regcache, int regnum, int len, gdb_byte *readbuf, const gdb_byte *writebuf, size_t offset) argument
1140 loongarch_return_value(struct gdbarch *gdbarch, struct value *function, struct type *type, struct regcache *regcache, gdb_byte *readbuf, const gdb_byte *writebuf) argument
[all...]
H A Dinf-ptrace.c370 const gdb_byte *writebuf,
407 if (writebuf != NULL)
409 memcpy (buf.byte + skip, writebuf + n, chunk);
434 const gdb_byte *writebuf,
455 piod.piod_op = writebuf ? PIOD_WRITE_I : PIOD_READ_D;
456 piod.piod_addr = writebuf ? (void *) writebuf : readbuf;
474 *xfered_len = inf_ptrace_peek_poke (ptid, readbuf, writebuf,
489 if (writebuf)
367 inf_ptrace_peek_poke(ptid_t ptid, gdb_byte *readbuf, const gdb_byte *writebuf, ULONGEST addr, ULONGEST len) argument
430 xfer_partial(enum target_object object, const char *annex, gdb_byte *readbuf, const gdb_byte *writebuf, ULONGEST offset, ULONGEST len, ULONGEST *xfered_len) argument
H A Dbsd-kvm.c94 const gdb_byte *writebuf,
175 gdb_byte *readbuf, const gdb_byte *writebuf)
181 if (writebuf && nbytes > 0)
182 nbytes = kvm_write (core_kd, addr, writebuf, nbytes);
189 const gdb_byte *writebuf,
196 LONGEST ret = bsd_kvm_xfer_memory (offset, len, readbuf, writebuf);
174 bsd_kvm_xfer_memory(CORE_ADDR addr, ULONGEST len, gdb_byte *readbuf, const gdb_byte *writebuf) argument
187 xfer_partial(enum target_object object, const char *annex, gdb_byte *readbuf, const gdb_byte *writebuf, ULONGEST offset, ULONGEST len, ULONGEST *xfered_len) argument
H A Dnetbsd-nat.h54 const gdb_byte *writebuf,
H A Dinf-ptrace.h59 const gdb_byte *writebuf,
H A Dauxv.c44 const gdb_byte *writebuf,
53 = gdb_open_cloexec (pathname, writebuf != NULL ? O_WRONLY : O_RDONLY, 0);
63 l = write (fd.get (), writebuf, (size_t) len);
80 const gdb_byte *writebuf,
138 if (writebuf != NULL)
140 if (target_write_memory (data_address, writebuf, len) == 0)
223 const gdb_byte *writebuf,
228 gdb_assert (readbuf || writebuf);
241 ret = ld_so_xfer_auxv (readbuf, writebuf, offset, len, xfered_len);
246 return procfs_xfer_auxv (readbuf, writebuf, offse
43 procfs_xfer_auxv(gdb_byte *readbuf, const gdb_byte *writebuf, ULONGEST offset, ULONGEST len, ULONGEST *xfered_len) argument
79 ld_so_xfer_auxv(gdb_byte *readbuf, const gdb_byte *writebuf, ULONGEST offset, ULONGEST len, ULONGEST *xfered_len) argument
219 memory_xfer_auxv(struct target_ops *ops, enum target_object object, const char *annex, gdb_byte *readbuf, const gdb_byte *writebuf, ULONGEST offset, ULONGEST len, ULONGEST *xfered_len) argument
[all...]
/netbsd-current/external/gpl3/gdb.old/dist/gdb/nat/
H A Dnetbsd-nat.h68 unsigned const char *writebuf, CORE_ADDR offset,

Completed in 551 milliseconds

123456789