aboutsummaryrefslogtreecommitdiff
path: root/opcodes/cgen-ibld.in
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2001-01-09 17:00:21 +0000
committerJeff Johnston <jjohnstn@redhat.com>2001-01-09 17:00:21 +0000
commit4a9f416d92db703b7396482b62889793a90fdb94 (patch)
treef61f30246c1e1d900ea878847268e79474c5abb3 /opcodes/cgen-ibld.in
parent183d61753fa3ad6e6ddc990a2bee09381e27ccb6 (diff)
downloadgdb-4a9f416d92db703b7396482b62889793a90fdb94.zip
gdb-4a9f416d92db703b7396482b62889793a90fdb94.tar.gz
gdb-4a9f416d92db703b7396482b62889793a90fdb94.tar.bz2
2001-01-09 Jeff Johnston <jjohnstn@redhat.com>
* cgen-asm.in (parse_insn_normal): Changed syn to be CGEN_SYNTAX_CHAR_TYPE. Changed all references to *syn as character to use CGEN_SYNTAX_CHAR macro and all comparisons to '\0' to use 0 instead. * cgen-dis.in (print_insn_normal): Ditto. * cgen-ibld.in (insert_insn_normal, extract_insn_normal): Ditto.
Diffstat (limited to 'opcodes/cgen-ibld.in')
-rw-r--r--opcodes/cgen-ibld.in8
1 files changed, 4 insertions, 4 deletions
diff --git a/opcodes/cgen-ibld.in b/opcodes/cgen-ibld.in
index f5107a1..31c7bfc 100644
--- a/opcodes/cgen-ibld.in
+++ b/opcodes/cgen-ibld.in
@@ -3,7 +3,7 @@
THIS FILE IS MACHINE GENERATED WITH CGEN: Cpu tools GENerator.
- the resultant file is machine generated, cgen-ibld.in isn't
-Copyright (C) 1996, 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
+Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
This file is part of the GNU Binutils and GDB, the GNU debugger.
@@ -218,7 +218,7 @@ insert_insn_normal (cd, insn, fields, buffer, pc)
{
const CGEN_SYNTAX *syntax = CGEN_INSN_SYNTAX (insn);
unsigned long value;
- const unsigned char * syn;
+ const CGEN_SYNTAX_CHAR_TYPE * syn;
CGEN_INIT_INSERT (cd);
value = CGEN_INSN_BASE_VALUE (insn);
@@ -244,7 +244,7 @@ insert_insn_normal (cd, insn, fields, buffer, pc)
e.g. storing a branch displacement that got resolved later.
Needs more thought first. */
- for (syn = CGEN_SYNTAX_STRING (syntax); * syn != '\0'; ++ syn)
+ for (syn = CGEN_SYNTAX_STRING (syntax); * syn; ++ syn)
{
const char *errmsg;
@@ -488,7 +488,7 @@ extract_insn_normal (cd, insn, ex_info, insn_value, fields, pc)
bfd_vma pc;
{
const CGEN_SYNTAX *syntax = CGEN_INSN_SYNTAX (insn);
- const unsigned char *syn;
+ const CGEN_SYNTAX_CHAR_TYPE *syn;
CGEN_FIELDS_BITSIZE (fields) = CGEN_INSN_BITSIZE (insn);