Preliminary work towards threads on win32
[sbcl.git] / src / runtime / breakpoint.h
blob76317a5e56abc6bba40d2e163f48ba2cb41bb203
1 /*
2 * This software is part of the SBCL system. See the README file for
3 * more information.
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,
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(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,
24 int register_offset);
26 extern void handle_single_step_trap(os_context_t *context, int kind,
27 int register_offset);
29 #endif