aboutsummaryrefslogtreecommitdiff
path: root/opcodes/or32-dis.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2012-05-18 01:59:38 +0000
committerAlan Modra <amodra@gmail.com>2012-05-18 01:59:38 +0000
commit5eb3690ee9d6bf3a5d60d2853bc6c1be8c251f06 (patch)
tree0acb4ed5b627287c391c16f1759d8efbd21f66da /opcodes/or32-dis.c
parenta4ebc835cbcbc0a6f55f1dbe68332cfd8359fdfd (diff)
downloadgdb-5eb3690ee9d6bf3a5d60d2853bc6c1be8c251f06.zip
gdb-5eb3690ee9d6bf3a5d60d2853bc6c1be8c251f06.tar.gz
gdb-5eb3690ee9d6bf3a5d60d2853bc6c1be8c251f06.tar.bz2
* arc-dis.c: Include sysdep.h first, remove some redundant includes.
* bfin-dis.c: Likewise. * i860-dis.c: Likewise. * ia64-dis.c: Likewise. * ia64-gen.c: Likewise. * m68hc11-dis.c: Likewise. * mmix-dis.c: Likewise. * msp430-dis.c: Likewise. * or32-dis.c: Likewise. * rl78-dis.c: Likewise. * rx-dis.c: Likewise. * tic4x-dis.c: Likewise. * tilegx-opc.c: Likewise. * tilepro-opc.c: Likewise. * rx-decode.c: Regenerate.
Diffstat (limited to 'opcodes/or32-dis.c')
-rw-r--r--opcodes/or32-dis.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/opcodes/or32-dis.c b/opcodes/or32-dis.c
index a0dc92a..abb80bf 100644
--- a/opcodes/or32-dis.c
+++ b/opcodes/or32-dis.c
@@ -1,5 +1,5 @@
/* Instruction printing code for the OpenRISC 1000
- Copyright (C) 2002, 2005, 2007 Free Software Foundation, Inc.
+ Copyright (C) 2002, 2005, 2007, 2012 Free Software Foundation, Inc.
Contributed by Damjan Lampret <lampret@opencores.org>.
Modified from a29k port.
@@ -24,11 +24,10 @@
#define DEBUG 0
#endif
+#include "sysdep.h"
#include "dis-asm.h"
#include "opcode/or32.h"
#include "safe-ctype.h"
-#include <string.h>
-#include <stdlib.h>
#define EXTEND29(x) ((x) & (unsigned long) 0x10000000 ? ((x) | (unsigned long) 0xf0000000) : ((x)))