aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>1998-02-18 05:46:37 +0000
committerDoug Evans <dje@google.com>1998-02-18 05:46:37 +0000
commitdeaa05853b4c974e3efa73929367d6c89708cdb7 (patch)
treea556744592ec19d76aae9d24f1482abe90429475 /include
parent8dcc896d0e023cc7837370e4c186a7170400cff0 (diff)
downloadgdb-deaa05853b4c974e3efa73929367d6c89708cdb7.zip
gdb-deaa05853b4c974e3efa73929367d6c89708cdb7.tar.gz
gdb-deaa05853b4c974e3efa73929367d6c89708cdb7.tar.bz2
* cgen.h (CGEN_SYNTAX_MAKE_FIELD): New macro.
Diffstat (limited to 'include')
-rw-r--r--include/opcode/ChangeLog4
-rw-r--r--include/opcode/cgen.h1
2 files changed, 5 insertions, 0 deletions
diff --git a/include/opcode/ChangeLog b/include/opcode/ChangeLog
index 67d2323..a0cf63a 100644
--- a/include/opcode/ChangeLog
+++ b/include/opcode/ChangeLog
@@ -1,3 +1,7 @@
+Tue Feb 17 21:42:56 1998 Nick Clifton <nickc@cygnus.com>
+
+ * cgen.h (CGEN_SYNTAX_MAKE_FIELD): New macro.
+
Tue Feb 17 16:00:56 1998 Doug Evans <devans@seba.cygnus.com>
* cgen.h (cgen_insert_fn): Change type of result to const char *.
diff --git a/include/opcode/cgen.h b/include/opcode/cgen.h
index d20efd3..ffe8f6f 100644
--- a/include/opcode/cgen.h
+++ b/include/opcode/cgen.h
@@ -608,6 +608,7 @@ typedef struct
#define CGEN_SYNTAX_CHAR_P(c) ((c) < 128)
#define CGEN_SYNTAX_CHAR(c) (c)
#define CGEN_SYNTAX_FIELD(c) ((c) - 128)
+#define CGEN_SYNTAX_MAKE_FIELD(c) ((c) + 128)
/* ??? I can't currently think of any case where the mnemonic doesn't come
first [and if one ever doesn't building the hash tables will be tricky].