Use gdbpy_enter in py-xmethod.c
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
14b122bf
TT
12017-01-10 Tom Tromey <tom@tromey.com>
2
3 * python/py-xmethods.c (gdbpy_get_xmethod_result_type): Use
4 gdbpy_enter, gdbpy_ref, unique_xmalloc_ptr.
5 (gdbpy_invoke_xmethod): Use gdbpy_ref, gdbpy_enter.
6 (gdbpy_get_xmethod_arg_types): Use gdbpy_ref,
7 unique_xmalloc_ptr.
8 (gdbpy_get_xmethod_arg_types): Use gdbpy_ref, gdbpy_enter.
9
bf1ca3b9
TT
102017-01-10 Tom Tromey <tom@tromey.com>
11
12 * python/py-xmethods.c (invoke_match_method): Use
13 gdbpy_ref.
14
572a5524
TT
152017-01-10 Tom Tromey <tom@tromey.com>
16
17 * python/py-xmethods.c (gdbpy_get_matching_xmethod_workers): use
18 gdbpy_enter, gdbpy_ref.
19
396a78b6
TT
202017-01-10 Tom Tromey <tom@tromey.com>
21
22 * python/python.c (python_interactive_command): Use gdbpy_enter.
23
a88b13c7
TT
242017-01-10 Tom Tromey <tom@tromey.com>
25
26 * python/python.c (gdbpy_before_prompt_hook): Use gdbpy_enter,
27 gdbpy_ref.
28
e9f0c363
TT
292017-01-10 Tom Tromey <tom@tromey.com>
30
31 * python/py-prettyprint.c (gdbpy_apply_val_pretty_printer): Use
32 gdbpy_enter, gdbpy_ref, unique_xmalloc_ptr.
33
6349f452
TT
342017-01-10 Tom Tromey <tom@tromey.com>
35
36 * utils.h (htab_deleter): New struct.
37 (htab_up): New typedef.
38 * python/py-framefilter.c (gdbpy_apply_frame_filter): Use
39 gdbpy_enter, gdbpy_ref, htab_up.
40
c0171de6
TT
412017-01-10 Tom Tromey <tom@tromey.com>
42
43 * python/py-unwind.c (pending_frame_invalidate): Remove.
44 (pyuw_sniffer): Use gdbpy_enter and gdbpy_ref.
45
f18e226f
TT
462017-01-10 Tom Tromey <tom@tromey.com>
47
48 * python/py-xmethods.c (gdbpy_free_xmethod_worker_data)
49 (gdbpy_clone_xmethod_worker_data): Use gdbpy_enter.
50
c57af3f1
TT
512017-01-10 Tom Tromey <tom@tromey.com>
52
53 * python/py-type.c (save_objfile_types): Use gdbpy_enter.
54
60e600ec
TT
552017-01-10 Tom Tromey <tom@tromey.com>
56
57 * python/python.c (gdbpy_eval_from_control_command)
58 (gdbpy_source_script, gdbpy_run_events)
59 (gdbpy_source_objfile_script, gdbpy_execute_objfile_script)
60 (gdbpy_free_type_printers, gdbpy_finish_initialization): Use
61 gdbpy_enter.
62
bf7da5b0
TT
632017-01-10 Tom Tromey <tom@tromey.com>
64
65 * python/py-progspace.c (py_free_pspace): Use gdbpy_enter.
66
2d38bced
TT
672017-01-10 Tom Tromey <tom@tromey.com>
68
69 * python/py-objfile.c (py_free_objfile): Use gdbpy_enter.
70
07bc7329
TT
712017-01-10 Tom Tromey <tom@tromey.com>
72
73 * python/py-inferior.c (python_on_normal_stop, python_on_resume)
74 (python_on_inferior_call_pre, python_on_inferior_call_post)
75 (python_on_memory_change, python_on_register_change)
76 (python_inferior_exit, python_new_objfile, add_thread_object)
77 (delete_thread_object, py_free_inferior): Use gdbpy_enter.
78
6e7c365e
TT
792017-01-10 Tom Tromey <tom@tromey.com>
80
81 * python/py-finishbreakpoint.c (bpfinishpy_handle_stop)
82 (bpfinishpy_handle_exit): Use gdbpy_enter.
83
6ba0cd40
TT
842017-01-10 Tom Tromey <tom@tromey.com>
85
86 * python/py-cmd.c (cmdpy_destroyer)
87 (cmdpy_completer_handle_brkchars, cmdpy_completer): Use
88 gdbpy_enter.
89
de2dc875
TT
902017-01-10 Tom Tromey <tom@tromey.com>
91
92 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Use
93 gdbpy_enter.
94 (gdbpy_breakpoint_has_cond): Likewise.
95
4ecee2c4
TT
962017-01-10 Tom Tromey <tom@tromey.com>
97
98 * python/python.c (gdbpy_enter): New constructor.
99 (~gdbpy_enter): New destructor.
100 (restore_python_env, ensure_python_env): Rewrite.
101 * python/python-internal.h (gdbpy_enter): New class.
102
37fce74f
TT
1032017-01-10 Tom Tromey <tom@tromey.com>
104
105 * python/py-symbol.c (gdbpy_lookup_symbol): Use gdbpy_ref.
106
53a0cca3
TT
1072017-01-10 Tom Tromey <tom@tromey.com>
108
109 * python/py-value.c (value_has_field, get_field_flag)
110 (get_field_type, valpy_getitem, convert_value_from_python): Use
111 gdbpy_ref.
112
ff3724f5
TT
1132017-01-10 Tom Tromey <tom@tromey.com>
114
115 * python/python.c (gdbpy_progspaces, gdbpy_objfiles): Use
116 gdbpy_ref.
117
0700aea5
TT
1182017-01-10 Tom Tromey <tom@tromey.com>
119
120 * python/py-prettyprint.c (search_pp_list)
121 (find_pretty_printer_from_objfiles)
122 (find_pretty_printer_from_progspace)
123 (find_pretty_printer_from_gdb, find_pretty_printer)
124 (gdbpy_get_display_hint, gdbpy_get_varobj_pretty_printer): Use
125 gdbpy_ref.
126
1bb44c9f
TT
1272017-01-10 Tom Tromey <tom@tromey.com>
128
129 * python/py-param.c (call_doc_function): Use gdbpy_ref.
130
87ce03fd
TT
1312017-01-10 Tom Tromey <tom@tromey.com>
132
133 * python/py-linetable.c (build_line_table_tuple_from_pcs)
134 (ltpy_get_all_source_lines): Use gdbpy_ref.
135
ee0a3fb8
TT
1362017-01-10 Tom Tromey <tom@tromey.com>
137
138 * python/py-framefilter.c (extract_sym, extract_value)
139 (get_py_iter_from_func, bootstrap_python_frame_filters): Use
140 gdbpy_ref.
141
bf2a52fa
TT
1422017-01-10 Tom Tromey <tom@tromey.com>
143
144 * python/py-breakpoint.c (gdbpy_breakpoints): Use gdbpy_ref.
145
f59fe7f8
TT
1462017-01-10 Tom Tromey <tom@tromey.com>
147
148 * python/py-inferior.c (gdbpy_inferiors): Use gdbpy_ref.
149
80bd970a
TT
1502017-01-10 Tom Tromey <tom@tromey.com>
151
152 * python/py-function.c (convert_values_to_python, fnpy_init): Use
153 gdbpy_ref.
154
d1b3de2e
TT
1552017-01-10 Tom Tromey <tom@tromey.com>
156
157 * python/py-cmd.c (gdbpy_string_to_argv): Use gdbpy_ref.
158
3bb43384
TT
1592017-01-10 Tom Tromey <tom@tromey.com>
160
161 * python/py-type.c (convert_field, make_fielditem, typy_fields)
162 (typy_range): Use gdbpy_ref.
163
abf5651e
TT
1642017-01-10 Tom Tromey <tom@tromey.com>
165
166 * python/py-threadevent.c (create_thread_event_object): Use
167 gdbpy_ref.
168 * python/py-stopevent.c (create_stop_event_object): Simplify.
169 (emit_stop_event): Use gdbpy_ref.
170 * python/py-signalevent.c (create_signal_event_object): Use
171 gdbpy_ref.
172 * python/py-newobjfileevent.c (create_new_objfile_event_object)
173 (emit_new_objfile_event, create_clear_objfiles_event_object)
174 (emit_clear_objfiles_event): Use gdbpy_ref.
175 * python/py-infevents.c (create_inferior_call_event_object)
176 (create_register_changed_event_object)
177 (create_memory_changed_event_object, emit_inferior_call_event)
178 (emit_memory_changed_event, emit_register_changed_event): Use
179 gdbpy_ref.
180 * python/py-exitedevent.c (create_exited_event_object)
181 (emit_exited_event): Use gdbpy_ref.
182 * python/py-event.h (evpy_emit_event): Remove
183 CPYCHECKER_STEALS_REFERENCE_TO_ARG annotation.
184 * python/py-event.c (evpy_emit_event): Use gdbpy_ref.
185 * python/py-continueevent.c (emit_continue_event): Use
186 gdbpy_ref.
187 * python/py-breakpoint.c (gdbpy_breakpoint_created)
188 (gdbpy_breakpoint_deleted, gdbpy_breakpoint_modified): Use
189 gdbpy_ref.
190 * python/py-bpevent.c (create_breakpoint_event_object): Use
191 gdbpy_ref.
192
a68ff33e
TT
1932017-01-10 Tom Tromey <tom@tromey.com>
194
195 * python/py-ref.h: New file.
196
7becfd03
SM
1972017-01-10 Simon Marchi <simon.marchi@ericsson.com>
198
199 * cli-out.c (cli_ui_out::do_redirect): Change return type to
200 void.
201 * cli-out.h (cli_ui_out::do_redirect): Likewise.
202 * mi/mi-out.c (mi_ui_out::do_redirect): Likewise.
203 * mi/mi-out.h (mi_ui_out::do_redirect): Likewise.
204 * ui-out.c (ui_out::redirect): Likewise.
205 * ui-out.h (ui_out::redirect, ui_out::do_redirect): Likewise.
206 * cli/cli-logging.c (set_logging_redirect): Update call site of
207 ui_out::redirect.
208 (handle_redirections): Likewise.
209 * scm-ports.c (ioscm_with_output_to_port_worker): Likewise.
210 * top.c (execute_command_to_string): Likewise.
211 * utils.c (do_ui_out_redirect_pop): Likewise.
212
df294654
SM
2132017-01-10 Simon Marchi <simon.marchi@ericsson.com>
214
215 * stack.c (_initialize_stack): Update "frame" command help message.
216
f5e6296e
IB
2172017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
218
219 * d-exp.y (CastExpression): Emit UNOP_CAST_TYPE.
220
0e2d6fa6
YQ
2212017-01-06 Yao Qi <yao.qi@linaro.org>
222
223 * x86-linux-nat.h: Include gdb_proc_service.h.
224
44d6d3f9
YQ
2252017-01-06 Yao Qi <yao.qi@linaro.org>
226
227 * ser-base.h: Include serial.h.
228
656731fe
YQ
2292017-01-06 Yao Qi <yao.qi@linaro.org>
230
231 * ppc-linux-tdep.h: Include ppc-tdep.h.
232
1ca8f924
YQ
2332017-01-06 Yao Qi <yao.qi@linaro.org>
234
235 * nat/amd64-linux-siginfo.h: Include signal.h.
236
bc3008c4
YQ
2372017-01-06 Yao Qi <yao.qi@linaro.org>
238
239 * nat/aarch64-linux-hw-point.h: Include break-common.h.
240
66c80d03
YQ
2412017-01-06 Yao Qi <yao.qi@linaro.org>
242
243 * mi/mi-parse.h: Include mi-cmds.h.
244
051d2dda
YQ
2452017-01-06 Yao Qi <yao.qi@linaro.org>
246
247 * inf-loop.c: Don't include "target.h".
248 * inf-loop.h: Include it here.
249
8018d34f
YQ
2502017-01-06 Yao Qi <yao.qi@linaro.org>
251
252 * dfp.h: Include "dboulest.h" and "expression.h".
253
c0b8369c
YQ
2542017-01-06 Yao Qi <yao.qi@linaro.org>
255
256 * ax-gdb.h: Include "ax.h".
257
ad5cba2a
YQ
2582017-01-06 Yao Qi <yao.qi@linaro.org>
259
260 * Makefile.in (HFILES_NO_SRCDIR): Replace gdb_ptrace.h
261 with nat/gdb_ptrace.h.
262
1c33cd7f
YQ
2632017-01-05 Yao Qi <yao.qi@linaro.org>
264
265 * mips-fbsd-tdep.c (mips_fbsd_sigframe_init): Move && to
266 new line.
267 (mips64_fbsd_sigframe_init): Likewise.
268
c988ac1d
JB
2692017-01-04 John Baldwin <jhb@FreeBSD.org>
270
271 * mips-fbsd-tdep.c (_initialize_mips_fbsd_tdep): Use
272 GDB_OSABI_FREEBSD instead of GDB_OSABI_FREEBSD_ELF.
273
b268007c
JB
2742017-01-04 John Baldwin <jhb@FreeBSD.org>
275
276 * Makefile.in (ALLDEPFILES): Add mips-fbsd-nat.c.
277 * NEWS: Mention new FreeBSD/mips native configuration.
278 * config/mips/fbsd.mh: New file.
279 * configure.host: Add mips*-*-freebsd*.
280 * mips-fbsd-nat.c: New file.
281
387360da
JB
2822017-01-04 John Baldwin <jhb@FreeBSD.org>
283
284 * Makefile.in (ALL_TARGET_OBS): Add mips-fbsd-tdep.o.
285 (ALLDEPFILES): Add mips-fbsd-tdep.c.
286 * NEWS: Mention new FreeBSD/mips target.
287 * configure.tgt: Add mips*-*-freebsd*.
288 * mips-fbsd-tdep.c: New file.
289 * mips-fbsd-tdep.h: New file.
290
2aaaf250
YQ
2912017-01-04 Yao Qi <yao.qi@linaro.org>
292
293 * dwarf2loc.c (write_pieced_value): Don't use VALUE_FRAME_ID (to),
294 use c->frame_id when the piece location is DWARF_VALUE_REGISTER.
295
61baf725
JB
2962017-01-01 Joel Brobecker <brobecker@adacore.com>
297
298 Update copyright year range in all GDB files.
299
c113e7ff 3002017-01-01 Joel Brobecker <brobecker@adacore.com>
ce0db137 301
c113e7ff 302 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2016.
ce0db137 303
c113e7ff 304For older changes see ChangeLog-2016.
c906108c
SS
305\f
306Local Variables:
307mode: change-log
308left-margin: 8
309fill-column: 74
310version-control: never
57da7796 311coding: utf-8
c906108c 312End:
This page took 2.336304 seconds and 4 git commands to generate.