From b1b9c4115ed04876813a40c0051636c0ad916993 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Wed, 9 Mar 2022 14:34:22 -0700 Subject: Reimplement array concatenation for Ada and D This started as a patch to implement string concatenation for Ada. However, while working on this, I looked at how this code could possibly be called. It turns out there are only two users of concat_operation: Ada and D. So, in addition to implementing this for Ada, this patch rewrites value_concat, removing the odd "concatenate or repeat" semantics, which were completely unused. As Ada and D both seem to represent strings using TYPE_CODE_ARRAY, this removes the TYPE_CODE_STRING code from there as well. --- gdb/doc/gdb.texinfo | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'gdb/doc') diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index d216fa1..729f9d7 100644 --- a/gdb/doc/gdb.texinfo +++ b/gdb/doc/gdb.texinfo @@ -18094,10 +18094,7 @@ operand of the membership (@code{in}) operator. @end itemize @item -The names in -@code{Characters.Latin_1} are not available and -concatenation is not implemented. Thus, escape characters in strings are -not currently available. +The names in @code{Characters.Latin_1} are not available. @item Equality tests (@samp{=} and @samp{/=}) on arrays test for bitwise -- cgit v1.1