From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id cowVE2/29mK29CUAWB0awg (envelope-from ) for ; Fri, 12 Aug 2022 20:55:11 -0400 Received: by simark.ca (Postfix, from userid 112) id 314661E745; Fri, 12 Aug 2022 20:55:11 -0400 (EDT) Authentication-Results: simark.ca; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.a=rsa-sha256 header.s=default header.b=YEysAJ7A; dkim-atps=neutral X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RDNS_DYNAMIC,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 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 A45481E227 for ; Fri, 12 Aug 2022 20:55:10 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 24E933857814 for ; Sat, 13 Aug 2022 00:55:10 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 24E933857814 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1660352110; bh=/cCScO4Ulkk/Ozh0Fkn3di7l2NM9NkEjrX3H4tw0BQ8=; h=To:Subject:Date:In-Reply-To:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=YEysAJ7ACn8DoL+2VnaE5GOZF223dEQ/L9YM8uXdl468MLTRujN9VQksnPGlWyOSo XN4ESVGT7jfsx2B+pX+C6VizwY7IQexaEUvmg9aBGwAbyPmU9RbJ3W4IMNBTON2fQB 6uWwvEhbd0GXjvsQzuKrH7yjXfytUMzYjB39ClWM= Received: from mail-io1-xd2b.google.com (mail-io1-xd2b.google.com [IPv6:2607:f8b0:4864:20::d2b]) by sourceware.org (Postfix) with ESMTPS id 5BA963858C50 for ; Sat, 13 Aug 2022 00:54:46 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 5BA963858C50 Received: by mail-io1-xd2b.google.com with SMTP id 68so2085117iou.2 for ; Fri, 12 Aug 2022 17:54:46 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc; bh=/cCScO4Ulkk/Ozh0Fkn3di7l2NM9NkEjrX3H4tw0BQ8=; b=Guvd4i6i/WOlE6498mJEB9uEaxRuonkTLnbAg0zBvSim+RKhxeUbUh/xwdVjXh3qgy A2Twdutuwr7vQSHCVGnAue19ZRn+1dzfU5ro/kgqreFx5WmkVTtoIu83R2YLnPMZInwi jrX/ltYz+Lz3cSs0HsiM/5BQrAo00q6SP51dchhcWjYgG/GAdJkMEESvpIZewpbNvQBf 085K6i4c98fM9wrjYq59r20Qh+uIBqL6w0hK3QpsgnfYRUpM70yj+N/OFZZzipnNGepD RzkkanIUgMhJBSKpgmAxH9q7wVbRPcxsRA/nW/G7rk87ieQCnFnviN/4EQpQeEIAAuJ2 WcsA== X-Gm-Message-State: ACgBeo1OSKNMCoDrfTGVdfELEAjG3BMjJhsrYdxouaQ+XzTZ6967Nxt9 HNGnKP2sqBU59BnuSvSeF+7vUNHt0zxNdw== X-Google-Smtp-Source: AA6agR5NhVAEAxCRzFaiZb+nbetPQmmLbYqvd2M9SwDLzNYTl9PnT0lF49QwPvknSrwHIF59AZOHGA== X-Received: by 2002:a05:6602:2289:b0:683:30fc:9535 with SMTP id d9-20020a056602228900b0068330fc9535mr2622318iod.71.1660352085695; Fri, 12 Aug 2022 17:54:45 -0700 (PDT) Received: from murgatroyd.Home (71-211-185-228.hlrn.qwest.net. [71.211.185.228]) by smtp.gmail.com with ESMTPSA id p17-20020a056638217100b00343455007f7sm494366jak.110.2022.08.12.17.54.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Aug 2022 17:54:45 -0700 (PDT) To: gdb-patches@sourceware.org Subject: [PATCH 01/14] Remove some dead code Date: Fri, 12 Aug 2022 18:54:29 -0600 Message-Id: <20220813005442.4163512-2-tromey@adacore.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220813005442.4163512-1-tromey@adacore.com> References: <20220813005442.4163512-1-tromey@adacore.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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: , From: Tom Tromey via Gdb-patches Reply-To: Tom Tromey Cc: Tom Tromey Errors-To: gdb-patches-bounces+public-inbox=simark.ca@sourceware.org Sender: "Gdb-patches" This patch removes some dead code and an old FIXME. These no longer seem useful, even for documentation purposes. --- gdb/event-top.c | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/gdb/event-top.c b/gdb/event-top.c index 02b3786320f..6f67659a36b 100644 --- a/gdb/event-top.c +++ b/gdb/event-top.c @@ -1378,19 +1378,6 @@ gdb_disable_readline (void) { struct ui *ui = current_ui; - /* FIXME - It is too heavyweight to delete and remake these every - time you run an interpreter that needs readline. It is probably - better to have the interpreters cache these, which in turn means - that this needs to be moved into interpreter specific code. */ - -#if 0 - ui_file_delete (gdb_stdout); - ui_file_delete (gdb_stderr); - gdb_stdlog = NULL; - gdb_stdtarg = NULL; - gdb_stdtargerr = NULL; -#endif - if (ui->command_editing) gdb_rl_callback_handler_remove (); ui->unregister_file_handler (); -- 2.34.1