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 hppa-tdep.c Makefile.in ChangeLog conf ...


CVSROOT:	/cvs/src
Module name:	src
Changes by:	brobecke@sourceware.org	2002-11-07 19:35:48

Modified files:
	gdb            : hppa-tdep.c Makefile.in ChangeLog 
	gdb/config/pa  : tm-hppa.h 

Log message:
	Preparation work to convert the hppa targets to multiarch partial.
	
	* hppa-tdep.c: Add new functions replacing macro bodies from
	config/pa/tm-hppa.h. These function will be used to initialize
	the gdbarch structure. Import some comments from tm-hppa.h,
	and place them where appropriate, to avoid loosing them when
	we cleanup this file.
	(hppa_reg_struct_has_addr): New function.
	(hppa_inner_than): New function.
	(hppa_stack_align): New function.
	(hppa_pc_requires_run_before_use): New function.
	(hppa_instruction_nullified): New function.
	(hppa_register_byte): New function.
	(hppa_register_virtual_type): New function.
	(hppa_store_struct_return): New function.
	(hppa_cannot_store_register): New function.
	(hppa_frame_args_address): New function.
	(hppa_frame_locals_address): New function.
	(hppa_smash_text_address): New function.
	(hppa_coerce_float_to_double): New function. Requires the inclusion
	of "language.h".
	
	* Makefile.in (hppa-tdep.o): Add dependency on language.h.
	
	* tm-hppa.h (REG_STRUCT_HAS_ADDR): Change the definition of this
	gdbarch-eligible macro to a call to the new associated function
	created in hppa-tdep.c.
	(INNER_THAN): Likewise.
	(STACK_ALIGN): Likewise.
	(PC_REQUIRES_RUN_BEFORE_USE): Likewise.
	(INSTRUCTION_NULLIFIED): Likewise.
	(REGISTER_BYTE): Likewise.
	(REGISTER_VIRTUAL_TYPE): Likewise.
	(STORE_STRUCT_RETURN): Likewise.
	(CANNOT_STORE_REGISTER): Likewise.
	(FRAME_ARGS_ADDRESS): Likewise.
	(FRAME_LOCALS_ADDRESS): Likewise.
	(SMASH_TEXT_ADDRESS): Likewise.
	(COERCE_FLOAT_TO_DOUBLE): Likewise.
	(ABOUT_TO_RETURN): Delete, as no longer used.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/hppa-tdep.c.diff?cvsroot=src&r1=1.31&r2=1.32
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/Makefile.in.diff?cvsroot=src&r1=1.275&r2=1.276
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.3410&r2=1.3411
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/config/pa/tm-hppa.h.diff?cvsroot=src&r1=1.20&r2=1.21


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