Add back gdb_pretty_print_insn
[deliverable/binutils-gdb.git] / gdb / disasm.h
index 7374dbfe2dc073ea402c1d8850af3e3bb3c16873..dcc01e19befb6f3b3c53182427e426fb13daf9d2 100644 (file)
@@ -44,11 +44,6 @@ public:
 
   int print_insn (CORE_ADDR memaddr, int *branch_delay_insns = NULL);
 
-  /* Prints the instruction INSN into UIOUT and returns the length of
-     the printed instruction in bytes.  */
-  int pretty_print_insn (struct ui_out *uiout,
-                        const struct disasm_insn *insn, int flags);
-
   /* Return the gdbarch of gdb_disassembler.  */
   struct gdbarch *arch ()
   { return m_gdbarch; }
@@ -102,6 +97,12 @@ extern void gdb_disassembly (struct gdbarch *gdbarch, struct ui_out *uiout,
 extern int gdb_print_insn (struct gdbarch *gdbarch, CORE_ADDR memaddr,
                           struct ui_file *stream, int *branch_delay_insns);
 
+/* Prints the instruction INSN into UIOUT and returns the length of
+   the printed instruction in bytes.  */
+
+extern int gdb_pretty_print_insn (struct gdbarch *gdbarch, struct ui_out *uiout,
+                                 const struct disasm_insn *insn, int flags);
+
 /* Return the length in bytes of the instruction at address MEMADDR in
    debugged memory.  */
 
This page took 0.038505 seconds and 4 git commands to generate.