Remove make_cleanup_htab_delete
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
fc4007c9
TT
12017-01-10 Tom Tromey <tom@tromey.com>
2
3 * utils.h (make_cleanup_htab_delete): Don't declare.
4 * utils.c (do_htab_delete_cleanup, make_cleanup_htab_delete):
5 Remove.
6 * linespec.c (decode_compound_collector): Add constructor,
7 destructor.
8 (lookup_prefix_sym): Remove cleanup.
9 (symtab_collector): Add constructor, destructor.
10 (collect_symtabs_from_filename): Remove cleanup.
11 * disasm.c (do_mixed_source_and_assembly): Use htab_up.
12 * compile/compile-c-symbols.c (generate_c_for_variable_locations):
13 Use htab_up.
14 * gnu-v3-abi.c (gnuv3_print_vtable): Use htab_up.
15 * dwarf2read.c (dw2_expand_symtabs_matching)
16 (dw2_map_symbol_filenames, dwarf_decode_macros)
17 (write_psymtabs_to_index): Use htab_up.
18 * dwarf2loc.c (func_verify_no_selftailcall)
19 (call_site_find_chain_1, func_verify_no_selftailcall)
20 (chain_candidate, call_site_find_chain_1): Use std::unordered_set,
21 std::vector, gdb::unique_xmalloc_ptr.
22 (call_sitep): Remove typedef.
23 (dwarf2_locexpr_baton_eval): Remove unused variable.
24
8dbcee67
TT
252017-01-10 Tom Tromey <tom@tromey.com>
26
27 * python/python-internal.h (make_cleanup_py_decref)
28 (make_cleanup_py_xdecref): Don't declare.
29 * python/py-utils.c (py_decref, make_cleanup_py_decref)
30 (py_xdecref, make_cleanup_py_xdecref): Remove.
31
13df46cc
TT
322017-01-10 Tom Tromey <tom@tromey.com>
33
34 * python/py-framefilter.c (py_mi_print_variables): Use gdbpy_ref.
35 (py_print_locals, enumerate_locals, py_print_args): Use gdbpy_ref.
36
06fc9bf7
TT
372017-01-10 Tom Tromey <tom@tromey.com>
38
39 * python/py-framefilter.c (enumerate_args): Use gdbpy_ref.
40
830a4934
TT
412017-01-10 Tom Tromey <tom@tromey.com>
42
43 * python/py-utils.c (unicode_to_encoded_string)
44 (python_string_to_target_string)
45 (python_string_to_target_python_string)
46 (python_string_to_host_string, gdbpy_obj_to_string)
47 (get_addr_from_python): Use gdbpy_ref.
48
4586d543
TT
492017-01-10 Tom Tromey <tom@tromey.com>
50
51 * python/py-unwind.c (pyuw_object_attribute_to_pointer): Use
52 gdbpy_ref.
53
59876f8f
TT
542017-01-10 Tom Tromey <tom@tromey.com>
55
56 * python/python.c (eval_python_command, gdbpy_decode_line)
57 (gdbpy_run_events, gdbpy_start_type_printers)
58 (gdbpy_apply_type_printers): Use gdbpy_ref.
59
97d83487
TT
602017-01-10 Tom Tromey <tom@tromey.com>
61
62 * python/py-param.c (get_doc_string, compute_enum_values): Use
63 gdbpy_ref.
64
9205649a
TT
652017-01-10 Tom Tromey <tom@tromey.com>
66
67 * python/py-inferior.c (find_thread_object, build_inferior_list):
68 Use gdbpy_ref.
69
74c49d45
TT
702017-01-10 Tom Tromey <tom@tromey.com>
71
72 * python/py-framefilter.c (py_print_frame): Use gdbpy_ref.
73
16361ffb
TT
742017-01-10 Tom Tromey <tom@tromey.com>
75
76 * python/py-finishbreakpoint.c (bpfinishpy_out_of_scope): Use
77 gdbpy_ref.
78
905f2cca
TT
792017-01-10 Tom Tromey <tom@tromey.com>
80
81 * python/py-cmd.c (cmdpy_completer_helper): Use gdbpy_ref. Remove
82 extra incref.
83 (cmdpy_completer_handle_brkchars, cmdpy_completer, cmdpy_init):
84 Use gdbpy_ref.
85
64081434
TT
862017-01-10 Tom Tromey <tom@tromey.com>
87
88 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Use
89 gdbpy_ref.
90
59e9e831
TT
912017-01-10 Tom Tromey <tom@tromey.com>
92
93 * python/py-arch.c (archpy_disassemble): Use gdbpy_ref. Don't
94 decref results of PyArg_ParseTupleAndKeywords.
95
9de10f6d
TT
962017-01-10 Tom Tromey <tom@tromey.com>
97
98 * python/python.c (python_run_simple_file): Use
99 unique_xmalloc_ptr, gdbpy_ref.
100
2bd5759d
TT
1012017-01-10 Tom Tromey <tom@tromey.com>
102
103 * python/py-prettyprint.c (print_stack_unless_memory_error)
104 (print_string_repr, print_children): Use gdbpy_ref.
105 (dummy_python_frame): New class.
106 (dummy_python_frame::dummy_python_frame): Rename from
107 push_dummy_python_frame.
108 (py_restore_tstate): Remove.
109
3b4e0e01
TT
1102017-01-10 Tom Tromey <tom@tromey.com>
111
112 * python/py-framefilter.c (py_print_frame): Use gdbpy_ref.
113
17a22718
TT
1142017-01-10 Tom Tromey <tom@tromey.com>
115
116 * python/python.c (ensure_python_env, restore_python_env):
117 Remove.
118 * python/python-internal.h (ensure_python_env): Don't declare.
119 * varobj.h (varobj_ensure_python_env): Don't declare.
120 * varobj.c (varobj_ensure_python_env): Remove.
121
68cdc557
TT
1222017-01-10 Tom Tromey <tom@tromey.com>
123
124 * varobj.c (varobj_value_get_print_value): Use
125 gdbpy_enter_varobj.
126
1eba6383
TT
1272017-01-10 Tom Tromey <tom@tromey.com>
128
129 * python/py-prettyprint.c (print_string_repr, print_children):
130 Update.
131 * python/py-lazy-string.c (gdbpy_extract_lazy_string): Change type
132 of "encoding".
133 * varobj.c (varobj_value_get_print_value): Update.
134 * python/python-internal.h (gdbpy_extract_lazy_string): Update.
135
bde7b3e3
TT
1362017-01-10 Tom Tromey <tom@tromey.com>
137
138 * varobj.c (varobj_get_display_hint)
139 (dynamic_varobj_has_child_method, install_new_value_visualizer)
140 (varobj_set_visualizer, free_variable): Use
141 gdbpy_enter_varobj.
142
a7785f8c
TT
1432017-01-10 Tom Tromey <tom@tromey.com>
144
145 * python/python.c (python_command): Use gdbpy_enter, gdbpy_ref.
146 (do_finish_initialization): New function. Use gdbpy_ref.
147 (gdbpy_finish_initialization): Use gdbpy_enter. Call
148 do_finish_initialization.
149
2865bfce
TT
1502017-01-10 Tom Tromey <tom@tromey.com>
151
152 * python/py-param.c (get_set_value, get_show_value): Use
153 gdbpy_enter, gdbpy_ref.
154
0e9dcc75
TT
1552017-01-10 Tom Tromey <tom@tromey.com>
156
157 * python/py-function.c (fnpy_call): Use gdbpy_enter, gdbpy_ref.
158
12a5cedd
TT
1592017-01-10 Tom Tromey <tom@tromey.com>
160
161 * python/py-cmd.c (cmdpy_function): Use gdbpy_enter, gdbpy_ref.
162
788f2586
TT
1632017-01-10 Tom Tromey <tom@tromey.com>
164
165 * python/py-varobj.c (py_varobj_iter_dtor, py_varobj_iter_next):
166 Use gdbpy_enter_varobj.
167
6cd67bea
TT
1682017-01-10 Tom Tromey <tom@tromey.com>
169
170 * varobj.c (gdbpy_enter_varobj): New constructor.
171 * python/python-internal.h (gdbpy_enter_varobj): New class.
172 * python/py-varobj.c (py_varobj_get_iterator): Use
173 gdbpy_enter_varobj.
174
14b122bf
TT
1752017-01-10 Tom Tromey <tom@tromey.com>
176
177 * python/py-xmethods.c (gdbpy_get_xmethod_result_type): Use
178 gdbpy_enter, gdbpy_ref, unique_xmalloc_ptr.
179 (gdbpy_invoke_xmethod): Use gdbpy_ref, gdbpy_enter.
180 (gdbpy_get_xmethod_arg_types): Use gdbpy_ref,
181 unique_xmalloc_ptr.
182 (gdbpy_get_xmethod_arg_types): Use gdbpy_ref, gdbpy_enter.
183
bf1ca3b9
TT
1842017-01-10 Tom Tromey <tom@tromey.com>
185
186 * python/py-xmethods.c (invoke_match_method): Use
187 gdbpy_ref.
188
572a5524
TT
1892017-01-10 Tom Tromey <tom@tromey.com>
190
191 * python/py-xmethods.c (gdbpy_get_matching_xmethod_workers): use
192 gdbpy_enter, gdbpy_ref.
193
396a78b6
TT
1942017-01-10 Tom Tromey <tom@tromey.com>
195
196 * python/python.c (python_interactive_command): Use gdbpy_enter.
197
a88b13c7
TT
1982017-01-10 Tom Tromey <tom@tromey.com>
199
200 * python/python.c (gdbpy_before_prompt_hook): Use gdbpy_enter,
201 gdbpy_ref.
202
e9f0c363
TT
2032017-01-10 Tom Tromey <tom@tromey.com>
204
205 * python/py-prettyprint.c (gdbpy_apply_val_pretty_printer): Use
206 gdbpy_enter, gdbpy_ref, unique_xmalloc_ptr.
207
6349f452
TT
2082017-01-10 Tom Tromey <tom@tromey.com>
209
210 * utils.h (htab_deleter): New struct.
211 (htab_up): New typedef.
212 * python/py-framefilter.c (gdbpy_apply_frame_filter): Use
213 gdbpy_enter, gdbpy_ref, htab_up.
214
c0171de6
TT
2152017-01-10 Tom Tromey <tom@tromey.com>
216
217 * python/py-unwind.c (pending_frame_invalidate): Remove.
218 (pyuw_sniffer): Use gdbpy_enter and gdbpy_ref.
219
f18e226f
TT
2202017-01-10 Tom Tromey <tom@tromey.com>
221
222 * python/py-xmethods.c (gdbpy_free_xmethod_worker_data)
223 (gdbpy_clone_xmethod_worker_data): Use gdbpy_enter.
224
c57af3f1
TT
2252017-01-10 Tom Tromey <tom@tromey.com>
226
227 * python/py-type.c (save_objfile_types): Use gdbpy_enter.
228
60e600ec
TT
2292017-01-10 Tom Tromey <tom@tromey.com>
230
231 * python/python.c (gdbpy_eval_from_control_command)
232 (gdbpy_source_script, gdbpy_run_events)
233 (gdbpy_source_objfile_script, gdbpy_execute_objfile_script)
234 (gdbpy_free_type_printers, gdbpy_finish_initialization): Use
235 gdbpy_enter.
236
bf7da5b0
TT
2372017-01-10 Tom Tromey <tom@tromey.com>
238
239 * python/py-progspace.c (py_free_pspace): Use gdbpy_enter.
240
2d38bced
TT
2412017-01-10 Tom Tromey <tom@tromey.com>
242
243 * python/py-objfile.c (py_free_objfile): Use gdbpy_enter.
244
07bc7329
TT
2452017-01-10 Tom Tromey <tom@tromey.com>
246
247 * python/py-inferior.c (python_on_normal_stop, python_on_resume)
248 (python_on_inferior_call_pre, python_on_inferior_call_post)
249 (python_on_memory_change, python_on_register_change)
250 (python_inferior_exit, python_new_objfile, add_thread_object)
251 (delete_thread_object, py_free_inferior): Use gdbpy_enter.
252
6e7c365e
TT
2532017-01-10 Tom Tromey <tom@tromey.com>
254
255 * python/py-finishbreakpoint.c (bpfinishpy_handle_stop)
256 (bpfinishpy_handle_exit): Use gdbpy_enter.
257
6ba0cd40
TT
2582017-01-10 Tom Tromey <tom@tromey.com>
259
260 * python/py-cmd.c (cmdpy_destroyer)
261 (cmdpy_completer_handle_brkchars, cmdpy_completer): Use
262 gdbpy_enter.
263
de2dc875
TT
2642017-01-10 Tom Tromey <tom@tromey.com>
265
266 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Use
267 gdbpy_enter.
268 (gdbpy_breakpoint_has_cond): Likewise.
269
4ecee2c4
TT
2702017-01-10 Tom Tromey <tom@tromey.com>
271
272 * python/python.c (gdbpy_enter): New constructor.
273 (~gdbpy_enter): New destructor.
274 (restore_python_env, ensure_python_env): Rewrite.
275 * python/python-internal.h (gdbpy_enter): New class.
276
37fce74f
TT
2772017-01-10 Tom Tromey <tom@tromey.com>
278
279 * python/py-symbol.c (gdbpy_lookup_symbol): Use gdbpy_ref.
280
53a0cca3
TT
2812017-01-10 Tom Tromey <tom@tromey.com>
282
283 * python/py-value.c (value_has_field, get_field_flag)
284 (get_field_type, valpy_getitem, convert_value_from_python): Use
285 gdbpy_ref.
286
ff3724f5
TT
2872017-01-10 Tom Tromey <tom@tromey.com>
288
289 * python/python.c (gdbpy_progspaces, gdbpy_objfiles): Use
290 gdbpy_ref.
291
0700aea5
TT
2922017-01-10 Tom Tromey <tom@tromey.com>
293
294 * python/py-prettyprint.c (search_pp_list)
295 (find_pretty_printer_from_objfiles)
296 (find_pretty_printer_from_progspace)
297 (find_pretty_printer_from_gdb, find_pretty_printer)
298 (gdbpy_get_display_hint, gdbpy_get_varobj_pretty_printer): Use
299 gdbpy_ref.
300
1bb44c9f
TT
3012017-01-10 Tom Tromey <tom@tromey.com>
302
303 * python/py-param.c (call_doc_function): Use gdbpy_ref.
304
87ce03fd
TT
3052017-01-10 Tom Tromey <tom@tromey.com>
306
307 * python/py-linetable.c (build_line_table_tuple_from_pcs)
308 (ltpy_get_all_source_lines): Use gdbpy_ref.
309
ee0a3fb8
TT
3102017-01-10 Tom Tromey <tom@tromey.com>
311
312 * python/py-framefilter.c (extract_sym, extract_value)
313 (get_py_iter_from_func, bootstrap_python_frame_filters): Use
314 gdbpy_ref.
315
bf2a52fa
TT
3162017-01-10 Tom Tromey <tom@tromey.com>
317
318 * python/py-breakpoint.c (gdbpy_breakpoints): Use gdbpy_ref.
319
f59fe7f8
TT
3202017-01-10 Tom Tromey <tom@tromey.com>
321
322 * python/py-inferior.c (gdbpy_inferiors): Use gdbpy_ref.
323
80bd970a
TT
3242017-01-10 Tom Tromey <tom@tromey.com>
325
326 * python/py-function.c (convert_values_to_python, fnpy_init): Use
327 gdbpy_ref.
328
d1b3de2e
TT
3292017-01-10 Tom Tromey <tom@tromey.com>
330
331 * python/py-cmd.c (gdbpy_string_to_argv): Use gdbpy_ref.
332
3bb43384
TT
3332017-01-10 Tom Tromey <tom@tromey.com>
334
335 * python/py-type.c (convert_field, make_fielditem, typy_fields)
336 (typy_range): Use gdbpy_ref.
337
abf5651e
TT
3382017-01-10 Tom Tromey <tom@tromey.com>
339
340 * python/py-threadevent.c (create_thread_event_object): Use
341 gdbpy_ref.
342 * python/py-stopevent.c (create_stop_event_object): Simplify.
343 (emit_stop_event): Use gdbpy_ref.
344 * python/py-signalevent.c (create_signal_event_object): Use
345 gdbpy_ref.
346 * python/py-newobjfileevent.c (create_new_objfile_event_object)
347 (emit_new_objfile_event, create_clear_objfiles_event_object)
348 (emit_clear_objfiles_event): Use gdbpy_ref.
349 * python/py-infevents.c (create_inferior_call_event_object)
350 (create_register_changed_event_object)
351 (create_memory_changed_event_object, emit_inferior_call_event)
352 (emit_memory_changed_event, emit_register_changed_event): Use
353 gdbpy_ref.
354 * python/py-exitedevent.c (create_exited_event_object)
355 (emit_exited_event): Use gdbpy_ref.
356 * python/py-event.h (evpy_emit_event): Remove
357 CPYCHECKER_STEALS_REFERENCE_TO_ARG annotation.
358 * python/py-event.c (evpy_emit_event): Use gdbpy_ref.
359 * python/py-continueevent.c (emit_continue_event): Use
360 gdbpy_ref.
361 * python/py-breakpoint.c (gdbpy_breakpoint_created)
362 (gdbpy_breakpoint_deleted, gdbpy_breakpoint_modified): Use
363 gdbpy_ref.
364 * python/py-bpevent.c (create_breakpoint_event_object): Use
365 gdbpy_ref.
366
a68ff33e
TT
3672017-01-10 Tom Tromey <tom@tromey.com>
368
369 * python/py-ref.h: New file.
370
7becfd03
SM
3712017-01-10 Simon Marchi <simon.marchi@ericsson.com>
372
373 * cli-out.c (cli_ui_out::do_redirect): Change return type to
374 void.
375 * cli-out.h (cli_ui_out::do_redirect): Likewise.
376 * mi/mi-out.c (mi_ui_out::do_redirect): Likewise.
377 * mi/mi-out.h (mi_ui_out::do_redirect): Likewise.
378 * ui-out.c (ui_out::redirect): Likewise.
379 * ui-out.h (ui_out::redirect, ui_out::do_redirect): Likewise.
380 * cli/cli-logging.c (set_logging_redirect): Update call site of
381 ui_out::redirect.
382 (handle_redirections): Likewise.
383 * scm-ports.c (ioscm_with_output_to_port_worker): Likewise.
384 * top.c (execute_command_to_string): Likewise.
385 * utils.c (do_ui_out_redirect_pop): Likewise.
386
df294654
SM
3872017-01-10 Simon Marchi <simon.marchi@ericsson.com>
388
389 * stack.c (_initialize_stack): Update "frame" command help message.
390
f5e6296e
IB
3912017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
392
393 * d-exp.y (CastExpression): Emit UNOP_CAST_TYPE.
394
0e2d6fa6
YQ
3952017-01-06 Yao Qi <yao.qi@linaro.org>
396
397 * x86-linux-nat.h: Include gdb_proc_service.h.
398
44d6d3f9
YQ
3992017-01-06 Yao Qi <yao.qi@linaro.org>
400
401 * ser-base.h: Include serial.h.
402
656731fe
YQ
4032017-01-06 Yao Qi <yao.qi@linaro.org>
404
405 * ppc-linux-tdep.h: Include ppc-tdep.h.
406
1ca8f924
YQ
4072017-01-06 Yao Qi <yao.qi@linaro.org>
408
409 * nat/amd64-linux-siginfo.h: Include signal.h.
410
bc3008c4
YQ
4112017-01-06 Yao Qi <yao.qi@linaro.org>
412
413 * nat/aarch64-linux-hw-point.h: Include break-common.h.
414
66c80d03
YQ
4152017-01-06 Yao Qi <yao.qi@linaro.org>
416
417 * mi/mi-parse.h: Include mi-cmds.h.
418
051d2dda
YQ
4192017-01-06 Yao Qi <yao.qi@linaro.org>
420
421 * inf-loop.c: Don't include "target.h".
422 * inf-loop.h: Include it here.
423
8018d34f
YQ
4242017-01-06 Yao Qi <yao.qi@linaro.org>
425
426 * dfp.h: Include "dboulest.h" and "expression.h".
427
c0b8369c
YQ
4282017-01-06 Yao Qi <yao.qi@linaro.org>
429
430 * ax-gdb.h: Include "ax.h".
431
ad5cba2a
YQ
4322017-01-06 Yao Qi <yao.qi@linaro.org>
433
434 * Makefile.in (HFILES_NO_SRCDIR): Replace gdb_ptrace.h
435 with nat/gdb_ptrace.h.
436
1c33cd7f
YQ
4372017-01-05 Yao Qi <yao.qi@linaro.org>
438
439 * mips-fbsd-tdep.c (mips_fbsd_sigframe_init): Move && to
440 new line.
441 (mips64_fbsd_sigframe_init): Likewise.
442
c988ac1d
JB
4432017-01-04 John Baldwin <jhb@FreeBSD.org>
444
445 * mips-fbsd-tdep.c (_initialize_mips_fbsd_tdep): Use
446 GDB_OSABI_FREEBSD instead of GDB_OSABI_FREEBSD_ELF.
447
b268007c
JB
4482017-01-04 John Baldwin <jhb@FreeBSD.org>
449
450 * Makefile.in (ALLDEPFILES): Add mips-fbsd-nat.c.
451 * NEWS: Mention new FreeBSD/mips native configuration.
452 * config/mips/fbsd.mh: New file.
453 * configure.host: Add mips*-*-freebsd*.
454 * mips-fbsd-nat.c: New file.
455
387360da
JB
4562017-01-04 John Baldwin <jhb@FreeBSD.org>
457
458 * Makefile.in (ALL_TARGET_OBS): Add mips-fbsd-tdep.o.
459 (ALLDEPFILES): Add mips-fbsd-tdep.c.
460 * NEWS: Mention new FreeBSD/mips target.
461 * configure.tgt: Add mips*-*-freebsd*.
462 * mips-fbsd-tdep.c: New file.
463 * mips-fbsd-tdep.h: New file.
464
2aaaf250
YQ
4652017-01-04 Yao Qi <yao.qi@linaro.org>
466
467 * dwarf2loc.c (write_pieced_value): Don't use VALUE_FRAME_ID (to),
468 use c->frame_id when the piece location is DWARF_VALUE_REGISTER.
469
61baf725
JB
4702017-01-01 Joel Brobecker <brobecker@adacore.com>
471
472 Update copyright year range in all GDB files.
473
c113e7ff 4742017-01-01 Joel Brobecker <brobecker@adacore.com>
ce0db137 475
c113e7ff 476 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2016.
ce0db137 477
c113e7ff 478For older changes see ChangeLog-2016.
c906108c
SS
479\f
480Local Variables:
481mode: change-log
482left-margin: 8
483fill-column: 74
484version-control: never
57da7796 485coding: utf-8
c906108c 486End:
This page took 2.196509 seconds and 4 git commands to generate.