projects
/
sbcl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
0.9.13.47: Thread safety miscellania
[sbcl.git]
/
src
/
runtime
/
hppa-arch.c
diff --git
a/src/runtime/hppa-arch.c
b/src/runtime/hppa-arch.c
index
3331ed3
..
8fba416
100644
(file)
--- a/
src/runtime/hppa-arch.c
+++ b/
src/runtime/hppa-arch.c
@@
-23,7
+23,6
@@
#include "interrupt.h"
#include "interr.h"
#include "breakpoint.h"
#include "interrupt.h"
#include "interr.h"
#include "breakpoint.h"
-#include "monitor.h"
void arch_init(void)
{
void arch_init(void)
{
@@
-85,6
+84,12
@@
void arch_set_pseudo_atomic_interrupted(os_context_t *context)
*os_context_register_addr(context,reg_ALLOC) |= 1;
}
*os_context_register_addr(context,reg_ALLOC) |= 1;
}
+/* FIXME: untested */
+void arch_clear_pseudo_atomic_interrupted(os_context_t *context)
+{
+ *os_context_register_addr(context,reg_ALLOC) &= ~1;
+}
+
void arch_skip_instruction(os_context_t *context)
{
((char *) *os_context_pc_addr(context)) = ((char *) *os_context_npc_addr(context));
void arch_skip_instruction(os_context_t *context)
{
((char *) *os_context_pc_addr(context)) = ((char *) *os_context_npc_addr(context));
@@
-148,7
+153,7
@@
static void restore_breakpoint(struct sigcontext *scp)
/* state so that we will continue as if nothing happened. */
if (NextPc == NULL)
/* state so that we will continue as if nothing happened. */
if (NextPc == NULL)
- lose("SingleStepBreakpoint trap at strange time.");
+ lose("SingleStepBreakpoint trap at strange time.\n");
if ((SC_PC(scp)&~3) == (unsigned int)SingleStepTraps) {
/* The next instruction was not nullified. */
if ((SC_PC(scp)&~3) == (unsigned int)SingleStepTraps) {
/* The next instruction was not nullified. */