Use gdbpy_enter in fnpy_call
[deliverable/binutils-gdb.git] / gdb / ChangeLog
1 2017-01-10 Tom Tromey <tom@tromey.com>
2
3 * python/py-function.c (fnpy_call): Use gdbpy_enter, gdbpy_ref.
4
5 2017-01-10 Tom Tromey <tom@tromey.com>
6
7 * python/py-cmd.c (cmdpy_function): Use gdbpy_enter, gdbpy_ref.
8
9 2017-01-10 Tom Tromey <tom@tromey.com>
10
11 * python/py-varobj.c (py_varobj_iter_dtor, py_varobj_iter_next):
12 Use gdbpy_enter_varobj.
13
14 2017-01-10 Tom Tromey <tom@tromey.com>
15
16 * varobj.c (gdbpy_enter_varobj): New constructor.
17 * python/python-internal.h (gdbpy_enter_varobj): New class.
18 * python/py-varobj.c (py_varobj_get_iterator): Use
19 gdbpy_enter_varobj.
20
21 2017-01-10 Tom Tromey <tom@tromey.com>
22
23 * python/py-xmethods.c (gdbpy_get_xmethod_result_type): Use
24 gdbpy_enter, gdbpy_ref, unique_xmalloc_ptr.
25 (gdbpy_invoke_xmethod): Use gdbpy_ref, gdbpy_enter.
26 (gdbpy_get_xmethod_arg_types): Use gdbpy_ref,
27 unique_xmalloc_ptr.
28 (gdbpy_get_xmethod_arg_types): Use gdbpy_ref, gdbpy_enter.
29
30 2017-01-10 Tom Tromey <tom@tromey.com>
31
32 * python/py-xmethods.c (invoke_match_method): Use
33 gdbpy_ref.
34
35 2017-01-10 Tom Tromey <tom@tromey.com>
36
37 * python/py-xmethods.c (gdbpy_get_matching_xmethod_workers): use
38 gdbpy_enter, gdbpy_ref.
39
40 2017-01-10 Tom Tromey <tom@tromey.com>
41
42 * python/python.c (python_interactive_command): Use gdbpy_enter.
43
44 2017-01-10 Tom Tromey <tom@tromey.com>
45
46 * python/python.c (gdbpy_before_prompt_hook): Use gdbpy_enter,
47 gdbpy_ref.
48
49 2017-01-10 Tom Tromey <tom@tromey.com>
50
51 * python/py-prettyprint.c (gdbpy_apply_val_pretty_printer): Use
52 gdbpy_enter, gdbpy_ref, unique_xmalloc_ptr.
53
54 2017-01-10 Tom Tromey <tom@tromey.com>
55
56 * utils.h (htab_deleter): New struct.
57 (htab_up): New typedef.
58 * python/py-framefilter.c (gdbpy_apply_frame_filter): Use
59 gdbpy_enter, gdbpy_ref, htab_up.
60
61 2017-01-10 Tom Tromey <tom@tromey.com>
62
63 * python/py-unwind.c (pending_frame_invalidate): Remove.
64 (pyuw_sniffer): Use gdbpy_enter and gdbpy_ref.
65
66 2017-01-10 Tom Tromey <tom@tromey.com>
67
68 * python/py-xmethods.c (gdbpy_free_xmethod_worker_data)
69 (gdbpy_clone_xmethod_worker_data): Use gdbpy_enter.
70
71 2017-01-10 Tom Tromey <tom@tromey.com>
72
73 * python/py-type.c (save_objfile_types): Use gdbpy_enter.
74
75 2017-01-10 Tom Tromey <tom@tromey.com>
76
77 * python/python.c (gdbpy_eval_from_control_command)
78 (gdbpy_source_script, gdbpy_run_events)
79 (gdbpy_source_objfile_script, gdbpy_execute_objfile_script)
80 (gdbpy_free_type_printers, gdbpy_finish_initialization): Use
81 gdbpy_enter.
82
83 2017-01-10 Tom Tromey <tom@tromey.com>
84
85 * python/py-progspace.c (py_free_pspace): Use gdbpy_enter.
86
87 2017-01-10 Tom Tromey <tom@tromey.com>
88
89 * python/py-objfile.c (py_free_objfile): Use gdbpy_enter.
90
91 2017-01-10 Tom Tromey <tom@tromey.com>
92
93 * python/py-inferior.c (python_on_normal_stop, python_on_resume)
94 (python_on_inferior_call_pre, python_on_inferior_call_post)
95 (python_on_memory_change, python_on_register_change)
96 (python_inferior_exit, python_new_objfile, add_thread_object)
97 (delete_thread_object, py_free_inferior): Use gdbpy_enter.
98
99 2017-01-10 Tom Tromey <tom@tromey.com>
100
101 * python/py-finishbreakpoint.c (bpfinishpy_handle_stop)
102 (bpfinishpy_handle_exit): Use gdbpy_enter.
103
104 2017-01-10 Tom Tromey <tom@tromey.com>
105
106 * python/py-cmd.c (cmdpy_destroyer)
107 (cmdpy_completer_handle_brkchars, cmdpy_completer): Use
108 gdbpy_enter.
109
110 2017-01-10 Tom Tromey <tom@tromey.com>
111
112 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Use
113 gdbpy_enter.
114 (gdbpy_breakpoint_has_cond): Likewise.
115
116 2017-01-10 Tom Tromey <tom@tromey.com>
117
118 * python/python.c (gdbpy_enter): New constructor.
119 (~gdbpy_enter): New destructor.
120 (restore_python_env, ensure_python_env): Rewrite.
121 * python/python-internal.h (gdbpy_enter): New class.
122
123 2017-01-10 Tom Tromey <tom@tromey.com>
124
125 * python/py-symbol.c (gdbpy_lookup_symbol): Use gdbpy_ref.
126
127 2017-01-10 Tom Tromey <tom@tromey.com>
128
129 * python/py-value.c (value_has_field, get_field_flag)
130 (get_field_type, valpy_getitem, convert_value_from_python): Use
131 gdbpy_ref.
132
133 2017-01-10 Tom Tromey <tom@tromey.com>
134
135 * python/python.c (gdbpy_progspaces, gdbpy_objfiles): Use
136 gdbpy_ref.
137
138 2017-01-10 Tom Tromey <tom@tromey.com>
139
140 * python/py-prettyprint.c (search_pp_list)
141 (find_pretty_printer_from_objfiles)
142 (find_pretty_printer_from_progspace)
143 (find_pretty_printer_from_gdb, find_pretty_printer)
144 (gdbpy_get_display_hint, gdbpy_get_varobj_pretty_printer): Use
145 gdbpy_ref.
146
147 2017-01-10 Tom Tromey <tom@tromey.com>
148
149 * python/py-param.c (call_doc_function): Use gdbpy_ref.
150
151 2017-01-10 Tom Tromey <tom@tromey.com>
152
153 * python/py-linetable.c (build_line_table_tuple_from_pcs)
154 (ltpy_get_all_source_lines): Use gdbpy_ref.
155
156 2017-01-10 Tom Tromey <tom@tromey.com>
157
158 * python/py-framefilter.c (extract_sym, extract_value)
159 (get_py_iter_from_func, bootstrap_python_frame_filters): Use
160 gdbpy_ref.
161
162 2017-01-10 Tom Tromey <tom@tromey.com>
163
164 * python/py-breakpoint.c (gdbpy_breakpoints): Use gdbpy_ref.
165
166 2017-01-10 Tom Tromey <tom@tromey.com>
167
168 * python/py-inferior.c (gdbpy_inferiors): Use gdbpy_ref.
169
170 2017-01-10 Tom Tromey <tom@tromey.com>
171
172 * python/py-function.c (convert_values_to_python, fnpy_init): Use
173 gdbpy_ref.
174
175 2017-01-10 Tom Tromey <tom@tromey.com>
176
177 * python/py-cmd.c (gdbpy_string_to_argv): Use gdbpy_ref.
178
179 2017-01-10 Tom Tromey <tom@tromey.com>
180
181 * python/py-type.c (convert_field, make_fielditem, typy_fields)
182 (typy_range): Use gdbpy_ref.
183
184 2017-01-10 Tom Tromey <tom@tromey.com>
185
186 * python/py-threadevent.c (create_thread_event_object): Use
187 gdbpy_ref.
188 * python/py-stopevent.c (create_stop_event_object): Simplify.
189 (emit_stop_event): Use gdbpy_ref.
190 * python/py-signalevent.c (create_signal_event_object): Use
191 gdbpy_ref.
192 * python/py-newobjfileevent.c (create_new_objfile_event_object)
193 (emit_new_objfile_event, create_clear_objfiles_event_object)
194 (emit_clear_objfiles_event): Use gdbpy_ref.
195 * python/py-infevents.c (create_inferior_call_event_object)
196 (create_register_changed_event_object)
197 (create_memory_changed_event_object, emit_inferior_call_event)
198 (emit_memory_changed_event, emit_register_changed_event): Use
199 gdbpy_ref.
200 * python/py-exitedevent.c (create_exited_event_object)
201 (emit_exited_event): Use gdbpy_ref.
202 * python/py-event.h (evpy_emit_event): Remove
203 CPYCHECKER_STEALS_REFERENCE_TO_ARG annotation.
204 * python/py-event.c (evpy_emit_event): Use gdbpy_ref.
205 * python/py-continueevent.c (emit_continue_event): Use
206 gdbpy_ref.
207 * python/py-breakpoint.c (gdbpy_breakpoint_created)
208 (gdbpy_breakpoint_deleted, gdbpy_breakpoint_modified): Use
209 gdbpy_ref.
210 * python/py-bpevent.c (create_breakpoint_event_object): Use
211 gdbpy_ref.
212
213 2017-01-10 Tom Tromey <tom@tromey.com>
214
215 * python/py-ref.h: New file.
216
217 2017-01-10 Simon Marchi <simon.marchi@ericsson.com>
218
219 * cli-out.c (cli_ui_out::do_redirect): Change return type to
220 void.
221 * cli-out.h (cli_ui_out::do_redirect): Likewise.
222 * mi/mi-out.c (mi_ui_out::do_redirect): Likewise.
223 * mi/mi-out.h (mi_ui_out::do_redirect): Likewise.
224 * ui-out.c (ui_out::redirect): Likewise.
225 * ui-out.h (ui_out::redirect, ui_out::do_redirect): Likewise.
226 * cli/cli-logging.c (set_logging_redirect): Update call site of
227 ui_out::redirect.
228 (handle_redirections): Likewise.
229 * scm-ports.c (ioscm_with_output_to_port_worker): Likewise.
230 * top.c (execute_command_to_string): Likewise.
231 * utils.c (do_ui_out_redirect_pop): Likewise.
232
233 2017-01-10 Simon Marchi <simon.marchi@ericsson.com>
234
235 * stack.c (_initialize_stack): Update "frame" command help message.
236
237 2017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
238
239 * d-exp.y (CastExpression): Emit UNOP_CAST_TYPE.
240
241 2017-01-06 Yao Qi <yao.qi@linaro.org>
242
243 * x86-linux-nat.h: Include gdb_proc_service.h.
244
245 2017-01-06 Yao Qi <yao.qi@linaro.org>
246
247 * ser-base.h: Include serial.h.
248
249 2017-01-06 Yao Qi <yao.qi@linaro.org>
250
251 * ppc-linux-tdep.h: Include ppc-tdep.h.
252
253 2017-01-06 Yao Qi <yao.qi@linaro.org>
254
255 * nat/amd64-linux-siginfo.h: Include signal.h.
256
257 2017-01-06 Yao Qi <yao.qi@linaro.org>
258
259 * nat/aarch64-linux-hw-point.h: Include break-common.h.
260
261 2017-01-06 Yao Qi <yao.qi@linaro.org>
262
263 * mi/mi-parse.h: Include mi-cmds.h.
264
265 2017-01-06 Yao Qi <yao.qi@linaro.org>
266
267 * inf-loop.c: Don't include "target.h".
268 * inf-loop.h: Include it here.
269
270 2017-01-06 Yao Qi <yao.qi@linaro.org>
271
272 * dfp.h: Include "dboulest.h" and "expression.h".
273
274 2017-01-06 Yao Qi <yao.qi@linaro.org>
275
276 * ax-gdb.h: Include "ax.h".
277
278 2017-01-06 Yao Qi <yao.qi@linaro.org>
279
280 * Makefile.in (HFILES_NO_SRCDIR): Replace gdb_ptrace.h
281 with nat/gdb_ptrace.h.
282
283 2017-01-05 Yao Qi <yao.qi@linaro.org>
284
285 * mips-fbsd-tdep.c (mips_fbsd_sigframe_init): Move && to
286 new line.
287 (mips64_fbsd_sigframe_init): Likewise.
288
289 2017-01-04 John Baldwin <jhb@FreeBSD.org>
290
291 * mips-fbsd-tdep.c (_initialize_mips_fbsd_tdep): Use
292 GDB_OSABI_FREEBSD instead of GDB_OSABI_FREEBSD_ELF.
293
294 2017-01-04 John Baldwin <jhb@FreeBSD.org>
295
296 * Makefile.in (ALLDEPFILES): Add mips-fbsd-nat.c.
297 * NEWS: Mention new FreeBSD/mips native configuration.
298 * config/mips/fbsd.mh: New file.
299 * configure.host: Add mips*-*-freebsd*.
300 * mips-fbsd-nat.c: New file.
301
302 2017-01-04 John Baldwin <jhb@FreeBSD.org>
303
304 * Makefile.in (ALL_TARGET_OBS): Add mips-fbsd-tdep.o.
305 (ALLDEPFILES): Add mips-fbsd-tdep.c.
306 * NEWS: Mention new FreeBSD/mips target.
307 * configure.tgt: Add mips*-*-freebsd*.
308 * mips-fbsd-tdep.c: New file.
309 * mips-fbsd-tdep.h: New file.
310
311 2017-01-04 Yao Qi <yao.qi@linaro.org>
312
313 * dwarf2loc.c (write_pieced_value): Don't use VALUE_FRAME_ID (to),
314 use c->frame_id when the piece location is DWARF_VALUE_REGISTER.
315
316 2017-01-01 Joel Brobecker <brobecker@adacore.com>
317
318 Update copyright year range in all GDB files.
319
320 2017-01-01 Joel Brobecker <brobecker@adacore.com>
321
322 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2016.
323
324 For older changes see ChangeLog-2016.
325 \f
326 Local Variables:
327 mode: change-log
328 left-margin: 8
329 fill-column: 74
330 version-control: never
331 coding: utf-8
332 End:
This page took 0.062868 seconds and 5 git commands to generate.