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