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