From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2181) id CBDE93857C71; Mon, 20 Mar 2023 11:54:51 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org CBDE93857C71 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1679313291; bh=Rq85/n9F9zYWAVyCfc7T8Pu5KbqYzj7dZ65SsAYxDL0=; h=From:To:Subject:Date:From; b=pacfkvEXN99FeWy/z2WPPDAywq/p8sSttOC6Nx6pZp9l1DNEfLil3nzf9EQxxh9P5 j+Nu03EYyF8BhaJVcZEnEiNkyzcZoB9607b8l5XULfiLwERygKInWBWIie71+MmZQw 4AKigu1onCfQn7Hr8gNGbIyoNM8On66PF5Sf80KY= MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="utf-8" From: Jonathan Wakely To: gcc-cvs@gcc.gnu.org, libstdc++-cvs@gcc.gnu.org Subject: [gcc r12-9299] libstdc++: Remove useless gdb printer registrations X-Act-Checkin: gcc X-Git-Author: =?utf-8?q?Fran=C3=A7ois_Dumont?= X-Git-Refname: refs/heads/releases/gcc-12 X-Git-Oldrev: 07246eee2393312c187dcb4fa70d0e0785d75ae6 X-Git-Newrev: abd85fa15043ee32483ff1daa6dee5d47c9071c4 Message-Id: <20230320115451.CBDE93857C71@sourceware.org> Date: Mon, 20 Mar 2023 11:54:51 +0000 (GMT) List-Id: https://gcc.gnu.org/g:abd85fa15043ee32483ff1daa6dee5d47c9071c4 commit r12-9299-gabd85fa15043ee32483ff1daa6dee5d47c9071c4 Author: François Dumont Date: Wed Sep 21 18:59:43 2022 +0200 libstdc++: Remove useless gdb printer registrations libstdc++-v3/ChangeLog: * python/libstdcxx/v6/printers.py: Remove ptinter registration for non-existing types std::__debug::unique_ptr, std::__debug::stack, std::__debug::queue, std::__debug::priority_queue. (cherry picked from commit 42630dc056ddf2dbe012aa7cc8eee09c5b960102) Diff: --- libstdc++-v3/python/libstdcxx/v6/printers.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/libstdc++-v3/python/libstdcxx/v6/printers.py b/libstdc++-v3/python/libstdcxx/v6/printers.py index 17c33c1e54f..7d3c61de613 100644 --- a/libstdc++-v3/python/libstdcxx/v6/printers.py +++ b/libstdc++-v3/python/libstdcxx/v6/printers.py @@ -2195,12 +2195,7 @@ def build_libstdcxx_dictionary (): libstdcxx_printer.add('std::__debug::map', StdMapPrinter) libstdcxx_printer.add('std::__debug::multimap', StdMapPrinter) libstdcxx_printer.add('std::__debug::multiset', StdSetPrinter) - libstdcxx_printer.add('std::__debug::priority_queue', - StdStackOrQueuePrinter) - libstdcxx_printer.add('std::__debug::queue', StdStackOrQueuePrinter) libstdcxx_printer.add('std::__debug::set', StdSetPrinter) - libstdcxx_printer.add('std::__debug::stack', StdStackOrQueuePrinter) - libstdcxx_printer.add('std::__debug::unique_ptr', UniquePointerPrinter) libstdcxx_printer.add('std::__debug::vector', StdVectorPrinter) # These are the TR1 and C++11 printers.