Change python_run_simple_file to use gdbpy_ref
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
9de10f6d
TT
12017-01-10 Tom Tromey <tom@tromey.com>
2
3 * python/python.c (python_run_simple_file): Use
4 unique_xmalloc_ptr, gdbpy_ref.
5
2bd5759d
TT
62017-01-10 Tom Tromey <tom@tromey.com>
7
8 * python/py-prettyprint.c (print_stack_unless_memory_error)
9 (print_string_repr, print_children): Use gdbpy_ref.
10 (dummy_python_frame): New class.
11 (dummy_python_frame::dummy_python_frame): Rename from
12 push_dummy_python_frame.
13 (py_restore_tstate): Remove.
14
3b4e0e01
TT
152017-01-10 Tom Tromey <tom@tromey.com>
16
17 * python/py-framefilter.c (py_print_frame): Use gdbpy_ref.
18
17a22718
TT
192017-01-10 Tom Tromey <tom@tromey.com>
20
21 * python/python.c (ensure_python_env, restore_python_env):
22 Remove.
23 * python/python-internal.h (ensure_python_env): Don't declare.
24 * varobj.h (varobj_ensure_python_env): Don't declare.
25 * varobj.c (varobj_ensure_python_env): Remove.
26
68cdc557
TT
272017-01-10 Tom Tromey <tom@tromey.com>
28
29 * varobj.c (varobj_value_get_print_value): Use
30 gdbpy_enter_varobj.
31
1eba6383
TT
322017-01-10 Tom Tromey <tom@tromey.com>
33
34 * python/py-prettyprint.c (print_string_repr, print_children):
35 Update.
36 * python/py-lazy-string.c (gdbpy_extract_lazy_string): Change type
37 of "encoding".
38 * varobj.c (varobj_value_get_print_value): Update.
39 * python/python-internal.h (gdbpy_extract_lazy_string): Update.
40
bde7b3e3
TT
412017-01-10 Tom Tromey <tom@tromey.com>
42
43 * varobj.c (varobj_get_display_hint)
44 (dynamic_varobj_has_child_method, install_new_value_visualizer)
45 (varobj_set_visualizer, free_variable): Use
46 gdbpy_enter_varobj.
47
a7785f8c
TT
482017-01-10 Tom Tromey <tom@tromey.com>
49
50 * python/python.c (python_command): Use gdbpy_enter, gdbpy_ref.
51 (do_finish_initialization): New function. Use gdbpy_ref.
52 (gdbpy_finish_initialization): Use gdbpy_enter. Call
53 do_finish_initialization.
54
2865bfce
TT
552017-01-10 Tom Tromey <tom@tromey.com>
56
57 * python/py-param.c (get_set_value, get_show_value): Use
58 gdbpy_enter, gdbpy_ref.
59
0e9dcc75
TT
602017-01-10 Tom Tromey <tom@tromey.com>
61
62 * python/py-function.c (fnpy_call): Use gdbpy_enter, gdbpy_ref.
63
12a5cedd
TT
642017-01-10 Tom Tromey <tom@tromey.com>
65
66 * python/py-cmd.c (cmdpy_function): Use gdbpy_enter, gdbpy_ref.
67
788f2586
TT
682017-01-10 Tom Tromey <tom@tromey.com>
69
70 * python/py-varobj.c (py_varobj_iter_dtor, py_varobj_iter_next):
71 Use gdbpy_enter_varobj.
72
6cd67bea
TT
732017-01-10 Tom Tromey <tom@tromey.com>
74
75 * varobj.c (gdbpy_enter_varobj): New constructor.
76 * python/python-internal.h (gdbpy_enter_varobj): New class.
77 * python/py-varobj.c (py_varobj_get_iterator): Use
78 gdbpy_enter_varobj.
79
14b122bf
TT
802017-01-10 Tom Tromey <tom@tromey.com>
81
82 * python/py-xmethods.c (gdbpy_get_xmethod_result_type): Use
83 gdbpy_enter, gdbpy_ref, unique_xmalloc_ptr.
84 (gdbpy_invoke_xmethod): Use gdbpy_ref, gdbpy_enter.
85 (gdbpy_get_xmethod_arg_types): Use gdbpy_ref,
86 unique_xmalloc_ptr.
87 (gdbpy_get_xmethod_arg_types): Use gdbpy_ref, gdbpy_enter.
88
bf1ca3b9
TT
892017-01-10 Tom Tromey <tom@tromey.com>
90
91 * python/py-xmethods.c (invoke_match_method): Use
92 gdbpy_ref.
93
572a5524
TT
942017-01-10 Tom Tromey <tom@tromey.com>
95
96 * python/py-xmethods.c (gdbpy_get_matching_xmethod_workers): use
97 gdbpy_enter, gdbpy_ref.
98
396a78b6
TT
992017-01-10 Tom Tromey <tom@tromey.com>
100
101 * python/python.c (python_interactive_command): Use gdbpy_enter.
102
a88b13c7
TT
1032017-01-10 Tom Tromey <tom@tromey.com>
104
105 * python/python.c (gdbpy_before_prompt_hook): Use gdbpy_enter,
106 gdbpy_ref.
107
e9f0c363
TT
1082017-01-10 Tom Tromey <tom@tromey.com>
109
110 * python/py-prettyprint.c (gdbpy_apply_val_pretty_printer): Use
111 gdbpy_enter, gdbpy_ref, unique_xmalloc_ptr.
112
6349f452
TT
1132017-01-10 Tom Tromey <tom@tromey.com>
114
115 * utils.h (htab_deleter): New struct.
116 (htab_up): New typedef.
117 * python/py-framefilter.c (gdbpy_apply_frame_filter): Use
118 gdbpy_enter, gdbpy_ref, htab_up.
119
c0171de6
TT
1202017-01-10 Tom Tromey <tom@tromey.com>
121
122 * python/py-unwind.c (pending_frame_invalidate): Remove.
123 (pyuw_sniffer): Use gdbpy_enter and gdbpy_ref.
124
f18e226f
TT
1252017-01-10 Tom Tromey <tom@tromey.com>
126
127 * python/py-xmethods.c (gdbpy_free_xmethod_worker_data)
128 (gdbpy_clone_xmethod_worker_data): Use gdbpy_enter.
129
c57af3f1
TT
1302017-01-10 Tom Tromey <tom@tromey.com>
131
132 * python/py-type.c (save_objfile_types): Use gdbpy_enter.
133
60e600ec
TT
1342017-01-10 Tom Tromey <tom@tromey.com>
135
136 * python/python.c (gdbpy_eval_from_control_command)
137 (gdbpy_source_script, gdbpy_run_events)
138 (gdbpy_source_objfile_script, gdbpy_execute_objfile_script)
139 (gdbpy_free_type_printers, gdbpy_finish_initialization): Use
140 gdbpy_enter.
141
bf7da5b0
TT
1422017-01-10 Tom Tromey <tom@tromey.com>
143
144 * python/py-progspace.c (py_free_pspace): Use gdbpy_enter.
145
2d38bced
TT
1462017-01-10 Tom Tromey <tom@tromey.com>
147
148 * python/py-objfile.c (py_free_objfile): Use gdbpy_enter.
149
07bc7329
TT
1502017-01-10 Tom Tromey <tom@tromey.com>
151
152 * python/py-inferior.c (python_on_normal_stop, python_on_resume)
153 (python_on_inferior_call_pre, python_on_inferior_call_post)
154 (python_on_memory_change, python_on_register_change)
155 (python_inferior_exit, python_new_objfile, add_thread_object)
156 (delete_thread_object, py_free_inferior): Use gdbpy_enter.
157
6e7c365e
TT
1582017-01-10 Tom Tromey <tom@tromey.com>
159
160 * python/py-finishbreakpoint.c (bpfinishpy_handle_stop)
161 (bpfinishpy_handle_exit): Use gdbpy_enter.
162
6ba0cd40
TT
1632017-01-10 Tom Tromey <tom@tromey.com>
164
165 * python/py-cmd.c (cmdpy_destroyer)
166 (cmdpy_completer_handle_brkchars, cmdpy_completer): Use
167 gdbpy_enter.
168
de2dc875
TT
1692017-01-10 Tom Tromey <tom@tromey.com>
170
171 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Use
172 gdbpy_enter.
173 (gdbpy_breakpoint_has_cond): Likewise.
174
4ecee2c4
TT
1752017-01-10 Tom Tromey <tom@tromey.com>
176
177 * python/python.c (gdbpy_enter): New constructor.
178 (~gdbpy_enter): New destructor.
179 (restore_python_env, ensure_python_env): Rewrite.
180 * python/python-internal.h (gdbpy_enter): New class.
181
37fce74f
TT
1822017-01-10 Tom Tromey <tom@tromey.com>
183
184 * python/py-symbol.c (gdbpy_lookup_symbol): Use gdbpy_ref.
185
53a0cca3
TT
1862017-01-10 Tom Tromey <tom@tromey.com>
187
188 * python/py-value.c (value_has_field, get_field_flag)
189 (get_field_type, valpy_getitem, convert_value_from_python): Use
190 gdbpy_ref.
191
ff3724f5
TT
1922017-01-10 Tom Tromey <tom@tromey.com>
193
194 * python/python.c (gdbpy_progspaces, gdbpy_objfiles): Use
195 gdbpy_ref.
196
0700aea5
TT
1972017-01-10 Tom Tromey <tom@tromey.com>
198
199 * python/py-prettyprint.c (search_pp_list)
200 (find_pretty_printer_from_objfiles)
201 (find_pretty_printer_from_progspace)
202 (find_pretty_printer_from_gdb, find_pretty_printer)
203 (gdbpy_get_display_hint, gdbpy_get_varobj_pretty_printer): Use
204 gdbpy_ref.
205
1bb44c9f
TT
2062017-01-10 Tom Tromey <tom@tromey.com>
207
208 * python/py-param.c (call_doc_function): Use gdbpy_ref.
209
87ce03fd
TT
2102017-01-10 Tom Tromey <tom@tromey.com>
211
212 * python/py-linetable.c (build_line_table_tuple_from_pcs)
213 (ltpy_get_all_source_lines): Use gdbpy_ref.
214
ee0a3fb8
TT
2152017-01-10 Tom Tromey <tom@tromey.com>
216
217 * python/py-framefilter.c (extract_sym, extract_value)
218 (get_py_iter_from_func, bootstrap_python_frame_filters): Use
219 gdbpy_ref.
220
bf2a52fa
TT
2212017-01-10 Tom Tromey <tom@tromey.com>
222
223 * python/py-breakpoint.c (gdbpy_breakpoints): Use gdbpy_ref.
224
f59fe7f8
TT
2252017-01-10 Tom Tromey <tom@tromey.com>
226
227 * python/py-inferior.c (gdbpy_inferiors): Use gdbpy_ref.
228
80bd970a
TT
2292017-01-10 Tom Tromey <tom@tromey.com>
230
231 * python/py-function.c (convert_values_to_python, fnpy_init): Use
232 gdbpy_ref.
233
d1b3de2e
TT
2342017-01-10 Tom Tromey <tom@tromey.com>
235
236 * python/py-cmd.c (gdbpy_string_to_argv): Use gdbpy_ref.
237
3bb43384
TT
2382017-01-10 Tom Tromey <tom@tromey.com>
239
240 * python/py-type.c (convert_field, make_fielditem, typy_fields)
241 (typy_range): Use gdbpy_ref.
242
abf5651e
TT
2432017-01-10 Tom Tromey <tom@tromey.com>
244
245 * python/py-threadevent.c (create_thread_event_object): Use
246 gdbpy_ref.
247 * python/py-stopevent.c (create_stop_event_object): Simplify.
248 (emit_stop_event): Use gdbpy_ref.
249 * python/py-signalevent.c (create_signal_event_object): Use
250 gdbpy_ref.
251 * python/py-newobjfileevent.c (create_new_objfile_event_object)
252 (emit_new_objfile_event, create_clear_objfiles_event_object)
253 (emit_clear_objfiles_event): Use gdbpy_ref.
254 * python/py-infevents.c (create_inferior_call_event_object)
255 (create_register_changed_event_object)
256 (create_memory_changed_event_object, emit_inferior_call_event)
257 (emit_memory_changed_event, emit_register_changed_event): Use
258 gdbpy_ref.
259 * python/py-exitedevent.c (create_exited_event_object)
260 (emit_exited_event): Use gdbpy_ref.
261 * python/py-event.h (evpy_emit_event): Remove
262 CPYCHECKER_STEALS_REFERENCE_TO_ARG annotation.
263 * python/py-event.c (evpy_emit_event): Use gdbpy_ref.
264 * python/py-continueevent.c (emit_continue_event): Use
265 gdbpy_ref.
266 * python/py-breakpoint.c (gdbpy_breakpoint_created)
267 (gdbpy_breakpoint_deleted, gdbpy_breakpoint_modified): Use
268 gdbpy_ref.
269 * python/py-bpevent.c (create_breakpoint_event_object): Use
270 gdbpy_ref.
271
a68ff33e
TT
2722017-01-10 Tom Tromey <tom@tromey.com>
273
274 * python/py-ref.h: New file.
275
7becfd03
SM
2762017-01-10 Simon Marchi <simon.marchi@ericsson.com>
277
278 * cli-out.c (cli_ui_out::do_redirect): Change return type to
279 void.
280 * cli-out.h (cli_ui_out::do_redirect): Likewise.
281 * mi/mi-out.c (mi_ui_out::do_redirect): Likewise.
282 * mi/mi-out.h (mi_ui_out::do_redirect): Likewise.
283 * ui-out.c (ui_out::redirect): Likewise.
284 * ui-out.h (ui_out::redirect, ui_out::do_redirect): Likewise.
285 * cli/cli-logging.c (set_logging_redirect): Update call site of
286 ui_out::redirect.
287 (handle_redirections): Likewise.
288 * scm-ports.c (ioscm_with_output_to_port_worker): Likewise.
289 * top.c (execute_command_to_string): Likewise.
290 * utils.c (do_ui_out_redirect_pop): Likewise.
291
df294654
SM
2922017-01-10 Simon Marchi <simon.marchi@ericsson.com>
293
294 * stack.c (_initialize_stack): Update "frame" command help message.
295
f5e6296e
IB
2962017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
297
298 * d-exp.y (CastExpression): Emit UNOP_CAST_TYPE.
299
0e2d6fa6
YQ
3002017-01-06 Yao Qi <yao.qi@linaro.org>
301
302 * x86-linux-nat.h: Include gdb_proc_service.h.
303
44d6d3f9
YQ
3042017-01-06 Yao Qi <yao.qi@linaro.org>
305
306 * ser-base.h: Include serial.h.
307
656731fe
YQ
3082017-01-06 Yao Qi <yao.qi@linaro.org>
309
310 * ppc-linux-tdep.h: Include ppc-tdep.h.
311
1ca8f924
YQ
3122017-01-06 Yao Qi <yao.qi@linaro.org>
313
314 * nat/amd64-linux-siginfo.h: Include signal.h.
315
bc3008c4
YQ
3162017-01-06 Yao Qi <yao.qi@linaro.org>
317
318 * nat/aarch64-linux-hw-point.h: Include break-common.h.
319
66c80d03
YQ
3202017-01-06 Yao Qi <yao.qi@linaro.org>
321
322 * mi/mi-parse.h: Include mi-cmds.h.
323
051d2dda
YQ
3242017-01-06 Yao Qi <yao.qi@linaro.org>
325
326 * inf-loop.c: Don't include "target.h".
327 * inf-loop.h: Include it here.
328
8018d34f
YQ
3292017-01-06 Yao Qi <yao.qi@linaro.org>
330
331 * dfp.h: Include "dboulest.h" and "expression.h".
332
c0b8369c
YQ
3332017-01-06 Yao Qi <yao.qi@linaro.org>
334
335 * ax-gdb.h: Include "ax.h".
336
ad5cba2a
YQ
3372017-01-06 Yao Qi <yao.qi@linaro.org>
338
339 * Makefile.in (HFILES_NO_SRCDIR): Replace gdb_ptrace.h
340 with nat/gdb_ptrace.h.
341
1c33cd7f
YQ
3422017-01-05 Yao Qi <yao.qi@linaro.org>
343
344 * mips-fbsd-tdep.c (mips_fbsd_sigframe_init): Move && to
345 new line.
346 (mips64_fbsd_sigframe_init): Likewise.
347
c988ac1d
JB
3482017-01-04 John Baldwin <jhb@FreeBSD.org>
349
350 * mips-fbsd-tdep.c (_initialize_mips_fbsd_tdep): Use
351 GDB_OSABI_FREEBSD instead of GDB_OSABI_FREEBSD_ELF.
352
b268007c
JB
3532017-01-04 John Baldwin <jhb@FreeBSD.org>
354
355 * Makefile.in (ALLDEPFILES): Add mips-fbsd-nat.c.
356 * NEWS: Mention new FreeBSD/mips native configuration.
357 * config/mips/fbsd.mh: New file.
358 * configure.host: Add mips*-*-freebsd*.
359 * mips-fbsd-nat.c: New file.
360
387360da
JB
3612017-01-04 John Baldwin <jhb@FreeBSD.org>
362
363 * Makefile.in (ALL_TARGET_OBS): Add mips-fbsd-tdep.o.
364 (ALLDEPFILES): Add mips-fbsd-tdep.c.
365 * NEWS: Mention new FreeBSD/mips target.
366 * configure.tgt: Add mips*-*-freebsd*.
367 * mips-fbsd-tdep.c: New file.
368 * mips-fbsd-tdep.h: New file.
369
2aaaf250
YQ
3702017-01-04 Yao Qi <yao.qi@linaro.org>
371
372 * dwarf2loc.c (write_pieced_value): Don't use VALUE_FRAME_ID (to),
373 use c->frame_id when the piece location is DWARF_VALUE_REGISTER.
374
61baf725
JB
3752017-01-01 Joel Brobecker <brobecker@adacore.com>
376
377 Update copyright year range in all GDB files.
378
c113e7ff 3792017-01-01 Joel Brobecker <brobecker@adacore.com>
ce0db137 380
c113e7ff 381 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2016.
ce0db137 382
c113e7ff 383For older changes see ChangeLog-2016.
c906108c
SS
384\f
385Local Variables:
386mode: change-log
387left-margin: 8
388fill-column: 74
389version-control: never
57da7796 390coding: utf-8
c906108c 391End:
This page took 2.244509 seconds and 4 git commands to generate.