diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2011-11-30 14:15:28 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2011-11-30 14:15:28 -0800 |
commit | b3ee9cdddd521d0ee87a114269fc683f93d215e0 (patch) | |
tree | 721cd2d5fb677efde0dd9349b29a54bb31409739 /lib.c | |
parent | 42eb490febc7633ed162289921ce997ea4e35d18 (diff) | |
download | txr-b3ee9cdddd521d0ee87a114269fc683f93d215e0.tar.gz txr-b3ee9cdddd521d0ee87a114269fc683f93d215e0.tar.bz2 txr-b3ee9cdddd521d0ee87a114269fc683f93d215e0.zip |
* configure (extra_debugging): New variable. EXTRA_DEBUGGING
conditionally generated in config.h.
* gc.c (break_obj): New static variable.
(mark_obj): Debugging feature: if the object is the one stored in
break_obj and not yet reached, then call breakpt.
(deheap): New debugging function for viewing regions of the heaps.
* lib.c (breakpt): New function.
* lib.h (breakpt): Declared.
Diffstat (limited to 'lib.c')
-rw-r--r-- | lib.c | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -3228,3 +3228,13 @@ void d(val obj) { dump(obj, std_output); } + +/* + * Function for software breakpoints. + * Debugging routines call here when a breakpoint + * is requested. For this to work, set a breakpoint + * on this function. + */ +void breakpt(void) +{ +} |