aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog
diff options
context:
space:
mode:
Diffstat (limited to 'src/ChangeLog')
-rw-r--r--src/ChangeLog48
1 files changed, 48 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index a7791444e09..41687e07593 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,51 @@
12013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 Merge the specpdl and backtrace stacks. Make the structure of the
4 specpdl entries more obvious via a tagged union of structs.
5 * lisp.h (BITS_PER_PTRDIFF_T): New constant.
6 (enum specbind_tag): New enum.
7 (struct specbinding): Make it a tagged union of structs.
8 Add a case for backtrace records.
9 (specpdl_symbol, specpdl_old_value, specpdl_where, specpdl_arg)
10 (specpdl_func, backtrace_function, backtrace_nargs, backtrace_args)
11 (backtrace_debug_on_exit): New accessors.
12 (struct backtrace): Remove.
13 (struct catchtag): Remove backlist field.
14 * data.c (let_shadows_buffer_binding_p, let_shadows_global_binding_p):
15 Move to eval.c.
16 (Flocal_variable_p): Speed up the common case where the binding is
17 already loaded.
18 * eval.c (backtrace_list): Remove.
19 (set_specpdl_symbol, set_specpdl_old_value): Remove.
20 (set_backtrace_args, set_backtrace_nargs)
21 (set_backtrace_debug_on_exit, backtrace_p, backtrace_top)
22 (backtrace_next): New functions.
23 (Fdefvaralias, Fdefvar): Adjust to new specpdl format.
24 (unwind_to_catch, internal_lisp_condition_case)
25 (internal_condition_case, internal_condition_case_1)
26 (internal_condition_case_2, internal_condition_case_n): Don't bother
27 with backtrace_list any more.
28 (Fsignal): Adjust to new backtrace format.
29 (grow_specpdl): Move up.
30 (record_in_backtrace): New function.
31 (eval_sub, Ffuncall): Use it.
32 (apply_lambda): Adjust to new backtrace format.
33 (let_shadows_buffer_binding_p, let_shadows_global_binding_p): Move from
34 data.c.
35 (specbind): Adjust to new specpdl format. Simplify.
36 (record_unwind_protect, unbind_to): Adjust to new specpdl format.
37 (Fbacktrace_debug, Fbacktrace, Fbacktrace_frame): Adjust to new
38 backtrace format.
39 (mark_backtrace): Remove.
40 (mark_specpdl, get_backtrace, backtrace_top_function): New functions.
41 * xdisp.c (redisplay_internal): Use record_in_backtrace.
42 * alloc.c (Fgarbage_collect): Use record_in_backtrace.
43 Use mark_specpdl.
44 * profiler.c (record_backtrace): Use get_backtrace.
45 (handle_profiler_signal): Use backtrace_top_function.
46 * .gdbinit (xbacktrace, hookpost-backtrace): Use new backtrace
47 accessor functions.
48
12013-06-02 Jan Djärv <jan.h.d@swipnet.se> 492013-06-02 Jan Djärv <jan.h.d@swipnet.se>
2 50
3 * process.h (catch_child_signal): Declare. 51 * process.h (catch_child_signal): Declare.