Skip to content
breakpoint.h 663 B
Newer Older
wlott's avatar
wlott committed
/*
Raymond Toy's avatar
Raymond Toy committed

 This code was written as part of the CMU Common Lisp project at
 Carnegie Mellon University, and has been placed in the public domain.

*/
wlott's avatar
wlott committed

#ifndef _BREAKPOINT_H_
#define _BREAKPOINT_H_

extern unsigned long breakpoint_install(lispobj code_obj, int pc_offset);
extern void breakpoint_remove(lispobj code_obj, int pc_offset,
wlott's avatar
wlott committed
			      unsigned long orig_inst);
extern void breakpoint_do_displaced_inst(os_context_t * scp,

wlott's avatar
wlott committed
					 unsigned long orig_inst);
extern void handle_breakpoint(int signal, int subcode, os_context_t * scp);
wlott's avatar
wlott committed
extern void *handle_function_end_breakpoint(int signal, int subcode,
					    os_context_t * scp);
wlott's avatar
wlott committed

#endif /* _BREAKPOINT_H_ */