From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id WSVJORpMg2l6ICgAWB0awg (envelope-from ) for ; Wed, 04 Feb 2026 08:39:38 -0500 Authentication-Results: simark.ca; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=NpaHjvj1; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id E566B1E08D; Wed, 04 Feb 2026 08:39:38 -0500 (EST) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_00, DKIM_INVALID,DKIM_SIGNED,HTML_MESSAGE,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,RCVD_IN_VALIDITY_CERTIFIED_BLOCKED, RCVD_IN_VALIDITY_RPBL_BLOCKED,RCVD_IN_VALIDITY_SAFE_BLOCKED,RDNS_NONE autolearn=no autolearn_force=no version=4.0.1 Received: from vm01.sourceware.org (unknown [38.145.34.32]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id 50B111E08D for ; Wed, 04 Feb 2026 08:39:38 -0500 (EST) Received: from vm01.sourceware.org (localhost [127.0.0.1]) by sourceware.org (Postfix) with ESMTP id D33F64BA23D5 for ; Wed, 4 Feb 2026 13:39:37 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D33F64BA23D5 Authentication-Results: sourceware.org; dkim=fail reason="signature verification failed" (2048-bit key, unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=NpaHjvj1 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.13]) by sourceware.org (Postfix) with ESMTPS id 1BB034BA2E1B for ; Wed, 4 Feb 2026 13:38:27 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 1BB034BA2E1B Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=intel.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 1BB034BA2E1B Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=192.198.163.13 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1770212307; cv=none; b=OlP6pjHl1VTlprOCTLYRxGwz+G5KnHiUiKplEwhYXGQGXbw4tUp/LqCsurUeQuDsd311BY2reDq8G+jsDfHfYqLXRwf+d2Ao4c+ui65W3I5/EMCAY8OzSKb0x2SjBrRYvyl6bMEJDhi6Np2H2JswsktzQ1HHoU5CyEtG5AptuP4= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1770212307; c=relaxed/simple; bh=WQkoiQivXCsp0Q8CRdtnBuQn8uBw50sO1FZ2lvVYwrc=; h=DKIM-Signature:MIME-Version:From:To:Subject:Date:Message-Id: MIME-Version; b=BppJprwAN0viyHiWV7qlwMSF2MLCzGNxoaGQK3IODr84qSMU6q32PgaOiJNtv8AEbXUdHTcVj5d1jBn7oJSEGLZ89R1a78USSqXlZsrwyPeCMaoh3qqA+/Xti2LNKqvj9uoKyDUW0gO/GKiVKCOpELZer/cDA+BJizRoFHGZJ7Y= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1BB034BA2E1B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1770212307; x=1801748307; h=from:to:subject:date:message-id:in-reply-to:references; bh=WQkoiQivXCsp0Q8CRdtnBuQn8uBw50sO1FZ2lvVYwrc=; b=NpaHjvj14wM9Smhgxrh2vzDA+qio2nZ1edwGWazR68vdyMQ2H0R4/9ti 3Mhb9ZBPb/RgWBP6nru+oXU9NX4YBhynikey4XULaU/8NBvHi4JrzRfFu ZP8kgpXh7glh4yy/K381ZnOY/pueMwe8XiBcEGYSgu+xSQx61UGn4RH5w 0w5as4rMJc981ZB2HTfZ6sKPQe8NUZlbX76nw9dHoivgp4JycLYPWh7uM 5hgyS8cOx6jAaY9WPeLtD8qhEmoSmRrv5S3yLN6FebOj9pEwl8Bh9TYuU CBAXkXR0yeQvEuPfaGQo4AZftQuTqbB8qT1xuXgrDHlOTUaiRYCeA2gZK w==; X-CSE-ConnectionGUID: vm9UBMhIS02BgCUN9Qh4IA== X-CSE-MsgGUID: YCsR9tq6Qz6aXvBFOhsTqA== X-IronPort-AV: E=McAfee;i="6800,10657,11691"; a="74001370" X-IronPort-AV: E=Sophos;i="6.21,272,1763452800"; d="scan'208";a="74001370" Content-Type: multipart/mixed; boundary="===============6706114069435775429==" MIME-Version: 1.0 Received: from fmviesa003.fm.intel.com ([10.60.135.143]) by fmvoesa107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Feb 2026 05:38:27 -0800 X-CSE-ConnectionGUID: a9Z3GAD1TGqGkQrVHFeYPA== X-CSE-MsgGUID: spZMhRy8QP+BGzgGKcYrYg== X-ExtLoop1: 1 Received: from dut1865dg2frd.igk.intel.com (HELO localhost) ([10.211.179.243]) by fmviesa003-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Feb 2026 05:38:26 -0800 From: Klaus Gerlicher To: gdb-patches@sourceware.org Subject: [PATCH v6 2/6] gdb, cli: remove left-over code from "set_logging_on". Date: Wed, 4 Feb 2026 13:37:49 +0000 Message-Id: <20260204133753.547281-3-klaus.gerlicher@intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20260204133753.547281-1-klaus.gerlicher@intel.com> References: <20260204133753.547281-1-klaus.gerlicher@intel.com> MIME-Version: 1.0 X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.30 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 --===============6706114069435775429== Content-Transfer-Encoding: 8bit From: Natalia Saiapova This is a refactoring. Remove the left-over code, which rewrites the logging filename in "set logging on" command. The code became unused after the deprecation of "set logging (on|off)" command. Before the deprecation, the command could also take a file name and rewrite the logging file, e.g.: (gdb) set logging on lalala Copying output to lalala. Copying debug output to lalala. After the command was deprecated and reimplemented as an alias to "set logging enable on", additional input after "on" became invalid: (gdb) set logging on lalala Warning: 'set logging on', an alias for the command 'set logging enabled', is deprecated. Use 'set logging enabled on'. "on" or "off" expected. (gdb) set logging on lalala "on" or "off" expected. (gdb) set logging enable on lalala "on" or "off" expected. (gdb) set logging enable on Copying output to gdb.txt. Copying debug output to gdb.txt. Approved-By: Tom Tromey --- gdb/cli/cli-logging.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/gdb/cli/cli-logging.c b/gdb/cli/cli-logging.c index c00c6bf0488..2ba96e55dc3 100644 --- a/gdb/cli/cli-logging.c +++ b/gdb/cli/cli-logging.c @@ -159,11 +159,6 @@ handle_redirections (int from_tty) static void set_logging_on (const char *args, int from_tty) { - const char *rest = args; - - if (rest && *rest) - logging_filename = rest; - handle_redirections (from_tty); } -- 2.34.1 --===============6706114069435775429== Content-Type: multipart/alternative; boundary="===============2069393260731993613==" MIME-Version: 1.0 Content-Disposition: inline --===============2069393260731993613== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Intel Deutschland GmbH Registered Address: Dornacher Stra=C3=9Fe 1, 85622 Feldkirchen, Germany Tel: +49 89 991 430, www.intel.de Managing Directors: Harry Demas, Jeffrey Schneiderman, Yin Chong Sorrell Chairperson of the Supervisory Board: Nicole Lau Registered Seat: Munich Commercial Register: Amtsgericht M=C3=BCnchen HRB 186928 --===============2069393260731993613== Content-Type: text/html; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable
Intel Deutschland GmbH
Registered Address: Dornacher Stra=C3= =9Fe 1, 85622 Feldkirchen, Germany
Tel: +49 89 991 430, www.intel.deManaging Directors: Harry Demas, Jeffrey Schneiderman, Yin Chong Sorrell<= div>Chairperson of the Supervisory Board: Nicole Lau
Registered Seat: M= unich
Commercial Register: Amtsgericht M=C3=BCnchen HRB 186928 --===============2069393260731993613==-- --===============6706114069435775429==--