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.
16 #ifndef _BREAKPOINT_H_
17 #define _BREAKPOINT_H_
19 extern unsigned long breakpoint_install(lispobj code_obj, int pc_offset);
20 extern void breakpoint_remove(lispobj code_obj,
22 unsigned long orig_inst);
23 extern void breakpoint_do_displaced_inst(os_context_t *context,
24 unsigned long orig_inst);
25 extern void handle_breakpoint(int signal, siginfo_t *info,
26 os_context_t *context);
27 extern void *handle_function_end_breakpoint(int signal, siginfo_t *info,
28 os_context_t *context);