aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbarch.h
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2007-06-19 17:30:37 +0000
committerUlrich Weigand <uweigand@de.ibm.com>2007-06-19 17:30:37 +0000
commit7f5c84d395320e610b6cf45e1adfe97ba3122131 (patch)
treecd9c88e13c3f0eaf454646839cf232e52296962f /gdb/gdbarch.h
parentf73e88f92fc5c54b19418144cb4b3cf9b6beff36 (diff)
downloadgdb-7f5c84d395320e610b6cf45e1adfe97ba3122131.zip
gdb-7f5c84d395320e610b6cf45e1adfe97ba3122131.tar.gz
gdb-7f5c84d395320e610b6cf45e1adfe97ba3122131.tar.bz2
2007-06-19 Markus Deuling <deuling@de.ibm.com>
* gdbarch.sh (TARGET_PRINT_INSN): Replace by gdbarch_print_insn. * disasm.c (dump_insns, gdb_print_insn): Likewise. * gdbarch.c, gdbarch.h: Regenerate.
Diffstat (limited to 'gdb/gdbarch.h')
-rw-r--r--gdb/gdbarch.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/gdb/gdbarch.h b/gdb/gdbarch.h
index 9235b11..1c73da2 100644
--- a/gdb/gdbarch.h
+++ b/gdb/gdbarch.h
@@ -566,12 +566,6 @@ extern void set_gdbarch_single_step_through_delay (struct gdbarch *gdbarch, gdba
typedef int (gdbarch_print_insn_ftype) (bfd_vma vma, struct disassemble_info *info);
extern int gdbarch_print_insn (struct gdbarch *gdbarch, bfd_vma vma, struct disassemble_info *info);
extern void set_gdbarch_print_insn (struct gdbarch *gdbarch, gdbarch_print_insn_ftype *print_insn);
-#if !defined (GDB_TM_FILE) && defined (TARGET_PRINT_INSN)
-#error "Non multi-arch definition of TARGET_PRINT_INSN"
-#endif
-#if !defined (TARGET_PRINT_INSN)
-#define TARGET_PRINT_INSN(vma, info) (gdbarch_print_insn (current_gdbarch, vma, info))
-#endif
typedef CORE_ADDR (gdbarch_skip_trampoline_code_ftype) (struct frame_info *frame, CORE_ADDR pc);
extern CORE_ADDR gdbarch_skip_trampoline_code (struct gdbarch *gdbarch, struct frame_info *frame, CORE_ADDR pc);