2006-02-21 Paul Brook <paul@codesourcery.com>
[deliverable/binutils-gdb.git] / gdb / disasm.h
index beaaf4aaa3d5dd5445d51df29dd5609ad43c1c7b..8fb4ae4b99ee0018e1fd30899f92f865e4323470 100644 (file)
@@ -1,5 +1,5 @@
 /* Disassemble support for GDB.
-   Copyright 2002 Free Software Foundation, Inc.
+   Copyright (C) 2002 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 length of the instruction, in bytes.  */
+
+extern int gdb_print_insn (CORE_ADDR memaddr, struct ui_file *stream);
+
 #endif
This page took 0.025718 seconds and 4 git commands to generate.