Searched refs:readbuf (Results 151 - 175 of 246) sorted by relevance

12345678910

/netbsd-current/external/gpl3/gdb/dist/gdb/
H A Dfbsd-nat.c572 const char *annex, gdb_byte *readbuf,
607 memcpy (readbuf, ((gdb_byte *) &pl.pl_siginfo) + offset, len);
627 buf = readbuf;
643 memcpy (readbuf, buf + offset, buflen);
706 memcpy (readbuf, buf + offset, len);
713 readbuf, writebuf, offset,
571 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 Dgdbarch-gen.h440 typedef enum return_value_convention (gdbarch_return_value_ftype) (struct gdbarch *gdbarch, struct value *function, struct type *valtype, struct regcache *regcache, gdb_byte *readbuf, const gdb_byte *writebuf);
441 extern enum return_value_convention gdbarch_return_value (struct gdbarch *gdbarch, struct value *function, struct type *valtype, struct regcache *regcache, gdb_byte *readbuf, const gdb_byte *writebuf);
939 typedef ULONGEST (gdbarch_core_xfer_shared_libraries_ftype) (struct gdbarch *gdbarch, gdb_byte *readbuf, ULONGEST offset, ULONGEST len);
940 extern ULONGEST gdbarch_core_xfer_shared_libraries (struct gdbarch *gdbarch, gdb_byte *readbuf, ULONGEST offset, ULONGEST len);
949 typedef ULONGEST (gdbarch_core_xfer_shared_libraries_aix_ftype) (struct gdbarch *gdbarch, gdb_byte *readbuf, ULONGEST offset, ULONGEST len);
950 extern ULONGEST gdbarch_core_xfer_shared_libraries_aix (struct gdbarch *gdbarch, gdb_byte *readbuf, ULONGEST offset, ULONGEST len);
975 typedef LONGEST (gdbarch_core_xfer_siginfo_ftype) (struct gdbarch *gdbarch, gdb_byte *readbuf, ULONGEST offset, ULONGEST len);
976 extern LONGEST gdbarch_core_xfer_siginfo (struct gdbarch *gdbarch, gdb_byte *readbuf, ULONGEST offset, ULONGEST len);
H A Dz80-tdep.c522 gdb_byte *readbuf, const gdb_byte *writebuf)
543 if (readbuf != NULL)
547 regcache->cooked_read_part (Z80_DE_REGNUM, 0, len - 2, readbuf+2);
550 regcache->cooked_read_part (Z80_HL_REGNUM, 0, len, readbuf);
520 z80_return_value(struct gdbarch *gdbarch, struct value *function, struct type *valtype, struct regcache *regcache, gdb_byte *readbuf, const gdb_byte *writebuf) argument
H A Dalpha-tdep.c609 gdb_byte *readbuf, const gdb_byte *writebuf)
619 if (readbuf)
623 read_memory (addr, readbuf, type->length ());
629 if (readbuf)
630 alpha_extract_return_value (type, regcache, readbuf);
605 alpha_return_value(struct gdbarch *gdbarch, struct value *function, struct type *type, struct regcache *regcache, gdb_byte *readbuf, const gdb_byte *writebuf) argument
H A Dmep-tdep.c2156 gdb_byte *readbuf, const gdb_byte *writebuf)
2160 if (readbuf)
2167 read_memory (addr, readbuf, type->length ());
2182 if (readbuf)
2183 mep_extract_return_value (gdbarch, type, regcache, readbuf);
2146 mep_return_value(struct gdbarch *gdbarch, struct value *function, struct type *type, struct regcache *regcache, gdb_byte *readbuf, const gdb_byte *writebuf) argument
H A Dgnu-nat.c2493 gnu_xfer_memory (gdb_byte *readbuf, const gdb_byte *writebuf,
2516 host_address_to_string (readbuf));
2517 res = gnu_read_inferior (task, memaddr, readbuf, len);
2532 gnu_xfer_auxv (gdb_byte *readbuf, const gdb_byte *writebuf,
2571 host_address_to_string (readbuf));
2576 memcpy (readbuf, (gdb_byte *) &auxv + memaddr, len);
2586 const char *annex, gdb_byte *readbuf,
2593 return gnu_xfer_memory (readbuf, writebuf, offset, len, xfered_len);
2595 return gnu_xfer_auxv (readbuf, writebuf, offset, len, xfered_len);
2457 gnu_xfer_memory(gdb_byte *readbuf, const gdb_byte *writebuf, CORE_ADDR memaddr, ULONGEST len, ULONGEST *xfered_len) argument
2496 gnu_xfer_auxv(gdb_byte *readbuf, const gdb_byte *writebuf, CORE_ADDR memaddr, ULONGEST len, ULONGEST *xfered_len) argument
2549 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 Damd64-tdep.c792 gdb_byte *readbuf, const gdb_byte *writebuf)
802 gdb_assert (!(readbuf && writebuf));
820 if (readbuf)
825 read_memory (addr, readbuf, type->length ());
835 if (readbuf)
837 regcache->raw_read (AMD64_ST0_REGNUM, readbuf);
838 regcache->raw_read (AMD64_ST1_REGNUM, readbuf + 16);
911 if (readbuf)
913 readbuf + i * 8);
789 amd64_return_value(struct gdbarch *gdbarch, struct value *function, struct type *type, struct regcache *regcache, gdb_byte *readbuf, const gdb_byte *writebuf) argument
H A Dsh-tdep.c1365 gdb_byte *readbuf, const gdb_byte *writebuf)
1374 else if (readbuf)
1375 sh_extract_return_value_nofpu (type, regcache, readbuf);
1382 gdb_byte *readbuf, const gdb_byte *writebuf)
1391 else if (readbuf)
1392 sh_extract_return_value_fpu (type, regcache, readbuf);
1363 sh_return_value_nofpu(struct gdbarch *gdbarch, struct value *function, struct type *type, struct regcache *regcache, gdb_byte *readbuf, const gdb_byte *writebuf) argument
1380 sh_return_value_fpu(struct gdbarch *gdbarch, struct value *function, struct type *type, struct regcache *regcache, gdb_byte *readbuf, const gdb_byte *writebuf) argument
H A Driscv-tdep.c3224 gdb_byte *readbuf,
3242 if (readbuf != nullptr || writebuf != nullptr)
3250 gdb_assert (readbuf == nullptr || writebuf == nullptr);
3291 old_readbuf = readbuf;
3292 readbuf = value_contents_raw (abi_val).data ();
3306 if (readbuf)
3308 gdb_byte *ptr = readbuf + info.argloc[0].c_offset;
3336 if (readbuf)
3338 readbuf += info.argloc[1].c_offset;
3341 readbuf);
[all...]
H A Drecord-full.c278 gdb_byte *readbuf,
311 gdb_byte *readbuf,
1630 const char *annex, gdb_byte *readbuf,
1685 return this->beneath ()->xfer_partial (object, annex, readbuf, writebuf,
2114 const char *annex, gdb_byte *readbuf,
2137 /* Read readbuf or write writebuf p, offset, len. */
2142 if (readbuf)
2143 memset (readbuf, 0, len);
2179 readbuf, writebuf,
2183 memcpy (readbuf, entr
1629 xfer_partial(enum target_object object, const char *annex, gdb_byte *readbuf, const gdb_byte *writebuf, ULONGEST offset, ULONGEST len, ULONGEST *xfered_len) argument
2113 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 Darc-tdep.c1023 gdb_byte *readbuf, const gdb_byte *writebuf)
1034 arc_debug_printf ("readbuf = %s, writebuf = %s",
1035 host_address_to_string (readbuf),
1046 else if (readbuf != NULL)
1052 arc_extract_return_value (gdbarch, valtype, regcache, readbuf);
1021 arc_return_value(struct gdbarch *gdbarch, struct value *function, struct type *valtype, struct regcache *regcache, gdb_byte *readbuf, const gdb_byte *writebuf) argument
/netbsd-current/external/gpl3/gdb.old/dist/gdb/
H A Dgdbarch.h527 typedef enum return_value_convention (gdbarch_return_value_ftype) (struct gdbarch *gdbarch, struct value *function, struct type *valtype, struct regcache *regcache, gdb_byte *readbuf, const gdb_byte *writebuf);
528 extern enum return_value_convention gdbarch_return_value (struct gdbarch *gdbarch, struct value *function, struct type *valtype, struct regcache *regcache, gdb_byte *readbuf, const gdb_byte *writebuf);
934 typedef ULONGEST (gdbarch_core_xfer_shared_libraries_ftype) (struct gdbarch *gdbarch, gdb_byte *readbuf, ULONGEST offset, ULONGEST len);
935 extern ULONGEST gdbarch_core_xfer_shared_libraries (struct gdbarch *gdbarch, gdb_byte *readbuf, ULONGEST offset, ULONGEST len);
944 typedef ULONGEST (gdbarch_core_xfer_shared_libraries_aix_ftype) (struct gdbarch *gdbarch, gdb_byte *readbuf, ULONGEST offset, ULONGEST len);
945 extern ULONGEST gdbarch_core_xfer_shared_libraries_aix (struct gdbarch *gdbarch, gdb_byte *readbuf, ULONGEST offset, ULONGEST len);
970 typedef LONGEST (gdbarch_core_xfer_siginfo_ftype) (struct gdbarch *gdbarch, gdb_byte *readbuf, ULONGEST offset, ULONGEST len);
971 extern LONGEST gdbarch_core_xfer_siginfo (struct gdbarch *gdbarch, gdb_byte *readbuf, ULONGEST offset, ULONGEST len);
H A Dgdbarch.sh509 M;enum return_value_convention;return_value;struct value *function, struct type *valtype, struct regcache *regcache, gdb_byte *readbuf, const gdb_byte *writebuf;function, valtype, regcache, readbuf, writebuf
727 M;ULONGEST;core_xfer_shared_libraries;gdb_byte *readbuf, ULONGEST offset, ULONGEST len;readbuf, offset, len
732 M;ULONGEST;core_xfer_shared_libraries_aix;gdb_byte *readbuf, ULONGEST offset, ULONGEST len;readbuf, offset, len
743 M;LONGEST;core_xfer_siginfo;gdb_byte *readbuf, ULONGEST offset, ULONGEST len; readbuf, offset, len
H A Dmep-tdep.c2149 gdb_byte *readbuf, const gdb_byte *writebuf)
2153 if (readbuf)
2160 read_memory (addr, readbuf, TYPE_LENGTH (type));
2175 if (readbuf)
2176 mep_extract_return_value (gdbarch, type, regcache, readbuf);
2139 mep_return_value(struct gdbarch *gdbarch, struct value *function, struct type *type, struct regcache *regcache, gdb_byte *readbuf, const gdb_byte *writebuf) argument
H A Dscore-tdep.c408 enum bfd_endian endian, gdb_byte *readbuf,
432 if (readbuf != NULL)
434 readbuf + buf_offset);
443 gdb_byte * readbuf, const gdb_byte * writebuf)
463 readbuf, writebuf, offset);
407 score_xfer_register(struct regcache *regcache, int regnum, int length, enum bfd_endian endian, gdb_byte *readbuf, const gdb_byte *writebuf, int buf_offset) argument
441 score_return_value(struct gdbarch *gdbarch, struct value *function, struct type *type, struct regcache *regcache, gdb_byte * readbuf, const gdb_byte * writebuf) argument
H A Dalpha-tdep.c617 gdb_byte *readbuf, const gdb_byte *writebuf)
626 if (readbuf)
630 read_memory (addr, readbuf, TYPE_LENGTH (type));
636 if (readbuf)
637 alpha_extract_return_value (type, regcache, readbuf);
613 alpha_return_value(struct gdbarch *gdbarch, struct value *function, struct type *type, struct regcache *regcache, gdb_byte *readbuf, const gdb_byte *writebuf) argument
H A Damd64-tdep.c777 gdb_byte *readbuf, const gdb_byte *writebuf)
787 gdb_assert (!(readbuf && writebuf));
805 if (readbuf)
810 read_memory (addr, readbuf, TYPE_LENGTH (type));
820 if (readbuf)
822 regcache->raw_read (AMD64_ST0_REGNUM, readbuf);
823 regcache->raw_read (AMD64_ST1_REGNUM, readbuf + 16);
896 if (readbuf)
898 readbuf + i * 8);
774 amd64_return_value(struct gdbarch *gdbarch, struct value *function, struct type *type, struct regcache *regcache, gdb_byte *readbuf, const gdb_byte *writebuf) argument
H A Dgnu-nat.c2512 gnu_xfer_memory (gdb_byte *readbuf, const gdb_byte *writebuf,
2535 host_address_to_string (readbuf));
2536 res = gnu_read_inferior (task, memaddr, readbuf, len);
2551 gnu_xfer_auxv (gdb_byte *readbuf, const gdb_byte *writebuf,
2590 host_address_to_string (readbuf));
2595 memcpy (readbuf, (gdb_byte *) &auxv + memaddr, len);
2605 const char *annex, gdb_byte *readbuf,
2612 return gnu_xfer_memory (readbuf, writebuf, offset, len, xfered_len);
2614 return gnu_xfer_auxv (readbuf, writebuf, offset, len, xfered_len);
2476 gnu_xfer_memory(gdb_byte *readbuf, const gdb_byte *writebuf, CORE_ADDR memaddr, ULONGEST len, ULONGEST *xfered_len) argument
2515 gnu_xfer_auxv(gdb_byte *readbuf, const gdb_byte *writebuf, CORE_ADDR memaddr, ULONGEST len, ULONGEST *xfered_len) argument
2568 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 Dsh-tdep.c1405 gdb_byte *readbuf, const gdb_byte *writebuf)
1414 else if (readbuf)
1415 sh_extract_return_value_nofpu (type, regcache, readbuf);
1422 gdb_byte *readbuf, const gdb_byte *writebuf)
1431 else if (readbuf)
1432 sh_extract_return_value_fpu (type, regcache, readbuf);
1403 sh_return_value_nofpu(struct gdbarch *gdbarch, struct value *function, struct type *type, struct regcache *regcache, gdb_byte *readbuf, const gdb_byte *writebuf) argument
1420 sh_return_value_fpu(struct gdbarch *gdbarch, struct value *function, struct type *type, struct regcache *regcache, gdb_byte *readbuf, const gdb_byte *writebuf) argument
H A Darc-tdep.c1038 gdb_byte *readbuf, const gdb_byte *writebuf)
1050 debug_printf ("arc: return_value (readbuf = %s, writebuf = %s)\n",
1051 host_address_to_string (readbuf),
1062 else if (readbuf != NULL)
1068 arc_extract_return_value (gdbarch, valtype, regcache, readbuf);
1036 arc_return_value(struct gdbarch *gdbarch, struct value *function, struct type *valtype, struct regcache *regcache, gdb_byte *readbuf, const gdb_byte *writebuf) argument
H A Dcsky-tdep.c431 gdb_byte *readbuf, const gdb_byte *writebuf)
444 if (readbuf != NULL)
450 store_unsigned_integer (readbuf, (len > 4 ? 4 : len),
455 store_unsigned_integer (readbuf + 4, 4, byte_order, tmp);
429 csky_return_value(struct gdbarch *gdbarch, struct value *function, struct type *valtype, struct regcache *regcache, gdb_byte *readbuf, const gdb_byte *writebuf) argument
H A Drecord-full.c280 gdb_byte *readbuf,
313 gdb_byte *readbuf,
1646 const char *annex, gdb_byte *readbuf,
1701 return this->beneath ()->xfer_partial (object, annex, readbuf, writebuf,
2142 const char *annex, gdb_byte *readbuf,
2167 /* Read readbuf or write writebuf p, offset, len. */
2172 if (readbuf)
2173 memset (readbuf, 0, len);
2209 readbuf, writebuf,
2213 memcpy (readbuf, entr
1645 xfer_partial(enum target_object object, const char *annex, gdb_byte *readbuf, const gdb_byte *writebuf, ULONGEST offset, ULONGEST len, ULONGEST *xfered_len) argument
2141 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 Dv850-tdep.c1160 gdb_byte *readbuf, const gdb_byte *writebuf)
1166 else if (readbuf)
1167 v850_extract_return_value (type, regcache, readbuf);
1158 v850_return_value(struct gdbarch *gdbarch, struct value *function, struct type *type, struct regcache *regcache, gdb_byte *readbuf, const gdb_byte *writebuf) argument
H A Dtic6x-tdep.c777 gdb_byte *readbuf, const gdb_byte *writebuf)
795 if (readbuf)
797 gdbarch_byte_order (gdbarch), readbuf);
775 tic6x_return_value(struct gdbarch *gdbarch, struct value *function, struct type *type, struct regcache *regcache, gdb_byte *readbuf, const gdb_byte *writebuf) argument
/netbsd-current/external/gpl3/gdb/dist/gdbserver/
H A Dlinux-low.cc5365 proc_xfer_memory (CORE_ADDR memaddr, unsigned char *readbuf, argument
5368 gdb_assert ((readbuf == nullptr) != (writebuf == nullptr));
5385 bytes = (readbuf != nullptr
5386 ? pread64 (fd, readbuf, len, memaddr)
5391 bytes = (readbuf != nullptr
5392 ? read (fd, readbuf, len)
5406 if (readbuf != nullptr)
5407 readbuf += bytes;
5697 unsigned char *readbuf,
5701 return linux_common_xfer_osdata (annex, readbuf, offse
5696 qxfer_osdata(const char *annex, unsigned char *readbuf, unsigned const char *writebuf, CORE_ADDR offset, int len) argument
5735 qxfer_siginfo(const char *annex, unsigned char *readbuf, unsigned const char *writebuf, CORE_ADDR offset, int len) argument
[all...]

Completed in 355 milliseconds

12345678910