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