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: [patch] Add REGISTER_BYTE_P, check consistency


Hello,

Following up on the thread:
http://sources.redhat.com/ml/gdb/2003-05/msg00010.html
this adds REGISTER_BYTE_P and sanity checks to ensure that the [legacy] REGISTER_BYTE is consistent with the register cache.  It also eliminates the stray REGISTER_BYTE call in sentinel-frame.

I'll commit it in a day or so ...

I've checked this in.


Andrew


2003-05-02 Andrew Cagney <cagney@redhat.com>

	* sentinel-frame.c (sentinel_frame_prev_register): Replace
	REGISTER_BYTE with register_offset_hack.
	* regcache.c (init_regcache_descr): When REGISTER_BYTE_P, check
	that REGISTER_BYTE is consistent with the regcache.
	* gdbarch.sh (REGISTER_BYTE): Add a predicate.
	* gdbarch.h, gdbarch.c: Regenerate.
	



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