aboutsummaryrefslogtreecommitdiff
path: root/include/opcode/cgen.h
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2000-02-24 23:57:23 +0000
committerNick Clifton <nickc@redhat.com>2000-02-24 23:57:23 +0000
commit68e324a2b88838a47a7103809fc42a67e9271dea (patch)
tree3e3cd91a22df8d92a0852284a98557f41cafff80 /include/opcode/cgen.h
parent482ca3f5dc86270c4af53efe9cb5d3e36299d13f (diff)
downloadgdb-68e324a2b88838a47a7103809fc42a67e9271dea.zip
gdb-68e324a2b88838a47a7103809fc42a67e9271dea.tar.gz
gdb-68e324a2b88838a47a7103809fc42a67e9271dea.tar.bz2
Rename 'flags' to 'signed_overflow_ok_p'
Diffstat (limited to 'include/opcode/cgen.h')
-rw-r--r--include/opcode/cgen.h11
1 files changed, 2 insertions, 9 deletions
diff --git a/include/opcode/cgen.h b/include/opcode/cgen.h
index d46d268..0cff7c8 100644
--- a/include/opcode/cgen.h
+++ b/include/opcode/cgen.h
@@ -1282,9 +1282,8 @@ typedef struct cgen_cpu_desc
CGEN_INSN_LIST **dis_hash_table;
CGEN_INSN_LIST *dis_hash_table_entries;
- /* Customisation for CGEN operations. */
-#define CGEN_FLAG_SIGNED_OVERFLOW_OK (1 << 0)
- unsigned int flags;
+ /* This field could be turned into a bitfield if room for other flags is needed. */
+ unsigned int signed_overflow_ok_p;
} CGEN_CPU_TABLE;
@@ -1388,12 +1387,6 @@ extern void cgen_put_insn_value
extern const char * cgen_read_cpu_file
PARAMS ((CGEN_CPU_DESC, const char * filename_));
-/* Set the flags in the CGEN_CPU_DESC. */
-extern void cgen_set_flags PARAMS ((CGEN_CPU_DESC, unsigned int));
-
-/* Read the flags in the CGEN_CPU_DESC. */
-extern unsigned int cgen_get_flags PARAMS ((CGEN_CPU_DESC));
-
/* Allow signed overflow of instruction fields. */
extern void cgen_set_signed_overflow_ok PARAMS ((CGEN_CPU_DESC));