From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 124777 invoked by alias); 22 Feb 2019 17:38:35 -0000 Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org Received: (qmail 124727 invoked by uid 89); 22 Feb 2019 17:38:34 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,HTML_MESSAGE,KAM_SHORT,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=supplier, H*c:alternative, customer X-HELO: mail-it1-f171.google.com Received: from mail-it1-f171.google.com (HELO mail-it1-f171.google.com) (209.85.166.171) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 22 Feb 2019 17:38:33 +0000 Received: by mail-it1-f171.google.com with SMTP id m137so4133081ita.0 for ; Fri, 22 Feb 2019 09:38:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=undo-io.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=ENBC5qOiKVlenMre0v8a47ODrXDINWal40CCXfOeel0=; b=DSHWCLO0ddK/ZgMR3PJ6Ut8ghOZuaMRhYjIysR8Iz3T29spS4czB/gV4v6kerFFlGn 0xLKp6OmkHHYwHLbf+GvbOX6v0SVNQAWrlz4fOsojuv15KDE8/qeGhYcUlkjbRbE03QK nq8yEBfwpfTFEgPaHqj1RV1uNlMeMwv8zg55EgRuEF1gue4UTOllF0agt8X6LIR/WDG6 9RZ617F8472WMGu7oM6kC4tRgxWjXyDb7pK9Iqw+HOfhVWGzg+TnHppu8JYis6yYIPr0 217oTISxpNaIWxs1JKeMBb/EcW2gQ9FdxuGasc4MjAJ+rX0MvTzL0EqOa4gOsWjviajm JxXw== MIME-Version: 1.0 References: <78e1f522-f6f5-d38d-0644-d083c1e4ab5d@redhat.com> <743edbbc-9812-c8e7-0f47-7b4842199b48@redhat.com> <863e96ac-83c4-feb3-e412-95b647d18201@FreeBSD.org> <9e24e676-ff37-bf4b-3fd0-a9fda0798abb@redhat.com> <6c1aae34-5bce-a524-11d6-0e12b53b9ac2@FreeBSD.org> <257d6eda-21b5-970f-0fe4-f96fefe56a44@redhat.com> <8ad15d6e-07be-d175-6345-dddfb46f1b58@FreeBSD.org> In-Reply-To: <8ad15d6e-07be-d175-6345-dddfb46f1b58@FreeBSD.org> From: David Griffiths Date: Fri, 22 Feb 2019 17:38:00 -0000 Message-ID: Subject: Re: "finish" command leads to SIGTRAP To: John Baldwin Cc: Pedro Alves , gdb@sourceware.org Content-Type: text/plain; charset="UTF-8" X-IsSubscribed: yes X-SW-Source: 2019-02/txt/msg00060.txt.bz2 By the way, just testing my workaround for this (setting a breakpoint and continuing rather than single step) and it appears to effect both pushfq and popfq. Even after I fixed the pushfq case the problem still occurred because it set the TF on the popfq despite the fact the stack value didn't contain TF. Cheers, David -- David Griffiths, Senior Software Engineer Undo | Resolve even the most challenging software defects with software flight recorder technology Software reliability report: optimizing the software supplier and customer relationship