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