summaryrefslogtreecommitdiff
path: root/README.threads
diff options
context:
space:
mode:
authorMalcolm Beattie <mbeattie@sable.ox.ac.uk>1997-09-09 16:57:41 +0000
committerMalcolm Beattie <mbeattie@sable.ox.ac.uk>1997-09-09 16:57:41 +0000
commit1304aa9d125296870a384c81cea5102c45d467c8 (patch)
tree7474f81aed1fb5a6bf3dc8ea43eb69c86ed21760 /README.threads
parent43fe56beebc72806ffb19652942eb76c3e4dedd7 (diff)
downloadperl-1304aa9d125296870a384c81cea5102c45d467c8.tar.gz
Update README.threads to mention -DL.
p4raw-id: //depot/perl@60
Diffstat (limited to 'README.threads')
-rw-r--r--README.threads12
1 files changed, 12 insertions, 0 deletions
diff --git a/README.threads b/README.threads
index 9e7b4d439b..12abbe51a0 100644
--- a/README.threads
+++ b/README.threads
@@ -105,6 +105,18 @@ haven't tracked down yet) and there are very probably others too.
* Plenty of others
+Debugging
+
+Use the -DL command-line option to turn on debugging of the
+multi-threading code. Under Linux, that also turns on a quick
+hack I did to grab a bit of extra information from segfaults.
+If you have a fancier gdb/threads setup than I do then you'll
+have to delete the lines in perl.c which say
+ #if defined(DEBUGGING) && defined(USE_THREADS) && defined(__linux__)
+ DEBUG_L(signal(SIGSEGV, (void(*)(int))catch_sigsegv););
+ #endif
+
+
Background
Some old globals (e.g. stack_sp, op) and some old per-interpreter