binutils-gdb/gdb/config/sparc
Pedro Alves d1a7880c77 2009-06-07 Pedro Alves <pedro@codesourcery.com>
* procfs.h: New.
	* proc-utils.h (procfs_first_available): Don't declare here.
	* sol-thread.c: Include procfs.h instead of sys/procfs.h and
	proc-utils.h.
	* procfs.c: Include procfs.h.
	(procfs_target): Make it public.  Don't register
	procfs_can_use_hw_breakpoint here.
	(proc_set_watchpoint): Check for PCWATCH or PIOCSWATCH being
	defined instead of TARGET_HAS_HARDWARE_WATCHPOINTS.
	(procfs_can_use_hw_breakpoint): Remove check of
	TARGET_HAS_HARDWARE_WATCHPOINTS.
	(procfs_use_watchpoints): Register procfs_can_use_hw_breakpoint
	here.
	(_initialize_procfs): Don't add the procfs target here.

	* i386-sol2-nat.c: Include target.h and procfs.h.
	(_initialize_amd64_sol2_nat): Install the procfs target here,
	customized with watchpoints support.
	* irix5-nat.c: Include target.h.
	(_initialize_core_irix5): Rename to ...
	(_initialize_irix5_nat): ... this.  Install the procfs target
	here, customized with watchpoints support.
	* alpha-nat.c: Include procfs.h.
	(_initialize_core_alpha): Rename to...
	(_initialize_alpha_nat): ... this.  Install the procfs target
	here, customized with watchpoints support.
	* sparc-sol2-nat.c: Include target.h and procfs.h.
	(_initialize_sparc_sol2_nat): New.

	* config/i386/nm-i386sol2.h (TARGET_HAS_HARDWARE_WATCHPOINTS): Delete.
	* config/sparc/nm-sol2.h (TARGET_HAS_HARDWARE_WATCHPOINTS): Delete.
	* config/mips/irix5.mh (NAT_FILE): Delete.
	* config/mips/irix6.mh (NAT_FILE): Delete.
	* config/mips/nm-irix5.h: Delete.

2009-06-07  Pedro Alves  <pedro@codesourcery.com>

	* gdbint.texinfo (TARGET_HAS_HARDWARE_WATCHPOINTS): Delete all
	references.
2009-06-07 22:33:25 +00:00
..
fbsd.mh Marcel Moolenaar <marcel@xcllnt.net> 2005-07-15 20:10:19 +00:00
linux.mh * linux-nat.c (linux_register_u_offset): Remove. 2007-04-25 22:17:48 +00:00
linux64.mh * linux-nat.c (linux_register_u_offset): Remove. 2007-04-25 22:17:48 +00:00
nbsd64.mh * config/sparc/nbsd64.mh (NAT_FILE): Remove. 2005-03-25 22:28:53 +00:00
nbsdaout.mh * Makefile.in (mips-linux-tdep.o) Add $(solib_h) dependency. 2006-11-24 18:23:34 +00:00
nbsdelf.mh * config/sparc/nbsdaout.mh (NAT_FILE): Set to solib.h. 2004-11-29 11:20:10 +00:00
nm-sol2.h 2009-06-07 Pedro Alves <pedro@codesourcery.com> 2009-06-07 22:33:25 +00:00
sol2.mh * config/sparc/linux.mt (TDEPFILES): Remove solib-legacy.o. 2004-04-07 00:15:12 +00:00