projects
/
sbcl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
0.8.13.41: Require robustness
[sbcl.git]
/
src
/
runtime
/
breakpoint.c
diff --git
a/src/runtime/breakpoint.c
b/src/runtime/breakpoint.c
index
7aeb14b
..
439354d
100644
(file)
--- a/
src/runtime/breakpoint.c
+++ b/
src/runtime/breakpoint.c
@@
-12,9
+12,9
@@
#include <stdio.h>
#include <signal.h>
#include <stdio.h>
#include <signal.h>
+#include "sbcl.h"
#include "runtime.h"
#include "os.h"
#include "runtime.h"
#include "os.h"
-#include "sbcl.h"
#include "interrupt.h"
#include "arch.h"
#include "lispregs.h"
#include "interrupt.h"
#include "arch.h"
#include "lispregs.h"
@@
-145,7
+145,8
@@
void handle_breakpoint(int signal, siginfo_t *info, os_context_t *context)
fake_foreign_function_call(context);
code = find_code(context);
fake_foreign_function_call(context);
code = find_code(context);
-
+ /* FIXME we're calling into Lisp with signals masked here. Is this
+ * the right thing to do? */
funcall3(SymbolFunction(HANDLE_BREAKPOINT),
compute_offset(context, code),
code,
funcall3(SymbolFunction(HANDLE_BREAKPOINT),
compute_offset(context, code),
code,
@@
-187,6
+188,8
@@
void *handle_fun_end_breakpoint(int signal, siginfo_t *info,
code = find_code(context);
codeptr = (struct code *)native_pointer(code);
code = find_code(context);
codeptr = (struct code *)native_pointer(code);
+ /* FIXME again, calling into Lisp with signals masked. Is this
+ * sensible? */
funcall3(SymbolFunction(HANDLE_BREAKPOINT),
compute_offset(context, code),
code,
funcall3(SymbolFunction(HANDLE_BREAKPOINT),
compute_offset(context, code),
code,