From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 52623 invoked by alias); 23 Jul 2015 11:07:43 -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 52614 invoked by uid 89); 23 Jul 2015 11:07:43 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.6 required=5.0 tests=BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 X-HELO: mail-wi0-f170.google.com Received: from mail-wi0-f170.google.com (HELO mail-wi0-f170.google.com) (209.85.212.170) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Thu, 23 Jul 2015 11:07:41 +0000 Received: by wibxm9 with SMTP id xm9so203092274wib.0 for ; Thu, 23 Jul 2015 04:07:39 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=ob2KkewKDrmJ/qvF0bw8ZXQRzCo9WC5pbhWlQgRx7No=; b=aAVFyw27YjMhb4+v06UQTCV2nbtEDTvIb/X8oBfVAHkm1x9VYOJMoH30+zMYmIqrwM fvjQZD/6X+oEXvkcPJKLHQvRf/xTQ66rBCmSdajMKFzVJywGpWlLa8m1932x29uJ7o33 zxzFnh98vxt/mKtA3vJTCh+3aHrinUkv+v1vZvM7E0AVTmuLb56nFysszSjpg15WCa/U LHvmL12qlCfJ7x5JNARcIv3z3wlV9p5zp8yroJ19w8mfB0nJS/J4MK/mPq2kSKpg0NQ4 YcrOYzgfpkALXk32M0jKDFTFfVq/d4naOuQKprKt/SsWSJrHwg4LiCKIfiVDLUHdN3WQ RWsQ== X-Gm-Message-State: ALoCoQmTvO3AL2jb+hqpcbigJpdtzZCMeRTcmF2nns2p1VpydZhSGf+DcaIYH11fwyBkdsN8VkO/ X-Received: by 10.180.78.73 with SMTP id z9mr15712274wiw.64.1437649659006; Thu, 23 Jul 2015 04:07:39 -0700 (PDT) Received: from localhost (host86-141-20-226.range86-141.btcentralplus.com. [86.141.20.226]) by smtp.gmail.com with ESMTPSA id 4sm6946010wjt.46.2015.07.23.04.07.37 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 23 Jul 2015 04:07:38 -0700 (PDT) From: Andrew Burgess To: gdb-patches@sourceware.org Cc: Andrew Burgess Subject: PING: [PATCH 0/2] frame_find_by_id & selected_frame issues Date: Thu, 23 Jul 2015 11:07:00 -0000 Message-Id: In-Reply-To: <1436373998-6060-1-git-send-email-andrew.burgess@embecosm.com> References: <1436373998-6060-1-git-send-email-andrew.burgess@embecosm.com> X-IsSubscribed: yes X-SW-Source: 2015-07/txt/msg00626.txt.bz2 Seems that I originally failed to post patch 2/2 from the original series. So here's both of them again, rebased on latest master. I believe that these patches should still be applied even in light of the discussion here: https://sourceware.org/ml/gdb-patches/2015-07/msg00241.html as any solution that does come out of that conversation will probably be limited to changing the user interface of gdb, not the underlying behaviour. Also that conversation is about future clean up, while this patch series addresses real, user visible, assertion failures. -- Andrew Burgess (2): gdb: Check the selected-frame in frame_find_by_id. gdb: Select a frame for frame_info. gdb/ChangeLog | 13 ++++++ gdb/frame.c | 39 ++++++++++++++++-- gdb/frame.h | 5 +++ gdb/stack.c | 10 +++++ gdb/testsuite/ChangeLog | 12 ++++++ gdb/testsuite/gdb.base/create-frame.c | 34 ++++++++++++++++ gdb/testsuite/gdb.base/create-frame.exp | 36 +++++++++++++++++ gdb/testsuite/gdb.mi/mi-var-frame.c | 34 ++++++++++++++++ gdb/testsuite/gdb.mi/mi-var-frame.exp | 70 +++++++++++++++++++++++++++++++++ 9 files changed, 250 insertions(+), 3 deletions(-) create mode 100644 gdb/testsuite/gdb.base/create-frame.c create mode 100644 gdb/testsuite/gdb.base/create-frame.exp create mode 100644 gdb/testsuite/gdb.mi/mi-var-frame.c create mode 100644 gdb/testsuite/gdb.mi/mi-var-frame.exp -- 2.4.0