From: fche@redhat.com (Frank Ch. Eigler)
To: gdb@sources.redhat.com
Subject: Memory attributes triumphs over dcache
Date: Tue, 03 Apr 2001 12:08:00 -0000 [thread overview]
Message-ID: <o54rw5n6oa.fsf@toenail.toronto.redhat.com> (raw)
Hi -
With the memory attribute system's arrival, the independent
remotecache (dcache) engine has apparently been shut down, as the
memory attribute system doesn't provide a usable alternative.
Many targets have plain simple RAM over the regions of interest to
gdb. Such regions appear to be hard to describe with memory
attributes: the latter appear meant more for control registers. For
example, memory attributes artificially force transfer chunking to
1/2/4/8 bytes. This is a profound waste of transmit time, especially
if you make the mistake of defining the regions before downloading!
It may be sufficient to have a "width=unlimited" option available to
make it useful to cache data/insn memory.
Also, there is no automation in defining memory attributes. It would
make sense to define memory attributes for targets based upon vital
statistics of the active executable, for example. Contiguous
subsegments of the VMA range (.text, .data) could be added as
cacheable memory attributes fairly safely. Somehow generically
identifying the heap & stack also would be awesome.
(Targets could also endavour to identify control register spaces or
fine-tune the generic memory regions.)
- FChE
next reply other threads:[~2001-04-03 12:08 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-04-03 12:08 Frank Ch. Eigler [this message]
2001-04-03 18:24 ` J.T. Conklin
2001-04-04 9:52 ` Frank Ch. Eigler
[not found] ` <5mg0fownmb.fsf@jtc.redback.com>
2001-04-04 14:19 ` Stan Shebs
2001-04-04 15:50 ` 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=o54rw5n6oa.fsf@toenail.toronto.redhat.com \
--to=fche@redhat.com \
--cc=gdb@sources.redhat.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