From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 105349 invoked by alias); 27 Jan 2016 16:04: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 105316 invoked by uid 89); 27 Jan 2016 16:04:41 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 spammy=H*RU:sk:host86-, Hx-spam-relays-external:sk:host86-, H*r:sk:host86-, letter X-HELO: mail-wm0-f41.google.com Received: from mail-wm0-f41.google.com (HELO mail-wm0-f41.google.com) (74.125.82.41) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Wed, 27 Jan 2016 16:04:40 +0000 Received: by mail-wm0-f41.google.com with SMTP id l65so150807605wmf.1 for ; Wed, 27 Jan 2016 08:04:39 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-type:content-disposition:in-reply-to :user-agent; bh=eCzL69N+iVw1CNPk5dB+YSuC4VJArrejftSO/0lg9oc=; b=LCkmg3Mxi+8djdKRwB1wgX0h0QL/f65YdXtlYkE64F+xm3SJBGwA+ptIO3HyPlXFwx OuKmcziJRRwMhEcob+s8ySqWviL8ruVkUeB7EF/aCh+gcG5IZmlNwqD0nJJ/9mmHeEZo xCH2FTWeWhjpjc3itBorv05E8rUq++yxBrBA4zoB6IlaVPUG48g4Zo1ujFDifRm61+LL cuo4hxqepjbdBv1XLyOtpLpMT1k1UQSa/ltky0wAQeFQSO+lpRfC6Yw12wYUXbx1Ve2i 6V7IsUxDmR26DXcxolM4cLx5rO8uYZgjv9SWICFdB2aFfjwRtVZ9A7L32UEiDeZ8ysE9 VCfw== X-Gm-Message-State: AG10YORsiMx6w5TA4Hth+tCcKDB+4N+wHyvRQnpUnZMYAqffqH8u2eCnmUMVdFPqxgDGdg== X-Received: by 10.28.51.17 with SMTP id z17mr32790249wmz.26.1453910677073; Wed, 27 Jan 2016 08:04:37 -0800 (PST) Received: from localhost (host86-138-95-125.range86-138.btcentralplus.com. [86.138.95.125]) by smtp.gmail.com with ESMTPSA id g3sm6865850wjw.31.2016.01.27.08.04.35 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 27 Jan 2016 08:04:36 -0800 (PST) Date: Wed, 27 Jan 2016 16:04:00 -0000 From: Andrew Burgess To: Toshihito Kikuchi Cc: "Paul_Koning@Dell.com" , "palves@redhat.com" , "jhb@freebsd.org" , "gdb-patches@sourceware.org" Subject: Re: [PATCH] Add a new format letter to dump instructions backward Message-ID: <20160127160420.GM3338@embecosm.com> References: <1095889805.138513.1453786618993.JavaMail.yahoo@mail.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1095889805.138513.1453786618993.JavaMail.yahoo@mail.yahoo.com> X-Editor: GNU Emacs [ http://www.gnu.org/software/emacs ] User-Agent: Mutt/1.5.24 (2015-08-30) X-IsSubscribed: yes X-SW-Source: 2016-01/txt/msg00672.txt.bz2 * Toshihito Kikuchi [2016-01-26 05:36:58 +0000]: > To answer the question from Paul, Pedro's guess is correct. I used > symbol's line info to solve a correct frame. And yes, this feature > does not work without debug information unfortunately. If there's no debug information then just looking for symbols in the same section would also be a reasonable guess. Most symbols appear between instructions, not part way through an instruction. Sounds like a useful feature. Thanks, Andrew