This is the mail archive of the gdb-cvs@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]

src/gdb ChangeLog Makefile.in arch-utils.c arc ...


CVSROOT:	/cvs/src
Module name:	src
Branch: 	cagney_convert-20030606-branch
Changes by:	cagney@sourceware.org	2003-06-06 18:02:30

Modified files:
	gdb            : ChangeLog Makefile.in arch-utils.c arch-utils.h 
	                 findvar.c frame.c frame.h gdbarch.c gdbarch.h 
	                 gdbarch.sh mips-tdep.c valops.c 

Log message:
	2003-06-06  Andrew Cagney  <cagney@redhat.com>
	
	* frame.h (put_frame_register): Declare.
	* frame.c (put_frame_register): New function.
	
	* arch-utils.c: Include "gdbcore.h".
	(legacy_convert_register_p): Add "type" parameter.
	(legacy_register_to_value): Rewrite, use "frame" to get the
	register value.
	(legacy_value_to_register): Rewrite, use "frame" to find the
	register's location before storing.
	* arch-utils.h (legacy_convert_register_p): Update.
	(legacy_register_to_value, legacy_value_to_register): Update.
	
	* Makefile.in (arch-utils.o): Update dependencies.
	
	* findvar.c (value_from_register): Rewrite, eliminate use of
	REGISTER_CONVERT_TO_TYPE, pass "type" to CONVERT_REGISTER_P, pass
	"frame" to REGISTER_TO_VALUE.
	
	* gdbarch.sh (CONVERT_REGISTER_P): Add "type" parameter.
	(REGISTER_TO_VALUE, VALUE_TO_REGISTER): Replace "type", "from" and
	"to" parameters with "frame" and "value".
	* gdbarch.h, gdbarch.c: Re-generate.
	
	* mips-tdep.c (mips_convert_register_p): New function.
	(mips_value_to_register): Replace mips_register_convert_from_type.
	(mips_register_to_value): Replace mips_register_convert_to_type.
	(mips_gdbarch_init): Set conver_register_p, value_to_register and
	register_to_value.
	
	* valops.c (value_assign): Move the CONVERT_REGISTER code to the
	lval_reg_frame_relative + lval_register branch of the switch.  Do
	not use REGISTER_CONVERT_FROM_TYPE.  Use put_frame_register.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&only_with_tag=cagney_convert-20030606-branch&r1=1.4321&r2=1.4321.2.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/Makefile.in.diff?cvsroot=src&only_with_tag=cagney_convert-20030606-branch&r1=1.391&r2=1.391.2.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/arch-utils.c.diff?cvsroot=src&only_with_tag=cagney_convert-20030606-branch&r1=1.83&r2=1.83.6.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/arch-utils.h.diff?cvsroot=src&only_with_tag=cagney_convert-20030606-branch&r1=1.46&r2=1.46.6.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/findvar.c.diff?cvsroot=src&only_with_tag=cagney_convert-20030606-branch&r1=1.58&r2=1.58.2.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/frame.c.diff?cvsroot=src&only_with_tag=cagney_convert-20030606-branch&r1=1.117&r2=1.117.2.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/frame.h.diff?cvsroot=src&only_with_tag=cagney_convert-20030606-branch&r1=1.96&r2=1.96.2.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/gdbarch.c.diff?cvsroot=src&only_with_tag=cagney_convert-20030606-branch&r1=1.218&r2=1.218.2.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/gdbarch.h.diff?cvsroot=src&only_with_tag=cagney_convert-20030606-branch&r1=1.188&r2=1.188.2.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/gdbarch.sh.diff?cvsroot=src&only_with_tag=cagney_convert-20030606-branch&r1=1.240&r2=1.240.2.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/mips-tdep.c.diff?cvsroot=src&only_with_tag=cagney_convert-20030606-branch&r1=1.207&r2=1.207.2.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/valops.c.diff?cvsroot=src&only_with_tag=cagney_convert-20030606-branch&r1=1.110&r2=1.110.2.1


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