From: "Peter Reilley" <micrio@mv.com>
To: <gdb@sourceware.cygnus.com>
Subject: Problem with register cacheing in GDB
Date: Sat, 09 Dec 2000 19:46:00 -0000 [thread overview]
Message-ID: <002501c0625b$cfad9720$05d145cc@ppro> (raw)
I am making GDB work with the Macraigor Systems Raven
JTAG debug pod under Linux. I am having a problem making the
initialization for the 860 PowerPC chip work. Specifically,
I want to write the immr register. This register can only
be accessed once after reset, after that, it becomes read only.
That one access must be a write to set the desired value.
If it is a read, then the register is set to read only and you have
lost your chance to write the register.
Is there a way to turn off register caching? Ideally, you should
be able to turn it off for certain registers that behave in an odd
way.
I have an inelegant way of doing it by fooling with the register_valid
array. There should be a better way. Remember, I am coming
in through the JTAG interface so there is no monitor running.
Thanks,
Pete.
reply other threads:[~2000-12-09 19:46 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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='002501c0625b$cfad9720$05d145cc@ppro' \
--to=micrio@mv.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