From: Kevin Hilman <khilman@equator.com>
To: gdb@sourceware.cygnus.com
Subject: 'info registers' only when hit a breakpoint
Date: Thu, 01 Jun 2000 13:01:00 -0000 [thread overview]
Message-ID: <r2vgztcgsh.fsf@bobdog.equator.com> (raw)
I'm working on a target implementation for a new chip our company is
developing. The current hardware implementation only saves register
state (for 'info registers') in the frame in which a breakpoint was
hit. The other frames only have minimal information (for function
args, local variables etc.)
Therefore, I want 'info registers' to not work if someone tries an
'up' for example.
Looking at registers_info(), it looks like I want to set
'target_has_registers' to zero. I'm wondering where is the best place
to implement this feature. It doesn't seem like modifying
up_command() is the right place since I'd have to keep track of how
many times someone has done up/down.
Any ideas?
NOTE: I'm currently working with gdb 4.17.
--
Kevin Hilman --- Equator Technologies Inc.
khilman@equator.com --- Seattle, WA USA
next reply other threads:[~2000-06-01 13:01 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-06-01 13:01 Kevin Hilman [this message]
2000-06-09 16:24 ` J.T. Conklin
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=r2vgztcgsh.fsf@bobdog.equator.com \
--to=khilman@equator.com \
--cc=gdb@sourceware.cygnus.com \
/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