2007-08-17 Michael Snyder <msnyder@access-company.com>
[deliverable/binutils-gdb.git] / gdb / disasm.h
index beaaf4aaa3d5dd5445d51df29dd5609ad43c1c7b..4dae0ba8be089f61719019e09c7b01f5360a5249 100644 (file)
@@ -1,5 +1,5 @@
 /* Disassemble support for GDB.
-   Copyright 2002 Free Software Foundation, Inc.
+   Copyright (C) 2002, 2007 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
 
    You should have received a copy of the GNU General Public License
    along with this program; if not, write to the Free Software
-   Foundation, Inc., 59 Temple Place - Suite 330,
-   Boston, MA 02111-1307, USA.  */
+   Foundation, Inc., 51 Franklin Street, Fifth Floor,
+   Boston, MA 02110-1301, USA.  */
 
 #ifndef DISASM_H
 #define DISASM_H
 
+struct ui_out;
+struct ui_file;
+
 extern void gdb_disassembly (struct ui_out *uiout,
                             char *file_string,
                             int line_num,
                             int mixed_source_and_assembly,
                             int how_many, CORE_ADDR low, CORE_ADDR high);
+
+/* Print the instruction at address MEMADDR in debugged memory,
+   on STREAM.  Returns the length of the instruction, in bytes,
+   and, if requested, the number of branch delay slot instructions.  */
+
+extern int gdb_print_insn (CORE_ADDR memaddr,
+                          struct ui_file *stream,
+                          int *branch_delay_insns);
+
 #endif
This page took 0.026906 seconds and 4 git commands to generate.