OK. All state is thread-local now.
bkpt.o:
- 00000004 b One_Before
- 00000000 B SP_List
+ 00000004 b One_Before __thread
+ 00000000 B SP_List __thread
+
+ OK. All state is thread-local now. (What is this? It seems
+ stack-related and so is now machine-specific, but... ?)
bignum.o:
#define sp_nil ((struct sp_record *) 0)
-sp_record_list SP_List = sp_nil;
+__thread sp_record_list SP_List = sp_nil;
extern bool Add_a_Pop_Return_Breakpoint (SCHEME_OBJECT *);
-static struct sp_record One_Before =
+static __thread struct sp_record One_Before =
{
((SCHEME_OBJECT *) 0),
sp_nil
};
typedef struct sp_record * sp_record_list;
-extern sp_record_list SP_List;
+extern __thread sp_record_list SP_List;
#define DEBUG_MAXSLOTS 100