Searched refs:valbuf (Results 1 - 25 of 78) sorted by relevance

1234

/netbsd-current/external/gpl3/gdb.old/dist/gdb/
H A Dsparc64-tdep.c1208 const gdb_byte *valbuf, int element, int bitpos)
1220 valbuf += bitpos / 8;
1224 memcpy (buf + 8 - len, valbuf, len);
1225 valbuf = buf;
1229 regcache->cooked_write (regnum + n, valbuf + n * 4);
1242 regcache->cooked_write (regnum, valbuf);
1250 regcache->cooked_write (regnum, valbuf + (bitpos / 8));
1258 regcache->cooked_write (regnum, valbuf + (bitpos / 8));
1270 sparc64_store_floating_fields (regcache, subtype, valbuf,
1288 regcache->cooked_write (SPARC_F1_REGNUM, valbuf);
1201 sparc64_store_floating_fields(struct regcache *regcache, struct type *type, const gdb_byte *valbuf, int element, int bitpos) argument
1293 sparc64_extract_floating_fields(struct regcache *regcache, struct type *type, gdb_byte *valbuf, int bitpos) argument
1482 const gdb_byte *valbuf = value_contents (args[i]); local
1645 sparc64_extract_return_value(struct type *type, struct regcache *regcache, gdb_byte *valbuf) argument
1695 sparc64_store_return_value(struct type *type, struct regcache *regcache, const gdb_byte *valbuf) argument
[all...]
H A Dlm32-tdep.c305 gdb_byte *valbuf)
318 store_unsigned_integer (valbuf, TYPE_LENGTH (type), byte_order, l);
324 memcpy (valbuf, &l, 4);
326 memcpy (valbuf + 4, &l, 4);
334 read_memory (return_buffer, valbuf, TYPE_LENGTH (type));
342 const gdb_byte *valbuf)
351 val = extract_unsigned_integer (valbuf, len, byte_order);
356 val = extract_unsigned_integer (valbuf, 4, byte_order);
358 val = extract_unsigned_integer (valbuf + 4, len - 4, byte_order);
304 lm32_extract_return_value(struct type *type, struct regcache *regcache, gdb_byte *valbuf) argument
341 lm32_store_return_value(struct type *type, struct regcache *regcache, const gdb_byte *valbuf) argument
H A Dfrv-tdep.c1111 gdb_byte *valbuf)
1121 store_unsigned_integer (valbuf, len, byte_order, gpr8_val);
1128 store_unsigned_integer (valbuf, 4, byte_order, regval);
1130 store_unsigned_integer ((bfd_byte *) valbuf + 4, 4, byte_order, regval);
1149 gdb_byte valbuf[4]; local
1167 store_unsigned_integer (valbuf, 4, byte_order, entry_point);
1168 write_memory (descr, valbuf, 4);
1169 store_unsigned_integer (valbuf, 4, byte_order,
1171 write_memory (descr + 4, valbuf, 4);
1203 gdb_byte valbuf[ local
1110 frv_extract_return_value(struct type *type, struct regcache *regcache, gdb_byte *valbuf) argument
1321 frv_store_return_value(struct type *type, struct regcache *regcache, const gdb_byte *valbuf) argument
[all...]
H A Dm68k-tdep.c286 gdb_byte *valbuf)
294 memcpy (valbuf, buf + (4 - len), len);
299 memcpy (valbuf, buf + (8 - len), len - 4);
300 regcache->raw_read (M68K_D1_REGNUM, valbuf + (len - 4));
309 gdb_byte *valbuf)
319 target_float_convert (buf, fpreg_type, valbuf, type);
322 regcache->raw_read (M68K_A0_REGNUM, valbuf);
324 m68k_extract_return_value (type, regcache, valbuf);
331 const gdb_byte *valbuf)
336 regcache->raw_write_part (M68K_D0_REGNUM, 4 - len, len, valbuf);
281 m68k_extract_return_value(struct type *type, struct regcache *regcache, gdb_byte *valbuf) argument
304 m68k_svr4_extract_return_value(struct type *type, struct regcache *regcache, gdb_byte *valbuf) argument
326 m68k_store_return_value(struct type *type, struct regcache *regcache, const gdb_byte *valbuf) argument
344 m68k_svr4_store_return_value(struct type *type, struct regcache *regcache, const gdb_byte *valbuf) argument
[all...]
H A Dbpf-tdep.c271 gdb_byte *valbuf)
278 memcpy (valbuf, vbuf + 8 - len, len);
285 const gdb_byte *valbuf)
292 memcpy (vbuf + 8 - len, valbuf, len);
263 bpf_extract_return_value(struct type *type, struct regcache *regcache, gdb_byte *valbuf) argument
277 bpf_store_return_value(struct type *type, struct regcache *regcache, const gdb_byte *valbuf) argument
H A Dmicroblaze-tdep.c533 gdb_byte *valbuf)
542 memcpy(valbuf, buf + MICROBLAZE_REGISTER_SIZE - 1, 1);
546 memcpy(valbuf, buf + MICROBLAZE_REGISTER_SIZE - 2, 2);
552 memcpy (valbuf, buf, TYPE_LENGTH (type));
572 const gdb_byte *valbuf)
584 memcpy (buf, valbuf, 8);
589 memcpy (buf + 4 - len, valbuf, len);
524 microblaze_extract_return_value(struct type *type, struct regcache *regcache, gdb_byte *valbuf) argument
563 microblaze_store_return_value(struct type *type, struct regcache *regcache, const gdb_byte *valbuf) argument
H A Dm32r-tdep.c245 const gdb_byte *valbuf)
252 regval = extract_unsigned_integer (valbuf, len > 4 ? 4 : len, byte_order);
257 regval = extract_unsigned_integer (valbuf + 4,
666 gdb_byte valbuf[M32R_ARG_REGISTER_SIZE]; local
696 memset (valbuf, 0, sizeof (valbuf));
702 store_unsigned_integer (valbuf, 4, byte_order,
706 val = valbuf;
711 memcpy (valbuf + (register_size (gdbarch, argreg) - len),
713 val = valbuf;
244 m32r_store_return_value(struct type *type, struct regcache *regcache, const gdb_byte *valbuf) argument
[all...]
H A Dh8300-tdep.c723 gdb_byte *valbuf)
735 store_unsigned_integer (valbuf, len, byte_order, c);
739 store_unsigned_integer (valbuf, 2, byte_order, c);
741 store_unsigned_integer (valbuf + 2, 2, byte_order, c);
748 store_unsigned_integer (valbuf, len, byte_order, c);
760 gdb_byte *valbuf)
772 store_unsigned_integer (valbuf, TYPE_LENGTH (type), byte_order, c);
778 store_unsigned_integer (valbuf, 4, byte_order, c);
780 store_unsigned_integer (valbuf + 4, 4, byte_order, c);
825 const gdb_byte *valbuf)
722 h8300_extract_return_value(struct type *type, struct regcache *regcache, gdb_byte *valbuf) argument
759 h8300h_extract_return_value(struct type *type, struct regcache *regcache, gdb_byte *valbuf) argument
824 h8300_store_return_value(struct type *type, struct regcache *regcache, const gdb_byte *valbuf) argument
853 h8300h_store_return_value(struct type *type, struct regcache *regcache, const gdb_byte *valbuf) argument
[all...]
H A Dtic6x-tdep.c700 enum bfd_endian byte_order, gdb_byte *valbuf)
715 regcache->cooked_read_part (TIC6X_A4_REGNUM, 4 - len, len, valbuf);
717 regcache->cooked_read (TIC6X_A4_REGNUM, valbuf);
728 regcache->cooked_read (TIC6X_A4_REGNUM, valbuf + 4);
729 regcache->cooked_read (TIC6X_A5_REGNUM, valbuf);
733 regcache->cooked_read (TIC6X_A4_REGNUM, valbuf);
734 regcache->cooked_read (TIC6X_A5_REGNUM, valbuf + 4);
744 enum bfd_endian byte_order, const gdb_byte *valbuf)
753 regcache->cooked_write_part (TIC6X_A4_REGNUM, 4 - len, len, valbuf);
755 regcache->cooked_write (TIC6X_A4_REGNUM, valbuf);
699 tic6x_extract_return_value(struct type *valtype, struct regcache *regcache, enum bfd_endian byte_order, gdb_byte *valbuf) argument
743 tic6x_store_return_value(struct type *valtype, struct regcache *regcache, enum bfd_endian byte_order, const gdb_byte *valbuf) argument
[all...]
H A Dnds32-tdep.c1665 struct regcache *regcache, gdb_byte *valbuf)
1679 regcache->cooked_read (tdep->fs0_regnum, valbuf);
1681 regcache->cooked_read (NDS32_FD0_REGNUM, valbuf);
1723 store_unsigned_integer (valbuf, len, byte_order, tmp);
1727 regcache->cooked_read (NDS32_R0_REGNUM, valbuf);
1737 store_unsigned_integer (valbuf, len1, byte_order, tmp);
1740 store_unsigned_integer (valbuf + len1, len2, byte_order, tmp);
1744 regcache->cooked_read (NDS32_R0_REGNUM, valbuf);
1745 regcache->cooked_read (NDS32_R0_REGNUM + 1, valbuf + 4);
1755 struct regcache *regcache, const gdb_byte *valbuf)
1657 nds32_extract_return_value(struct gdbarch *gdbarch, struct type *type, struct regcache *regcache, gdb_byte *valbuf) argument
1747 nds32_store_return_value(struct gdbarch *gdbarch, struct type *type, struct regcache *regcache, const gdb_byte *valbuf) argument
[all...]
H A Dft32-tdep.c124 const gdb_byte *valbuf)
132 regval = extract_unsigned_integer (valbuf, len > 4 ? 4 : len, byte_order);
136 regval = extract_unsigned_integer (valbuf + 4,
387 extract and copy its value into `valbuf'. */
395 bfd_byte *valbuf = dst; local
402 store_unsigned_integer (valbuf, (len > 4 ? len - 4 : len), byte_order, tmp);
409 store_unsigned_integer (valbuf + len - 4, 4, byte_order, tmp);
123 ft32_store_return_value(struct type *type, struct regcache *regcache, const gdb_byte *valbuf) argument
H A Diq2000-tdep.c482 const void *valbuf)
493 memcpy (buf + 4 - size, valbuf, size);
496 valbuf = ((char *) valbuf) + size;
521 gdb_byte *valbuf)
546 store_unsigned_integer (valbuf, size, byte_order, tmp);
548 valbuf += size;
558 read_memory (return_buffer, valbuf, TYPE_LENGTH (type));
481 iq2000_store_return_value(struct type *type, struct regcache *regcache, const void *valbuf) argument
520 iq2000_extract_return_value(struct type *type, struct regcache *regcache, gdb_byte *valbuf) argument
H A Dalpha-tdep.c476 gdb_byte *valbuf)
490 alpha_sts (gdbarch, valbuf, raw_buffer);
494 regcache->cooked_read (ALPHA_FP0_REGNUM, valbuf);
499 read_memory (l, valbuf, 16);
513 regcache->cooked_read (ALPHA_FP0_REGNUM, valbuf);
517 regcache->cooked_read (ALPHA_FP0_REGNUM, valbuf);
518 regcache->cooked_read (ALPHA_FP0_REGNUM + 1, valbuf + 8);
523 read_memory (l, valbuf, 32);
535 store_unsigned_integer (valbuf, TYPE_LENGTH (valtype), byte_order, l);
545 const gdb_byte *valbuf)
473 alpha_extract_return_value(struct type *valtype, struct regcache *regcache, gdb_byte *valbuf) argument
542 alpha_store_return_value(struct type *valtype, struct regcache *regcache, const gdb_byte *valbuf) argument
[all...]
/netbsd-current/external/gpl3/gdb/dist/gdb/
H A Dsparc64-tdep.c1209 const gdb_byte *valbuf, int element, int bitpos)
1221 valbuf += bitpos / 8;
1225 memcpy (buf + 8 - len, valbuf, len);
1226 valbuf = buf;
1230 regcache->cooked_write (regnum + n, valbuf + n * 4);
1243 regcache->cooked_write (regnum, valbuf);
1251 regcache->cooked_write (regnum, valbuf + (bitpos / 8));
1259 regcache->cooked_write (regnum, valbuf + (bitpos / 8));
1271 sparc64_store_floating_fields (regcache, subtype, valbuf,
1289 regcache->cooked_write (SPARC_F1_REGNUM, valbuf);
1202 sparc64_store_floating_fields(struct regcache *regcache, struct type *type, const gdb_byte *valbuf, int element, int bitpos) argument
1294 sparc64_extract_floating_fields(struct regcache *regcache, struct type *type, gdb_byte *valbuf, int bitpos) argument
1483 const gdb_byte *valbuf = value_contents (args[i]).data (); local
1646 sparc64_extract_return_value(struct type *type, struct regcache *regcache, gdb_byte *valbuf) argument
1696 sparc64_store_return_value(struct type *type, struct regcache *regcache, const gdb_byte *valbuf) argument
[all...]
H A Dlm32-tdep.c290 gdb_byte *valbuf)
303 store_unsigned_integer (valbuf, type->length (), byte_order, l);
309 memcpy (valbuf, &l, 4);
311 memcpy (valbuf + 4, &l, 4);
319 read_memory (return_buffer, valbuf, type->length ());
327 const gdb_byte *valbuf)
336 val = extract_unsigned_integer (valbuf, len, byte_order);
341 val = extract_unsigned_integer (valbuf, 4, byte_order);
343 val = extract_unsigned_integer (valbuf + 4, len - 4, byte_order);
289 lm32_extract_return_value(struct type *type, struct regcache *regcache, gdb_byte *valbuf) argument
326 lm32_store_return_value(struct type *type, struct regcache *regcache, const gdb_byte *valbuf) argument
H A Dfrv-tdep.c1103 gdb_byte *valbuf)
1113 store_unsigned_integer (valbuf, len, byte_order, gpr8_val);
1120 store_unsigned_integer (valbuf, 4, byte_order, regval);
1122 store_unsigned_integer ((bfd_byte *) valbuf + 4, 4, byte_order, regval);
1140 gdb_byte valbuf[4]; local
1158 store_unsigned_integer (valbuf, 4, byte_order, entry_point);
1159 write_memory (descr, valbuf, 4);
1160 store_unsigned_integer (valbuf, 4, byte_order,
1162 write_memory (descr + 4, valbuf, 4);
1194 gdb_byte valbuf[ local
1102 frv_extract_return_value(struct type *type, struct regcache *regcache, gdb_byte *valbuf) argument
1312 frv_store_return_value(struct type *type, struct regcache *regcache, const gdb_byte *valbuf) argument
[all...]
H A Dm68k-tdep.c296 gdb_byte *valbuf)
305 regcache->raw_read (tdep->pointer_result_regnum, valbuf);
310 memcpy (valbuf, buf + (4 - len), len);
315 memcpy (valbuf, buf + (8 - len), len - 4);
316 regcache->raw_read (M68K_D1_REGNUM, valbuf + (len - 4));
324 gdb_byte *valbuf)
334 target_float_convert (buf, fpreg_type, valbuf, type);
337 m68k_extract_return_value (type, regcache, valbuf);
344 const gdb_byte *valbuf)
352 regcache->raw_write (tdep->pointer_result_regnum, valbuf);
291 m68k_extract_return_value(struct type *type, struct regcache *regcache, gdb_byte *valbuf) argument
319 m68k_svr4_extract_return_value(struct type *type, struct regcache *regcache, gdb_byte *valbuf) argument
339 m68k_store_return_value(struct type *type, struct regcache *regcache, const gdb_byte *valbuf) argument
365 m68k_svr4_store_return_value(struct type *type, struct regcache *regcache, const gdb_byte *valbuf) argument
[all...]
H A Dbpf-tdep.c272 gdb_byte *valbuf)
279 memcpy (valbuf, vbuf + 8 - len, len);
286 const gdb_byte *valbuf)
293 memcpy (vbuf + 8 - len, valbuf, len);
264 bpf_extract_return_value(struct type *type, struct regcache *regcache, gdb_byte *valbuf) argument
278 bpf_store_return_value(struct type *type, struct regcache *regcache, const gdb_byte *valbuf) argument
H A Dmicroblaze-tdep.c522 gdb_byte *valbuf)
531 memcpy(valbuf, buf + MICROBLAZE_REGISTER_SIZE - 1, 1);
535 memcpy(valbuf, buf + MICROBLAZE_REGISTER_SIZE - 2, 2);
541 memcpy (valbuf, buf, type->length ());
560 const gdb_byte *valbuf)
572 memcpy (buf, valbuf, 8);
577 memcpy (buf + 4 - len, valbuf, len);
513 microblaze_extract_return_value(struct type *type, struct regcache *regcache, gdb_byte *valbuf) argument
551 microblaze_store_return_value(struct type *type, struct regcache *regcache, const gdb_byte *valbuf) argument
H A Dm32r-tdep.c242 const gdb_byte *valbuf)
249 regval = extract_unsigned_integer (valbuf, len > 4 ? 4 : len, byte_order);
254 regval = extract_unsigned_integer (valbuf + 4,
664 gdb_byte valbuf[M32R_ARG_REGISTER_SIZE]; local
694 memset (valbuf, 0, sizeof (valbuf));
700 store_unsigned_integer (valbuf, 4, byte_order,
704 val = valbuf;
709 memcpy (valbuf + (register_size (gdbarch, argreg) - len),
711 val = valbuf;
241 m32r_store_return_value(struct type *type, struct regcache *regcache, const gdb_byte *valbuf) argument
[all...]
H A Dh8300-tdep.c723 gdb_byte *valbuf)
735 store_unsigned_integer (valbuf, len, byte_order, c);
739 store_unsigned_integer (valbuf, 2, byte_order, c);
741 store_unsigned_integer (valbuf + 2, 2, byte_order, c);
748 store_unsigned_integer (valbuf, len, byte_order, c);
760 gdb_byte *valbuf)
772 store_unsigned_integer (valbuf, type->length (), byte_order, c);
778 store_unsigned_integer (valbuf, 4, byte_order, c);
780 store_unsigned_integer (valbuf + 4, 4, byte_order, c);
825 const gdb_byte *valbuf)
722 h8300_extract_return_value(struct type *type, struct regcache *regcache, gdb_byte *valbuf) argument
759 h8300h_extract_return_value(struct type *type, struct regcache *regcache, gdb_byte *valbuf) argument
824 h8300_store_return_value(struct type *type, struct regcache *regcache, const gdb_byte *valbuf) argument
853 h8300h_store_return_value(struct type *type, struct regcache *regcache, const gdb_byte *valbuf) argument
[all...]
H A Dtic6x-tdep.c700 enum bfd_endian byte_order, gdb_byte *valbuf)
715 regcache->cooked_read_part (TIC6X_A4_REGNUM, 4 - len, len, valbuf);
717 regcache->cooked_read (TIC6X_A4_REGNUM, valbuf);
728 regcache->cooked_read (TIC6X_A4_REGNUM, valbuf + 4);
729 regcache->cooked_read (TIC6X_A5_REGNUM, valbuf);
733 regcache->cooked_read (TIC6X_A4_REGNUM, valbuf);
734 regcache->cooked_read (TIC6X_A5_REGNUM, valbuf + 4);
744 enum bfd_endian byte_order, const gdb_byte *valbuf)
753 regcache->cooked_write_part (TIC6X_A4_REGNUM, 4 - len, len, valbuf);
755 regcache->cooked_write (TIC6X_A4_REGNUM, valbuf);
699 tic6x_extract_return_value(struct type *valtype, struct regcache *regcache, enum bfd_endian byte_order, gdb_byte *valbuf) argument
743 tic6x_store_return_value(struct type *valtype, struct regcache *regcache, enum bfd_endian byte_order, const gdb_byte *valbuf) argument
[all...]
H A Dnds32-tdep.c1655 struct regcache *regcache, gdb_byte *valbuf)
1669 regcache->cooked_read (tdep->fs0_regnum, valbuf);
1671 regcache->cooked_read (NDS32_FD0_REGNUM, valbuf);
1712 store_unsigned_integer (valbuf, len, byte_order, tmp);
1716 regcache->cooked_read (NDS32_R0_REGNUM, valbuf);
1726 store_unsigned_integer (valbuf, len1, byte_order, tmp);
1729 store_unsigned_integer (valbuf + len1, len2, byte_order, tmp);
1733 regcache->cooked_read (NDS32_R0_REGNUM, valbuf);
1734 regcache->cooked_read (NDS32_R0_REGNUM + 1, valbuf + 4);
1744 struct regcache *regcache, const gdb_byte *valbuf)
1647 nds32_extract_return_value(struct gdbarch *gdbarch, struct type *type, struct regcache *regcache, gdb_byte *valbuf) argument
1736 nds32_store_return_value(struct gdbarch *gdbarch, struct type *type, struct regcache *regcache, const gdb_byte *valbuf) argument
[all...]
H A Dft32-tdep.c124 const gdb_byte *valbuf)
132 regval = extract_unsigned_integer (valbuf, len > 4 ? 4 : len, byte_order);
136 regval = extract_unsigned_integer (valbuf + 4,
388 extract and copy its value into `valbuf'. */
396 bfd_byte *valbuf = dst; local
403 store_unsigned_integer (valbuf, (len > 4 ? len - 4 : len), byte_order, tmp);
410 store_unsigned_integer (valbuf + len - 4, 4, byte_order, tmp);
123 ft32_store_return_value(struct type *type, struct regcache *regcache, const gdb_byte *valbuf) argument
H A Diq2000-tdep.c482 const void *valbuf)
493 memcpy (buf + 4 - size, valbuf, size);
496 valbuf = ((char *) valbuf) + size;
521 gdb_byte *valbuf)
546 store_unsigned_integer (valbuf, size, byte_order, tmp);
548 valbuf += size;
558 read_memory (return_buffer, valbuf, type->length ());
481 iq2000_store_return_value(struct type *type, struct regcache *regcache, const void *valbuf) argument
520 iq2000_extract_return_value(struct type *type, struct regcache *regcache, gdb_byte *valbuf) argument

Completed in 434 milliseconds

1234