GNU bug report logs - #10597
[PATCH] GUD-MI's disassembly buffer should follow $PC in the absence of debug information.

Previous Next

Package: emacs;

Reported by: ksrenevasan <at> gmail.com

Date: Wed, 25 Jan 2012 08:08:01 UTC

Severity: wishlist

Tags: patch

Fixed in version 24.0.95

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 10597 in the body.
You can then email your comments to 10597 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#10597; Package emacs. (Wed, 25 Jan 2012 08:08:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to ksrenevasan <at> gmail.com:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Wed, 25 Jan 2012 08:08:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Kaushik Srenevasan <ksrenevasan <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: [PATCH] GUD-MI's disassembly buffer should follow $PC in the
	absence of debug information.
Date: Tue, 24 Jan 2012 22:53:15 -0800
[Message part 1 (text/plain, inline)]
Package: emacs
Tags: patch
Severity: wishlist

GUD-MI's disassembly buffer only works when the current frame has debug
information. While debugging dynamically generated code it'd be useful
to simply follow the program counter. I understand that newer GDBs
expose an API that lets a JIT compiler register debug information for
dynamically generated code, but JITs typically only do so for real
functions. So, having the disassembly buffer follow $PC would still be
useful while stepping through dynamically generated, shorter sequences
of code (like call stubs, inline caches etc.). 

The latest GDB (7.4.50.20120122-cvs) does this in its TUI mode while my
stable GDB's (7.0.1-debian) behavior is the same as Emacs 23 GUD.

Please review and merge.

         Thanks,
            -Kaushik
[gdb-mi-disassembly-follow-pc.patch (text/x-patch, attachment)]

Reply sent to Glenn Morris <rgm <at> gnu.org>:
You have taken responsibility. (Tue, 13 Mar 2012 07:41:01 GMT) Full text and rfc822 format available.

Notification sent to ksrenevasan <at> gmail.com:
bug acknowledged by developer. (Tue, 13 Mar 2012 07:41:03 GMT) Full text and rfc822 format available.

Message #10 received at 10597-done <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: 10597-done <at> debbugs.gnu.org
Subject: Re: bug#10597: [PATCH] GUD-MI's disassembly buffer should follow $PC
	in the absence of debug information.
Date: Tue, 13 Mar 2012 03:10:29 -0400
Version: 24.0.95

Thanks; applied.
It would be great if you could also suggest ChangeLog entries for any
future changes.
Also, we'll need a copyright assignment to accept any further changes of
more than a few lines total from you. It's a straightforward procedure.
Let me know off-list if you want to, and I can send you the form.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 10 Apr 2012 11:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 12 years and 29 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.