Remove make_cleanup_py_decref and make_cleanup_py_xdecref
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
8dbcee67
TT
12017-01-10 Tom Tromey <tom@tromey.com>
2
3 * python/python-internal.h (make_cleanup_py_decref)
4 (make_cleanup_py_xdecref): Don't declare.
5 * python/py-utils.c (py_decref, make_cleanup_py_decref)
6 (py_xdecref, make_cleanup_py_xdecref): Remove.
7
13df46cc
TT
82017-01-10 Tom Tromey <tom@tromey.com>
9
10 * python/py-framefilter.c (py_mi_print_variables): Use gdbpy_ref.
11 (py_print_locals, enumerate_locals, py_print_args): Use gdbpy_ref.
12
06fc9bf7
TT
132017-01-10 Tom Tromey <tom@tromey.com>
14
15 * python/py-framefilter.c (enumerate_args): Use gdbpy_ref.
16
830a4934
TT
172017-01-10 Tom Tromey <tom@tromey.com>
18
19 * python/py-utils.c (unicode_to_encoded_string)
20 (python_string_to_target_string)
21 (python_string_to_target_python_string)
22 (python_string_to_host_string, gdbpy_obj_to_string)
23 (get_addr_from_python): Use gdbpy_ref.
24
4586d543
TT
252017-01-10 Tom Tromey <tom@tromey.com>
26
27 * python/py-unwind.c (pyuw_object_attribute_to_pointer): Use
28 gdbpy_ref.
29
59876f8f
TT
302017-01-10 Tom Tromey <tom@tromey.com>
31
32 * python/python.c (eval_python_command, gdbpy_decode_line)
33 (gdbpy_run_events, gdbpy_start_type_printers)
34 (gdbpy_apply_type_printers): Use gdbpy_ref.
35
97d83487
TT
362017-01-10 Tom Tromey <tom@tromey.com>
37
38 * python/py-param.c (get_doc_string, compute_enum_values): Use
39 gdbpy_ref.
40
9205649a
TT
412017-01-10 Tom Tromey <tom@tromey.com>
42
43 * python/py-inferior.c (find_thread_object, build_inferior_list):
44 Use gdbpy_ref.
45
74c49d45
TT
462017-01-10 Tom Tromey <tom@tromey.com>
47
48 * python/py-framefilter.c (py_print_frame): Use gdbpy_ref.
49
16361ffb
TT
502017-01-10 Tom Tromey <tom@tromey.com>
51
52 * python/py-finishbreakpoint.c (bpfinishpy_out_of_scope): Use
53 gdbpy_ref.
54
905f2cca
TT
552017-01-10 Tom Tromey <tom@tromey.com>
56
57 * python/py-cmd.c (cmdpy_completer_helper): Use gdbpy_ref. Remove
58 extra incref.
59 (cmdpy_completer_handle_brkchars, cmdpy_completer, cmdpy_init):
60 Use gdbpy_ref.
61
64081434
TT
622017-01-10 Tom Tromey <tom@tromey.com>
63
64 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Use
65 gdbpy_ref.
66
59e9e831
TT
672017-01-10 Tom Tromey <tom@tromey.com>
68
69 * python/py-arch.c (archpy_disassemble): Use gdbpy_ref. Don't
70 decref results of PyArg_ParseTupleAndKeywords.
71
9de10f6d
TT
722017-01-10 Tom Tromey <tom@tromey.com>
73
74 * python/python.c (python_run_simple_file): Use
75 unique_xmalloc_ptr, gdbpy_ref.
76
2bd5759d
TT
772017-01-10 Tom Tromey <tom@tromey.com>
78
79 * python/py-prettyprint.c (print_stack_unless_memory_error)
80 (print_string_repr, print_children): Use gdbpy_ref.
81 (dummy_python_frame): New class.
82 (dummy_python_frame::dummy_python_frame): Rename from
83 push_dummy_python_frame.
84 (py_restore_tstate): Remove.
85
3b4e0e01
TT
862017-01-10 Tom Tromey <tom@tromey.com>
87
88 * python/py-framefilter.c (py_print_frame): Use gdbpy_ref.
89
17a22718
TT
902017-01-10 Tom Tromey <tom@tromey.com>
91
92 * python/python.c (ensure_python_env, restore_python_env):
93 Remove.
94 * python/python-internal.h (ensure_python_env): Don't declare.
95 * varobj.h (varobj_ensure_python_env): Don't declare.
96 * varobj.c (varobj_ensure_python_env): Remove.
97
68cdc557
TT
982017-01-10 Tom Tromey <tom@tromey.com>
99
100 * varobj.c (varobj_value_get_print_value): Use
101 gdbpy_enter_varobj.
102
1eba6383
TT
1032017-01-10 Tom Tromey <tom@tromey.com>
104
105 * python/py-prettyprint.c (print_string_repr, print_children):
106 Update.
107 * python/py-lazy-string.c (gdbpy_extract_lazy_string): Change type
108 of "encoding".
109 * varobj.c (varobj_value_get_print_value): Update.
110 * python/python-internal.h (gdbpy_extract_lazy_string): Update.
111
bde7b3e3
TT
1122017-01-10 Tom Tromey <tom@tromey.com>
113
114 * varobj.c (varobj_get_display_hint)
115 (dynamic_varobj_has_child_method, install_new_value_visualizer)
116 (varobj_set_visualizer, free_variable): Use
117 gdbpy_enter_varobj.
118
a7785f8c
TT
1192017-01-10 Tom Tromey <tom@tromey.com>
120
121 * python/python.c (python_command): Use gdbpy_enter, gdbpy_ref.
122 (do_finish_initialization): New function. Use gdbpy_ref.
123 (gdbpy_finish_initialization): Use gdbpy_enter. Call
124 do_finish_initialization.
125
2865bfce
TT
1262017-01-10 Tom Tromey <tom@tromey.com>
127
128 * python/py-param.c (get_set_value, get_show_value): Use
129 gdbpy_enter, gdbpy_ref.
130
0e9dcc75
TT
1312017-01-10 Tom Tromey <tom@tromey.com>
132
133 * python/py-function.c (fnpy_call): Use gdbpy_enter, gdbpy_ref.
134
12a5cedd
TT
1352017-01-10 Tom Tromey <tom@tromey.com>
136
137 * python/py-cmd.c (cmdpy_function): Use gdbpy_enter, gdbpy_ref.
138
788f2586
TT
1392017-01-10 Tom Tromey <tom@tromey.com>
140
141 * python/py-varobj.c (py_varobj_iter_dtor, py_varobj_iter_next):
142 Use gdbpy_enter_varobj.
143
6cd67bea
TT
1442017-01-10 Tom Tromey <tom@tromey.com>
145
146 * varobj.c (gdbpy_enter_varobj): New constructor.
147 * python/python-internal.h (gdbpy_enter_varobj): New class.
148 * python/py-varobj.c (py_varobj_get_iterator): Use
149 gdbpy_enter_varobj.
150
14b122bf
TT
1512017-01-10 Tom Tromey <tom@tromey.com>
152
153 * python/py-xmethods.c (gdbpy_get_xmethod_result_type): Use
154 gdbpy_enter, gdbpy_ref, unique_xmalloc_ptr.
155 (gdbpy_invoke_xmethod): Use gdbpy_ref, gdbpy_enter.
156 (gdbpy_get_xmethod_arg_types): Use gdbpy_ref,
157 unique_xmalloc_ptr.
158 (gdbpy_get_xmethod_arg_types): Use gdbpy_ref, gdbpy_enter.
159
bf1ca3b9
TT
1602017-01-10 Tom Tromey <tom@tromey.com>
161
162 * python/py-xmethods.c (invoke_match_method): Use
163 gdbpy_ref.
164
572a5524
TT
1652017-01-10 Tom Tromey <tom@tromey.com>
166
167 * python/py-xmethods.c (gdbpy_get_matching_xmethod_workers): use
168 gdbpy_enter, gdbpy_ref.
169
396a78b6
TT
1702017-01-10 Tom Tromey <tom@tromey.com>
171
172 * python/python.c (python_interactive_command): Use gdbpy_enter.
173
a88b13c7
TT
1742017-01-10 Tom Tromey <tom@tromey.com>
175
176 * python/python.c (gdbpy_before_prompt_hook): Use gdbpy_enter,
177 gdbpy_ref.
178
e9f0c363
TT
1792017-01-10 Tom Tromey <tom@tromey.com>
180
181 * python/py-prettyprint.c (gdbpy_apply_val_pretty_printer): Use
182 gdbpy_enter, gdbpy_ref, unique_xmalloc_ptr.
183
6349f452
TT
1842017-01-10 Tom Tromey <tom@tromey.com>
185
186 * utils.h (htab_deleter): New struct.
187 (htab_up): New typedef.
188 * python/py-framefilter.c (gdbpy_apply_frame_filter): Use
189 gdbpy_enter, gdbpy_ref, htab_up.
190
c0171de6
TT
1912017-01-10 Tom Tromey <tom@tromey.com>
192
193 * python/py-unwind.c (pending_frame_invalidate): Remove.
194 (pyuw_sniffer): Use gdbpy_enter and gdbpy_ref.
195
f18e226f
TT
1962017-01-10 Tom Tromey <tom@tromey.com>
197
198 * python/py-xmethods.c (gdbpy_free_xmethod_worker_data)
199 (gdbpy_clone_xmethod_worker_data): Use gdbpy_enter.
200
c57af3f1
TT
2012017-01-10 Tom Tromey <tom@tromey.com>
202
203 * python/py-type.c (save_objfile_types): Use gdbpy_enter.
204
60e600ec
TT
2052017-01-10 Tom Tromey <tom@tromey.com>
206
207 * python/python.c (gdbpy_eval_from_control_command)
208 (gdbpy_source_script, gdbpy_run_events)
209 (gdbpy_source_objfile_script, gdbpy_execute_objfile_script)
210 (gdbpy_free_type_printers, gdbpy_finish_initialization): Use
211 gdbpy_enter.
212
bf7da5b0
TT
2132017-01-10 Tom Tromey <tom@tromey.com>
214
215 * python/py-progspace.c (py_free_pspace): Use gdbpy_enter.
216
2d38bced
TT
2172017-01-10 Tom Tromey <tom@tromey.com>
218
219 * python/py-objfile.c (py_free_objfile): Use gdbpy_enter.
220
07bc7329
TT
2212017-01-10 Tom Tromey <tom@tromey.com>
222
223 * python/py-inferior.c (python_on_normal_stop, python_on_resume)
224 (python_on_inferior_call_pre, python_on_inferior_call_post)
225 (python_on_memory_change, python_on_register_change)
226 (python_inferior_exit, python_new_objfile, add_thread_object)
227 (delete_thread_object, py_free_inferior): Use gdbpy_enter.
228
6e7c365e
TT
2292017-01-10 Tom Tromey <tom@tromey.com>
230
231 * python/py-finishbreakpoint.c (bpfinishpy_handle_stop)
232 (bpfinishpy_handle_exit): Use gdbpy_enter.
233
6ba0cd40
TT
2342017-01-10 Tom Tromey <tom@tromey.com>
235
236 * python/py-cmd.c (cmdpy_destroyer)
237 (cmdpy_completer_handle_brkchars, cmdpy_completer): Use
238 gdbpy_enter.
239
de2dc875
TT
2402017-01-10 Tom Tromey <tom@tromey.com>
241
242 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Use
243 gdbpy_enter.
244 (gdbpy_breakpoint_has_cond): Likewise.
245
4ecee2c4
TT
2462017-01-10 Tom Tromey <tom@tromey.com>
247
248 * python/python.c (gdbpy_enter): New constructor.
249 (~gdbpy_enter): New destructor.
250 (restore_python_env, ensure_python_env): Rewrite.
251 * python/python-internal.h (gdbpy_enter): New class.
252
37fce74f
TT
2532017-01-10 Tom Tromey <tom@tromey.com>
254
255 * python/py-symbol.c (gdbpy_lookup_symbol): Use gdbpy_ref.
256
53a0cca3
TT
2572017-01-10 Tom Tromey <tom@tromey.com>
258
259 * python/py-value.c (value_has_field, get_field_flag)
260 (get_field_type, valpy_getitem, convert_value_from_python): Use
261 gdbpy_ref.
262
ff3724f5
TT
2632017-01-10 Tom Tromey <tom@tromey.com>
264
265 * python/python.c (gdbpy_progspaces, gdbpy_objfiles): Use
266 gdbpy_ref.
267
0700aea5
TT
2682017-01-10 Tom Tromey <tom@tromey.com>
269
270 * python/py-prettyprint.c (search_pp_list)
271 (find_pretty_printer_from_objfiles)
272 (find_pretty_printer_from_progspace)
273 (find_pretty_printer_from_gdb, find_pretty_printer)
274 (gdbpy_get_display_hint, gdbpy_get_varobj_pretty_printer): Use
275 gdbpy_ref.
276
1bb44c9f
TT
2772017-01-10 Tom Tromey <tom@tromey.com>
278
279 * python/py-param.c (call_doc_function): Use gdbpy_ref.
280
87ce03fd
TT
2812017-01-10 Tom Tromey <tom@tromey.com>
282
283 * python/py-linetable.c (build_line_table_tuple_from_pcs)
284 (ltpy_get_all_source_lines): Use gdbpy_ref.
285
ee0a3fb8
TT
2862017-01-10 Tom Tromey <tom@tromey.com>
287
288 * python/py-framefilter.c (extract_sym, extract_value)
289 (get_py_iter_from_func, bootstrap_python_frame_filters): Use
290 gdbpy_ref.
291
bf2a52fa
TT
2922017-01-10 Tom Tromey <tom@tromey.com>
293
294 * python/py-breakpoint.c (gdbpy_breakpoints): Use gdbpy_ref.
295
f59fe7f8
TT
2962017-01-10 Tom Tromey <tom@tromey.com>
297
298 * python/py-inferior.c (gdbpy_inferiors): Use gdbpy_ref.
299
80bd970a
TT
3002017-01-10 Tom Tromey <tom@tromey.com>
301
302 * python/py-function.c (convert_values_to_python, fnpy_init): Use
303 gdbpy_ref.
304
d1b3de2e
TT
3052017-01-10 Tom Tromey <tom@tromey.com>
306
307 * python/py-cmd.c (gdbpy_string_to_argv): Use gdbpy_ref.
308
3bb43384
TT
3092017-01-10 Tom Tromey <tom@tromey.com>
310
311 * python/py-type.c (convert_field, make_fielditem, typy_fields)
312 (typy_range): Use gdbpy_ref.
313
abf5651e
TT
3142017-01-10 Tom Tromey <tom@tromey.com>
315
316 * python/py-threadevent.c (create_thread_event_object): Use
317 gdbpy_ref.
318 * python/py-stopevent.c (create_stop_event_object): Simplify.
319 (emit_stop_event): Use gdbpy_ref.
320 * python/py-signalevent.c (create_signal_event_object): Use
321 gdbpy_ref.
322 * python/py-newobjfileevent.c (create_new_objfile_event_object)
323 (emit_new_objfile_event, create_clear_objfiles_event_object)
324 (emit_clear_objfiles_event): Use gdbpy_ref.
325 * python/py-infevents.c (create_inferior_call_event_object)
326 (create_register_changed_event_object)
327 (create_memory_changed_event_object, emit_inferior_call_event)
328 (emit_memory_changed_event, emit_register_changed_event): Use
329 gdbpy_ref.
330 * python/py-exitedevent.c (create_exited_event_object)
331 (emit_exited_event): Use gdbpy_ref.
332 * python/py-event.h (evpy_emit_event): Remove
333 CPYCHECKER_STEALS_REFERENCE_TO_ARG annotation.
334 * python/py-event.c (evpy_emit_event): Use gdbpy_ref.
335 * python/py-continueevent.c (emit_continue_event): Use
336 gdbpy_ref.
337 * python/py-breakpoint.c (gdbpy_breakpoint_created)
338 (gdbpy_breakpoint_deleted, gdbpy_breakpoint_modified): Use
339 gdbpy_ref.
340 * python/py-bpevent.c (create_breakpoint_event_object): Use
341 gdbpy_ref.
342
a68ff33e
TT
3432017-01-10 Tom Tromey <tom@tromey.com>
344
345 * python/py-ref.h: New file.
346
7becfd03
SM
3472017-01-10 Simon Marchi <simon.marchi@ericsson.com>
348
349 * cli-out.c (cli_ui_out::do_redirect): Change return type to
350 void.
351 * cli-out.h (cli_ui_out::do_redirect): Likewise.
352 * mi/mi-out.c (mi_ui_out::do_redirect): Likewise.
353 * mi/mi-out.h (mi_ui_out::do_redirect): Likewise.
354 * ui-out.c (ui_out::redirect): Likewise.
355 * ui-out.h (ui_out::redirect, ui_out::do_redirect): Likewise.
356 * cli/cli-logging.c (set_logging_redirect): Update call site of
357 ui_out::redirect.
358 (handle_redirections): Likewise.
359 * scm-ports.c (ioscm_with_output_to_port_worker): Likewise.
360 * top.c (execute_command_to_string): Likewise.
361 * utils.c (do_ui_out_redirect_pop): Likewise.
362
df294654
SM
3632017-01-10 Simon Marchi <simon.marchi@ericsson.com>
364
365 * stack.c (_initialize_stack): Update "frame" command help message.
366
f5e6296e
IB
3672017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
368
369 * d-exp.y (CastExpression): Emit UNOP_CAST_TYPE.
370
0e2d6fa6
YQ
3712017-01-06 Yao Qi <yao.qi@linaro.org>
372
373 * x86-linux-nat.h: Include gdb_proc_service.h.
374
44d6d3f9
YQ
3752017-01-06 Yao Qi <yao.qi@linaro.org>
376
377 * ser-base.h: Include serial.h.
378
656731fe
YQ
3792017-01-06 Yao Qi <yao.qi@linaro.org>
380
381 * ppc-linux-tdep.h: Include ppc-tdep.h.
382
1ca8f924
YQ
3832017-01-06 Yao Qi <yao.qi@linaro.org>
384
385 * nat/amd64-linux-siginfo.h: Include signal.h.
386
bc3008c4
YQ
3872017-01-06 Yao Qi <yao.qi@linaro.org>
388
389 * nat/aarch64-linux-hw-point.h: Include break-common.h.
390
66c80d03
YQ
3912017-01-06 Yao Qi <yao.qi@linaro.org>
392
393 * mi/mi-parse.h: Include mi-cmds.h.
394
051d2dda
YQ
3952017-01-06 Yao Qi <yao.qi@linaro.org>
396
397 * inf-loop.c: Don't include "target.h".
398 * inf-loop.h: Include it here.
399
8018d34f
YQ
4002017-01-06 Yao Qi <yao.qi@linaro.org>
401
402 * dfp.h: Include "dboulest.h" and "expression.h".
403
c0b8369c
YQ
4042017-01-06 Yao Qi <yao.qi@linaro.org>
405
406 * ax-gdb.h: Include "ax.h".
407
ad5cba2a
YQ
4082017-01-06 Yao Qi <yao.qi@linaro.org>
409
410 * Makefile.in (HFILES_NO_SRCDIR): Replace gdb_ptrace.h
411 with nat/gdb_ptrace.h.
412
1c33cd7f
YQ
4132017-01-05 Yao Qi <yao.qi@linaro.org>
414
415 * mips-fbsd-tdep.c (mips_fbsd_sigframe_init): Move && to
416 new line.
417 (mips64_fbsd_sigframe_init): Likewise.
418
c988ac1d
JB
4192017-01-04 John Baldwin <jhb@FreeBSD.org>
420
421 * mips-fbsd-tdep.c (_initialize_mips_fbsd_tdep): Use
422 GDB_OSABI_FREEBSD instead of GDB_OSABI_FREEBSD_ELF.
423
b268007c
JB
4242017-01-04 John Baldwin <jhb@FreeBSD.org>
425
426 * Makefile.in (ALLDEPFILES): Add mips-fbsd-nat.c.
427 * NEWS: Mention new FreeBSD/mips native configuration.
428 * config/mips/fbsd.mh: New file.
429 * configure.host: Add mips*-*-freebsd*.
430 * mips-fbsd-nat.c: New file.
431
387360da
JB
4322017-01-04 John Baldwin <jhb@FreeBSD.org>
433
434 * Makefile.in (ALL_TARGET_OBS): Add mips-fbsd-tdep.o.
435 (ALLDEPFILES): Add mips-fbsd-tdep.c.
436 * NEWS: Mention new FreeBSD/mips target.
437 * configure.tgt: Add mips*-*-freebsd*.
438 * mips-fbsd-tdep.c: New file.
439 * mips-fbsd-tdep.h: New file.
440
2aaaf250
YQ
4412017-01-04 Yao Qi <yao.qi@linaro.org>
442
443 * dwarf2loc.c (write_pieced_value): Don't use VALUE_FRAME_ID (to),
444 use c->frame_id when the piece location is DWARF_VALUE_REGISTER.
445
61baf725
JB
4462017-01-01 Joel Brobecker <brobecker@adacore.com>
447
448 Update copyright year range in all GDB files.
449
c113e7ff 4502017-01-01 Joel Brobecker <brobecker@adacore.com>
ce0db137 451
c113e7ff 452 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2016.
ce0db137 453
c113e7ff 454For older changes see ChangeLog-2016.
c906108c
SS
455\f
456Local Variables:
457mode: change-log
458left-margin: 8
459fill-column: 74
460version-control: never
57da7796 461coding: utf-8
c906108c 462End:
This page took 2.27289 seconds and 4 git commands to generate.