From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7327 invoked by alias); 30 Nov 2017 16:06:01 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 7298 invoked by uid 89); 30 Nov 2017 16:05:59 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.7 required=5.0 tests=BAYES_00,KB_WAM_FROM_NAME_SINGLEWORD,SPF_HELO_PASS,T_RP_MATCHES_RCVD autolearn=no version=3.3.2 spammy= X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 30 Nov 2017 16:05:58 +0000 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 02ED95FD4B; Thu, 30 Nov 2017 16:05:57 +0000 (UTC) Received: from [127.0.0.1] (ovpn04.gateway.prod.ext.ams2.redhat.com [10.39.146.4]) by smtp.corp.redhat.com (Postfix) with ESMTP id 799475C269; Thu, 30 Nov 2017 16:05:53 +0000 (UTC) Subject: Re: [pushed] Re: [PATCH 36/40] Add comprehensive C++ operator linespec/location/completion tests To: Yao Qi References: <1496406158-12663-1-git-send-email-palves@redhat.com> <1496406158-12663-37-git-send-email-palves@redhat.com> <238ba190-4005-8fc9-b75c-0b4857db4df4@redhat.com> Cc: Keith Seitz , GDB Patches From: Pedro Alves Message-ID: <62723028-4930-2b1e-97df-b1f491540750@redhat.com> Date: Thu, 30 Nov 2017 16:06:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-SW-Source: 2017-11/txt/msg00837.txt.bz2 On 11/30/2017 03:43 PM, Yao Qi wrote: > On Sat, Nov 25, 2017 at 12:18 AM, Pedro Alves wrote: >> >> Great, and a much belated thanks. >> >> and that this one works with current master already, so I've >> pushed it in, as below. >> > > Hi Pedro, > some of these tests fail on some buildslsaves, > > https://gdb-build.sergiodj.net/builders/Fedora-x86_64-m32/builds/8122/steps/test%20gdb/logs/stdio > https://gdb-build.sergiodj.net/builders/Ubuntu-AArch32-m32/builds/2219/steps/test%20gdb/logs/stdio > https://gdb-build.sergiodj.net/builders/Fedora-i686/builds/8145/steps/test%20gdb/logs/stdio > Thanks. Hmm, 32-bit builds. I can reproduce this locally with -m32... (gdb) complete b -function test_op_delete_array::operator delete [] ( void * ) -sour b -function test_op_delete_array::operator delete [] ( void * ) -source (gdb) PASS: gdb.linespec/cpls-ops.exp: operator-delete[]: cmd complete "b -function test_op_delete_array::operator delete [] ( void * ) -sour" b test_op_new::operator new(unsigned int) FAIL: gdb.linespec/cpls-ops.exp: operator-new: tab complete "b test_op_new::operator" (timeout) ^CQuit (gdb) complete b test_op_new::operator b test_op_new::operator new(unsigned int) (gdb) FAIL: gdb.linespec/cpls-ops.exp: operator-new: cmd complete "b test_op_new::operator" b test_op_new::operator new(unsigned int) got a INT signal, interrupted by user Looks like I considered the possibility of different size_t typedefs at some point but didn't really address it fully: proc test_operator_new {class_name brackets} { # The type size_t is typedef-ed to. set size_t "unsigned long" I'll fix this when I have a chance. Thanks, Pedro Alves