Change the stream argument to _filtered to GDB_FILE *.
[deliverable/binutils-gdb.git] / gdb / m88k-pinsn.c
CommitLineData
7d9884b9 1/* Print instructions for the Motorola 88000, for GDB and GNU Binutils.
f75906eb
ILT
2 Copyright 1986, 1987, 1988, 1989, 1990, 1991, 1993
3 Free Software Foundation, Inc.
7d9884b9
JG
4
5This file is part of GDB and the GNU Binutils.
6
7This program is free software; you can redistribute it and/or modify
8it under the terms of the GNU General Public License as published by
9the Free Software Foundation; either version 2 of the License, or
10(at your option) any later version.
11
12This program is distributed in the hope that it will be useful,
13but WITHOUT ANY WARRANTY; without even the implied warranty of
14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15GNU General Public License for more details.
16
17You should have received a copy of the GNU General Public License
18along with this program; if not, write to the Free Software
19Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
8aa13b87 20
8aa13b87 21#include "defs.h"
f75906eb 22#include "dis-asm.h"
8aa13b87 23
f75906eb
ILT
24/* Print the m88k instruction at address MEMADDR in debugged memory,
25 on STREAM. Returns length of the instruction, in bytes, which
26 is always 4. */
8aa13b87 27
f75906eb 28int
8aa13b87
JK
29print_insn (memaddr, stream)
30 CORE_ADDR memaddr;
199b2450 31 GDB_FILE *stream;
8aa13b87 32{
f75906eb 33 disassemble_info info;
8aa13b87 34
f75906eb 35 GDB_INIT_DISASSEMBLE_INFO (info, stream);
8aa13b87 36
f75906eb
ILT
37 /* print_insn_m88k is in opcodes/m88k-dis.c. */
38 return print_insn_m88k ((bfd_vma) memaddr, &info);
8aa13b87 39}
This page took 0.128642 seconds and 4 git commands to generate.