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