summaryrefslogtreecommitdiff
path: root/opcodes/arc-ext.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2005-02-22 13:01:53 +0000
committerAlan Modra <amodra@bigpond.net.au>2005-02-22 13:01:53 +0000
commit106996702adc9939f4741e0e8bb3c051f9682b26 (patch)
treeb8a560eac7c283a8101cea9afbb91565d8b80284 /opcodes/arc-ext.h
parent32b3b9f6eaeb442de1947d8280c07317f938fe81 (diff)
downloadbinutils-redhat-106996702adc9939f4741e0e8bb3c051f9682b26.tar.gz
* arc-ext.c: Warning fixes.
* arc-ext.h: Likewise. * cgen-opc.c: Likewise. * ia64-gen.c: Likewise. * maxq-dis.c: Likewise. * ns32k-dis.c: Likewise. * w65-dis.c: Likewise. * ia64-asmtab.c: Regenerate.
Diffstat (limited to 'opcodes/arc-ext.h')
-rw-r--r--opcodes/arc-ext.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/opcodes/arc-ext.h b/opcodes/arc-ext.h
index bfe9750b60..e2c6d5bf2c 100644
--- a/opcodes/arc-ext.h
+++ b/opcodes/arc-ext.h
@@ -1,5 +1,5 @@
/* ARC target-dependent stuff. Extension data structures.
- Copyright 1995, 1997, 2000, 2001 Free Software Foundation, Inc.
+ Copyright 1995, 1997, 2000, 2001, 2005 Free Software Foundation, Inc.
This file is part of GDB.
@@ -20,10 +20,10 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#ifndef ARCEXT_H
#define ARCEXT_H
-enum {EXT_INSTRUCTION = 0};
-enum {EXT_CORE_REGISTER = 1};
-enum {EXT_AUX_REGISTER = 2};
-enum {EXT_COND_CODE = 3};
+enum {EXT_INSTRUCTION = 0,
+ EXT_CORE_REGISTER = 1,
+ EXT_AUX_REGISTER = 2,
+ EXT_COND_CODE = 3};
enum {NUM_EXT_INST = (0x1f-0x10+1) + (0x3f-0x09+1)};
enum {NUM_EXT_CORE = 59-32+1};
@@ -46,8 +46,8 @@ struct arcExtMap
{
struct ExtAuxRegister *auxRegisters;
struct ExtInstruction *instructions[NUM_EXT_INST];
- unsigned char *coreRegisters[NUM_EXT_CORE];
- unsigned char *condCodes[NUM_EXT_COND];
+ char *coreRegisters[NUM_EXT_CORE];
+ char *condCodes[NUM_EXT_COND];
};
extern int arcExtMap_add(void*, unsigned long);