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

12

/haiku-fatelf/src/bin/gdb/gdb/
H A Dsparc64-tdep.c618 char *valbuf, int element, int bitpos)
633 regcache_cooked_write (regcache, regnum, valbuf);
640 regcache_cooked_write (regcache, regnum, valbuf + (bitpos / 8));
648 regcache_cooked_write (regcache, regnum, valbuf + (bitpos / 8));
660 sparc64_store_floating_fields (regcache, subtype, valbuf,
678 regcache_cooked_write (regcache, SPARC_F1_REGNUM, valbuf);
690 char *valbuf, int bitpos)
702 regcache_cooked_read (regcache, regnum, valbuf + (bitpos / 8));
709 regcache_cooked_read (regcache, regnum, valbuf + (bitpos / 8));
717 regcache_cooked_read (regcache, regnum, valbuf
613 sparc64_store_floating_fields(struct regcache *regcache, struct type *type, char *valbuf, int element, int bitpos) argument
685 sparc64_extract_floating_fields(struct regcache *regcache, struct type *type, char *valbuf, int bitpos) argument
852 char *valbuf = VALUE_CONTENTS (args[i]); local
980 sparc64_extract_return_value(struct type *type, struct regcache *regcache, void *valbuf) argument
1021 sparc64_store_return_value(struct type *type, struct regcache *regcache, const void *valbuf) argument
[all...]
H A Dm32r-tdep.c243 const void *valbuf)
248 regval = extract_unsigned_integer (valbuf, len > 4 ? 4 : len);
253 regval = extract_unsigned_integer ((char *) valbuf + 4, len - 4);
683 char valbuf[MAX_REGISTER_SIZE]; local
714 memset (valbuf, 0, sizeof (valbuf));
720 store_unsigned_integer (valbuf, 4, VALUE_ADDRESS (args[argnum]));
723 val = valbuf;
728 memcpy (valbuf + (register_size (gdbarch, argreg) - len),
730 val = valbuf;
242 m32r_store_return_value(struct type *type, struct regcache *regcache, const void *valbuf) argument
774 bfd_byte *valbuf = dst; local
[all...]
H A Dfrv-tdep.c1033 void *valbuf)
1041 store_unsigned_integer (valbuf, len, gpr8_val);
1047 store_unsigned_integer (valbuf, 4, regval);
1049 store_unsigned_integer ((bfd_byte *) valbuf + 4, 4, regval);
1080 char valbuf[4]; local
1091 store_unsigned_integer (valbuf, 4, entry_point);
1092 write_memory (descr, valbuf, 4);
1093 store_unsigned_integer (valbuf, 4,
1095 write_memory (descr + 4, valbuf, 4);
1124 char valbuf[ local
1032 frv_extract_return_value(struct type *type, struct regcache *regcache, void *valbuf) argument
1241 frv_store_return_value(struct type *type, struct regcache *regcache, const void *valbuf) argument
[all...]
H A Dm68k-tdep.c226 void *valbuf)
234 memcpy (valbuf, buf + (4 - len), len);
239 memcpy (valbuf, buf + (8 - len), len - 4);
241 (char *) valbuf + (len - 4));
250 void *valbuf)
258 convert_typed_floating (buf, builtin_type_m68881_ext, valbuf, type);
261 regcache_raw_read (regcache, M68K_A0_REGNUM, valbuf);
263 m68k_extract_return_value (type, regcache, valbuf);
270 const void *valbuf)
275 regcache_raw_write_part (regcache, M68K_D0_REGNUM, 4 - len, len, valbuf);
222 m68k_extract_return_value(struct type *type, struct regcache *regcache, void *valbuf) argument
246 m68k_svr4_extract_return_value(struct type *type, struct regcache *regcache, void *valbuf) argument
266 m68k_store_return_value(struct type *type, struct regcache *regcache, const void *valbuf) argument
286 m68k_svr4_store_return_value(struct type *type, struct regcache *regcache, const void *valbuf) argument
[all...]
H A Dalpha-tdep.c434 void *valbuf)
447 alpha_sts (valbuf, raw_buffer);
451 regcache_cooked_read (regcache, ALPHA_FP0_REGNUM, valbuf);
456 read_memory (l, valbuf, 16);
469 regcache_cooked_read (regcache, ALPHA_FP0_REGNUM, valbuf);
473 regcache_cooked_read (regcache, ALPHA_FP0_REGNUM, valbuf);
475 (char *)valbuf + 8);
480 read_memory (l, valbuf, 32);
491 store_unsigned_integer (valbuf, length, l);
512 const void *valbuf)
431 alpha_extract_return_value(struct type *valtype, struct regcache *regcache, void *valbuf) argument
509 alpha_store_return_value(struct type *valtype, struct regcache *regcache, const void *valbuf) argument
[all...]
H A Dh8300-tdep.c768 void *valbuf)
778 store_unsigned_integer (valbuf, len, c);
782 store_unsigned_integer (valbuf, 2, c);
784 store_unsigned_integer ((void*)((char *)valbuf + 2), 2, c);
791 store_unsigned_integer (valbuf, len, c);
803 void *valbuf)
814 store_unsigned_integer (valbuf, len, c);
821 store_unsigned_integer (valbuf, len, c);
838 const void *valbuf)
847 val = extract_unsigned_integer (valbuf, le
767 h8300_extract_return_value(struct type *type, struct regcache *regcache, void *valbuf) argument
802 h8300h_extract_return_value(struct type *type, struct regcache *regcache, void *valbuf) argument
837 h8300_store_return_value(struct type *type, struct regcache *regcache, const void *valbuf) argument
864 h8300h_store_return_value(struct type *type, struct regcache *regcache, const void *valbuf) argument
[all...]
H A Dgdbarch.h820 typedef void (gdbarch_extract_return_value_ftype) (struct type *type, struct regcache *regcache, void *valbuf);
821 extern void gdbarch_extract_return_value (struct gdbarch *gdbarch, struct type *type, struct regcache *regcache, void *valbuf);
827 #define EXTRACT_RETURN_VALUE(type, regcache, valbuf) (gdbarch_extract_return_value (current_gdbarch, type, regcache, valbuf))
830 typedef void (gdbarch_store_return_value_ftype) (struct type *type, struct regcache *regcache, const void *valbuf);
831 extern void gdbarch_store_return_value (struct gdbarch *gdbarch, struct type *type, struct regcache *regcache, const void *valbuf);
837 #define STORE_RETURN_VALUE(type, regcache, valbuf) (gdbarch_store_return_value (current_gdbarch, type, regcache, valbuf))
840 typedef void (gdbarch_deprecated_extract_return_value_ftype) (struct type *type, char *regbuf, char *valbuf);
841 extern void gdbarch_deprecated_extract_return_value (struct gdbarch *gdbarch, struct type *type, char *regbuf, char *valbuf);
[all...]
H A Dns32k-tdep.c459 ns32k_extract_return_value (struct type *valtype, char *regbuf, char *valbuf)
461 memcpy (valbuf,
467 ns32k_store_return_value (struct type *valtype, char *valbuf)
470 ? FP0_REGNUM : 0, valbuf,
457 ns32k_extract_return_value(struct type *valtype, char *regbuf, char *valbuf) argument
465 ns32k_store_return_value(struct type *valtype, char *valbuf) argument
H A Dsparc-tdep.c423 char *valbuf = VALUE_CONTENTS (args[i]);
433 regcache_cooked_write (regcache, regnum, valbuf);
435 regcache_cooked_write (regcache, regnum + 1, valbuf + 4);
439 write_memory (sp + 4 + element * 4, valbuf, len);
824 void *valbuf)
838 memcpy (valbuf, buf, len);
850 memcpy (valbuf, buf, 8);
856 memcpy (valbuf, buf + 4 - len, len);
866 const void *valbuf)
877 memcpy (buf, valbuf, le
419 char *valbuf = VALUE_CONTENTS (args[i]); local
815 sparc32_extract_return_value(struct type *type, struct regcache *regcache, void *valbuf) argument
857 sparc32_store_return_value(struct type *type, struct regcache *regcache, const void *valbuf) argument
[all...]
H A Dsh-tdep.c872 static char valbuf[4]; local
874 memset (valbuf, 0, sizeof (valbuf));
879 memcpy (valbuf + (4 - len), (char *) VALUE_CONTENTS (val), len);
881 memcpy (valbuf, (char *) VALUE_CONTENTS (val), len);
882 return valbuf;
1193 regbuf), and copy it into valbuf. Extract from an array REGBUF
1198 void *valbuf)
1209 store_unsigned_integer (valbuf, len, c);
1215 regcache_raw_read (regcache, regnum++, (char *) valbuf
1197 sh_default_extract_return_value(struct type *type, struct regcache *regcache, void *valbuf) argument
1222 sh3e_sh4_extract_return_value(struct type *type, struct regcache *regcache, void *valbuf) argument
1246 sh_default_store_return_value(struct type *type, struct regcache *regcache, const void *valbuf) argument
1266 sh3e_sh4_store_return_value(struct type *type, struct regcache *regcache, const void *valbuf) argument
[all...]
H A Dm68hc11-tdep.c1279 const void *valbuf)
1287 regcache_raw_write_part (regcache, HARD_D_REGNUM, 2 - len, len, valbuf);
1291 len - 2, valbuf);
1292 regcache_raw_write (regcache, HARD_D_REGNUM, (char*) valbuf + (len - 2));
1300 extract and copy its value into `valbuf'. */
1304 void *valbuf)
1313 memcpy (valbuf, buf + 1, 1);
1317 memcpy (valbuf, buf, 2);
1321 memcpy ((char*) valbuf + 1, buf, 2);
1323 memcpy (valbuf, bu
1276 m68hc11_store_return_value(struct type *type, struct regcache *regcache, const void *valbuf) argument
1301 m68hc11_extract_return_value(struct type *type, struct regcache *regcache, void *valbuf) argument
[all...]
H A Darm-tdep.c1985 bfd_byte *valbuf = dst; local
2000 valbuf); local
2006 regcache_cooked_read (regs, ARM_A1_REGNUM, valbuf);
2009 valbuf + INT_REGISTER_SIZE);
2037 store_unsigned_integer (valbuf,
2042 valbuf += INT_REGISTER_SIZE;
2057 memcpy (valbuf, tmpbuf,
2060 valbuf += INT_REGISTER_SIZE;
2180 const bfd_byte *valbuf = src; local
2190 convert_to_extended (floatformat_from_type (type), buf, valbuf); local
[all...]
H A Dv850-tdep.c951 char valbuf[v850_register_raw_size (E_ARG0_REGNUM)];
956 store_unsigned_integer (valbuf, 4, VALUE_ADDRESS (*args));
958 val = valbuf;
1027 v850_extract_return_value (struct type *type, char *regbuf, char *valbuf)
1035 memcpy (valbuf,
1047 read_memory (return_buffer, valbuf, TYPE_LENGTH (type));
1060 v850_store_return_value (struct type *type, char *valbuf)
1065 deprecated_write_register_bytes (DEPRECATED_REGISTER_BYTE (E_V0_REGNUM), valbuf,
1070 write_memory (return_buffer, valbuf, TYPE_LENGTH (type));
949 char valbuf[v850_register_raw_size (E_ARG0_REGNUM)]; local
1025 v850_extract_return_value(struct type *type, char *regbuf, char *valbuf) argument
1058 v850_store_return_value(struct type *type, char *valbuf) argument
1063 deprecated_write_register_bytes (DEPRECATED_REGISTER_BYTE (E_V0_REGNUM), valbuf, local
H A Di386-tdep.c1282 struct regcache *regcache, void *valbuf)
1293 memset (valbuf, 0, len);
1302 convert_typed_floating (buf, builtin_type_i387_ext, valbuf, type);
1312 memcpy (valbuf, buf, len);
1317 memcpy (valbuf, buf, low_size);
1319 memcpy ((char *) valbuf + low_size, buf, len - low_size);
1332 struct regcache *regcache, const void *valbuf)
1360 convert_typed_floating (valbuf, type, buf, builtin_type_i387_ext);
1382 regcache_raw_write_part (regcache, LOW_RETURN_REGNUM, 0, len, valbuf);
1385 regcache_raw_write (regcache, LOW_RETURN_REGNUM, valbuf);
1273 i386_extract_return_value(struct gdbarch *gdbarch, struct type *type, struct regcache *regcache, void *valbuf) argument
1323 i386_store_return_value(struct gdbarch *gdbarch, struct type *type, struct regcache *regcache, const void *valbuf) argument
[all...]
H A Darm-linux-tdep.c61 char *valbuf)
71 memcpy (valbuf, &regbuf[DEPRECATED_REGISTER_BYTE (regnum)], TYPE_LENGTH (type));
59 arm_linux_extract_return_value(struct type *type, char regbuf[], char *valbuf) argument
H A Dmn10300-tdep.c126 struct regcache *regcache, void *valbuf)
141 memcpy (valbuf, buf, len);
146 memcpy (valbuf, buf, regsz);
149 memcpy ((char *) valbuf + regsz, buf, len - regsz);
158 struct regcache *regcache, const void *valbuf)
171 regcache_raw_write_part (regcache, reg, 0, len, valbuf);
174 regcache_raw_write (regcache, reg, valbuf);
177 len - regsz, (char *) valbuf + regsz);
125 mn10300_extract_return_value(struct gdbarch *gdbarch, struct type *type, struct regcache *regcache, void *valbuf) argument
157 mn10300_store_return_value(struct gdbarch *gdbarch, struct type *type, struct regcache *regcache, const void *valbuf) argument
H A Dsh64-tdep.c1478 char valbuf[8]; local
1512 memset (valbuf, 0, sizeof (valbuf));
1522 memcpy (valbuf + argreg_size - len,
1525 memcpy (valbuf, (char *) VALUE_CONTENTS (args[argnum]), len);
1527 val = valbuf;
1646 regbuf), and copy it into valbuf. Extract from an array REGBUF
1650 sh64_extract_return_value (struct type *type, char *regbuf, char *valbuf) argument
1663 memcpy (valbuf, (char *) regbuf + offset, len);
1679 store_typed_floating (valbuf, typ
1709 sh64_store_return_value(struct type *type, char *valbuf) argument
[all...]
H A Dxstormy16-tdep.c161 regbuf), and copy it into valbuf. */
165 void *valbuf)
171 regcache_raw_read (regcache, regnum++, (char *) valbuf + i);
181 const void *valbuf)
188 memcpy (buf, valbuf, 1);
197 regcache_raw_write (regcache, regnum++, (char *) valbuf + i);
164 xstormy16_extract_return_value(struct type *type, struct regcache *regcache, void *valbuf) argument
180 xstormy16_store_return_value(struct type *type, struct regcache *regcache, const void *valbuf) argument
H A Ddve3900-rom.c382 char valbuf[10]; local
403 for (i = 0, p = valbuf; i < vallen; i++)
408 monitor_supply_register (regno, valbuf);
H A Dm88k-tdep.c311 char *valbuf = VALUE_CONTENTS (args[i]);
329 regcache_raw_write (regcache, regnum, valbuf);
331 regcache_raw_write (regcache, regnum + 1, valbuf + 4);
341 write_memory (sp + stack_word * 4, valbuf, len);
309 char *valbuf = VALUE_CONTENTS (args[i]); local
H A Dmcore-tdep.c940 mcore_extract_return_value (struct type *type, char *regbuf, char *valbuf)
945 memcpy (valbuf, regbuf + DEPRECATED_REGISTER_BYTE (RETVAL_REGNUM) +
960 mcore_store_return_value (struct type *type, char *valbuf)
977 deprecated_write_register_bytes (offset, valbuf, value_size);
938 mcore_extract_return_value(struct type *type, char *regbuf, char *valbuf) argument
958 mcore_store_return_value(struct type *type, char *valbuf) argument
H A Darch-utils.c44 void *valbuf)
47 bfd_byte *buf = valbuf;
43 legacy_extract_return_value(struct type *type, struct regcache *regcache, void *valbuf) argument
H A Dgdbarch.sh523 f:=:void:extract_return_value:struct type *type, struct regcache *regcache, void *valbuf:type, regcache, valbuf::legacy_extract_return_value::0
524 f:=:void:store_return_value:struct type *type, struct regcache *regcache, const void *valbuf:type, regcache, valbuf::legacy_store_return_value::0
525 f:=:void:deprecated_extract_return_value:struct type *type, char *regbuf, char *valbuf:type, regbuf, valbuf
526 f:=:void:deprecated_store_return_value:struct type *type, char *valbuf:type, valbuf
H A Damd64-tdep.c586 char *valbuf = VALUE_CONTENTS (args[i]);
618 memcpy (buf, valbuf + j * 8, min (len, 8));
635 char *valbuf = VALUE_CONTENTS (stack_args[i]);
638 write_memory (sp + element * 8, valbuf, len);
584 char *valbuf = VALUE_CONTENTS (args[i]); local
633 char *valbuf = VALUE_CONTENTS (stack_args[i]); local
H A Dmips-tdep.c3187 char valbuf[MAX_REGISTER_SIZE]; local
3203 store_unsigned_integer (valbuf, mips_abi_regsize (gdbarch),
3207 val = valbuf;
3392 copy its value into `valbuf'. */
3396 char regbuf[], char *valbuf)
3402 memcpy (valbuf + lo.buf_offset,
3407 memcpy (valbuf + hi.buf_offset,
3412 /* Given a return value in `valbuf' with a type `valtype', write it's
3416 mips_eabi_store_return_value (struct type *valtype, char *valbuf) argument
3424 memcpy (raw_buffer + lo.reg_offset, valbuf
3395 mips_eabi_extract_return_value(struct type *valtype, char regbuf[], char *valbuf) argument
4547 mips_o64_extract_return_value(struct type *valtype, char regbuf[], char *valbuf) argument
4565 mips_o64_store_return_value(struct type *valtype, char *valbuf) argument
[all...]

Completed in 314 milliseconds

12