Use gdbpy_enter in py-param.c
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
2865bfce
TT
12017-01-10 Tom Tromey <tom@tromey.com>
2
3 * python/py-param.c (get_set_value, get_show_value): Use
4 gdbpy_enter, gdbpy_ref.
5
0e9dcc75
TT
62017-01-10 Tom Tromey <tom@tromey.com>
7
8 * python/py-function.c (fnpy_call): Use gdbpy_enter, gdbpy_ref.
9
12a5cedd
TT
102017-01-10 Tom Tromey <tom@tromey.com>
11
12 * python/py-cmd.c (cmdpy_function): Use gdbpy_enter, gdbpy_ref.
13
788f2586
TT
142017-01-10 Tom Tromey <tom@tromey.com>
15
16 * python/py-varobj.c (py_varobj_iter_dtor, py_varobj_iter_next):
17 Use gdbpy_enter_varobj.
18
6cd67bea
TT
192017-01-10 Tom Tromey <tom@tromey.com>
20
21 * varobj.c (gdbpy_enter_varobj): New constructor.
22 * python/python-internal.h (gdbpy_enter_varobj): New class.
23 * python/py-varobj.c (py_varobj_get_iterator): Use
24 gdbpy_enter_varobj.
25
14b122bf
TT
262017-01-10 Tom Tromey <tom@tromey.com>
27
28 * python/py-xmethods.c (gdbpy_get_xmethod_result_type): Use
29 gdbpy_enter, gdbpy_ref, unique_xmalloc_ptr.
30 (gdbpy_invoke_xmethod): Use gdbpy_ref, gdbpy_enter.
31 (gdbpy_get_xmethod_arg_types): Use gdbpy_ref,
32 unique_xmalloc_ptr.
33 (gdbpy_get_xmethod_arg_types): Use gdbpy_ref, gdbpy_enter.
34
bf1ca3b9
TT
352017-01-10 Tom Tromey <tom@tromey.com>
36
37 * python/py-xmethods.c (invoke_match_method): Use
38 gdbpy_ref.
39
572a5524
TT
402017-01-10 Tom Tromey <tom@tromey.com>
41
42 * python/py-xmethods.c (gdbpy_get_matching_xmethod_workers): use
43 gdbpy_enter, gdbpy_ref.
44
396a78b6
TT
452017-01-10 Tom Tromey <tom@tromey.com>
46
47 * python/python.c (python_interactive_command): Use gdbpy_enter.
48
a88b13c7
TT
492017-01-10 Tom Tromey <tom@tromey.com>
50
51 * python/python.c (gdbpy_before_prompt_hook): Use gdbpy_enter,
52 gdbpy_ref.
53
e9f0c363
TT
542017-01-10 Tom Tromey <tom@tromey.com>
55
56 * python/py-prettyprint.c (gdbpy_apply_val_pretty_printer): Use
57 gdbpy_enter, gdbpy_ref, unique_xmalloc_ptr.
58
6349f452
TT
592017-01-10 Tom Tromey <tom@tromey.com>
60
61 * utils.h (htab_deleter): New struct.
62 (htab_up): New typedef.
63 * python/py-framefilter.c (gdbpy_apply_frame_filter): Use
64 gdbpy_enter, gdbpy_ref, htab_up.
65
c0171de6
TT
662017-01-10 Tom Tromey <tom@tromey.com>
67
68 * python/py-unwind.c (pending_frame_invalidate): Remove.
69 (pyuw_sniffer): Use gdbpy_enter and gdbpy_ref.
70
f18e226f
TT
712017-01-10 Tom Tromey <tom@tromey.com>
72
73 * python/py-xmethods.c (gdbpy_free_xmethod_worker_data)
74 (gdbpy_clone_xmethod_worker_data): Use gdbpy_enter.
75
c57af3f1
TT
762017-01-10 Tom Tromey <tom@tromey.com>
77
78 * python/py-type.c (save_objfile_types): Use gdbpy_enter.
79
60e600ec
TT
802017-01-10 Tom Tromey <tom@tromey.com>
81
82 * python/python.c (gdbpy_eval_from_control_command)
83 (gdbpy_source_script, gdbpy_run_events)
84 (gdbpy_source_objfile_script, gdbpy_execute_objfile_script)
85 (gdbpy_free_type_printers, gdbpy_finish_initialization): Use
86 gdbpy_enter.
87
bf7da5b0
TT
882017-01-10 Tom Tromey <tom@tromey.com>
89
90 * python/py-progspace.c (py_free_pspace): Use gdbpy_enter.
91
2d38bced
TT
922017-01-10 Tom Tromey <tom@tromey.com>
93
94 * python/py-objfile.c (py_free_objfile): Use gdbpy_enter.
95
07bc7329
TT
962017-01-10 Tom Tromey <tom@tromey.com>
97
98 * python/py-inferior.c (python_on_normal_stop, python_on_resume)
99 (python_on_inferior_call_pre, python_on_inferior_call_post)
100 (python_on_memory_change, python_on_register_change)
101 (python_inferior_exit, python_new_objfile, add_thread_object)
102 (delete_thread_object, py_free_inferior): Use gdbpy_enter.
103
6e7c365e
TT
1042017-01-10 Tom Tromey <tom@tromey.com>
105
106 * python/py-finishbreakpoint.c (bpfinishpy_handle_stop)
107 (bpfinishpy_handle_exit): Use gdbpy_enter.
108
6ba0cd40
TT
1092017-01-10 Tom Tromey <tom@tromey.com>
110
111 * python/py-cmd.c (cmdpy_destroyer)
112 (cmdpy_completer_handle_brkchars, cmdpy_completer): Use
113 gdbpy_enter.
114
de2dc875
TT
1152017-01-10 Tom Tromey <tom@tromey.com>
116
117 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Use
118 gdbpy_enter.
119 (gdbpy_breakpoint_has_cond): Likewise.
120
4ecee2c4
TT
1212017-01-10 Tom Tromey <tom@tromey.com>
122
123 * python/python.c (gdbpy_enter): New constructor.
124 (~gdbpy_enter): New destructor.
125 (restore_python_env, ensure_python_env): Rewrite.
126 * python/python-internal.h (gdbpy_enter): New class.
127
37fce74f
TT
1282017-01-10 Tom Tromey <tom@tromey.com>
129
130 * python/py-symbol.c (gdbpy_lookup_symbol): Use gdbpy_ref.
131
53a0cca3
TT
1322017-01-10 Tom Tromey <tom@tromey.com>
133
134 * python/py-value.c (value_has_field, get_field_flag)
135 (get_field_type, valpy_getitem, convert_value_from_python): Use
136 gdbpy_ref.
137
ff3724f5
TT
1382017-01-10 Tom Tromey <tom@tromey.com>
139
140 * python/python.c (gdbpy_progspaces, gdbpy_objfiles): Use
141 gdbpy_ref.
142
0700aea5
TT
1432017-01-10 Tom Tromey <tom@tromey.com>
144
145 * python/py-prettyprint.c (search_pp_list)
146 (find_pretty_printer_from_objfiles)
147 (find_pretty_printer_from_progspace)
148 (find_pretty_printer_from_gdb, find_pretty_printer)
149 (gdbpy_get_display_hint, gdbpy_get_varobj_pretty_printer): Use
150 gdbpy_ref.
151
1bb44c9f
TT
1522017-01-10 Tom Tromey <tom@tromey.com>
153
154 * python/py-param.c (call_doc_function): Use gdbpy_ref.
155
87ce03fd
TT
1562017-01-10 Tom Tromey <tom@tromey.com>
157
158 * python/py-linetable.c (build_line_table_tuple_from_pcs)
159 (ltpy_get_all_source_lines): Use gdbpy_ref.
160
ee0a3fb8
TT
1612017-01-10 Tom Tromey <tom@tromey.com>
162
163 * python/py-framefilter.c (extract_sym, extract_value)
164 (get_py_iter_from_func, bootstrap_python_frame_filters): Use
165 gdbpy_ref.
166
bf2a52fa
TT
1672017-01-10 Tom Tromey <tom@tromey.com>
168
169 * python/py-breakpoint.c (gdbpy_breakpoints): Use gdbpy_ref.
170
f59fe7f8
TT
1712017-01-10 Tom Tromey <tom@tromey.com>
172
173 * python/py-inferior.c (gdbpy_inferiors): Use gdbpy_ref.
174
80bd970a
TT
1752017-01-10 Tom Tromey <tom@tromey.com>
176
177 * python/py-function.c (convert_values_to_python, fnpy_init): Use
178 gdbpy_ref.
179
d1b3de2e
TT
1802017-01-10 Tom Tromey <tom@tromey.com>
181
182 * python/py-cmd.c (gdbpy_string_to_argv): Use gdbpy_ref.
183
3bb43384
TT
1842017-01-10 Tom Tromey <tom@tromey.com>
185
186 * python/py-type.c (convert_field, make_fielditem, typy_fields)
187 (typy_range): Use gdbpy_ref.
188
abf5651e
TT
1892017-01-10 Tom Tromey <tom@tromey.com>
190
191 * python/py-threadevent.c (create_thread_event_object): Use
192 gdbpy_ref.
193 * python/py-stopevent.c (create_stop_event_object): Simplify.
194 (emit_stop_event): Use gdbpy_ref.
195 * python/py-signalevent.c (create_signal_event_object): Use
196 gdbpy_ref.
197 * python/py-newobjfileevent.c (create_new_objfile_event_object)
198 (emit_new_objfile_event, create_clear_objfiles_event_object)
199 (emit_clear_objfiles_event): Use gdbpy_ref.
200 * python/py-infevents.c (create_inferior_call_event_object)
201 (create_register_changed_event_object)
202 (create_memory_changed_event_object, emit_inferior_call_event)
203 (emit_memory_changed_event, emit_register_changed_event): Use
204 gdbpy_ref.
205 * python/py-exitedevent.c (create_exited_event_object)
206 (emit_exited_event): Use gdbpy_ref.
207 * python/py-event.h (evpy_emit_event): Remove
208 CPYCHECKER_STEALS_REFERENCE_TO_ARG annotation.
209 * python/py-event.c (evpy_emit_event): Use gdbpy_ref.
210 * python/py-continueevent.c (emit_continue_event): Use
211 gdbpy_ref.
212 * python/py-breakpoint.c (gdbpy_breakpoint_created)
213 (gdbpy_breakpoint_deleted, gdbpy_breakpoint_modified): Use
214 gdbpy_ref.
215 * python/py-bpevent.c (create_breakpoint_event_object): Use
216 gdbpy_ref.
217
a68ff33e
TT
2182017-01-10 Tom Tromey <tom@tromey.com>
219
220 * python/py-ref.h: New file.
221
7becfd03
SM
2222017-01-10 Simon Marchi <simon.marchi@ericsson.com>
223
224 * cli-out.c (cli_ui_out::do_redirect): Change return type to
225 void.
226 * cli-out.h (cli_ui_out::do_redirect): Likewise.
227 * mi/mi-out.c (mi_ui_out::do_redirect): Likewise.
228 * mi/mi-out.h (mi_ui_out::do_redirect): Likewise.
229 * ui-out.c (ui_out::redirect): Likewise.
230 * ui-out.h (ui_out::redirect, ui_out::do_redirect): Likewise.
231 * cli/cli-logging.c (set_logging_redirect): Update call site of
232 ui_out::redirect.
233 (handle_redirections): Likewise.
234 * scm-ports.c (ioscm_with_output_to_port_worker): Likewise.
235 * top.c (execute_command_to_string): Likewise.
236 * utils.c (do_ui_out_redirect_pop): Likewise.
237
df294654
SM
2382017-01-10 Simon Marchi <simon.marchi@ericsson.com>
239
240 * stack.c (_initialize_stack): Update "frame" command help message.
241
f5e6296e
IB
2422017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
243
244 * d-exp.y (CastExpression): Emit UNOP_CAST_TYPE.
245
0e2d6fa6
YQ
2462017-01-06 Yao Qi <yao.qi@linaro.org>
247
248 * x86-linux-nat.h: Include gdb_proc_service.h.
249
44d6d3f9
YQ
2502017-01-06 Yao Qi <yao.qi@linaro.org>
251
252 * ser-base.h: Include serial.h.
253
656731fe
YQ
2542017-01-06 Yao Qi <yao.qi@linaro.org>
255
256 * ppc-linux-tdep.h: Include ppc-tdep.h.
257
1ca8f924
YQ
2582017-01-06 Yao Qi <yao.qi@linaro.org>
259
260 * nat/amd64-linux-siginfo.h: Include signal.h.
261
bc3008c4
YQ
2622017-01-06 Yao Qi <yao.qi@linaro.org>
263
264 * nat/aarch64-linux-hw-point.h: Include break-common.h.
265
66c80d03
YQ
2662017-01-06 Yao Qi <yao.qi@linaro.org>
267
268 * mi/mi-parse.h: Include mi-cmds.h.
269
051d2dda
YQ
2702017-01-06 Yao Qi <yao.qi@linaro.org>
271
272 * inf-loop.c: Don't include "target.h".
273 * inf-loop.h: Include it here.
274
8018d34f
YQ
2752017-01-06 Yao Qi <yao.qi@linaro.org>
276
277 * dfp.h: Include "dboulest.h" and "expression.h".
278
c0b8369c
YQ
2792017-01-06 Yao Qi <yao.qi@linaro.org>
280
281 * ax-gdb.h: Include "ax.h".
282
ad5cba2a
YQ
2832017-01-06 Yao Qi <yao.qi@linaro.org>
284
285 * Makefile.in (HFILES_NO_SRCDIR): Replace gdb_ptrace.h
286 with nat/gdb_ptrace.h.
287
1c33cd7f
YQ
2882017-01-05 Yao Qi <yao.qi@linaro.org>
289
290 * mips-fbsd-tdep.c (mips_fbsd_sigframe_init): Move && to
291 new line.
292 (mips64_fbsd_sigframe_init): Likewise.
293
c988ac1d
JB
2942017-01-04 John Baldwin <jhb@FreeBSD.org>
295
296 * mips-fbsd-tdep.c (_initialize_mips_fbsd_tdep): Use
297 GDB_OSABI_FREEBSD instead of GDB_OSABI_FREEBSD_ELF.
298
b268007c
JB
2992017-01-04 John Baldwin <jhb@FreeBSD.org>
300
301 * Makefile.in (ALLDEPFILES): Add mips-fbsd-nat.c.
302 * NEWS: Mention new FreeBSD/mips native configuration.
303 * config/mips/fbsd.mh: New file.
304 * configure.host: Add mips*-*-freebsd*.
305 * mips-fbsd-nat.c: New file.
306
387360da
JB
3072017-01-04 John Baldwin <jhb@FreeBSD.org>
308
309 * Makefile.in (ALL_TARGET_OBS): Add mips-fbsd-tdep.o.
310 (ALLDEPFILES): Add mips-fbsd-tdep.c.
311 * NEWS: Mention new FreeBSD/mips target.
312 * configure.tgt: Add mips*-*-freebsd*.
313 * mips-fbsd-tdep.c: New file.
314 * mips-fbsd-tdep.h: New file.
315
2aaaf250
YQ
3162017-01-04 Yao Qi <yao.qi@linaro.org>
317
318 * dwarf2loc.c (write_pieced_value): Don't use VALUE_FRAME_ID (to),
319 use c->frame_id when the piece location is DWARF_VALUE_REGISTER.
320
61baf725
JB
3212017-01-01 Joel Brobecker <brobecker@adacore.com>
322
323 Update copyright year range in all GDB files.
324
c113e7ff 3252017-01-01 Joel Brobecker <brobecker@adacore.com>
ce0db137 326
c113e7ff 327 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2016.
ce0db137 328
c113e7ff 329For older changes see ChangeLog-2016.
c906108c
SS
330\f
331Local Variables:
332mode: change-log
333left-margin: 8
334fill-column: 74
335version-control: never
57da7796 336coding: utf-8
c906108c 337End:
This page took 1.931661 seconds and 4 git commands to generate.