Use gdbpy_enter in python.c
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
a7785f8c
TT
12017-01-10 Tom Tromey <tom@tromey.com>
2
3 * python/python.c (python_command): Use gdbpy_enter, gdbpy_ref.
4 (do_finish_initialization): New function. Use gdbpy_ref.
5 (gdbpy_finish_initialization): Use gdbpy_enter. Call
6 do_finish_initialization.
7
2865bfce
TT
82017-01-10 Tom Tromey <tom@tromey.com>
9
10 * python/py-param.c (get_set_value, get_show_value): Use
11 gdbpy_enter, gdbpy_ref.
12
0e9dcc75
TT
132017-01-10 Tom Tromey <tom@tromey.com>
14
15 * python/py-function.c (fnpy_call): Use gdbpy_enter, gdbpy_ref.
16
12a5cedd
TT
172017-01-10 Tom Tromey <tom@tromey.com>
18
19 * python/py-cmd.c (cmdpy_function): Use gdbpy_enter, gdbpy_ref.
20
788f2586
TT
212017-01-10 Tom Tromey <tom@tromey.com>
22
23 * python/py-varobj.c (py_varobj_iter_dtor, py_varobj_iter_next):
24 Use gdbpy_enter_varobj.
25
6cd67bea
TT
262017-01-10 Tom Tromey <tom@tromey.com>
27
28 * varobj.c (gdbpy_enter_varobj): New constructor.
29 * python/python-internal.h (gdbpy_enter_varobj): New class.
30 * python/py-varobj.c (py_varobj_get_iterator): Use
31 gdbpy_enter_varobj.
32
14b122bf
TT
332017-01-10 Tom Tromey <tom@tromey.com>
34
35 * python/py-xmethods.c (gdbpy_get_xmethod_result_type): Use
36 gdbpy_enter, gdbpy_ref, unique_xmalloc_ptr.
37 (gdbpy_invoke_xmethod): Use gdbpy_ref, gdbpy_enter.
38 (gdbpy_get_xmethod_arg_types): Use gdbpy_ref,
39 unique_xmalloc_ptr.
40 (gdbpy_get_xmethod_arg_types): Use gdbpy_ref, gdbpy_enter.
41
bf1ca3b9
TT
422017-01-10 Tom Tromey <tom@tromey.com>
43
44 * python/py-xmethods.c (invoke_match_method): Use
45 gdbpy_ref.
46
572a5524
TT
472017-01-10 Tom Tromey <tom@tromey.com>
48
49 * python/py-xmethods.c (gdbpy_get_matching_xmethod_workers): use
50 gdbpy_enter, gdbpy_ref.
51
396a78b6
TT
522017-01-10 Tom Tromey <tom@tromey.com>
53
54 * python/python.c (python_interactive_command): Use gdbpy_enter.
55
a88b13c7
TT
562017-01-10 Tom Tromey <tom@tromey.com>
57
58 * python/python.c (gdbpy_before_prompt_hook): Use gdbpy_enter,
59 gdbpy_ref.
60
e9f0c363
TT
612017-01-10 Tom Tromey <tom@tromey.com>
62
63 * python/py-prettyprint.c (gdbpy_apply_val_pretty_printer): Use
64 gdbpy_enter, gdbpy_ref, unique_xmalloc_ptr.
65
6349f452
TT
662017-01-10 Tom Tromey <tom@tromey.com>
67
68 * utils.h (htab_deleter): New struct.
69 (htab_up): New typedef.
70 * python/py-framefilter.c (gdbpy_apply_frame_filter): Use
71 gdbpy_enter, gdbpy_ref, htab_up.
72
c0171de6
TT
732017-01-10 Tom Tromey <tom@tromey.com>
74
75 * python/py-unwind.c (pending_frame_invalidate): Remove.
76 (pyuw_sniffer): Use gdbpy_enter and gdbpy_ref.
77
f18e226f
TT
782017-01-10 Tom Tromey <tom@tromey.com>
79
80 * python/py-xmethods.c (gdbpy_free_xmethod_worker_data)
81 (gdbpy_clone_xmethod_worker_data): Use gdbpy_enter.
82
c57af3f1
TT
832017-01-10 Tom Tromey <tom@tromey.com>
84
85 * python/py-type.c (save_objfile_types): Use gdbpy_enter.
86
60e600ec
TT
872017-01-10 Tom Tromey <tom@tromey.com>
88
89 * python/python.c (gdbpy_eval_from_control_command)
90 (gdbpy_source_script, gdbpy_run_events)
91 (gdbpy_source_objfile_script, gdbpy_execute_objfile_script)
92 (gdbpy_free_type_printers, gdbpy_finish_initialization): Use
93 gdbpy_enter.
94
bf7da5b0
TT
952017-01-10 Tom Tromey <tom@tromey.com>
96
97 * python/py-progspace.c (py_free_pspace): Use gdbpy_enter.
98
2d38bced
TT
992017-01-10 Tom Tromey <tom@tromey.com>
100
101 * python/py-objfile.c (py_free_objfile): Use gdbpy_enter.
102
07bc7329
TT
1032017-01-10 Tom Tromey <tom@tromey.com>
104
105 * python/py-inferior.c (python_on_normal_stop, python_on_resume)
106 (python_on_inferior_call_pre, python_on_inferior_call_post)
107 (python_on_memory_change, python_on_register_change)
108 (python_inferior_exit, python_new_objfile, add_thread_object)
109 (delete_thread_object, py_free_inferior): Use gdbpy_enter.
110
6e7c365e
TT
1112017-01-10 Tom Tromey <tom@tromey.com>
112
113 * python/py-finishbreakpoint.c (bpfinishpy_handle_stop)
114 (bpfinishpy_handle_exit): Use gdbpy_enter.
115
6ba0cd40
TT
1162017-01-10 Tom Tromey <tom@tromey.com>
117
118 * python/py-cmd.c (cmdpy_destroyer)
119 (cmdpy_completer_handle_brkchars, cmdpy_completer): Use
120 gdbpy_enter.
121
de2dc875
TT
1222017-01-10 Tom Tromey <tom@tromey.com>
123
124 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Use
125 gdbpy_enter.
126 (gdbpy_breakpoint_has_cond): Likewise.
127
4ecee2c4
TT
1282017-01-10 Tom Tromey <tom@tromey.com>
129
130 * python/python.c (gdbpy_enter): New constructor.
131 (~gdbpy_enter): New destructor.
132 (restore_python_env, ensure_python_env): Rewrite.
133 * python/python-internal.h (gdbpy_enter): New class.
134
37fce74f
TT
1352017-01-10 Tom Tromey <tom@tromey.com>
136
137 * python/py-symbol.c (gdbpy_lookup_symbol): Use gdbpy_ref.
138
53a0cca3
TT
1392017-01-10 Tom Tromey <tom@tromey.com>
140
141 * python/py-value.c (value_has_field, get_field_flag)
142 (get_field_type, valpy_getitem, convert_value_from_python): Use
143 gdbpy_ref.
144
ff3724f5
TT
1452017-01-10 Tom Tromey <tom@tromey.com>
146
147 * python/python.c (gdbpy_progspaces, gdbpy_objfiles): Use
148 gdbpy_ref.
149
0700aea5
TT
1502017-01-10 Tom Tromey <tom@tromey.com>
151
152 * python/py-prettyprint.c (search_pp_list)
153 (find_pretty_printer_from_objfiles)
154 (find_pretty_printer_from_progspace)
155 (find_pretty_printer_from_gdb, find_pretty_printer)
156 (gdbpy_get_display_hint, gdbpy_get_varobj_pretty_printer): Use
157 gdbpy_ref.
158
1bb44c9f
TT
1592017-01-10 Tom Tromey <tom@tromey.com>
160
161 * python/py-param.c (call_doc_function): Use gdbpy_ref.
162
87ce03fd
TT
1632017-01-10 Tom Tromey <tom@tromey.com>
164
165 * python/py-linetable.c (build_line_table_tuple_from_pcs)
166 (ltpy_get_all_source_lines): Use gdbpy_ref.
167
ee0a3fb8
TT
1682017-01-10 Tom Tromey <tom@tromey.com>
169
170 * python/py-framefilter.c (extract_sym, extract_value)
171 (get_py_iter_from_func, bootstrap_python_frame_filters): Use
172 gdbpy_ref.
173
bf2a52fa
TT
1742017-01-10 Tom Tromey <tom@tromey.com>
175
176 * python/py-breakpoint.c (gdbpy_breakpoints): Use gdbpy_ref.
177
f59fe7f8
TT
1782017-01-10 Tom Tromey <tom@tromey.com>
179
180 * python/py-inferior.c (gdbpy_inferiors): Use gdbpy_ref.
181
80bd970a
TT
1822017-01-10 Tom Tromey <tom@tromey.com>
183
184 * python/py-function.c (convert_values_to_python, fnpy_init): Use
185 gdbpy_ref.
186
d1b3de2e
TT
1872017-01-10 Tom Tromey <tom@tromey.com>
188
189 * python/py-cmd.c (gdbpy_string_to_argv): Use gdbpy_ref.
190
3bb43384
TT
1912017-01-10 Tom Tromey <tom@tromey.com>
192
193 * python/py-type.c (convert_field, make_fielditem, typy_fields)
194 (typy_range): Use gdbpy_ref.
195
abf5651e
TT
1962017-01-10 Tom Tromey <tom@tromey.com>
197
198 * python/py-threadevent.c (create_thread_event_object): Use
199 gdbpy_ref.
200 * python/py-stopevent.c (create_stop_event_object): Simplify.
201 (emit_stop_event): Use gdbpy_ref.
202 * python/py-signalevent.c (create_signal_event_object): Use
203 gdbpy_ref.
204 * python/py-newobjfileevent.c (create_new_objfile_event_object)
205 (emit_new_objfile_event, create_clear_objfiles_event_object)
206 (emit_clear_objfiles_event): Use gdbpy_ref.
207 * python/py-infevents.c (create_inferior_call_event_object)
208 (create_register_changed_event_object)
209 (create_memory_changed_event_object, emit_inferior_call_event)
210 (emit_memory_changed_event, emit_register_changed_event): Use
211 gdbpy_ref.
212 * python/py-exitedevent.c (create_exited_event_object)
213 (emit_exited_event): Use gdbpy_ref.
214 * python/py-event.h (evpy_emit_event): Remove
215 CPYCHECKER_STEALS_REFERENCE_TO_ARG annotation.
216 * python/py-event.c (evpy_emit_event): Use gdbpy_ref.
217 * python/py-continueevent.c (emit_continue_event): Use
218 gdbpy_ref.
219 * python/py-breakpoint.c (gdbpy_breakpoint_created)
220 (gdbpy_breakpoint_deleted, gdbpy_breakpoint_modified): Use
221 gdbpy_ref.
222 * python/py-bpevent.c (create_breakpoint_event_object): Use
223 gdbpy_ref.
224
a68ff33e
TT
2252017-01-10 Tom Tromey <tom@tromey.com>
226
227 * python/py-ref.h: New file.
228
7becfd03
SM
2292017-01-10 Simon Marchi <simon.marchi@ericsson.com>
230
231 * cli-out.c (cli_ui_out::do_redirect): Change return type to
232 void.
233 * cli-out.h (cli_ui_out::do_redirect): Likewise.
234 * mi/mi-out.c (mi_ui_out::do_redirect): Likewise.
235 * mi/mi-out.h (mi_ui_out::do_redirect): Likewise.
236 * ui-out.c (ui_out::redirect): Likewise.
237 * ui-out.h (ui_out::redirect, ui_out::do_redirect): Likewise.
238 * cli/cli-logging.c (set_logging_redirect): Update call site of
239 ui_out::redirect.
240 (handle_redirections): Likewise.
241 * scm-ports.c (ioscm_with_output_to_port_worker): Likewise.
242 * top.c (execute_command_to_string): Likewise.
243 * utils.c (do_ui_out_redirect_pop): Likewise.
244
df294654
SM
2452017-01-10 Simon Marchi <simon.marchi@ericsson.com>
246
247 * stack.c (_initialize_stack): Update "frame" command help message.
248
f5e6296e
IB
2492017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
250
251 * d-exp.y (CastExpression): Emit UNOP_CAST_TYPE.
252
0e2d6fa6
YQ
2532017-01-06 Yao Qi <yao.qi@linaro.org>
254
255 * x86-linux-nat.h: Include gdb_proc_service.h.
256
44d6d3f9
YQ
2572017-01-06 Yao Qi <yao.qi@linaro.org>
258
259 * ser-base.h: Include serial.h.
260
656731fe
YQ
2612017-01-06 Yao Qi <yao.qi@linaro.org>
262
263 * ppc-linux-tdep.h: Include ppc-tdep.h.
264
1ca8f924
YQ
2652017-01-06 Yao Qi <yao.qi@linaro.org>
266
267 * nat/amd64-linux-siginfo.h: Include signal.h.
268
bc3008c4
YQ
2692017-01-06 Yao Qi <yao.qi@linaro.org>
270
271 * nat/aarch64-linux-hw-point.h: Include break-common.h.
272
66c80d03
YQ
2732017-01-06 Yao Qi <yao.qi@linaro.org>
274
275 * mi/mi-parse.h: Include mi-cmds.h.
276
051d2dda
YQ
2772017-01-06 Yao Qi <yao.qi@linaro.org>
278
279 * inf-loop.c: Don't include "target.h".
280 * inf-loop.h: Include it here.
281
8018d34f
YQ
2822017-01-06 Yao Qi <yao.qi@linaro.org>
283
284 * dfp.h: Include "dboulest.h" and "expression.h".
285
c0b8369c
YQ
2862017-01-06 Yao Qi <yao.qi@linaro.org>
287
288 * ax-gdb.h: Include "ax.h".
289
ad5cba2a
YQ
2902017-01-06 Yao Qi <yao.qi@linaro.org>
291
292 * Makefile.in (HFILES_NO_SRCDIR): Replace gdb_ptrace.h
293 with nat/gdb_ptrace.h.
294
1c33cd7f
YQ
2952017-01-05 Yao Qi <yao.qi@linaro.org>
296
297 * mips-fbsd-tdep.c (mips_fbsd_sigframe_init): Move && to
298 new line.
299 (mips64_fbsd_sigframe_init): Likewise.
300
c988ac1d
JB
3012017-01-04 John Baldwin <jhb@FreeBSD.org>
302
303 * mips-fbsd-tdep.c (_initialize_mips_fbsd_tdep): Use
304 GDB_OSABI_FREEBSD instead of GDB_OSABI_FREEBSD_ELF.
305
b268007c
JB
3062017-01-04 John Baldwin <jhb@FreeBSD.org>
307
308 * Makefile.in (ALLDEPFILES): Add mips-fbsd-nat.c.
309 * NEWS: Mention new FreeBSD/mips native configuration.
310 * config/mips/fbsd.mh: New file.
311 * configure.host: Add mips*-*-freebsd*.
312 * mips-fbsd-nat.c: New file.
313
387360da
JB
3142017-01-04 John Baldwin <jhb@FreeBSD.org>
315
316 * Makefile.in (ALL_TARGET_OBS): Add mips-fbsd-tdep.o.
317 (ALLDEPFILES): Add mips-fbsd-tdep.c.
318 * NEWS: Mention new FreeBSD/mips target.
319 * configure.tgt: Add mips*-*-freebsd*.
320 * mips-fbsd-tdep.c: New file.
321 * mips-fbsd-tdep.h: New file.
322
2aaaf250
YQ
3232017-01-04 Yao Qi <yao.qi@linaro.org>
324
325 * dwarf2loc.c (write_pieced_value): Don't use VALUE_FRAME_ID (to),
326 use c->frame_id when the piece location is DWARF_VALUE_REGISTER.
327
61baf725
JB
3282017-01-01 Joel Brobecker <brobecker@adacore.com>
329
330 Update copyright year range in all GDB files.
331
c113e7ff 3322017-01-01 Joel Brobecker <brobecker@adacore.com>
ce0db137 333
c113e7ff 334 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2016.
ce0db137 335
c113e7ff 336For older changes see ChangeLog-2016.
c906108c
SS
337\f
338Local Variables:
339mode: change-log
340left-margin: 8
341fill-column: 74
342version-control: never
57da7796 343coding: utf-8
c906108c 344End:
This page took 2.415275 seconds and 4 git commands to generate.