all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Kaushik Srenevasan <ksrenevasan@gmail.com>
To: Nick Roberts <nickrob@snap.net.nz>
Cc: emacs-devel@gnu.org
Subject: Re: [PATCH] GUD-MI's disassembly buffer should follow $PC in the absence of debug information.
Date: Mon, 30 Jan 2012 23:19:56 -0800	[thread overview]
Message-ID: <1327994396.10781.11.camel@garuda3.sysenter> (raw)
In-Reply-To: <20263.33256.329678.646727@totara.tehura.co.nz>

On Tue, 2012-01-31 at 18:53 +1300, Nick Roberts wrote:
> It seemed work OK when I tried it on x86_64.  I don't know in what situations
> it wouldn't work or how to fix it when it doesn't.
> 

It generally works except, AFAIK, when making a call where both the
callee and the caller don't have debug information. In such a situation,
executing a step while stopped at a CALL instruction produces the wrong
disassembly. 

There are other GDB commands too (such as NEXTI) that don't work when
both the caller and callee don't have debug information, that I'm trying
to fix (in GDB); and would prefer to fix GUD-MI (to display a few
instructions before $PC) once GDB works as expected in these cases. What
do you think?

         -Kaushik





  reply	other threads:[~2012-01-31  7:19 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-29  9:17 [PATCH] GUD-MI's disassembly buffer should follow $PC in the absence of debug information Nick Roberts
2012-01-30 21:52 ` Kaushik Srenevasan
2012-01-31  5:53   ` Nick Roberts
2012-01-31  7:19     ` Kaushik Srenevasan [this message]
2012-02-04 10:36       ` Nick Roberts
2012-02-06  9:14         ` Kaushik Srenevasan
  -- strict thread matches above, loose matches on Subject: below --
2012-01-24  6:46 Kaushik Srenevasan
2012-01-24 11:44 ` Juanma Barranquero

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1327994396.10781.11.camel@garuda3.sysenter \
    --to=ksrenevasan@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=nickrob@snap.net.nz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.