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