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