From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-1.mimecast.com (us-smtp-2.mimecast.com [205.139.110.61]) by sourceware.org (Postfix) with ESMTP id 8BA3B3858D34 for ; Sun, 3 May 2020 11:03:46 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 8BA3B3858D34 Received: from mail-wm1-f69.google.com (mail-wm1-f69.google.com [209.85.128.69]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-86-5Z40tB0EMpiuodYH5DCdDA-1; Sun, 03 May 2020 07:03:40 -0400 X-MC-Unique: 5Z40tB0EMpiuodYH5DCdDA-1 Received: by mail-wm1-f69.google.com with SMTP id n17so2468608wmi.3 for ; Sun, 03 May 2020 04:03:39 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:cc:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=UcEKcu70A6pdirCC/ki1K4K7iTI27u7USY8/9pcrkHE=; b=JLjSkgMk5mRDlQEGHK+Xk+l8K8oQQYr0zEtTmGXFWYehbIrtGdyyEdHh+DoXjdQQp0 kmcsep1UXLIjiEkB5Xf1DRdCec251tHhAAExBzop1uPH5GXsn6JYhwvA7oQeINFsyucq 4lscjdOzkGKdL9iWgks+DaC7ef3gkmOJ+upRRrq2hRAsiwl98aNBggtkSGDDhWCpsj9w Rkfq0Ngrx81/vji3WiTaSB8rfZF488bHqoH2oXd+EyeLpUZS64Y373OPBwXQyJ5cEpCW 8L6PdMJxgGAZNv2ZCnENtYcZY3KdaRl4ETYvkP4QXHQ/7LJeIdtCni8GB0XiBgUXuK+O llpA== X-Gm-Message-State: AGi0PuafZnef3FWBJZdxZa/iPxCjcenV22WzDO7g6mWqdSpa7tM79+XY uxI5kn/u9xaN5p1UmRXfbjighG5QuNnor4JvLJ1xquNoax1CZzd2QqYAUnQRdXml8QizQI4OKxB wIcuwJx48JiFrHJsvDOd4Jg== X-Received: by 2002:a1c:dfc6:: with SMTP id w189mr9368623wmg.180.1588503818371; Sun, 03 May 2020 04:03:38 -0700 (PDT) X-Google-Smtp-Source: APiQypLMuXE+eUvJaXj+qP53G9Dl5sfQe9m1yt1H4wqp/neh4j7NRx/OLnbTLJVVNS8AVBV2A7BLYQ== X-Received: by 2002:a1c:dfc6:: with SMTP id w189mr9368604wmg.180.1588503818160; Sun, 03 May 2020 04:03:38 -0700 (PDT) Received: from ?IPv6:2001:8a0:f909:7b00:2327:23ca:3e56:ef5f? ([2001:8a0:f909:7b00:2327:23ca:3e56:ef5f]) by smtp.gmail.com with ESMTPSA id i25sm7909152wml.43.2020.05.03.04.03.37 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 03 May 2020 04:03:37 -0700 (PDT) Subject: Re: [PUSHED/OBVIOUS] Remove gdb-gdb.gdb breakpoint on disappeared function info_command. To: "Maciej W. Rozycki" , Philippe Waroquiers References: <20200501145451.20119-1-philippe.waroquiers@skynet.be> <20200501210229.5cb3950d@f31-4.lan> <6dd0b78d43594ff851005a389e4a1579df546c51.camel@skynet.be> Cc: Philippe Waroquiers via Gdb-patches From: Pedro Alves Message-ID: Date: Sun, 3 May 2020 12:03:36 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 MIME-Version: 1.0 In-Reply-To: Content-Language: en-US X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-8.6 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 May 2020 11:03:48 -0000 On 5/3/20 1:13 AM, Maciej W. Rozycki wrote: > I don't remember offhand; I do remember there were issues in some debug > scenarios with using signals, perhaps unintended delivery to the debuggee > GDB (or its debuggee), or some problems with trapping the signal in the > first place (perhaps on MinGW, where obviously we don't have a typical > *nix environment and ^C may have simply killed the outer GDB and other > signals such as SIGQUIT may not have had a way to be produced at all). > Especially as when debugging broken GDB (which is why you debug it in the > first place) you often find it in an odd state. Exactly. I've used this feature in scenarios like you describe. I'm also surprised people weren't aware of the feature, and would like it restored somehow. > commit 0a7cfe2cf50b450d0cf9db16ee4bd027e08763e8 > Author: Stan Shebs > Date: Mon Sep 16 18:00:34 2013 +0000 > > so we have removed that piece of documentation from our repo, however as > per: it has > been moved to our wiki and the feature of `info' is still mentioned here: > . > > So it looks like we've actually removed a documented feature. Thanks for finding it. Pedro Alves