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]

[RFC:avr] use regcache instead of read_register


Hi,

The ARI caught this and it seems like a trivial change. There is a bit of 
confusion though in the use of current_regcache since the ARI says this:

  current regcache 57 Replace current_regcache with explict parameter

What would that explicit parameter be?

If this patch is ok, it brings the ARI count for the AVR down to 0.

Ted Roth

2003-06-19  Theodore A. Roth  <troth@openavr.org>

	* avr-tdep.c (avr_read_pc): Use regcache instead of read_register.
	(avr_read_sp): Ditto.

Attachment: avr-use-regcache.diff
Description: Text document


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