19e1ef129228ac0e9eac83b6909d0ddcc66e0a36
[sbcl.git] / src / runtime / breakpoint.h
1 /*
2  * This software is part of the SBCL system. See the README file for
3  * more information.
4  *
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.
10  */
11
12 #ifndef _BREAKPOINT_H_
13 #define _BREAKPOINT_H_
14
15 extern unsigned int breakpoint_install(lispobj code_obj, int pc_offset);
16 extern void breakpoint_remove(lispobj code_obj,
17                               int pc_offset,
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(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);
25
26 #endif