diff options
author | Nick Clifton <nickc@redhat.com> | 2006-03-03 15:57:43 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2006-03-03 15:57:43 +0000 |
commit | c7d41dc5a0b485f667749ea4f2285397b85273cf (patch) | |
tree | 523ade31a72ecef19155f7c6b039c66d91cb6c39 /opcodes/xc16x-dis.c | |
parent | 4cdc7696f5ce43e61bb7e234ed10b2ad03fca9e8 (diff) | |
download | gdb-c7d41dc5a0b485f667749ea4f2285397b85273cf.zip gdb-c7d41dc5a0b485f667749ea4f2285397b85273cf.tar.gz gdb-c7d41dc5a0b485f667749ea4f2285397b85273cf.tar.bz2 |
Fix parseing functions to return an error message if the parse failed
Diffstat (limited to 'opcodes/xc16x-dis.c')
-rw-r--r-- | opcodes/xc16x-dis.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/opcodes/xc16x-dis.c b/opcodes/xc16x-dis.c index 5d60879..6efc89b 100644 --- a/opcodes/xc16x-dis.c +++ b/opcodes/xc16x-dis.c @@ -72,7 +72,7 @@ static int read_insn } \ while (0) -/* Handle '.' prefixes as operands. */ +/* Print a 'pof:' prefix to an operand. */ static void print_pof (CGEN_CPU_DESC cd ATTRIBUTE_UNUSED, @@ -84,7 +84,7 @@ print_pof (CGEN_CPU_DESC cd ATTRIBUTE_UNUSED, { } -/* Handle '.' prefixes as operands. */ +/* Print a 'pag:' prefix to an operand. */ static void print_pag (CGEN_CPU_DESC cd ATTRIBUTE_UNUSED, @@ -96,7 +96,7 @@ print_pag (CGEN_CPU_DESC cd ATTRIBUTE_UNUSED, { } -/* Handle '.' prefixes as operands. */ +/* Print a 'sof:' prefix to an operand. */ static void print_sof (CGEN_CPU_DESC cd ATTRIBUTE_UNUSED, @@ -111,7 +111,7 @@ print_sof (CGEN_CPU_DESC cd ATTRIBUTE_UNUSED, info->fprintf_func (info->stream, "sof:"); } -/* Handle '.' prefixes as operands. */ +/* Print a 'seg:' prefix to an operand. */ static void print_seg (CGEN_CPU_DESC cd ATTRIBUTE_UNUSED, @@ -126,7 +126,7 @@ print_seg (CGEN_CPU_DESC cd ATTRIBUTE_UNUSED, info->fprintf_func (info->stream, "seg:"); } -/* Handle '#' prefixes as operands. */ +/* Print a '#' prefix to an operand. */ static void print_hash (CGEN_CPU_DESC cd ATTRIBUTE_UNUSED, @@ -141,7 +141,7 @@ print_hash (CGEN_CPU_DESC cd ATTRIBUTE_UNUSED, info->fprintf_func (info->stream, "#"); } -/* Handle '.' prefixes as operands. */ +/* Print a '.' prefix to an operand. */ static void print_dot (CGEN_CPU_DESC cd ATTRIBUTE_UNUSED, |