From: Nick Roberts <nickrob@snap.net.nz>
Cc: emacs-devel@gnu.org
Subject: Suggestion for gdb-ui.el
Date: Wed, 1 Jun 2005 09:40:56 +1200 [thread overview]
Message-ID: <17052.55784.138439.629172@farnswood.snap.net.nz> (raw)
In-Reply-To: <1117534403.15206.4.camel@localhost.localdomain>
> My inline asm uses the SSE floating point registers xmm0-xmm7.
> Space toggles between "info registers" and "info all-registers"
> mode in the *registers* buffer (M-x gdb-display-registers-buffer).
> When all registers are shown they dont fit in the *registers*
> buffer so I scroll down a bit to the xmm registers. But after each
> stepi (step one instruction) the *registers* buffer scrolls
> back to the Top again.
>
> * Suggestion: Update lisp/progmodes/gdb-ui.el so the *registers* buffer
> somehow remembers the line number and scrolls back to the same line
> after updating the registers.
The code was meant to do this but didn't because of an issue with point
and window point. If you update from the repository this should work now.
> It would also be nice if the changed registers would be highlighted
> somehow (I noticed it's on the TODO list in gdb-ui.el).
This shouldn't be too hard to do with the GDB/MI commands. I have other
changes that also use GDB/MI but I am waiting till after the release before
installing them in case such changes introduce bugs. How useful is this
feature? I've not done low-level debugging or watched the contents of the
registers. What debugging situations require this? Are you debugging a
disassembly view in GDB from C code, or assembler (either generated by the
compiler or hand written) directly.
> * Small bug: It is not possible to click two times on the same icon in
> the gdb-ui toolbar (for instance next or stepi) without first moving the
> mouse cursor outside the icon. Emacs was configured with --with-gtk and
> I dont know if the bug exists with other toolkits. I tried it on
> both Debian/Sarge (XFree86 4.3.0) and on Ubuntu/Hoary (X.org 6.8.2).
> They both have the same GTK+ version (2.6.4).
I've not seen this with Mandrake 9.0. It might be because I've been fiddling
with the code that displays disassembly. Perhaps Jan Djarv knows if it's a
GTK problem.
Nick
next prev parent reply other threads:[~2005-05-31 21:40 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-31 10:13 Suggestion for gdb-ui.el Albert Veli
2005-05-31 21:40 ` Nick Roberts [this message]
2005-06-01 8:02 ` Albert Veli
2005-06-01 22:03 ` Nick Roberts
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=17052.55784.138439.629172@farnswood.snap.net.nz \
--to=nickrob@snap.net.nz \
--cc=emacs-devel@gnu.org \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).