This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA] infptrace.c: use regcache_collect


> 2001-11-19  Elena Zannoni  <ezannoni@redhat.com>
> 
> * infptrace.c (fetch_register): Dynamically allocate buffer for
> 	register.

[Grrr]

> 	(store_register): Use regcache_collect, instead of accessing the
> 	register buffer directly.
> 

Provided this has been tested and doesn't show regressions, I think the 
elimination of code like this can be considered pretty obvious.  (Only 
400 uses of registers[] remaining ...)

	Andrew



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]