c16604514dbe76b34932a1805ee67346e6129180
[binutils-gdb.git] / gdb / ChangeLog
1 2017-01-10 Tom Tromey <tom@tromey.com>
2
3 * python/py-framefilter.c (enumerate_args): Use gdbpy_ref.
4
5 2017-01-10 Tom Tromey <tom@tromey.com>
6
7 * python/py-utils.c (unicode_to_encoded_string)
8 (python_string_to_target_string)
9 (python_string_to_target_python_string)
10 (python_string_to_host_string, gdbpy_obj_to_string)
11 (get_addr_from_python): Use gdbpy_ref.
12
13 2017-01-10 Tom Tromey <tom@tromey.com>
14
15 * python/py-unwind.c (pyuw_object_attribute_to_pointer): Use
16 gdbpy_ref.
17
18 2017-01-10 Tom Tromey <tom@tromey.com>
19
20 * python/python.c (eval_python_command, gdbpy_decode_line)
21 (gdbpy_run_events, gdbpy_start_type_printers)
22 (gdbpy_apply_type_printers): Use gdbpy_ref.
23
24 2017-01-10 Tom Tromey <tom@tromey.com>
25
26 * python/py-param.c (get_doc_string, compute_enum_values): Use
27 gdbpy_ref.
28
29 2017-01-10 Tom Tromey <tom@tromey.com>
30
31 * python/py-inferior.c (find_thread_object, build_inferior_list):
32 Use gdbpy_ref.
33
34 2017-01-10 Tom Tromey <tom@tromey.com>
35
36 * python/py-framefilter.c (py_print_frame): Use gdbpy_ref.
37
38 2017-01-10 Tom Tromey <tom@tromey.com>
39
40 * python/py-finishbreakpoint.c (bpfinishpy_out_of_scope): Use
41 gdbpy_ref.
42
43 2017-01-10 Tom Tromey <tom@tromey.com>
44
45 * python/py-cmd.c (cmdpy_completer_helper): Use gdbpy_ref. Remove
46 extra incref.
47 (cmdpy_completer_handle_brkchars, cmdpy_completer, cmdpy_init):
48 Use gdbpy_ref.
49
50 2017-01-10 Tom Tromey <tom@tromey.com>
51
52 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Use
53 gdbpy_ref.
54
55 2017-01-10 Tom Tromey <tom@tromey.com>
56
57 * python/py-arch.c (archpy_disassemble): Use gdbpy_ref. Don't
58 decref results of PyArg_ParseTupleAndKeywords.
59
60 2017-01-10 Tom Tromey <tom@tromey.com>
61
62 * python/python.c (python_run_simple_file): Use
63 unique_xmalloc_ptr, gdbpy_ref.
64
65 2017-01-10 Tom Tromey <tom@tromey.com>
66
67 * python/py-prettyprint.c (print_stack_unless_memory_error)
68 (print_string_repr, print_children): Use gdbpy_ref.
69 (dummy_python_frame): New class.
70 (dummy_python_frame::dummy_python_frame): Rename from
71 push_dummy_python_frame.
72 (py_restore_tstate): Remove.
73
74 2017-01-10 Tom Tromey <tom@tromey.com>
75
76 * python/py-framefilter.c (py_print_frame): Use gdbpy_ref.
77
78 2017-01-10 Tom Tromey <tom@tromey.com>
79
80 * python/python.c (ensure_python_env, restore_python_env):
81 Remove.
82 * python/python-internal.h (ensure_python_env): Don't declare.
83 * varobj.h (varobj_ensure_python_env): Don't declare.
84 * varobj.c (varobj_ensure_python_env): Remove.
85
86 2017-01-10 Tom Tromey <tom@tromey.com>
87
88 * varobj.c (varobj_value_get_print_value): Use
89 gdbpy_enter_varobj.
90
91 2017-01-10 Tom Tromey <tom@tromey.com>
92
93 * python/py-prettyprint.c (print_string_repr, print_children):
94 Update.
95 * python/py-lazy-string.c (gdbpy_extract_lazy_string): Change type
96 of "encoding".
97 * varobj.c (varobj_value_get_print_value): Update.
98 * python/python-internal.h (gdbpy_extract_lazy_string): Update.
99
100 2017-01-10 Tom Tromey <tom@tromey.com>
101
102 * varobj.c (varobj_get_display_hint)
103 (dynamic_varobj_has_child_method, install_new_value_visualizer)
104 (varobj_set_visualizer, free_variable): Use
105 gdbpy_enter_varobj.
106
107 2017-01-10 Tom Tromey <tom@tromey.com>
108
109 * python/python.c (python_command): Use gdbpy_enter, gdbpy_ref.
110 (do_finish_initialization): New function. Use gdbpy_ref.
111 (gdbpy_finish_initialization): Use gdbpy_enter. Call
112 do_finish_initialization.
113
114 2017-01-10 Tom Tromey <tom@tromey.com>
115
116 * python/py-param.c (get_set_value, get_show_value): Use
117 gdbpy_enter, gdbpy_ref.
118
119 2017-01-10 Tom Tromey <tom@tromey.com>
120
121 * python/py-function.c (fnpy_call): Use gdbpy_enter, gdbpy_ref.
122
123 2017-01-10 Tom Tromey <tom@tromey.com>
124
125 * python/py-cmd.c (cmdpy_function): Use gdbpy_enter, gdbpy_ref.
126
127 2017-01-10 Tom Tromey <tom@tromey.com>
128
129 * python/py-varobj.c (py_varobj_iter_dtor, py_varobj_iter_next):
130 Use gdbpy_enter_varobj.
131
132 2017-01-10 Tom Tromey <tom@tromey.com>
133
134 * varobj.c (gdbpy_enter_varobj): New constructor.
135 * python/python-internal.h (gdbpy_enter_varobj): New class.
136 * python/py-varobj.c (py_varobj_get_iterator): Use
137 gdbpy_enter_varobj.
138
139 2017-01-10 Tom Tromey <tom@tromey.com>
140
141 * python/py-xmethods.c (gdbpy_get_xmethod_result_type): Use
142 gdbpy_enter, gdbpy_ref, unique_xmalloc_ptr.
143 (gdbpy_invoke_xmethod): Use gdbpy_ref, gdbpy_enter.
144 (gdbpy_get_xmethod_arg_types): Use gdbpy_ref,
145 unique_xmalloc_ptr.
146 (gdbpy_get_xmethod_arg_types): Use gdbpy_ref, gdbpy_enter.
147
148 2017-01-10 Tom Tromey <tom@tromey.com>
149
150 * python/py-xmethods.c (invoke_match_method): Use
151 gdbpy_ref.
152
153 2017-01-10 Tom Tromey <tom@tromey.com>
154
155 * python/py-xmethods.c (gdbpy_get_matching_xmethod_workers): use
156 gdbpy_enter, gdbpy_ref.
157
158 2017-01-10 Tom Tromey <tom@tromey.com>
159
160 * python/python.c (python_interactive_command): Use gdbpy_enter.
161
162 2017-01-10 Tom Tromey <tom@tromey.com>
163
164 * python/python.c (gdbpy_before_prompt_hook): Use gdbpy_enter,
165 gdbpy_ref.
166
167 2017-01-10 Tom Tromey <tom@tromey.com>
168
169 * python/py-prettyprint.c (gdbpy_apply_val_pretty_printer): Use
170 gdbpy_enter, gdbpy_ref, unique_xmalloc_ptr.
171
172 2017-01-10 Tom Tromey <tom@tromey.com>
173
174 * utils.h (htab_deleter): New struct.
175 (htab_up): New typedef.
176 * python/py-framefilter.c (gdbpy_apply_frame_filter): Use
177 gdbpy_enter, gdbpy_ref, htab_up.
178
179 2017-01-10 Tom Tromey <tom@tromey.com>
180
181 * python/py-unwind.c (pending_frame_invalidate): Remove.
182 (pyuw_sniffer): Use gdbpy_enter and gdbpy_ref.
183
184 2017-01-10 Tom Tromey <tom@tromey.com>
185
186 * python/py-xmethods.c (gdbpy_free_xmethod_worker_data)
187 (gdbpy_clone_xmethod_worker_data): Use gdbpy_enter.
188
189 2017-01-10 Tom Tromey <tom@tromey.com>
190
191 * python/py-type.c (save_objfile_types): Use gdbpy_enter.
192
193 2017-01-10 Tom Tromey <tom@tromey.com>
194
195 * python/python.c (gdbpy_eval_from_control_command)
196 (gdbpy_source_script, gdbpy_run_events)
197 (gdbpy_source_objfile_script, gdbpy_execute_objfile_script)
198 (gdbpy_free_type_printers, gdbpy_finish_initialization): Use
199 gdbpy_enter.
200
201 2017-01-10 Tom Tromey <tom@tromey.com>
202
203 * python/py-progspace.c (py_free_pspace): Use gdbpy_enter.
204
205 2017-01-10 Tom Tromey <tom@tromey.com>
206
207 * python/py-objfile.c (py_free_objfile): Use gdbpy_enter.
208
209 2017-01-10 Tom Tromey <tom@tromey.com>
210
211 * python/py-inferior.c (python_on_normal_stop, python_on_resume)
212 (python_on_inferior_call_pre, python_on_inferior_call_post)
213 (python_on_memory_change, python_on_register_change)
214 (python_inferior_exit, python_new_objfile, add_thread_object)
215 (delete_thread_object, py_free_inferior): Use gdbpy_enter.
216
217 2017-01-10 Tom Tromey <tom@tromey.com>
218
219 * python/py-finishbreakpoint.c (bpfinishpy_handle_stop)
220 (bpfinishpy_handle_exit): Use gdbpy_enter.
221
222 2017-01-10 Tom Tromey <tom@tromey.com>
223
224 * python/py-cmd.c (cmdpy_destroyer)
225 (cmdpy_completer_handle_brkchars, cmdpy_completer): Use
226 gdbpy_enter.
227
228 2017-01-10 Tom Tromey <tom@tromey.com>
229
230 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Use
231 gdbpy_enter.
232 (gdbpy_breakpoint_has_cond): Likewise.
233
234 2017-01-10 Tom Tromey <tom@tromey.com>
235
236 * python/python.c (gdbpy_enter): New constructor.
237 (~gdbpy_enter): New destructor.
238 (restore_python_env, ensure_python_env): Rewrite.
239 * python/python-internal.h (gdbpy_enter): New class.
240
241 2017-01-10 Tom Tromey <tom@tromey.com>
242
243 * python/py-symbol.c (gdbpy_lookup_symbol): Use gdbpy_ref.
244
245 2017-01-10 Tom Tromey <tom@tromey.com>
246
247 * python/py-value.c (value_has_field, get_field_flag)
248 (get_field_type, valpy_getitem, convert_value_from_python): Use
249 gdbpy_ref.
250
251 2017-01-10 Tom Tromey <tom@tromey.com>
252
253 * python/python.c (gdbpy_progspaces, gdbpy_objfiles): Use
254 gdbpy_ref.
255
256 2017-01-10 Tom Tromey <tom@tromey.com>
257
258 * python/py-prettyprint.c (search_pp_list)
259 (find_pretty_printer_from_objfiles)
260 (find_pretty_printer_from_progspace)
261 (find_pretty_printer_from_gdb, find_pretty_printer)
262 (gdbpy_get_display_hint, gdbpy_get_varobj_pretty_printer): Use
263 gdbpy_ref.
264
265 2017-01-10 Tom Tromey <tom@tromey.com>
266
267 * python/py-param.c (call_doc_function): Use gdbpy_ref.
268
269 2017-01-10 Tom Tromey <tom@tromey.com>
270
271 * python/py-linetable.c (build_line_table_tuple_from_pcs)
272 (ltpy_get_all_source_lines): Use gdbpy_ref.
273
274 2017-01-10 Tom Tromey <tom@tromey.com>
275
276 * python/py-framefilter.c (extract_sym, extract_value)
277 (get_py_iter_from_func, bootstrap_python_frame_filters): Use
278 gdbpy_ref.
279
280 2017-01-10 Tom Tromey <tom@tromey.com>
281
282 * python/py-breakpoint.c (gdbpy_breakpoints): Use gdbpy_ref.
283
284 2017-01-10 Tom Tromey <tom@tromey.com>
285
286 * python/py-inferior.c (gdbpy_inferiors): Use gdbpy_ref.
287
288 2017-01-10 Tom Tromey <tom@tromey.com>
289
290 * python/py-function.c (convert_values_to_python, fnpy_init): Use
291 gdbpy_ref.
292
293 2017-01-10 Tom Tromey <tom@tromey.com>
294
295 * python/py-cmd.c (gdbpy_string_to_argv): Use gdbpy_ref.
296
297 2017-01-10 Tom Tromey <tom@tromey.com>
298
299 * python/py-type.c (convert_field, make_fielditem, typy_fields)
300 (typy_range): Use gdbpy_ref.
301
302 2017-01-10 Tom Tromey <tom@tromey.com>
303
304 * python/py-threadevent.c (create_thread_event_object): Use
305 gdbpy_ref.
306 * python/py-stopevent.c (create_stop_event_object): Simplify.
307 (emit_stop_event): Use gdbpy_ref.
308 * python/py-signalevent.c (create_signal_event_object): Use
309 gdbpy_ref.
310 * python/py-newobjfileevent.c (create_new_objfile_event_object)
311 (emit_new_objfile_event, create_clear_objfiles_event_object)
312 (emit_clear_objfiles_event): Use gdbpy_ref.
313 * python/py-infevents.c (create_inferior_call_event_object)
314 (create_register_changed_event_object)
315 (create_memory_changed_event_object, emit_inferior_call_event)
316 (emit_memory_changed_event, emit_register_changed_event): Use
317 gdbpy_ref.
318 * python/py-exitedevent.c (create_exited_event_object)
319 (emit_exited_event): Use gdbpy_ref.
320 * python/py-event.h (evpy_emit_event): Remove
321 CPYCHECKER_STEALS_REFERENCE_TO_ARG annotation.
322 * python/py-event.c (evpy_emit_event): Use gdbpy_ref.
323 * python/py-continueevent.c (emit_continue_event): Use
324 gdbpy_ref.
325 * python/py-breakpoint.c (gdbpy_breakpoint_created)
326 (gdbpy_breakpoint_deleted, gdbpy_breakpoint_modified): Use
327 gdbpy_ref.
328 * python/py-bpevent.c (create_breakpoint_event_object): Use
329 gdbpy_ref.
330
331 2017-01-10 Tom Tromey <tom@tromey.com>
332
333 * python/py-ref.h: New file.
334
335 2017-01-10 Simon Marchi <simon.marchi@ericsson.com>
336
337 * cli-out.c (cli_ui_out::do_redirect): Change return type to
338 void.
339 * cli-out.h (cli_ui_out::do_redirect): Likewise.
340 * mi/mi-out.c (mi_ui_out::do_redirect): Likewise.
341 * mi/mi-out.h (mi_ui_out::do_redirect): Likewise.
342 * ui-out.c (ui_out::redirect): Likewise.
343 * ui-out.h (ui_out::redirect, ui_out::do_redirect): Likewise.
344 * cli/cli-logging.c (set_logging_redirect): Update call site of
345 ui_out::redirect.
346 (handle_redirections): Likewise.
347 * scm-ports.c (ioscm_with_output_to_port_worker): Likewise.
348 * top.c (execute_command_to_string): Likewise.
349 * utils.c (do_ui_out_redirect_pop): Likewise.
350
351 2017-01-10 Simon Marchi <simon.marchi@ericsson.com>
352
353 * stack.c (_initialize_stack): Update "frame" command help message.
354
355 2017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
356
357 * d-exp.y (CastExpression): Emit UNOP_CAST_TYPE.
358
359 2017-01-06 Yao Qi <yao.qi@linaro.org>
360
361 * x86-linux-nat.h: Include gdb_proc_service.h.
362
363 2017-01-06 Yao Qi <yao.qi@linaro.org>
364
365 * ser-base.h: Include serial.h.
366
367 2017-01-06 Yao Qi <yao.qi@linaro.org>
368
369 * ppc-linux-tdep.h: Include ppc-tdep.h.
370
371 2017-01-06 Yao Qi <yao.qi@linaro.org>
372
373 * nat/amd64-linux-siginfo.h: Include signal.h.
374
375 2017-01-06 Yao Qi <yao.qi@linaro.org>
376
377 * nat/aarch64-linux-hw-point.h: Include break-common.h.
378
379 2017-01-06 Yao Qi <yao.qi@linaro.org>
380
381 * mi/mi-parse.h: Include mi-cmds.h.
382
383 2017-01-06 Yao Qi <yao.qi@linaro.org>
384
385 * inf-loop.c: Don't include "target.h".
386 * inf-loop.h: Include it here.
387
388 2017-01-06 Yao Qi <yao.qi@linaro.org>
389
390 * dfp.h: Include "dboulest.h" and "expression.h".
391
392 2017-01-06 Yao Qi <yao.qi@linaro.org>
393
394 * ax-gdb.h: Include "ax.h".
395
396 2017-01-06 Yao Qi <yao.qi@linaro.org>
397
398 * Makefile.in (HFILES_NO_SRCDIR): Replace gdb_ptrace.h
399 with nat/gdb_ptrace.h.
400
401 2017-01-05 Yao Qi <yao.qi@linaro.org>
402
403 * mips-fbsd-tdep.c (mips_fbsd_sigframe_init): Move && to
404 new line.
405 (mips64_fbsd_sigframe_init): Likewise.
406
407 2017-01-04 John Baldwin <jhb@FreeBSD.org>
408
409 * mips-fbsd-tdep.c (_initialize_mips_fbsd_tdep): Use
410 GDB_OSABI_FREEBSD instead of GDB_OSABI_FREEBSD_ELF.
411
412 2017-01-04 John Baldwin <jhb@FreeBSD.org>
413
414 * Makefile.in (ALLDEPFILES): Add mips-fbsd-nat.c.
415 * NEWS: Mention new FreeBSD/mips native configuration.
416 * config/mips/fbsd.mh: New file.
417 * configure.host: Add mips*-*-freebsd*.
418 * mips-fbsd-nat.c: New file.
419
420 2017-01-04 John Baldwin <jhb@FreeBSD.org>
421
422 * Makefile.in (ALL_TARGET_OBS): Add mips-fbsd-tdep.o.
423 (ALLDEPFILES): Add mips-fbsd-tdep.c.
424 * NEWS: Mention new FreeBSD/mips target.
425 * configure.tgt: Add mips*-*-freebsd*.
426 * mips-fbsd-tdep.c: New file.
427 * mips-fbsd-tdep.h: New file.
428
429 2017-01-04 Yao Qi <yao.qi@linaro.org>
430
431 * dwarf2loc.c (write_pieced_value): Don't use VALUE_FRAME_ID (to),
432 use c->frame_id when the piece location is DWARF_VALUE_REGISTER.
433
434 2017-01-01 Joel Brobecker <brobecker@adacore.com>
435
436 Update copyright year range in all GDB files.
437
438 2017-01-01 Joel Brobecker <brobecker@adacore.com>
439
440 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2016.
441
442 For older changes see ChangeLog-2016.
443 \f
444 Local Variables:
445 mode: change-log
446 left-margin: 8
447 fill-column: 74
448 version-control: never
449 coding: utf-8
450 End: