GDB (xrefs)
|
#include "dis-asm.h"
Go to the source code of this file.
Macros | |
#define | DISASSEMBLY_SOURCE (0x1 << 0) |
#define | DISASSEMBLY_RAW_INSN (0x1 << 1) |
#define | DISASSEMBLY_OMIT_FNAME (0x1 << 2) |
#define | DISASSEMBLY_FILENAME (0x1 << 3) |
#define | DISASSEMBLY_OMIT_PC (0x1 << 4) |
Functions | |
struct disassemble_info | gdb_disassemble_info (struct gdbarch *gdbarch, struct ui_file *file) |
void | gdb_disassembly (struct gdbarch *gdbarch, struct ui_out *uiout, char *file_string, int flags, int how_many, CORE_ADDR low, CORE_ADDR high) |
int | gdb_print_insn (struct gdbarch *gdbarch, CORE_ADDR memaddr, struct ui_file *stream, int *branch_delay_insns) |
int | gdb_insn_length (struct gdbarch *gdbarch, CORE_ADDR memaddr) |
int | gdb_buffered_insn_length (struct gdbarch *gdbarch, const gdb_byte *insn, int max_len, CORE_ADDR memaddr) |
#define DISASSEMBLY_FILENAME (0x1 << 3) |
Definition at line 27 of file disasm.h.
Referenced by do_mixed_source_and_assembly(), and get_insn_history_modifiers().
#define DISASSEMBLY_OMIT_FNAME (0x1 << 2) |
Definition at line 26 of file disasm.h.
Referenced by disassemble_command(), dump_insns(), and get_insn_history_modifiers().
#define DISASSEMBLY_OMIT_PC (0x1 << 4) |
Definition at line 28 of file disasm.h.
Referenced by dump_insns(), and get_insn_history_modifiers().
#define DISASSEMBLY_RAW_INSN (0x1 << 1) |
Definition at line 25 of file disasm.h.
Referenced by disassemble_command(), do_gdb_disassembly(), dump_insns(), get_insn_history_modifiers(), and mi_cmd_disassemble().
#define DISASSEMBLY_SOURCE (0x1 << 0) |
Definition at line 24 of file disasm.h.
Referenced by disassemble_command(), gdb_disassembly(), get_insn_history_modifiers(), and mi_cmd_disassemble().
int gdb_buffered_insn_length | ( | struct gdbarch * | gdbarch, |
const gdb_byte * | insn, | ||
int | max_len, | ||
CORE_ADDR | memaddr | ||
) |
Definition at line 525 of file disasm.c.
References gdb_buffered_insn_length_init_dis(), and gdbarch_print_insn().
Referenced by amd64_relocate_instruction(), fixup_riprel(), and i386_relocate_instruction().
Definition at line 379 of file disasm.c.
References dis_asm_memory_error(), dis_asm_print_address(), dis_asm_read_memory(), gdbarch_bfd_arch_info(), gdbarch_byte_order(), and gdbarch_byte_order_for_code().
Referenced by gdb_disassembly(), gdb_print_insn(), and gdbscm_print_insn_from_port().
void gdb_disassembly | ( | struct gdbarch * | gdbarch, |
struct ui_out * | uiout, | ||
char * | file_string, | ||
int | flags, | ||
int | how_many, | ||
CORE_ADDR | low, | ||
CORE_ADDR | high | ||
) |
Definition at line 406 of file disasm.c.
References DISASSEMBLY_SOURCE, do_assembly_only(), do_cleanups(), do_mixed_source_and_assembly(), find_pc_line_symtab(), gdb_disassemble_info(), gdb_flush(), gdb_stdout, make_cleanup_ui_file_delete(), mem_fileopen(), and SYMTAB_LINETABLE.
Referenced by btrace_insn_history(), do_gdb_disassembly(), mi_cmd_disassemble(), and print_disassembly().
Definition at line 472 of file disasm.c.
References do_ui_file_delete(), gdb_print_insn(), make_final_cleanup(), and ui_file_new().
Referenced by btrace_compute_ftrace_bts(), and record_btrace_frame_prev_register().
int gdb_print_insn | ( | struct gdbarch * | gdbarch, |
CORE_ADDR | memaddr, | ||
struct ui_file * | stream, | ||
int * | branch_delay_insns | ||
) |
Definition at line 444 of file disasm.c.
References gdb_disassemble_info(), and gdbarch_print_insn().
Referenced by archpy_disassemble(), gdb_insn_length(), gdbscm_arch_disassemble(), i386_fast_tracepoint_valid_at(), print_formatted(), and tui_disassemble().