unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Skip Montanaro <skip.montanaro@gmail.com>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: help-gnu-emacs@gnu.org
Subject: Re: GDB - create buffer to show information about CPU registers
Date: Wed, 25 Jan 2017 06:09:08 -0600	[thread overview]
Message-ID: <CANc-5Uww3JVdfi1nsXX_RArUEraYYCuy=Z-gmoF+tNWFfuvKPw@mail.gmail.com> (raw)
In-Reply-To: <jwv1svrzpw1.fsf-monnier+gmane.emacs.help@gnu.org>

Note how you can use C-like operations in it, so you could code up some
.gdbinit file for yourself where you write some handy commands that
print the state of your devices's registers in a meaningful manner.


Python comes with a language-specific gdbinit file as well which might be a
source for some ideas:

https://hg.python.org/cpython/file/tip/Misc/gdbinit

Skip Montanaro


  reply	other threads:[~2017-01-25 12:09 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-25  0:48 GDB - create buffer to show information about CPU registers Dan Čermák
2017-01-25  5:16 ` Stefan Monnier
2017-01-25 12:09   ` Skip Montanaro [this message]
2017-01-26 11:42   ` Dan Čermák
2017-01-26 14:55     ` Augusto Fraga Giachero
2017-01-27  0:58     ` Stefan Monnier

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='CANc-5Uww3JVdfi1nsXX_RArUEraYYCuy=Z-gmoF+tNWFfuvKPw@mail.gmail.com' \
    --to=skip.montanaro@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /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.
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).