aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Krebbel <Andreas.Krebbel@de.ibm.com>2008-04-10 13:05:07 +0000
committerAndreas Krebbel <Andreas.Krebbel@de.ibm.com>2008-04-10 13:05:07 +0000
commit7ff42648478c77e5b10e4e082d0af0899b404d70 (patch)
tree682feb9cd8ef51e5707637df03338fffa8c09016
parent83f10cb26a460a5ab1921b6305e63e848b1d798f (diff)
downloadgdb-7ff42648478c77e5b10e4e082d0af0899b404d70.zip
gdb-7ff42648478c77e5b10e4e082d0af0899b404d70.tar.gz
gdb-7ff42648478c77e5b10e4e082d0af0899b404d70.tar.bz2
2008-04-10 Andreas Krebbel <krebbel1@de.ibm.com>
* s390-mkopc.c (insertExpandedMnemonic): Expand string sizes of local variables used for mnemonic parsing: prefix, suffix and number.
-rw-r--r--opcodes/ChangeLog6
-rw-r--r--opcodes/s390-mkopc.c6
2 files changed, 9 insertions, 3 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index f90038d..456d588 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,5 +1,11 @@
2008-04-10 Andreas Krebbel <krebbel1@de.ibm.com>
+ * s390-mkopc.c (insertExpandedMnemonic): Expand string sizes
+ of local variables used for mnemonic parsing: prefix, suffix and
+ number.
+
+2008-04-10 Andreas Krebbel <krebbel1@de.ibm.com>
+
* s390-mkopc.c (s390_cond_ext_format): Add back the mnemonic
extensions for conditional jumps (o, p, m, nz, z, nm, np, no).
(s390_crb_extensions): New extensions table.
diff --git a/opcodes/s390-mkopc.c b/opcodes/s390-mkopc.c
index 7274bdc..126d5a9 100644
--- a/opcodes/s390-mkopc.c
+++ b/opcodes/s390-mkopc.c
@@ -177,9 +177,9 @@ insertExpandedMnemonic (char *opcode, char *mnemonic, char *format,
int min_cpu, int mode_bits)
{
char *tag;
- char prefix[5];
- char suffix[5];
- char number[5];
+ char prefix[15];
+ char suffix[15];
+ char number[15];
int mask_start, i = 0, tag_found = 0, reading_number = 0;
int number_p = 0, suffix_p = 0, prefix_p = 0;
const struct s390_cond_ext_format *ext_table;