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