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