2 * This software is part of the SBCL system. See the README file for
5 * This software is derived from the CMU CL system, which was
6 * written at Carnegie Mellon University and released into the
7 * public domain. The software is in the public domain and is
8 * provided with absolutely no warranty. See the COPYING and CREDITS
9 * files for more information.
12 #ifndef _BREAKPOINT_H_
13 #define _BREAKPOINT_H_
15 extern unsigned int breakpoint_install(lispobj code_obj, int pc_offset);
16 extern void breakpoint_remove(lispobj code_obj,
18 unsigned int orig_inst);
19 extern void breakpoint_do_displaced_inst(os_context_t *context,
20 unsigned int orig_inst);
21 extern void handle_breakpoint(os_context_t *context);
22 extern void *handle_fun_end_breakpoint(os_context_t *context);
23 extern void handle_single_step_trap (os_context_t *context, int kind,
26 extern void handle_single_step_trap(os_context_t *context, int kind,