From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30823 invoked by alias); 3 Oct 2012 14:03:30 -0000 Received: (qmail 30813 invoked by uid 22791); 3 Oct 2012 14:03:28 -0000 X-SWARE-Spam-Status: No, hits=-5.3 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE X-Spam-Check-By: sourceware.org Received: from mail-pa0-f41.google.com (HELO mail-pa0-f41.google.com) (209.85.220.41) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 03 Oct 2012 14:03:23 +0000 Received: by padfa10 with SMTP id fa10so6896802pad.0 for ; Wed, 03 Oct 2012 07:03:23 -0700 (PDT) MIME-Version: 1.0 Received: by 10.68.202.6 with SMTP id ke6mr13105912pbc.82.1349273002916; Wed, 03 Oct 2012 07:03:22 -0700 (PDT) Received: by 10.68.218.41 with HTTP; Wed, 3 Oct 2012 07:03:22 -0700 (PDT) In-Reply-To: References: Date: Wed, 03 Oct 2012 14:03:00 -0000 Message-ID: Subject: Re: [PATCH] Add option to control checking of inner frames when doing a backtrace From: Joshua Watt To: "Abid, Hafiz" Cc: "gdb-patches@sourceware.org" Content-Type: text/plain; charset=ISO-8859-1 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 X-SW-Source: 2012-10/txt/msg00036.txt.bz2 >> This patch allows the user to turn off the checking for inner frames >> when performing >> a backtrace using the command: >> >> set backtrace check-inner off >> >> This is useful if a thread is switching execution to run on another >> stack, as this will >> often cause the inner frame condition to fail. > > I don't understand the motivation. Can you please explain a bit more. See: http://sourceware.org/ml/gdb/2012-10/msg00001.html for the discussion that lead to this patch.