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 Makefile.in arm-linux-nat.c arm-linux- ...


CVSROOT:	/cvs/src
Module name:	src
Branch: 	csl-arm-20050325-branch
Changes by:	pbrook@sourceware.org	2005-03-29 02:52:07

Modified files:
	gdb            : Makefile.in arm-linux-nat.c arm-linux-tdep.c 
	                 arm-tdep.c arm-tdep.h gdbarch.c gdbarch.h 
	                 gdbarch.sh remote-sim.c remote.c symfile.c 
	                 target.h 
	gdb/gdbserver  : configure.srv linux-arm-low.c linux-low.c 
	                 linux-low.h regcache.c regcache.h server.c 
	                 target.h 
	gdb/regformats : reg-arm.dat regdat.sh regdef.h 

Log message:
	2005-03-28  Paul Brook  <paul@codesourcery.com>
	Daniel Jacobowitz  <dan@codesourcery.com>
	
	* gdb/Makefile.in: arm-tdep.o depends on $(observer_h).
	* gdb/arm-linux-nat.c (fetch_fpregister, fetch_fpregs,
	store_fpregister, store_fpregs): Rename...
	(fetch_fpa_register, fetch_fpa_regs, store_fpa_register,
	store_fpa_regs): ... to this.
	* gdb/arm-linux-tdep.c (arm_linux_init_abi): Provide ABI specific
	overrides.
	* gdb/arm-tdep.c: Include opserver.h.
	(struct gdbarch_tdep_info): Add.
	(arm_push_dummy_call): Handle doubleword alignment.
	(arm_register_type): Handle iWMMXt and VFP regs.
	(arm_register_byte): Ditto.
	(arm_pseudo_register_read): New function.
	(arm_pseudo_register_write): New function.
	(arm_dwarf_reg_to_regnum): New function.
	(arm_register_sim_regno): Handle iWMMXT regs.
	(arm_register_remote_regno): New function.
	(arm_extract_return_value): Use new macro names.
	(arm_register_name): Handle iWMMXt and VFP registers.
	(arm_sim_available_registers): New function.
	(arm_update_architecture): New function.
	(arm_gdbarch_init): Handle optional register sets.  Register new
	hooks.  Fix misleading error message.
	(_initialize_arm_tdep): Call observer_attach_inferior_created.
	* gdb/arm-tdep.h (ARM_NUM_FP_ARG_REGS, ARM_LAST_FP_ARG_REGNUM,
	FP_REGISTER_SIZE, NUM_FREGS): Rename ...
	(ARM_NUM_FPA_ARG_REGS, ARM_LAST_FPA_ARG_REGNUM, FPA_REGISTER_SIZE,
	NUM_FPA_REGS): ... to this.
	(NUM_IWMMXT_COP0REGS, NUM_IWMMXT_COP1REGS, NUM_IWMMXT_REGS,
	IWMMXT_COP0_REGSIZE, IWMMXT_COP1_REGSIZE, NUM_VFP_XREGS,
	VFP_XREG_SIZE, NUM_VFP_SREGS, VFP_SREG_SIZE, NUM_VFP_PSEUDOS): Define.
	(struct gdbarch_tdep): Add target_has_iwmmxt_regs,
	target_has_vfp_regs, first_iwmmxt_regnum, target_iwmmxt_regnum,
	first_vfp_regnum, first_vfp_pseudo and target_vfp_regnum.
	* gdb/gdbarch.c (struct gdbarch): Add remote_num_g_packet_regs,
	sim_available_registers and register_remote_regno.
	(startup_gdbarch, verify_gdbarch): Ditto.
	(gdbarch_dump): Dump new fields.
	(gdbarch_remote_num_g_packet_regs_p, gdbarch_remote_num_g_packet_regs,
	set_gdbarch_remote_num_g_packet_regs,
	gdbarch_sim_available_registers_p, gdbarch_sim_available_registers,
	set_gdbarch_sim_available_registers, gdbarch_register_remote_regno_p,
	gdbarch_register_remote_regno, set_gdbarch_register_remote_regno):
	New functions.
	* gdb/gdbarch.h: Add prototypes.
	* gdb/gdbarch.sh: Add new fields.
	(deprecated_current_gdbarch_select_hack): Call flush_cached_frames.
	* gdb/remote-sim.h (gdbsim_create_inferior): Call
	observer_notify_inferior_created.
	(gdbsim_xfer_partial): New function.
	(init_gdbsim_ops): Use it.
	* gdb/remote.c (struct remote_state): Add num_g_regs.
	(init_remote_state): Only consider hard regs.  Allow target to provide
	register mapping.
	(packet_reg_from_regnum): Don't check pseudo regs.
	(packet_reg_from_pnum): Ditto.
	(remote_protocol_qPart_availableRegisters): Add.
	(set_remote_protocol_qPart_availableRegisters_packet_cmd,
	show_remote_protocol_qPart_availableRegisters_packet_cmd): New
	functions.
	(fetch_register_using_p, store_register_using_P): Handle arbitrary
	register mappings.
	(fetch_registers_using_g): New function.
	(remote_fetch_registers): Use it.
	(store_registers_using_G): New function.
	(remote_store_registers): Use it.
	(remote_xfer_partial): Handle TARGET_OBJECT_AVAILABLE_REGISTERS.
	(show_remote_cmd): Display availableRegisters.
	(_initialize_remote): Register qPart_availableRegisters.
	* gdb/target.h (enum target_object): Add
	TARGET_OBJECT_AVAILABLE_REGISTERS.
	* gdb/gdbserver/configure.srv (arm*-*-linux*): set
	srv_linux_regsets=yes.
	* gdb/gdbserver/linux-arm-low.c (PTRACE_GETWMMXREGS,
	PTRACE_SETWMMXREGS): Define.
	(arm_fill_gregset, arm_store_gregset, arm_fill_wmmxregset,
	arm_store_wmmxregset, arm_available_registers): New functions.
	(target_regsets): Add.
	(the_low_target): Use arm_available_registers.
	* gdb/gdbserver/linux-low.c (linux_available_registers): New function.
	(linux_target_op): Use it.
	* gdb/gdbserver/linux-low.h (gdbserver/linux-low.h): Add
	available_registers.
	(use_regsets_p): Declare.
	* gdb/gdbserver/regcache.c (g_register_bytes): Add.
	(regcache_invalidate, registers_to_string, registers_from_string):
	Use it.
	(set_register_cache): Set g_register_bytes.
	(supply_register_as_string): New function.
	* gdb/gdbserver/regcache.h (supply_register_as_string): Add prototype.
	* gdb/gdbserver/server.c (handle_query): Handle
	qPart:availableRegisters.
	(handle_p_packet, handle_P_packet): New functions.
	(main): Handle 'p' and 'P' packets.
	* gdb/gdbserver/target.h (struct target_ops): Add available_registers.
	* gdb/regformats/reg-arm.dat: Add last_g_reg and iWMMXT regs.
	* gdb/regformats/regdat.sh: Handle last_g_reg.
	* gdb/regformats/regdef.h (set_register_cache): Update prototype.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/Makefile.in.diff?cvsroot=src&only_with_tag=csl-arm-20050325-branch&r1=1.707.2.3&r2=1.707.2.4
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/arm-linux-nat.c.diff?cvsroot=src&only_with_tag=csl-arm-20050325-branch&r1=1.22.2.2&r2=1.22.2.3
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/arm-linux-tdep.c.diff?cvsroot=src&only_with_tag=csl-arm-20050325-branch&r1=1.44.2.2&r2=1.44.2.3
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/arm-tdep.c.diff?cvsroot=src&only_with_tag=csl-arm-20050325-branch&r1=1.194.2.3&r2=1.194.2.4
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/arm-tdep.h.diff?cvsroot=src&only_with_tag=csl-arm-20050325-branch&r1=1.12.8.1&r2=1.12.8.2
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/gdbarch.c.diff?cvsroot=src&only_with_tag=csl-arm-20050325-branch&r1=1.321&r2=1.321.2.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/gdbarch.h.diff?cvsroot=src&only_with_tag=csl-arm-20050325-branch&r1=1.278&r2=1.278.2.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/gdbarch.sh.diff?cvsroot=src&only_with_tag=csl-arm-20050325-branch&r1=1.356&r2=1.356.2.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/remote-sim.c.diff?cvsroot=src&only_with_tag=csl-arm-20050325-branch&r1=1.46&r2=1.46.2.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/remote.c.diff?cvsroot=src&only_with_tag=csl-arm-20050325-branch&r1=1.178&r2=1.178.2.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/symfile.c.diff?cvsroot=src&only_with_tag=csl-arm-20050325-branch&r1=1.157&r2=1.157.2.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/target.h.diff?cvsroot=src&only_with_tag=csl-arm-20050325-branch&r1=1.68&r2=1.68.2.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/gdbserver/configure.srv.diff?cvsroot=src&only_with_tag=csl-arm-20050325-branch&r1=1.8&r2=1.8.2.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/gdbserver/linux-arm-low.c.diff?cvsroot=src&only_with_tag=csl-arm-20050325-branch&r1=1.7.14.1&r2=1.7.14.2
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/gdbserver/linux-low.c.diff?cvsroot=src&only_with_tag=csl-arm-20050325-branch&r1=1.34&r2=1.34.2.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/gdbserver/linux-low.h.diff?cvsroot=src&only_with_tag=csl-arm-20050325-branch&r1=1.8&r2=1.8.2.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/gdbserver/regcache.c.diff?cvsroot=src&only_with_tag=csl-arm-20050325-branch&r1=1.7&r2=1.7.18.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/gdbserver/regcache.h.diff?cvsroot=src&only_with_tag=csl-arm-20050325-branch&r1=1.5&r2=1.5.70.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/gdbserver/server.c.diff?cvsroot=src&only_with_tag=csl-arm-20050325-branch&r1=1.23&r2=1.23.2.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/gdbserver/target.h.diff?cvsroot=src&only_with_tag=csl-arm-20050325-branch&r1=1.12&r2=1.12.2.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/regformats/reg-arm.dat.diff?cvsroot=src&only_with_tag=csl-arm-20050325-branch&r1=1.1&r2=1.1.78.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/regformats/regdat.sh.diff?cvsroot=src&only_with_tag=csl-arm-20050325-branch&r1=1.3&r2=1.3.78.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/regformats/regdef.h.diff?cvsroot=src&only_with_tag=csl-arm-20050325-branch&r1=1.3&r2=1.3.78.1


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