public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* Memory attributes triumphs over dcache
@ 2001-04-03 12:08 Frank Ch. Eigler
  2001-04-03 18:24 ` J.T. Conklin
  0 siblings, 1 reply; 6+ messages in thread
From: Frank Ch. Eigler @ 2001-04-03 12:08 UTC (permalink / raw)
  To: gdb

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2001-04-04 15:50 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-04-03 12:08 Memory attributes triumphs over dcache Frank Ch. Eigler
2001-04-03 18:24 ` J.T. Conklin
2001-04-04  9:52   ` Frank Ch. Eigler
2001-04-04 11:01     ` J.T. Conklin
2001-04-04 14:19       ` Stan Shebs
2001-04-04 15:50     ` J.T. Conklin

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).