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 long breakpoint_install(lispobj code_obj, int pc_offset);
16 extern void breakpoint_remove(lispobj code_obj,
18 unsigned long orig_inst);
19 extern void breakpoint_do_displaced_inst(os_context_t *context,
20 unsigned long orig_inst);
21 extern void handle_breakpoint(int signal, siginfo_t *info,
22 os_context_t *context);
23 extern void *handle_fun_end_breakpoint(int signal, siginfo_t *info,
24 os_context_t *context);