emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] GUD-MI's disassembly buffer should follow $PC in the absence


From: Kaushik Srenevasan
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

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 via email to

[Prev in Thread] Current Thread [Next in Thread]