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), \
81 /* Make sure that bytes from INFO->PRIVATE_DATA->BUFFER (inclusive)
84 #define FETCH_DATA(info, addr) \
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)
92 struct private *priv = (struct private *) info->private_data;
95 status = (*info->read_memory_func) (start,
98 info);
101 (*info->memory_error_func) (status, start, info);
183 is_function_entry (struct disassemble_info *info, bfd_vma addr)
188 if (info->symbols
189 && info->symbols[0]
190 && (info->symbols[0]->flags & (BSF_FUNCTION | BSF_SYNTHETIC))
191 && addr == bfd_asymbol_value (info->symbols[0]))
207 is_plt_tail (struct disassemble_info *info, bfd_vma addr)
209 if (info->symbols
210 && info->symbols[0]
211 && (info->symbols[0]->flags & BSF_SYNTHETIC)
212 && addr == bfd_asymbol_value (info->symbols[0]) + 8)
223 disassemble_info *info)
238 (*info->fprintf_func) (info->stream, "$0x%x [%c-float]", mode, d[1]);
240 (*info->fprintf_func) (info->stream, "$0x%x", mode);
250 (*info->fprintf_func) (info->stream, "[invalid base]");
252 p += print_insn_mode (d, size, p0 + 1, addr + 1, info);
253 (*info->fprintf_func) (info->stream, "[%s]", reg_names[reg]);
257 (*info->fprintf_func) (info->stream, "%s", reg_names[reg]);
260 (*info->fprintf_func) (info->stream, "(%s)", reg_names[reg]);
263 (*info->fprintf_func) (info->stream, "-(%s)", reg_names[reg]);
270 FETCH_DATA (info, p + size);
271 (*info->fprintf_func) (info->stream, "$0x");
280 (*info->fprintf_func) (info->stream, "[invalid %c-float]",
286 (*info->fprintf_func) (info->stream, "%02x",
288 (*info->fprintf_func) (info->stream, " [%c-float]", d[1]);
294 (*info->fprintf_func) (info->stream, "%02x", p[size - i - 1]);
299 (*info->fprintf_func) (info->stream, "(%s)+", reg_names[reg]);
303 (*info->fprintf_func) (info->stream, "*0x%x", NEXTLONG (p));
305 (*info->fprintf_func) (info->stream, "@(%s)+", reg_names[reg]);
308 (*info->fprintf_func) (info->stream, "*");
312 (*info->print_address_func) (addr + 2 + NEXTBYTE (p), info);
314 (*info->fprintf_func) (info->stream, "0x%x(%s)", NEXTBYTE (p),
318 (*info->fprintf_func) (info->stream, "*");
322 (*info->print_address_func) (addr + 3 + NEXTWORD (p), info);
324 (*info->fprintf_func) (info->stream, "0x%x(%s)", NEXTWORD (p),
328 (*info->fprintf_func) (info->stream, "*");
332 (*info->print_address_func) (addr + 5 + NEXTLONG (p), info);
334 (*info->fprintf_func) (info->stream, "0x%x(%s)", NEXTLONG (p),
350 disassemble_info *info)
375 (*info->print_address_func) (addr + 1 + NEXTBYTE (p), info);
377 (*info->print_address_func) (addr + 2 + NEXTWORD (p), info);
382 return print_insn_mode (d, arg_len, p0, addr, info);
386 on INFO->STREAM. Returns length of the instruction, in bytes. */
389 print_insn_vax (bfd_vma memaddr, disassemble_info *info)
398 info->private_data = & priv;
403 && info->disassembler_options != NULL)
405 parse_disassembler_options (info->disassembler_options);
416 /* Check if the info buffer has more than one byte left since
418 if (info->buffer_length - (memaddr - info->buffer_vma) > 1
419 && (info->stop_vma == 0 || memaddr < (info->stop_vma - 1)))
421 FETCH_DATA (info, buffer + 2);
425 FETCH_DATA (info, buffer + 1);
430 if (is_function_entry (info, memaddr))
435 (*info->fprintf_func) (info->stream, ".word 0x%04x # Entry mask: <",
440 (*info->fprintf_func) (info->stream, " %s", entry_mask_bit[i]);
442 (*info->fprintf_func) (info->stream, " >");
448 if (is_plt_tail (info, memaddr))
452 FETCH_DATA (info, buffer + 4);
455 (*info->fprintf_func) (info->stream, ".long 0x%08x", offset);
475 (*info->fprintf_func) (info->stream, ".word 0x%x",
485 FETCH_DATA (info, arg);
487 (*info->fprintf_func) (info->stream, "%s", votp->name);
489 (*info->fprintf_func) (info->stream, " ");
493 arg += print_insn_arg (argp, arg, memaddr + (arg - buffer), info);
496 (*info->fprintf_func) (info->stream, ",");