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