* defs.h (make_cleanup): Change PTR to void * when inside PARAMS.

Some of the following is in #ifdef CALL_DUMMY_BREAKPOINT_OFFSET.
	* breakpoint.h (enum bptype): Add bp_call_dummy.
	(struct bpstat_what): Add call_dummy field.
	* infrun.c (wait_for_inferior): Deal with it.
	* breakpoint.c (bpstat_what): Deal with call dummy breakpoint.
	* infcmd.c (run_stack_dummy): Set the call dummy breakpoint.
	* config/sparc/tm-sparc.h: Define CALL_DUMMY_BREAKPOINT_OFFSET.
This commit is contained in:
Jim Kingdon
1993-09-18 19:15:36 +00:00
parent fa79d853b8
commit 84d598611e
7 changed files with 259 additions and 152 deletions

View File

@@ -554,6 +554,8 @@ arguments. */
#define CALL_DUMMY_START_OFFSET 148
#define CALL_DUMMY_BREAKPOINT_OFFSET (CALL_DUMMY_START_OFFSET + (8 * 4))
#define CALL_DUMMY_STACK_ADJUST 68
/* Insert the specified number of args and function address