/* Instruction printing code for the AMD 29000
- Copyright (C) 1990 Free Software Foundation, Inc.
+ Copyright (C) 1990, 93, 94, 95, 1998 Free Software Foundation, Inc.
Contributed by Cygnus Support. Written by Jim Kingdon.
This file is part of GDB.
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
+#include "sysdep.h"
#include "dis-asm.h"
#include "opcode/a29k.h"
assembler uses. */
static void
print_special (num, info)
- int num;
+ unsigned int num;
struct disassemble_info *info;
{
/* Register names of registers 0-SPEC0_NUM-1. */
*insn0 = insn[0];
}
-typedef (*find_byte_func_type)
+typedef void (*find_byte_func_type)
PARAMS ((char *, unsigned char *, unsigned char *,
unsigned char *, unsigned char *));
opcode < &a29k_opcodes[num_opcodes];
++opcode)
{
- if ((insn24<<24) == opcode->opcode)
+ if (((unsigned long) insn24 << 24) == opcode->opcode)
{
char *s;