Lines Matching refs:info
54 (p += 1, FETCH_DATA (info, p), \
60 (p += 2, FETCH_DATA (info, p), \
66 (p += 4, FETCH_DATA (info, p), \
84 #define FETCH_DATA(info, addr) \ argument
85 ((addr) <= ((struct private *)(info->private_data))->max_fetched \
86 ? 1 : fetch_data ((info), (addr)))
89 fetch_data (struct disassemble_info *info, bfd_byte *addr) in fetch_data() argument
92 struct private *priv = (struct private *) info->private_data; in fetch_data()
95 status = (*info->read_memory_func) (start, in fetch_data()
98 info); in fetch_data()
101 (*info->memory_error_func) (status, start, info); in fetch_data()
183 is_function_entry (struct disassemble_info *info, bfd_vma addr) in is_function_entry() argument
188 if (info->symbols in is_function_entry()
189 && info->symbols[0] in is_function_entry()
190 && (info->symbols[0]->flags & (BSF_FUNCTION | BSF_SYNTHETIC)) in is_function_entry()
191 && addr == bfd_asymbol_value (info->symbols[0])) in is_function_entry()
207 is_plt_tail (struct disassemble_info *info, bfd_vma addr) in is_plt_tail() argument
209 if (info->symbols in is_plt_tail()
210 && info->symbols[0] in is_plt_tail()
211 && (info->symbols[0]->flags & BSF_SYNTHETIC) in is_plt_tail()
212 && addr == bfd_asymbol_value (info->symbols[0]) + 8) in is_plt_tail()
223 disassemble_info *info) in print_insn_mode() argument
238 (*info->fprintf_func) (info->stream, "$0x%x [%c-float]", mode, d[1]); in print_insn_mode()
240 (*info->fprintf_func) (info->stream, "$0x%x", mode); in print_insn_mode()
243 p += print_insn_mode (d, size, p0 + 1, addr + 1, info); in print_insn_mode()
244 (*info->fprintf_func) (info->stream, "[%s]", reg_names[reg]); in print_insn_mode()
247 (*info->fprintf_func) (info->stream, "%s", reg_names[reg]); in print_insn_mode()
250 (*info->fprintf_func) (info->stream, "(%s)", reg_names[reg]); in print_insn_mode()
253 (*info->fprintf_func) (info->stream, "-(%s)", reg_names[reg]); in print_insn_mode()
260 FETCH_DATA (info, p + size); in print_insn_mode()
261 (*info->fprintf_func) (info->stream, "$0x"); in print_insn_mode()
270 (*info->fprintf_func) (info->stream, "[invalid %c-float]", in print_insn_mode()
276 (*info->fprintf_func) (info->stream, "%02x", in print_insn_mode()
278 (*info->fprintf_func) (info->stream, " [%c-float]", d[1]); in print_insn_mode()
284 (*info->fprintf_func) (info->stream, "%02x", p[size - i - 1]); in print_insn_mode()
289 (*info->fprintf_func) (info->stream, "(%s)+", reg_names[reg]); in print_insn_mode()
293 (*info->fprintf_func) (info->stream, "*0x%x", NEXTLONG (p)); in print_insn_mode()
295 (*info->fprintf_func) (info->stream, "@(%s)+", reg_names[reg]); in print_insn_mode()
298 (*info->fprintf_func) (info->stream, "*"); in print_insn_mode()
301 (*info->print_address_func) (addr + 2 + NEXTBYTE (p), info); in print_insn_mode()
303 (*info->fprintf_func) (info->stream, "0x%x(%s)", NEXTBYTE (p), in print_insn_mode()
307 (*info->fprintf_func) (info->stream, "*"); in print_insn_mode()
310 (*info->print_address_func) (addr + 3 + NEXTWORD (p), info); in print_insn_mode()
312 (*info->fprintf_func) (info->stream, "0x%x(%s)", NEXTWORD (p), in print_insn_mode()
316 (*info->fprintf_func) (info->stream, "*"); in print_insn_mode()
319 (*info->print_address_func) (addr + 5 + NEXTLONG (p), info); in print_insn_mode()
321 (*info->fprintf_func) (info->stream, "0x%x(%s)", NEXTLONG (p), in print_insn_mode()
337 disassemble_info *info) in print_insn_arg() argument
362 (*info->print_address_func) (addr + 1 + NEXTBYTE (p), info); in print_insn_arg()
364 (*info->print_address_func) (addr + 2 + NEXTWORD (p), info); in print_insn_arg()
369 return print_insn_mode (d, arg_len, p0, addr, info); in print_insn_arg()
376 print_insn_vax (bfd_vma memaddr, disassemble_info *info) in print_insn_vax() argument
385 info->private_data = & priv; in print_insn_vax()
390 && info->disassembler_options != NULL) in print_insn_vax()
392 parse_disassembler_options (info->disassembler_options); in print_insn_vax()
405 if (info->buffer_length - (memaddr - info->buffer_vma) > 1) in print_insn_vax()
407 FETCH_DATA (info, buffer + 2); in print_insn_vax()
411 FETCH_DATA (info, buffer + 1); in print_insn_vax()
416 if (is_function_entry (info, memaddr)) in print_insn_vax()
421 (*info->fprintf_func) (info->stream, ".word 0x%04x # Entry mask: <", in print_insn_vax()
426 (*info->fprintf_func) (info->stream, " %s", entry_mask_bit[i]); in print_insn_vax()
428 (*info->fprintf_func) (info->stream, " >"); in print_insn_vax()
434 if (is_plt_tail (info, memaddr)) in print_insn_vax()
438 FETCH_DATA (info, buffer + 4); in print_insn_vax()
440 (*info->fprintf_func) (info->stream, ".long 0x%08x", offset); in print_insn_vax()
460 (*info->fprintf_func) (info->stream, ".word 0x%x", in print_insn_vax()
470 FETCH_DATA (info, arg); in print_insn_vax()
472 (*info->fprintf_func) (info->stream, "%s", votp->name); in print_insn_vax()
474 (*info->fprintf_func) (info->stream, " "); in print_insn_vax()
478 arg += print_insn_arg (argp, arg, memaddr + arg - buffer, info); in print_insn_vax()
481 (*info->fprintf_func) (info->stream, ","); in print_insn_vax()