diff options
Diffstat (limited to 'gdb/language.c')
-rw-r--r-- | gdb/language.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gdb/language.c b/gdb/language.c index c5306bb..d9c7c1c 100644 --- a/gdb/language.c +++ b/gdb/language.c @@ -894,8 +894,9 @@ binop_type_check(arg1,arg2,op) break; case BINOP_CONCAT: - if (!(string_type(t1) || character_type(t1)) - || !(string_type(t2) || character_type(t2))) + /* FIXME: Needs to handle bitstrings as well. */ + if (!(string_type(t1) || character_type(t1) || integral_type(t1)) + || !(string_type(t2) || character_type(t2) || integral_type(t2))) type_op_error ("Arguments to %s must be strings or characters.", op); break; |