From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id R8JmBwIoN2K8awAAWB0awg (envelope-from ) for ; Sun, 20 Mar 2022 09:11:30 -0400 Received: by simark.ca (Postfix, from userid 112) id 095221F3CD; Sun, 20 Mar 2022 09:11:30 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, RDNS_DYNAMIC autolearn=ham autolearn_force=no version=3.4.2 Received: from sourceware.org (ip-8-43-85-97.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id 4A3481F0BB for ; Sun, 20 Mar 2022 09:11:28 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 218613899047 for ; Sun, 20 Mar 2022 13:11:27 +0000 (GMT) Received: from mail-out.m-online.net (mail-out.m-online.net [212.18.0.10]) by sourceware.org (Postfix) with ESMTPS id B864C3858C74 for ; Sun, 20 Mar 2022 13:11:16 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org B864C3858C74 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=linux-m68k.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=nefkom.net Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4KLymz5NH4z1sXbh for ; Sun, 20 Mar 2022 14:11:15 +0100 (CET) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 4KLymz5Gvxz1qqkB for ; Sun, 20 Mar 2022 14:11:15 +0100 (CET) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id abWxjzTzhg4H for ; Sun, 20 Mar 2022 14:11:15 +0100 (CET) X-Auth-Info: 24zfiuSSZaeOtlZqP0wrPf2tPaWCA0FD9Kqhz3AR7lpxoRxk9IZF92BqvncVclCV Received: from igel.home (ppp-46-244-164-143.dynamic.mnet-online.de [46.244.164.143]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA for ; Sun, 20 Mar 2022 14:11:15 +0100 (CET) Received: by igel.home (Postfix, from userid 1000) id 914102C39B7; Sun, 20 Mar 2022 14:11:14 +0100 (CET) From: Andreas Schwab To: gdb-patches@sourceware.org Subject: [PATCH] Add support for readline 8.2 X-Yow: This ASEXUAL PIG really BOILS my BLOOD... He's so..so.....URGENT!! Date: Sun, 20 Mar 2022 14:11:14 +0100 Message-ID: <87ils8ojkd.fsf@igel.home> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.92 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gdb-patches-bounces+public-inbox=simark.ca@sourceware.org Sender: "Gdb-patches" In readline 8.2 the type of rl_completer_word_break_characters changed to include const. --- 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" -/* 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" @@ -2011,7 +2011,7 @@ gdb_completion_word_break_characters_throw () rl_basic_quote_characters = NULL; } - return rl_completer_word_break_characters; + return (char *) rl_completer_word_break_characters; } char * -- 2.35.0 -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different."