From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 82979 invoked by alias); 24 Oct 2018 20:50:42 -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 82846 invoked by uid 89); 24 Oct 2018 20:50:41 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy= X-HELO: mailsec106.isp.belgacom.be Received: from mailsec106.isp.belgacom.be (HELO mailsec106.isp.belgacom.be) (195.238.20.102) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 24 Oct 2018 20:50:39 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=skynet.be; i=@skynet.be; q=dns/txt; s=securemail; t=1540414239; x=1571950239; h=message-id:subject:from:to:date:in-reply-to:references: mime-version:content-transfer-encoding; bh=CCXWqBlTbzkttjT2WvjvY5MI4fo/KEDQy2eNfwjnaak=; b=EcVZSnpyQcbOkynycgrdQxc/93nW3Q1hpCW62ph8L8TQsVCPk1e2H7KT mJMHp9j7ZgYiMdgY0pBW6Z57ab+eVg==; Received: from unknown (HELO md) ([109.129.148.150]) by relay.skynet.be with ESMTP/TLS/AES256-GCM-SHA384; 24 Oct 2018 22:50:36 +0200 Message-ID: <1540414236.12106.12.camel@skynet.be> Subject: Re: [OB PATCH][gdb/testsuite] Handle removed valgrind option --db-attach From: Philippe Waroquiers To: Pedro Alves , Tom de Vries , gdb-patches@sourceware.org Date: Wed, 24 Oct 2018 20:50:00 -0000 In-Reply-To: <961cdab7-7882-6795-fac3-561db78d6593@redhat.com> References: <20181024111355.GA13788@delia> <961cdab7-7882-6795-fac3-561db78d6593@redhat.com> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2018-10/txt/msg00565.txt.bz2 On Wed, 2018-10-24 at 17:29 +0100, Pedro Alves wrote: > On 10/24/2018 12:13 PM, Tom de Vries wrote: > > Hi, > > > > When running valgrind-db-attach.exp with valgrind version 3.13.0, we get: > > ... > > PASS: gdb.base/valgrind-db-attach.exp: spawn valgrind > > valgrind: Unknown option: --db-attach=yes > > valgrind: Use --help for more information or consult the user manual. > > ERROR: Process no longer exists > > UNRESOLVED: gdb.base/valgrind-db-attach.exp: valgrind started > > ... > > > > The valgrind option --db-attach has been deprecated in version 3.10.0, and > > removed in version 3.11.0. > > > > But was it replaced with / renamed to something else equivalent, > or the functionality completely eliminated? --db-attach option functionality was removed, as it was not very reliable and had a bunch of limitations e.g. not supporting threads. Instead, the gdbserver embedded in valgrind allows the user debug a process when valgrind reports an error. I have put on my list of things to do to convert valgrind-attach test to use vgdb (but the conversion is probably not trivial). Philippe