Searched refs:memaddr (Results 1 - 25 of 95) sorted by relevance

1234

/haiku-fatelf/src/bin/gdb/gdb/
H A Dremote.h57 extern int remote_write_bytes (CORE_ADDR memaddr, char *myaddr, int len);
59 extern int remote_read_bytes (CORE_ADDR memaddr, char *myaddr, int len);
H A Ddisasm.h36 extern int gdb_print_insn (CORE_ADDR memaddr, struct ui_file *stream);
H A Dcorefile.c213 memory_error (int status, CORE_ADDR memaddr)
220 /* Actually, address between memaddr and memaddr + len
223 print_address_numeric (memaddr, 1, tmp_stream);
228 print_address_numeric (memaddr, 1, tmp_stream);
238 read_memory (CORE_ADDR memaddr, char *myaddr, int len)
241 status = target_read_memory (memaddr, myaddr, len);
243 memory_error (status, memaddr);
253 CORE_ADDR memaddr;
269 CORE_ADDR memaddr
209 memory_error(int status, CORE_ADDR memaddr) argument
234 read_memory(CORE_ADDR memaddr, char *myaddr, int len) argument
249 CORE_ADDR memaddr; member in struct:captured_read_memory_integer_arguments
265 CORE_ADDR memaddr = args->memaddr; local
278 safe_read_memory_integer(CORE_ADDR memaddr, int len, LONGEST *return_value) argument
294 read_memory_integer(CORE_ADDR memaddr, int len) argument
303 read_memory_unsigned_integer(CORE_ADDR memaddr, int len) argument
312 read_memory_string(CORE_ADDR memaddr, char *buffer, int max_len) argument
348 write_memory(CORE_ADDR memaddr, char *myaddr, int len) argument
[all...]
H A Dgdbcore.h52 extern int deprecated_read_memory_nobpt (CORE_ADDR memaddr, char *myaddr,
57 extern void memory_error (int status, CORE_ADDR memaddr);
61 extern void read_memory (CORE_ADDR memaddr, char *myaddr, int len);
66 extern LONGEST read_memory_integer (CORE_ADDR memaddr, int len);
67 extern int safe_read_memory_integer (CORE_ADDR memaddr, int len, LONGEST *return_value);
72 extern ULONGEST read_memory_unsigned_integer (CORE_ADDR memaddr, int len);
89 extern void write_memory (CORE_ADDR memaddr, char *myaddr, int len);
H A Ddcache.c245 CORE_ADDR memaddr; local
256 memaddr = db->addr;
265 region = lookup_mem_region(memaddr);
266 if (memaddr + len < region->hi)
269 reg_len = region->hi - memaddr;
273 memaddr += reg_len;
281 s = XFORM(memaddr);
288 memaddr++;
304 res = do_xfer_memory(memaddr, myaddr, dirty_len, 1,
309 memset (&db->state[XFORM(memaddr)], ENTRY_O
326 CORE_ADDR memaddr; local
528 dcache_xfer_memory(DCACHE *dcache, CORE_ADDR memaddr, char *myaddr, int len, int should_write) argument
[all...]
H A Dmonitor.c70 static void monitor_error (char *function, char *message, CORE_ADDR memaddr, int len, char *string, int final_char);
82 static int monitor_xfer_memory (CORE_ADDR memaddr, char *myaddr, int len,
97 static int monitor_write_memory_block (CORE_ADDR memaddr,
240 CORE_ADDR memaddr, int len, char *string, int final_char)
247 error ("%s (0x%s): %s: %s%c", function, paddr_nz (memaddr), message, safe_string, final_char);
249 error ("%s (0x%s): %s: %s", function, paddr_nz (memaddr), message, safe_string);
1417 monitor_write_memory (CORE_ADDR memaddr, char *myaddr, int len) argument
1423 monitor_debug ("MON write %d %s\n", len, paddr (memaddr));
1426 memaddr = ADDR_BITS_REMOVE (memaddr);
239 monitor_error(char *function, char *message, CORE_ADDR memaddr, int len, char *string, int final_char) argument
1519 monitor_write_memory_bytes(CORE_ADDR memaddr, char *myaddr, int len) argument
1611 monitor_write_memory_longlongs(CORE_ADDR memaddr, char *myaddr, int len) argument
1659 monitor_write_memory_block(CORE_ADDR memaddr, char *myaddr, int len) argument
1678 monitor_read_memory_single(CORE_ADDR memaddr, char *myaddr, int len) argument
1806 monitor_read_memory(CORE_ADDR memaddr, char *myaddr, int len) argument
1984 monitor_xfer_memory(CORE_ADDR memaddr, char *myaddr, int len, int write, struct mem_attrib *attrib, struct target_ops *target) argument
[all...]
H A Dexec.c451 xfer_memory (CORE_ADDR memaddr, char *myaddr, int len, int write,
465 section = find_pc_overlay (memaddr);
466 if (pc_in_unmapped_range (memaddr, section))
467 memaddr = overlay_mapped_address (memaddr, section);
470 memend = memaddr + len;
478 if (memaddr >= p->addr)
485 myaddr, memaddr - p->addr,
489 myaddr, memaddr - p->addr,
493 else if (memaddr >
448 xfer_memory(CORE_ADDR memaddr, char *myaddr, int len, int write, struct mem_attrib *attrib, struct target_ops *target) argument
[all...]
/haiku-fatelf/src/bin/gdb/opcodes/
H A Dpdp11-dis.c34 static int read_word PARAMS ((bfd_vma memaddr, int *word,
39 static int print_operand PARAMS ((bfd_vma *memaddr, int code,
41 static int print_foperand PARAMS ((bfd_vma *memaddr, int code,
43 int print_insn_pdp11 PARAMS ((bfd_vma memaddr, disassemble_info *info));
46 read_word (memaddr, word, info)
47 bfd_vma memaddr;
54 status = (*info->read_memory_func) (memaddr, x, 2, info);
100 print_operand (memaddr, code, info)
101 bfd_vma *memaddr;
123 if (read_word (*memaddr,
[all...]
H A Ddis-buf.c24 /* Get LENGTH bytes from info's buffer, at target address memaddr.
27 buffer_read_memory (memaddr, myaddr, length, info)
28 bfd_vma memaddr;
36 unsigned int octets = (memaddr - info->buffer_vma) * opb;
38 if (memaddr < info->buffer_vma
39 || memaddr - info->buffer_vma + end_addr_offset > max_addr_offset)
50 perror_memory (status, memaddr, info)
52 bfd_vma memaddr;
59 /* Actually, address between memaddr and memaddr
[all...]
H A Dd10v-dis.c28 static void dis_2_short PARAMS ((unsigned long insn, bfd_vma memaddr,
30 static void dis_long PARAMS ((unsigned long insn, bfd_vma memaddr,
37 print_insn_d10v (memaddr, info)
38 bfd_vma memaddr;
45 status = (*info->read_memory_func) (memaddr, buffer, 4, info);
48 (*info->memory_error_func) (status, memaddr, info);
57 dis_2_short (insn, memaddr, info, 2);
60 dis_2_short (insn, memaddr, info, 0);
63 dis_2_short (insn, memaddr, info, 1);
66 dis_long (insn, memaddr, inf
[all...]
H A Dw65-dis.c81 print_insn_w65 (memaddr, info)
82 bfd_vma memaddr;
97 status = info->read_memory_func (memaddr + i, insn + i, 1, info);
111 int asR_W65_PCR8 = ((char) (asR_W65_ABS8)) + memaddr + 2;
112 int asR_W65_PCR16 = ((short) (asR_W65_ABS16)) + memaddr + 3;
H A Dm10200-dis.c31 print_insn_mn10200 (memaddr, info)
32 bfd_vma memaddr;
42 status = (*info->read_memory_func) (memaddr, buffer, 1, info);
45 (*info->memory_error_func) (status, memaddr, info);
89 status = (*info->read_memory_func) (memaddr, buffer, 2, info);
92 (*info->memory_error_func) (status, memaddr, info);
111 status = (*info->read_memory_func) (memaddr + 1, buffer, 2, info);
114 (*info->memory_error_func) (status, memaddr, info);
126 status = (*info->read_memory_func) (memaddr + 1, buffer, 2, info);
129 (*info->memory_error_func) (status, memaddr, inf
[all...]
H A Dtic80-dis.c145 print_operand (info, value, insn, operand, memaddr)
150 bfd_vma memaddr;
166 (*info->print_address_func) (memaddr + 4 * value, info);
209 print_one_instruction (info, memaddr, insn, opcode)
211 bfd_vma memaddr;
234 status = fill_instruction (info, memaddr, (unsigned long *) &value);
268 print_operand (info, value, insn, operand, memaddr);
291 print_instruction (info, memaddr, insn, vec_opcode)
293 bfd_vma memaddr;
324 length = print_one_instruction (info, memaddr, ins
[all...]
H A Dsh64-dis.c186 print_insn_shmedia (memaddr, info)
187 bfd_vma memaddr;
203 status = info->read_memory_func (memaddr, insn, 4, info);
213 status = info->read_memory_func (memaddr + i, insn, 1, info);
379 disp_pc_addr = (bfd_vma) imm + memaddr;
460 sh64_get_contents_type_disasm (memaddr, info)
461 bfd_vma memaddr;
469 && memaddr >= sh64_infop->crange.cr_addr
470 && memaddr < sh64_infop->crange.cr_addr + sh64_infop->crange.cr_size)
478 = sh64_get_contents_type (info->section, memaddr,
[all...]
H A Dm68hc11-dis.c48 read_memory (bfd_vma memaddr, bfd_byte* buffer, int size, argument
55 status = (*info->read_memory_func) (memaddr, buffer, size, info);
58 (*info->memory_error_func) (status, memaddr, info);
68 print_indexed_operand (bfd_vma memaddr, struct disassemble_info* info, argument
81 status = read_memory (memaddr, &buffer[0], 1, info);
142 status = read_memory (memaddr + pos, &buffer[0], 2, info);
166 status = read_memory (memaddr + pos,
222 /* Disassemble one instruction at address 'memaddr'. Returns the number
225 print_insn (bfd_vma memaddr, struct disassemble_info* info, int arch) argument
236 status = read_memory (memaddr, buffe
729 print_insn_m68hc11(bfd_vma memaddr, struct disassemble_info* info) argument
735 print_insn_m68hc12(bfd_vma memaddr, struct disassemble_info* info) argument
[all...]
H A Da29k-dis.c144 print_insn (memaddr, info)
145 bfd_vma memaddr;
160 (*info->read_memory_func) (memaddr, (bfd_byte *) &insn[0], 4, info);
163 (*info->memory_error_func) (status, memaddr, info);
229 (memaddr +
297 errcode = (*info->read_memory_func) (memaddr - 4,
316 (memaddr - 8, (bfd_byte *) &prev_insn[0], 4, info);
351 print_insn_big_a29k (memaddr, info)
352 bfd_vma memaddr;
356 return print_insn (memaddr, inf
[all...]
H A Dm10300-dis.c34 print_insn_mn10300 (memaddr, info)
35 bfd_vma memaddr;
44 status = (*info->read_memory_func) (memaddr, buffer, 1, info);
47 (*info->memory_error_func) (status, memaddr, info);
103 status = (*info->read_memory_func) (memaddr, buffer, 2, info);
106 (*info->memory_error_func) (status, memaddr, info);
130 status = (*info->read_memory_func) (memaddr, buffer, 2, info);
133 (*info->memory_error_func) (status, memaddr, info);
138 status = (*info->read_memory_func) (memaddr + 2, buffer, 1, info);
141 (*info->memory_error_func) (status, memaddr, inf
[all...]
H A Dmcore-dis.c88 print_insn_mcore (memaddr, info)
89 bfd_vma memaddr;
101 status = info->read_memory_func (memaddr, ibytes, 2, info);
105 info->memory_error_func (status, memaddr, info);
201 fprintf (stream, "\t0x%x", memaddr + 2 + (val << 1));
206 val = memaddr + 2 + (val << 1);
222 grname[(inst >> 4) & 0xF], memaddr - (val << 1));
230 val = (memaddr + 2 + ((inst & 0xFF) << 2)) & 0xFFFFFFFC;
235 info->memory_error_func (status, memaddr, info);
251 (memaddr
[all...]
H A Dv850-dis.c49 disassemble (memaddr, info, insn)
50 bfd_vma memaddr;
184 bfd_vma addr = value + memaddr;
290 status = info->read_memory_func (memaddr + bytes_read, buffer, 2, info);
304 info->memory_error_func (status, memaddr + bytes_read, info);
309 status = info->read_memory_func (memaddr + bytes_read, buffer, 4, info);
318 info->memory_error_func (status, memaddr + bytes_read, info);
351 print_insn_v850 (memaddr, info)
352 bfd_vma memaddr;
361 status = info->read_memory_func (memaddr, buffe
[all...]
H A Dor32-dis.c253 print_insn (memaddr, info)
254 bfd_vma memaddr;
268 (*info->read_memory_func) (memaddr, (bfd_byte *) &insn_ch[0], 4, info);
272 (*info->memory_error_func) (status, memaddr, info);
304 addr = memaddr + EXTEND29 (addr);
331 print_insn_big_or32 (memaddr, info)
332 bfd_vma memaddr;
336 return print_insn (memaddr, info);
342 print_insn_little_or32 (memaddr, info)
343 bfd_vma memaddr;
[all...]
H A Dd30v-dis.c27 static void print_insn PARAMS ((struct disassemble_info *info, bfd_vma memaddr, long long num,
32 print_insn_d30v (memaddr, info)
33 bfd_vma memaddr;
48 status = (*info->read_memory_func) (memaddr, buffer, 4, info);
51 (*info->memory_error_func) (status, memaddr, info);
56 status = (*info->read_memory_func) (memaddr + 4, buffer, 4, info);
63 print_insn (info, memaddr, (long long) in1, &insn, 0, result);
77 print_insn (info, memaddr, num, &insn, 1, result);
85 print_insn (info, memaddr, num, &insn, 0, result);
106 print_insn (info, memaddr, nu
[all...]
H A Dppc-dis.c101 print_insn_big_powerpc (bfd_vma memaddr, struct disassemble_info *info) argument
104 return print_insn_powerpc (memaddr, info, 1, dialect);
110 print_insn_little_powerpc (bfd_vma memaddr, struct disassemble_info *info) argument
113 return print_insn_powerpc (memaddr, info, 0, dialect);
119 print_insn_rs6000 (bfd_vma memaddr, struct disassemble_info *info) argument
121 return print_insn_powerpc (memaddr, info, 1, PPC_OPCODE_POWER);
127 print_insn_powerpc (bfd_vma memaddr, argument
142 status = (*info->read_memory_func) (memaddr, buffer, 4, info);
145 (*info->memory_error_func) (status, memaddr, info);
247 (*info->print_address_func) (memaddr
[all...]
H A Dxtensa-dis.c50 fetch_data (struct disassemble_info *info, bfd_vma memaddr) argument
63 status = (*info->read_memory_func) (memaddr, priv->byte_buf, length,
68 (*info->memory_error_func) (status, memaddr, info);
75 print_xtensa_operand (bfd_vma memaddr, argument
101 &operand_val, memaddr);
136 print_insn_xtensa (bfd_vma memaddr, struct disassemble_info *info) argument
188 bytes_fetched = fetch_data (info, memaddr);
255 print_xtensa_operand (memaddr, info, opc, i, operand_val);
/haiku-fatelf/src/bin/gdb/gdb/gdbserver/
H A Dtarget.c61 read_inferior_memory (CORE_ADDR memaddr, char *myaddr, int len) argument
64 res = (*the_target->read_memory) (memaddr, myaddr, len);
65 check_mem_read (memaddr, myaddr, len);
70 write_inferior_memory (CORE_ADDR memaddr, const char *myaddr, int len) argument
83 check_mem_write (memaddr, buffer, len);
84 res = (*the_target->write_memory) (memaddr, buffer, len);
H A Dtarget.h109 int (*read_memory) (CORE_ADDR memaddr, char *myaddr, int len);
118 int (*write_memory) (CORE_ADDR memaddr, const char *myaddr, int len);
165 int read_inferior_memory (CORE_ADDR memaddr, char *myaddr, int len);
167 int write_inferior_memory (CORE_ADDR memaddr, const char *myaddr, int len);

Completed in 176 milliseconds

1234