[patch/rfa:doc] Make gdbarch_data() on-demand

Andrew Cagney ac131313@cygnus.com
Sat Jun 1 12:42:00 GMT 2002


Hello,

At present each per-architecture data-pointer is inititalized during 
architecture creation.  Unfortunatly, due to inter-module dependencies, 
the initialization sequence has to be carefully ordered (by tweaking 
Makefile.in or other code).

The attached patch alters the behavour of the function gdbarch_data() so 
that it, instead, inititalizes the per-architecture data-pointer on-demand.

[Eli, I revised the doco to match this behavour]

Comments?  I'll look to check it in, in a few days.
Andrew

PS: This is the start of the merge of the ``struct regcache'' branch.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: diffs
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20020601/ca3b1c77/attachment.ksh>


More information about the Gdb-patches mailing list