No description
Find a file
Jeff Law 999dd04b89 * breakpoint.h (enum bptype): Add bp_hardware_watchpoint and
bp_watchpoint_scope breakpoints.
	(struct breakpoint): Add val_chain and related_breakpoint fields
	for use by watchpoints.

	* breakpoint.c (within_scope): Delete.  No longer used.
	(TARGET_CAN_USE_HARDWARE_WATCHPOINT): Provide default definition.
	(target_{remove,insert}_watchpoint): Likewise.
	(can_use_hardware_watchpoint): New function.
	(remove_breakpoint): New function to remove a single breakpoint
	or hardware watchpoint.
	(insert_breakpoints): Handle insertion of hardware watchpoints.
	Store a copy of the value chain derived from the watchpoint
	expression.
	(remove_breakpoints): Simplify by using remove_breakpoint.
	(delete_breakpoint): Likewise.
	(watchpoint_check): Delete the watchpoint and watchpoint scope
	breakpoints when the watchpoint goes out of scope.  Save & restore
	the current frame after checking watchpoints.
	(breakpoint_init_inferior): Likewise (restarting the program
	makes all local watchpoints go out of scope).
	(bpstat_stop_status): Handle hardware watchpoints much like normal
	watchpoints. Delete the watchpoint and watchpoint scope breakpoint
	when the watchpoint goes out of scope.  Remove and reinsert all
	breakpoints before returning if we stopped when a hardware watchpoint
	fired.
	(watch_command): Use a hardware watchpoint when possible.  If
	watching a local expression, build a scope breakpoint too.
	(map_breakpoint_numbers): Also call given function for any
	related breakpoints.
	(disable_breakpoint): Never disable a scope breakpoint.
	(enable_breakpoint): Handle hardware breakpoints much like normal
	breakpoints, but recompute the watchpoint_scope breakpoint's
	frame and address  (if we have an associated scope breakpoint).
	(read_memory_nobpt): Handle hardware watchpoints like normal
	watchpoints.  When necessary handle watchpoint_scope breakpoints.
	(print_it_normal, bpstat_what, breakpoint_1, mention): Likewise.
	(clear_command, breakpoint_re_set_one, enable_command): Likewise.
	(disable_command): Likewise.

	* blockframe.c (find_frame_addr_in_frame_chain): New function.
	Extern prototype added to frame.h

	* infrun.c (wait_for_inferior): Set current_frame and select
	a frame before checking if we stopped due to a hardare watchpoint
	firing.  Handle stepping over hardware watchpoints.
	(normal_stop): Remove unnecessary call to select_frame.

	* value.h (value_release_to_mark): Declare.
	* values.c (value_release_to_mark): New function.

	* procfs.c (procfs_wait): Add cases for hardware watchpoints.
	(procfs_set_watchpoint, procfs_stopped_by_watchpoint): New functions.

	* hppab-nat.c (hppa_set_watchpoint): New function.

	* config/pa/nm-hppab.h (STOPPED_BY_WATCHPOINT): Define.
	(HAVE_STEPPABLE_WATCHPOINT): Define.
	(TARGET_CAN_USE_HARDWARE_WATCHPOINT): Define.
	(target_{insert,delete}_watchpoint): Define.
1994-04-13 21:57:00 +00:00
bfd * som.c (som_write_fixups): Always emit at least 1994-04-12 20:37:33 +00:00
binutils * objdump.c: Do an ifdef on __GO32__, not unix. 1994-04-13 14:54:18 +00:00
config * mh-irix4 (CC): Change -XNh1500 to -XNh2000. 1994-04-12 16:39:21 +00:00
gas Tue Apr 12 18:25:13 1994 Stan Shebs (shebs@andros.cygnus.com) 1994-04-13 02:02:48 +00:00
gdb * breakpoint.h (enum bptype): Add bp_hardware_watchpoint and 1994-04-13 21:57:00 +00:00
gprof * Makefile.in (MY_MACHINE): Renamed from MACHINE to avoid losing 1994-04-05 06:48:56 +00:00
include * mips.h (MIPS_R_SWITCH): Define. 1994-04-07 18:20:04 +00:00
ld * Makefile.in (check): Set TCL_LIBRARY for runtest. 1994-04-11 23:17:18 +00:00
mmalloc * COPYING.LIB: New file (standard version 2 LGPL, as already cited 1993-11-17 04:35:46 +00:00
opcodes * mips-opc.c (mips_opcodes): Correct operands of "nor" with an 1994-04-06 21:12:40 +00:00
readline * Makefile.in: Add TAGS target. 1994-03-13 17:31:41 +00:00
sim * gencode.c (main, gendefines): New -d option prints table of defines. 1994-02-12 06:02:09 +00:00
.Sanitize Keep/lose mpw-README 1994-02-28 00:16:13 +00:00
Build-A-Release.mk
build-all.mk update platform targets 1994-04-08 23:35:47 +00:00
ChangeLog * configure: Unknown options are fatal again. 1994-04-09 22:11:36 +00:00
ChangeLog.mpw Tue Apr 5 16:22:19 1994 Stan Shebs (shebs@andros.cygnus.com) 1994-04-06 00:13:43 +00:00
config.guess * config.guess: Recognize NCR running SVR4.3. 1994-03-30 03:15:42 +00:00
config.sub * config.sub (hiux): Fix typo. From m-kasahr@sramhc.sra.co.JP. 1994-02-07 00:35:51 +00:00
configdos.bat
configure * configure: Ignore --x-includes and --x-libraries, for Autoconf 1994-04-08 19:03:23 +00:00
configure.bat
configure.in * config.guess: Add SINIX support. 1994-04-08 00:15:59 +00:00
DOC.Sanitize Update for Things-to-lose and lose_these_too. 1994-03-24 16:25:47 +00:00
INSTALL
install-texi.in
Install.in
install.sh * install.sh: Remove 'set -e'. It makes any conditionals 1993-11-04 19:13:47 +00:00
intro.texi
Makefile.in * Makefile.in, test-build.mk: Remove MUNCH_NM; it was only needed 1994-02-02 19:56:10 +00:00
mpw-build.in Sun Feb 27 16:05:15 1994 Stan Shebs (shebs@andros.cygnus.com) 1994-02-28 00:15:29 +00:00
mpw-config.in Sun Feb 27 16:05:15 1994 Stan Shebs (shebs@andros.cygnus.com) 1994-02-28 00:15:29 +00:00
mpw-configure Thu Mar 17 12:55:51 1994 Stan Shebs (shebs@andros.cygnus.com) 1994-03-17 23:02:58 +00:00
mpw-README Sun Feb 27 16:05:15 1994 Stan Shebs (shebs@andros.cygnus.com) 1994-02-28 00:15:29 +00:00
Pack-A-Progressive
SUPPORTED
tape-labels-tex.in
test-build.mk * test-build.mk (CC): For mips-sgi-irix4, change -XNh1500 to 1994-04-11 18:00:46 +00:00