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