From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2138) id 8B2C33858C50; Mon, 21 Mar 2022 11:14:50 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8B2C33858C50 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Andreas Schwab To: gdb-cvs@sourceware.org Subject: [binutils-gdb] Add support for readline 8.2 X-Act-Checkin: binutils-gdb X-Git-Author: Andreas Schwab X-Git-Refname: refs/heads/master X-Git-Oldrev: 692e92c5af88ae509d81e484d270dd6072a41ff2 X-Git-Newrev: 1add37b567a7dee39d99f37b37802034c3fce9c4 Message-Id: <20220321111450.8B2C33858C50@sourceware.org> Date: Mon, 21 Mar 2022 11:14:50 +0000 (GMT) X-BeenThere: gdb-cvs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Mar 2022 11:14:50 -0000 https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;h=3D1add37b567a7= dee39d99f37b37802034c3fce9c4 commit 1add37b567a7dee39d99f37b37802034c3fce9c4 Author: Andreas Schwab Date: Sun Mar 20 14:01:54 2022 +0100 Add support for readline 8.2 =20 In readline 8.2 the type of rl_completer_word_break_characters changed = to include const. Diff: --- gdb/completer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gdb/completer.c b/gdb/completer.c index d3900ae2014..a51c16ac7f8 100644 --- a/gdb/completer.c +++ b/gdb/completer.c @@ -36,7 +36,7 @@ calling a hook instead so we eliminate the CLI dependency. */ #include "gdbcmd.h" =20 -/* Needed for rl_completer_word_break_characters() and for +/* Needed for rl_completer_word_break_characters and for rl_filename_completion_function. */ #include "readline/readline.h" =20 @@ -2011,7 +2011,7 @@ gdb_completion_word_break_characters_throw () rl_basic_quote_characters =3D NULL; } =20 - return rl_completer_word_break_characters; + return (char *) rl_completer_word_break_characters; } =20 char *