From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by sourceware.org (Postfix) with ESMTPS id D4D213858C2D for ; Wed, 28 Sep 2022 23:29:47 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org D4D213858C2D Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1664407787; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=HBHGsoTykNNeAklJHzzeNsnLFhgIwUnCdDeo2BodKX8=; b=FtaeIvOuReAHC0yxVPb0gyrH5xSdHMr7ZdKqcXXF0bAo1RXoYs6rULap+VlR9rGLO9e79c xlyRgaJI1f/nQv+9i0PZkCNoPHTpcnZOsEn5XVUM1hqzQtjG8Td5FYxCghQ/9qK4D9+UQG 0pQouZXJFRn4rHTbqUUPy5ESDbA0OE8= Received: from mail-qk1-f197.google.com (mail-qk1-f197.google.com [209.85.222.197]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-449-LYcR_Rt_NMO0EEuHl3URNw-1; Wed, 28 Sep 2022 19:29:46 -0400 X-MC-Unique: LYcR_Rt_NMO0EEuHl3URNw-1 Received: by mail-qk1-f197.google.com with SMTP id bs33-20020a05620a472100b006cef8cfabe2so10651205qkb.12 for ; Wed, 28 Sep 2022 16:29:46 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date; bh=HBHGsoTykNNeAklJHzzeNsnLFhgIwUnCdDeo2BodKX8=; b=X6B8uPSwd7bL1jVC3BVLTxvWOAqwgMJ/CTqtvmGbjL07loU2chdU51lDkEF9isEZmw Q0NZ/xOCJ5MY0PoZRLm4mj5AS1MD+FsRdiTqY/OtPu3GdKe2+fRc6b++fKjJqmUbqPxb N7VE5BH892mK8dD78dnMLKfsgMl3CWzX95wzYsEnMeLeP3GWh+AjoDt1LHM2K6CD3zV5 42liFopwfdV8ggXoY/pFroBEfjMP8WZv7Gl1NJo3+i1jWyeHfQwcMdsKPHJwH9QsjQn4 UwCXlHT1ebvK5dwKwgaV4v1Q7Lb0+7mJj7RNKf/DFdD+vkPU5wD+aWN85RhcNOEN14Y3 k/Lw== X-Gm-Message-State: ACrzQf2mrhYkt/gADTN8xEEA4BR7lxGpSEmsMLf8JAND1kc63tkEsKT8 OXcVwESe0uLtXvtjm16xdVgBslp5pZLm0MibMBGnSr73mUUu0CgRBAXYYrBx8ud2dFKY4eRRyU0 eatkKeh2i0ZAGLDpbbgH6pzGvK7npYhCEOA== X-Received: by 2002:a05:620a:4709:b0:6ce:cb19:3eb2 with SMTP id bs9-20020a05620a470900b006cecb193eb2mr413065qkb.272.1664407785889; Wed, 28 Sep 2022 16:29:45 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6EMt4WGrp2oQ/tnIu06tTkUfZuI0BCoLS0+aVvfJlMzqz2w65mE1oxy4k9ZH0sc9DYbPXD0uv1hNKFRnwBkkk= X-Received: by 2002:a05:620a:4709:b0:6ce:cb19:3eb2 with SMTP id bs9-20020a05620a470900b006cecb193eb2mr413054qkb.272.1664407785681; Wed, 28 Sep 2022 16:29:45 -0700 (PDT) MIME-Version: 1.0 References: <0227a2ef-9efa-6bb2-6529-cb38d081f8be@gmail.com> In-Reply-To: <0227a2ef-9efa-6bb2-6529-cb38d081f8be@gmail.com> From: Jonathan Wakely Date: Thu, 29 Sep 2022 00:29:35 +0100 Message-ID: Subject: Re: [PATCH][_GLIBCXX_DEBUG][_GLIBCXX_INLINE_VERSION] Add missing printers To: =?UTF-8?Q?Fran=C3=A7ois_Dumont?= Cc: "libstdc++@gcc.gnu.org" , gcc-patches X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_NONE,TXREP autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On Thu, 22 Sept 2022 at 18:06, Fran=C3=A7ois Dumont via Libstdc++ wrote: > > Hi > > This patch fix failures when _GLIBCXX_INLINE_VERSION mode and runnin= g: > > make check-debug RUNTESTFLAGS=3Dprettyprinters.exp > > libstdc++: [_GLIBCXX_INLINE_VERSION] Add gdb pretty print for > _GLIBCXX_DEBUG > > In _GLIBCXX_DEBUG mode containers are in std::__debug namespace but > not template > parameters. In _GLIBCXX_INLINE_VERSION mode most types are in > std::__8 namespace but > not std::__debug containers. We need to register specific type > printers for this > combination. > > libstdc++-v3/ChangeLog: > > * python/libstdcxx/v6/printers.py > (add_one_template_type_printer): Register > printer for types in std::__debug namespace with template > parameters in std::__8 > namespace. > > Ok to commit ? OK, thanks.