Use gdbpy_ref in bpfinishpy_out_of_scope
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
16361ffb
TT
12017-01-10 Tom Tromey <tom@tromey.com>
2
3 * python/py-finishbreakpoint.c (bpfinishpy_out_of_scope): Use
4 gdbpy_ref.
5
905f2cca
TT
62017-01-10 Tom Tromey <tom@tromey.com>
7
8 * python/py-cmd.c (cmdpy_completer_helper): Use gdbpy_ref. Remove
9 extra incref.
10 (cmdpy_completer_handle_brkchars, cmdpy_completer, cmdpy_init):
11 Use gdbpy_ref.
12
64081434
TT
132017-01-10 Tom Tromey <tom@tromey.com>
14
15 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Use
16 gdbpy_ref.
17
59e9e831
TT
182017-01-10 Tom Tromey <tom@tromey.com>
19
20 * python/py-arch.c (archpy_disassemble): Use gdbpy_ref. Don't
21 decref results of PyArg_ParseTupleAndKeywords.
22
9de10f6d
TT
232017-01-10 Tom Tromey <tom@tromey.com>
24
25 * python/python.c (python_run_simple_file): Use
26 unique_xmalloc_ptr, gdbpy_ref.
27
2bd5759d
TT
282017-01-10 Tom Tromey <tom@tromey.com>
29
30 * python/py-prettyprint.c (print_stack_unless_memory_error)
31 (print_string_repr, print_children): Use gdbpy_ref.
32 (dummy_python_frame): New class.
33 (dummy_python_frame::dummy_python_frame): Rename from
34 push_dummy_python_frame.
35 (py_restore_tstate): Remove.
36
3b4e0e01
TT
372017-01-10 Tom Tromey <tom@tromey.com>
38
39 * python/py-framefilter.c (py_print_frame): Use gdbpy_ref.
40
17a22718
TT
412017-01-10 Tom Tromey <tom@tromey.com>
42
43 * python/python.c (ensure_python_env, restore_python_env):
44 Remove.
45 * python/python-internal.h (ensure_python_env): Don't declare.
46 * varobj.h (varobj_ensure_python_env): Don't declare.
47 * varobj.c (varobj_ensure_python_env): Remove.
48
68cdc557
TT
492017-01-10 Tom Tromey <tom@tromey.com>
50
51 * varobj.c (varobj_value_get_print_value): Use
52 gdbpy_enter_varobj.
53
1eba6383
TT
542017-01-10 Tom Tromey <tom@tromey.com>
55
56 * python/py-prettyprint.c (print_string_repr, print_children):
57 Update.
58 * python/py-lazy-string.c (gdbpy_extract_lazy_string): Change type
59 of "encoding".
60 * varobj.c (varobj_value_get_print_value): Update.
61 * python/python-internal.h (gdbpy_extract_lazy_string): Update.
62
bde7b3e3
TT
632017-01-10 Tom Tromey <tom@tromey.com>
64
65 * varobj.c (varobj_get_display_hint)
66 (dynamic_varobj_has_child_method, install_new_value_visualizer)
67 (varobj_set_visualizer, free_variable): Use
68 gdbpy_enter_varobj.
69
a7785f8c
TT
702017-01-10 Tom Tromey <tom@tromey.com>
71
72 * python/python.c (python_command): Use gdbpy_enter, gdbpy_ref.
73 (do_finish_initialization): New function. Use gdbpy_ref.
74 (gdbpy_finish_initialization): Use gdbpy_enter. Call
75 do_finish_initialization.
76
2865bfce
TT
772017-01-10 Tom Tromey <tom@tromey.com>
78
79 * python/py-param.c (get_set_value, get_show_value): Use
80 gdbpy_enter, gdbpy_ref.
81
0e9dcc75
TT
822017-01-10 Tom Tromey <tom@tromey.com>
83
84 * python/py-function.c (fnpy_call): Use gdbpy_enter, gdbpy_ref.
85
12a5cedd
TT
862017-01-10 Tom Tromey <tom@tromey.com>
87
88 * python/py-cmd.c (cmdpy_function): Use gdbpy_enter, gdbpy_ref.
89
788f2586
TT
902017-01-10 Tom Tromey <tom@tromey.com>
91
92 * python/py-varobj.c (py_varobj_iter_dtor, py_varobj_iter_next):
93 Use gdbpy_enter_varobj.
94
6cd67bea
TT
952017-01-10 Tom Tromey <tom@tromey.com>
96
97 * varobj.c (gdbpy_enter_varobj): New constructor.
98 * python/python-internal.h (gdbpy_enter_varobj): New class.
99 * python/py-varobj.c (py_varobj_get_iterator): Use
100 gdbpy_enter_varobj.
101
14b122bf
TT
1022017-01-10 Tom Tromey <tom@tromey.com>
103
104 * python/py-xmethods.c (gdbpy_get_xmethod_result_type): Use
105 gdbpy_enter, gdbpy_ref, unique_xmalloc_ptr.
106 (gdbpy_invoke_xmethod): Use gdbpy_ref, gdbpy_enter.
107 (gdbpy_get_xmethod_arg_types): Use gdbpy_ref,
108 unique_xmalloc_ptr.
109 (gdbpy_get_xmethod_arg_types): Use gdbpy_ref, gdbpy_enter.
110
bf1ca3b9
TT
1112017-01-10 Tom Tromey <tom@tromey.com>
112
113 * python/py-xmethods.c (invoke_match_method): Use
114 gdbpy_ref.
115
572a5524
TT
1162017-01-10 Tom Tromey <tom@tromey.com>
117
118 * python/py-xmethods.c (gdbpy_get_matching_xmethod_workers): use
119 gdbpy_enter, gdbpy_ref.
120
396a78b6
TT
1212017-01-10 Tom Tromey <tom@tromey.com>
122
123 * python/python.c (python_interactive_command): Use gdbpy_enter.
124
a88b13c7
TT
1252017-01-10 Tom Tromey <tom@tromey.com>
126
127 * python/python.c (gdbpy_before_prompt_hook): Use gdbpy_enter,
128 gdbpy_ref.
129
e9f0c363
TT
1302017-01-10 Tom Tromey <tom@tromey.com>
131
132 * python/py-prettyprint.c (gdbpy_apply_val_pretty_printer): Use
133 gdbpy_enter, gdbpy_ref, unique_xmalloc_ptr.
134
6349f452
TT
1352017-01-10 Tom Tromey <tom@tromey.com>
136
137 * utils.h (htab_deleter): New struct.
138 (htab_up): New typedef.
139 * python/py-framefilter.c (gdbpy_apply_frame_filter): Use
140 gdbpy_enter, gdbpy_ref, htab_up.
141
c0171de6
TT
1422017-01-10 Tom Tromey <tom@tromey.com>
143
144 * python/py-unwind.c (pending_frame_invalidate): Remove.
145 (pyuw_sniffer): Use gdbpy_enter and gdbpy_ref.
146
f18e226f
TT
1472017-01-10 Tom Tromey <tom@tromey.com>
148
149 * python/py-xmethods.c (gdbpy_free_xmethod_worker_data)
150 (gdbpy_clone_xmethod_worker_data): Use gdbpy_enter.
151
c57af3f1
TT
1522017-01-10 Tom Tromey <tom@tromey.com>
153
154 * python/py-type.c (save_objfile_types): Use gdbpy_enter.
155
60e600ec
TT
1562017-01-10 Tom Tromey <tom@tromey.com>
157
158 * python/python.c (gdbpy_eval_from_control_command)
159 (gdbpy_source_script, gdbpy_run_events)
160 (gdbpy_source_objfile_script, gdbpy_execute_objfile_script)
161 (gdbpy_free_type_printers, gdbpy_finish_initialization): Use
162 gdbpy_enter.
163
bf7da5b0
TT
1642017-01-10 Tom Tromey <tom@tromey.com>
165
166 * python/py-progspace.c (py_free_pspace): Use gdbpy_enter.
167
2d38bced
TT
1682017-01-10 Tom Tromey <tom@tromey.com>
169
170 * python/py-objfile.c (py_free_objfile): Use gdbpy_enter.
171
07bc7329
TT
1722017-01-10 Tom Tromey <tom@tromey.com>
173
174 * python/py-inferior.c (python_on_normal_stop, python_on_resume)
175 (python_on_inferior_call_pre, python_on_inferior_call_post)
176 (python_on_memory_change, python_on_register_change)
177 (python_inferior_exit, python_new_objfile, add_thread_object)
178 (delete_thread_object, py_free_inferior): Use gdbpy_enter.
179
6e7c365e
TT
1802017-01-10 Tom Tromey <tom@tromey.com>
181
182 * python/py-finishbreakpoint.c (bpfinishpy_handle_stop)
183 (bpfinishpy_handle_exit): Use gdbpy_enter.
184
6ba0cd40
TT
1852017-01-10 Tom Tromey <tom@tromey.com>
186
187 * python/py-cmd.c (cmdpy_destroyer)
188 (cmdpy_completer_handle_brkchars, cmdpy_completer): Use
189 gdbpy_enter.
190
de2dc875
TT
1912017-01-10 Tom Tromey <tom@tromey.com>
192
193 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Use
194 gdbpy_enter.
195 (gdbpy_breakpoint_has_cond): Likewise.
196
4ecee2c4
TT
1972017-01-10 Tom Tromey <tom@tromey.com>
198
199 * python/python.c (gdbpy_enter): New constructor.
200 (~gdbpy_enter): New destructor.
201 (restore_python_env, ensure_python_env): Rewrite.
202 * python/python-internal.h (gdbpy_enter): New class.
203
37fce74f
TT
2042017-01-10 Tom Tromey <tom@tromey.com>
205
206 * python/py-symbol.c (gdbpy_lookup_symbol): Use gdbpy_ref.
207
53a0cca3
TT
2082017-01-10 Tom Tromey <tom@tromey.com>
209
210 * python/py-value.c (value_has_field, get_field_flag)
211 (get_field_type, valpy_getitem, convert_value_from_python): Use
212 gdbpy_ref.
213
ff3724f5
TT
2142017-01-10 Tom Tromey <tom@tromey.com>
215
216 * python/python.c (gdbpy_progspaces, gdbpy_objfiles): Use
217 gdbpy_ref.
218
0700aea5
TT
2192017-01-10 Tom Tromey <tom@tromey.com>
220
221 * python/py-prettyprint.c (search_pp_list)
222 (find_pretty_printer_from_objfiles)
223 (find_pretty_printer_from_progspace)
224 (find_pretty_printer_from_gdb, find_pretty_printer)
225 (gdbpy_get_display_hint, gdbpy_get_varobj_pretty_printer): Use
226 gdbpy_ref.
227
1bb44c9f
TT
2282017-01-10 Tom Tromey <tom@tromey.com>
229
230 * python/py-param.c (call_doc_function): Use gdbpy_ref.
231
87ce03fd
TT
2322017-01-10 Tom Tromey <tom@tromey.com>
233
234 * python/py-linetable.c (build_line_table_tuple_from_pcs)
235 (ltpy_get_all_source_lines): Use gdbpy_ref.
236
ee0a3fb8
TT
2372017-01-10 Tom Tromey <tom@tromey.com>
238
239 * python/py-framefilter.c (extract_sym, extract_value)
240 (get_py_iter_from_func, bootstrap_python_frame_filters): Use
241 gdbpy_ref.
242
bf2a52fa
TT
2432017-01-10 Tom Tromey <tom@tromey.com>
244
245 * python/py-breakpoint.c (gdbpy_breakpoints): Use gdbpy_ref.
246
f59fe7f8
TT
2472017-01-10 Tom Tromey <tom@tromey.com>
248
249 * python/py-inferior.c (gdbpy_inferiors): Use gdbpy_ref.
250
80bd970a
TT
2512017-01-10 Tom Tromey <tom@tromey.com>
252
253 * python/py-function.c (convert_values_to_python, fnpy_init): Use
254 gdbpy_ref.
255
d1b3de2e
TT
2562017-01-10 Tom Tromey <tom@tromey.com>
257
258 * python/py-cmd.c (gdbpy_string_to_argv): Use gdbpy_ref.
259
3bb43384
TT
2602017-01-10 Tom Tromey <tom@tromey.com>
261
262 * python/py-type.c (convert_field, make_fielditem, typy_fields)
263 (typy_range): Use gdbpy_ref.
264
abf5651e
TT
2652017-01-10 Tom Tromey <tom@tromey.com>
266
267 * python/py-threadevent.c (create_thread_event_object): Use
268 gdbpy_ref.
269 * python/py-stopevent.c (create_stop_event_object): Simplify.
270 (emit_stop_event): Use gdbpy_ref.
271 * python/py-signalevent.c (create_signal_event_object): Use
272 gdbpy_ref.
273 * python/py-newobjfileevent.c (create_new_objfile_event_object)
274 (emit_new_objfile_event, create_clear_objfiles_event_object)
275 (emit_clear_objfiles_event): Use gdbpy_ref.
276 * python/py-infevents.c (create_inferior_call_event_object)
277 (create_register_changed_event_object)
278 (create_memory_changed_event_object, emit_inferior_call_event)
279 (emit_memory_changed_event, emit_register_changed_event): Use
280 gdbpy_ref.
281 * python/py-exitedevent.c (create_exited_event_object)
282 (emit_exited_event): Use gdbpy_ref.
283 * python/py-event.h (evpy_emit_event): Remove
284 CPYCHECKER_STEALS_REFERENCE_TO_ARG annotation.
285 * python/py-event.c (evpy_emit_event): Use gdbpy_ref.
286 * python/py-continueevent.c (emit_continue_event): Use
287 gdbpy_ref.
288 * python/py-breakpoint.c (gdbpy_breakpoint_created)
289 (gdbpy_breakpoint_deleted, gdbpy_breakpoint_modified): Use
290 gdbpy_ref.
291 * python/py-bpevent.c (create_breakpoint_event_object): Use
292 gdbpy_ref.
293
a68ff33e
TT
2942017-01-10 Tom Tromey <tom@tromey.com>
295
296 * python/py-ref.h: New file.
297
7becfd03
SM
2982017-01-10 Simon Marchi <simon.marchi@ericsson.com>
299
300 * cli-out.c (cli_ui_out::do_redirect): Change return type to
301 void.
302 * cli-out.h (cli_ui_out::do_redirect): Likewise.
303 * mi/mi-out.c (mi_ui_out::do_redirect): Likewise.
304 * mi/mi-out.h (mi_ui_out::do_redirect): Likewise.
305 * ui-out.c (ui_out::redirect): Likewise.
306 * ui-out.h (ui_out::redirect, ui_out::do_redirect): Likewise.
307 * cli/cli-logging.c (set_logging_redirect): Update call site of
308 ui_out::redirect.
309 (handle_redirections): Likewise.
310 * scm-ports.c (ioscm_with_output_to_port_worker): Likewise.
311 * top.c (execute_command_to_string): Likewise.
312 * utils.c (do_ui_out_redirect_pop): Likewise.
313
df294654
SM
3142017-01-10 Simon Marchi <simon.marchi@ericsson.com>
315
316 * stack.c (_initialize_stack): Update "frame" command help message.
317
f5e6296e
IB
3182017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
319
320 * d-exp.y (CastExpression): Emit UNOP_CAST_TYPE.
321
0e2d6fa6
YQ
3222017-01-06 Yao Qi <yao.qi@linaro.org>
323
324 * x86-linux-nat.h: Include gdb_proc_service.h.
325
44d6d3f9
YQ
3262017-01-06 Yao Qi <yao.qi@linaro.org>
327
328 * ser-base.h: Include serial.h.
329
656731fe
YQ
3302017-01-06 Yao Qi <yao.qi@linaro.org>
331
332 * ppc-linux-tdep.h: Include ppc-tdep.h.
333
1ca8f924
YQ
3342017-01-06 Yao Qi <yao.qi@linaro.org>
335
336 * nat/amd64-linux-siginfo.h: Include signal.h.
337
bc3008c4
YQ
3382017-01-06 Yao Qi <yao.qi@linaro.org>
339
340 * nat/aarch64-linux-hw-point.h: Include break-common.h.
341
66c80d03
YQ
3422017-01-06 Yao Qi <yao.qi@linaro.org>
343
344 * mi/mi-parse.h: Include mi-cmds.h.
345
051d2dda
YQ
3462017-01-06 Yao Qi <yao.qi@linaro.org>
347
348 * inf-loop.c: Don't include "target.h".
349 * inf-loop.h: Include it here.
350
8018d34f
YQ
3512017-01-06 Yao Qi <yao.qi@linaro.org>
352
353 * dfp.h: Include "dboulest.h" and "expression.h".
354
c0b8369c
YQ
3552017-01-06 Yao Qi <yao.qi@linaro.org>
356
357 * ax-gdb.h: Include "ax.h".
358
ad5cba2a
YQ
3592017-01-06 Yao Qi <yao.qi@linaro.org>
360
361 * Makefile.in (HFILES_NO_SRCDIR): Replace gdb_ptrace.h
362 with nat/gdb_ptrace.h.
363
1c33cd7f
YQ
3642017-01-05 Yao Qi <yao.qi@linaro.org>
365
366 * mips-fbsd-tdep.c (mips_fbsd_sigframe_init): Move && to
367 new line.
368 (mips64_fbsd_sigframe_init): Likewise.
369
c988ac1d
JB
3702017-01-04 John Baldwin <jhb@FreeBSD.org>
371
372 * mips-fbsd-tdep.c (_initialize_mips_fbsd_tdep): Use
373 GDB_OSABI_FREEBSD instead of GDB_OSABI_FREEBSD_ELF.
374
b268007c
JB
3752017-01-04 John Baldwin <jhb@FreeBSD.org>
376
377 * Makefile.in (ALLDEPFILES): Add mips-fbsd-nat.c.
378 * NEWS: Mention new FreeBSD/mips native configuration.
379 * config/mips/fbsd.mh: New file.
380 * configure.host: Add mips*-*-freebsd*.
381 * mips-fbsd-nat.c: New file.
382
387360da
JB
3832017-01-04 John Baldwin <jhb@FreeBSD.org>
384
385 * Makefile.in (ALL_TARGET_OBS): Add mips-fbsd-tdep.o.
386 (ALLDEPFILES): Add mips-fbsd-tdep.c.
387 * NEWS: Mention new FreeBSD/mips target.
388 * configure.tgt: Add mips*-*-freebsd*.
389 * mips-fbsd-tdep.c: New file.
390 * mips-fbsd-tdep.h: New file.
391
2aaaf250
YQ
3922017-01-04 Yao Qi <yao.qi@linaro.org>
393
394 * dwarf2loc.c (write_pieced_value): Don't use VALUE_FRAME_ID (to),
395 use c->frame_id when the piece location is DWARF_VALUE_REGISTER.
396
61baf725
JB
3972017-01-01 Joel Brobecker <brobecker@adacore.com>
398
399 Update copyright year range in all GDB files.
400
c113e7ff 4012017-01-01 Joel Brobecker <brobecker@adacore.com>
ce0db137 402
c113e7ff 403 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2016.
ce0db137 404
c113e7ff 405For older changes see ChangeLog-2016.
c906108c
SS
406\f
407Local Variables:
408mode: change-log
409left-margin: 8
410fill-column: 74
411version-control: never
57da7796 412coding: utf-8
c906108c 413End:
This page took 2.278821 seconds and 4 git commands to generate.