Commit | Line | Data |
---|---|---|
bef155c3 TT |
1 | 2017-01-10 Tom Tromey <tom@tromey.com> |
2 | ||
3 | * record-full.c (record_full_save_cleanups): Remove. | |
4 | (record_full_save): Use gdb::unlinker. | |
5 | * gcore.c (do_bfd_delete_cleanup): Remove. | |
6 | (gcore_command): Use gdb::unlinker, unique_xmalloc_ptr. Remove | |
7 | cleanups. | |
8 | * dwarf2read.c (unlink_if_set): Remove. | |
9 | (write_psymtabs_to_index): Use gdb::unlinker. | |
10 | * common/gdb_unlinker.h: New file. | |
11 | ||
192b62ce TT |
12 | 2017-01-10 Tom Tromey <tom@tromey.com> |
13 | ||
14 | * windows-tdep.c (windows_xfer_shared_library): Update. | |
15 | * windows-nat.c (windows_make_so): Update. | |
16 | * utils.h (make_cleanup_bfd_unref): Remove. | |
17 | * utils.c (do_bfd_close_cleanup, make_cleanup_bfd_unref): Remove. | |
18 | * symfile.h (symfile_bfd_open) | |
19 | (find_separate_debug_file_in_section): Return gdb_bfd_ref_ptr. | |
20 | * symfile.c (read_symbols, symbol_file_add) | |
21 | (separate_debug_file_exists): Update. | |
22 | (symfile_bfd_open): Return gdb_bfd_ref_ptr. | |
23 | (generic_load, reread_symbols): Update. | |
24 | * symfile-mem.c (symbol_file_add_from_memory): Update. | |
25 | * spu-linux-nat.c (spu_bfd_open): Return gdb_bfd_ref_ptr. | |
26 | (spu_symbol_file_add_from_memory): Update. | |
27 | * solist.h (struct target_so_ops) <bfd_open>: Return | |
28 | gdb_bfd_ref_ptr. | |
29 | (solib_bfd_fopen, solib_bfd_open): Return gdb_bfd_ref_ptr. | |
30 | * solib.c (solib_bfd_fopen, solib_bfd_open): Return | |
31 | gdb_bfd_ref_ptr. | |
32 | (solib_map_sections, reload_shared_libraries_1): Update. | |
33 | * solib-svr4.c (enable_break): Update. | |
34 | * solib-spu.c (spu_bfd_fopen): Return gdb_bfd_ref_ptr. | |
35 | * solib-frv.c (enable_break2): Update. | |
36 | * solib-dsbt.c (enable_break): Update. | |
37 | * solib-darwin.c (gdb_bfd_mach_o_fat_extract): Return | |
38 | gdb_bfd_ref_ptr. | |
39 | (darwin_solib_get_all_image_info_addr_at_init): Update. | |
40 | (darwin_bfd_open): Return gdb_bfd_ref_ptr. | |
41 | * solib-aix.c (solib_aix_bfd_open): Return gdb_bfd_ref_ptr. | |
42 | * record-full.c (record_full_save): Update. | |
43 | * python/py-objfile.c (objfpy_add_separate_debug_file): Update. | |
44 | * procfs.c (insert_dbx_link_bpt_in_file): Update. | |
45 | * minidebug.c (find_separate_debug_file_in_section): Return | |
46 | gdb_bfd_ref_ptr. | |
47 | * machoread.c (macho_add_oso_symfile): Change abfd to | |
48 | gdb_bfd_ref_ptr. | |
49 | (macho_symfile_read_all_oso): Update. | |
50 | (macho_check_dsym): Return gdb_bfd_ref_ptr. | |
51 | (macho_symfile_read): Update. | |
52 | * jit.c (bfd_open_from_target_memory): Return gdb_bfd_ref_ptr. | |
53 | (jit_bfd_try_read_symtab): Update. | |
54 | * gdb_bfd.h (gdb_bfd_open, gdb_bfd_fopen, gdb_bfd_openr) | |
55 | (gdb_bfd_openw, gdb_bfd_openr_iovec) | |
56 | (gdb_bfd_openr_next_archived_file, gdb_bfd_fdopenr): Return | |
57 | gdb_bfd_ref_ptr. | |
58 | (gdb_bfd_ref_policy): New struct. | |
59 | (gdb_bfd_ref_ptr): New typedef. | |
60 | * gdb_bfd.c (gdb_bfd_open, gdb_bfd_fopen, gdb_bfd_openr) | |
61 | (gdb_bfd_openw, gdb_bfd_openr_iovec) | |
62 | (gdb_bfd_openr_next_archived_file, gdb_bfd_fdopenr): Return | |
63 | gdb_bfd_ref_ptr. | |
64 | * gcore.h (create_gcore_bfd): Return gdb_bfd_ref_ptr. | |
65 | * gcore.c (create_gcore_bfd): Return gdb_bfd_ref_ptr. | |
66 | (gcore_command): Update. | |
67 | * exec.c (exec_file_attach): Update. | |
68 | * elfread.c (elf_symfile_read): Update. | |
69 | * dwarf2read.c (dwarf2_get_dwz_file): Update. | |
70 | (try_open_dwop_file, open_dwo_file): Return gdb_bfd_ref_ptr. | |
71 | (open_and_init_dwo_file): Update. | |
72 | (open_dwp_file): Return gdb_bfd_ref_ptr. | |
73 | (open_and_init_dwp_file): Update. | |
74 | * corelow.c (core_open): Update. | |
75 | * compile/compile-object-load.c (compile_object_load): Update. | |
76 | * common/gdb_ref_ptr.h (ref_ptr::operator->): New operator. | |
77 | * coffread.c (coff_symfile_read): Update. | |
78 | * cli/cli-dump.c (bfd_openr_or_error, bfd_openw_or_error): Return | |
79 | gdb_bfd_ref_ptr. Rename. | |
80 | (dump_bfd_file, restore_command): Update. | |
81 | * build-id.h (build_id_to_debug_bfd): Return gdb_bfd_ref_ptr. | |
82 | * build-id.c (build_id_to_debug_bfd): Return gdb_bfd_ref_ptr. | |
83 | (find_separate_debug_file_by_buildid): Update. | |
84 | ||
50315b21 TT |
85 | 2017-01-10 Tom Tromey <tom@tromey.com> |
86 | ||
87 | * common/gdb_ref_ptr.h: New file. | |
88 | * python/py-ref.h (struct gdbpy_ref_policy): New. | |
89 | (gdbpy_ref): Now a typedef. | |
90 | ||
fc4007c9 TT |
91 | 2017-01-10 Tom Tromey <tom@tromey.com> |
92 | ||
93 | * utils.h (make_cleanup_htab_delete): Don't declare. | |
94 | * utils.c (do_htab_delete_cleanup, make_cleanup_htab_delete): | |
95 | Remove. | |
96 | * linespec.c (decode_compound_collector): Add constructor, | |
97 | destructor. | |
98 | (lookup_prefix_sym): Remove cleanup. | |
99 | (symtab_collector): Add constructor, destructor. | |
100 | (collect_symtabs_from_filename): Remove cleanup. | |
101 | * disasm.c (do_mixed_source_and_assembly): Use htab_up. | |
102 | * compile/compile-c-symbols.c (generate_c_for_variable_locations): | |
103 | Use htab_up. | |
104 | * gnu-v3-abi.c (gnuv3_print_vtable): Use htab_up. | |
105 | * dwarf2read.c (dw2_expand_symtabs_matching) | |
106 | (dw2_map_symbol_filenames, dwarf_decode_macros) | |
107 | (write_psymtabs_to_index): Use htab_up. | |
108 | * dwarf2loc.c (func_verify_no_selftailcall) | |
109 | (call_site_find_chain_1, func_verify_no_selftailcall) | |
110 | (chain_candidate, call_site_find_chain_1): Use std::unordered_set, | |
111 | std::vector, gdb::unique_xmalloc_ptr. | |
112 | (call_sitep): Remove typedef. | |
113 | (dwarf2_locexpr_baton_eval): Remove unused variable. | |
114 | ||
8dbcee67 TT |
115 | 2017-01-10 Tom Tromey <tom@tromey.com> |
116 | ||
117 | * python/python-internal.h (make_cleanup_py_decref) | |
118 | (make_cleanup_py_xdecref): Don't declare. | |
119 | * python/py-utils.c (py_decref, make_cleanup_py_decref) | |
120 | (py_xdecref, make_cleanup_py_xdecref): Remove. | |
121 | ||
13df46cc TT |
122 | 2017-01-10 Tom Tromey <tom@tromey.com> |
123 | ||
124 | * python/py-framefilter.c (py_mi_print_variables): Use gdbpy_ref. | |
125 | (py_print_locals, enumerate_locals, py_print_args): Use gdbpy_ref. | |
126 | ||
06fc9bf7 TT |
127 | 2017-01-10 Tom Tromey <tom@tromey.com> |
128 | ||
129 | * python/py-framefilter.c (enumerate_args): Use gdbpy_ref. | |
130 | ||
830a4934 TT |
131 | 2017-01-10 Tom Tromey <tom@tromey.com> |
132 | ||
133 | * python/py-utils.c (unicode_to_encoded_string) | |
134 | (python_string_to_target_string) | |
135 | (python_string_to_target_python_string) | |
136 | (python_string_to_host_string, gdbpy_obj_to_string) | |
137 | (get_addr_from_python): Use gdbpy_ref. | |
138 | ||
4586d543 TT |
139 | 2017-01-10 Tom Tromey <tom@tromey.com> |
140 | ||
141 | * python/py-unwind.c (pyuw_object_attribute_to_pointer): Use | |
142 | gdbpy_ref. | |
143 | ||
59876f8f TT |
144 | 2017-01-10 Tom Tromey <tom@tromey.com> |
145 | ||
146 | * python/python.c (eval_python_command, gdbpy_decode_line) | |
147 | (gdbpy_run_events, gdbpy_start_type_printers) | |
148 | (gdbpy_apply_type_printers): Use gdbpy_ref. | |
149 | ||
97d83487 TT |
150 | 2017-01-10 Tom Tromey <tom@tromey.com> |
151 | ||
152 | * python/py-param.c (get_doc_string, compute_enum_values): Use | |
153 | gdbpy_ref. | |
154 | ||
9205649a TT |
155 | 2017-01-10 Tom Tromey <tom@tromey.com> |
156 | ||
157 | * python/py-inferior.c (find_thread_object, build_inferior_list): | |
158 | Use gdbpy_ref. | |
159 | ||
74c49d45 TT |
160 | 2017-01-10 Tom Tromey <tom@tromey.com> |
161 | ||
162 | * python/py-framefilter.c (py_print_frame): Use gdbpy_ref. | |
163 | ||
16361ffb TT |
164 | 2017-01-10 Tom Tromey <tom@tromey.com> |
165 | ||
166 | * python/py-finishbreakpoint.c (bpfinishpy_out_of_scope): Use | |
167 | gdbpy_ref. | |
168 | ||
905f2cca TT |
169 | 2017-01-10 Tom Tromey <tom@tromey.com> |
170 | ||
171 | * python/py-cmd.c (cmdpy_completer_helper): Use gdbpy_ref. Remove | |
172 | extra incref. | |
173 | (cmdpy_completer_handle_brkchars, cmdpy_completer, cmdpy_init): | |
174 | Use gdbpy_ref. | |
175 | ||
64081434 TT |
176 | 2017-01-10 Tom Tromey <tom@tromey.com> |
177 | ||
178 | * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Use | |
179 | gdbpy_ref. | |
180 | ||
59e9e831 TT |
181 | 2017-01-10 Tom Tromey <tom@tromey.com> |
182 | ||
183 | * python/py-arch.c (archpy_disassemble): Use gdbpy_ref. Don't | |
184 | decref results of PyArg_ParseTupleAndKeywords. | |
185 | ||
9de10f6d TT |
186 | 2017-01-10 Tom Tromey <tom@tromey.com> |
187 | ||
188 | * python/python.c (python_run_simple_file): Use | |
189 | unique_xmalloc_ptr, gdbpy_ref. | |
190 | ||
2bd5759d TT |
191 | 2017-01-10 Tom Tromey <tom@tromey.com> |
192 | ||
193 | * python/py-prettyprint.c (print_stack_unless_memory_error) | |
194 | (print_string_repr, print_children): Use gdbpy_ref. | |
195 | (dummy_python_frame): New class. | |
196 | (dummy_python_frame::dummy_python_frame): Rename from | |
197 | push_dummy_python_frame. | |
198 | (py_restore_tstate): Remove. | |
199 | ||
3b4e0e01 TT |
200 | 2017-01-10 Tom Tromey <tom@tromey.com> |
201 | ||
202 | * python/py-framefilter.c (py_print_frame): Use gdbpy_ref. | |
203 | ||
17a22718 TT |
204 | 2017-01-10 Tom Tromey <tom@tromey.com> |
205 | ||
206 | * python/python.c (ensure_python_env, restore_python_env): | |
207 | Remove. | |
208 | * python/python-internal.h (ensure_python_env): Don't declare. | |
209 | * varobj.h (varobj_ensure_python_env): Don't declare. | |
210 | * varobj.c (varobj_ensure_python_env): Remove. | |
211 | ||
68cdc557 TT |
212 | 2017-01-10 Tom Tromey <tom@tromey.com> |
213 | ||
214 | * varobj.c (varobj_value_get_print_value): Use | |
215 | gdbpy_enter_varobj. | |
216 | ||
1eba6383 TT |
217 | 2017-01-10 Tom Tromey <tom@tromey.com> |
218 | ||
219 | * python/py-prettyprint.c (print_string_repr, print_children): | |
220 | Update. | |
221 | * python/py-lazy-string.c (gdbpy_extract_lazy_string): Change type | |
222 | of "encoding". | |
223 | * varobj.c (varobj_value_get_print_value): Update. | |
224 | * python/python-internal.h (gdbpy_extract_lazy_string): Update. | |
225 | ||
bde7b3e3 TT |
226 | 2017-01-10 Tom Tromey <tom@tromey.com> |
227 | ||
228 | * varobj.c (varobj_get_display_hint) | |
229 | (dynamic_varobj_has_child_method, install_new_value_visualizer) | |
230 | (varobj_set_visualizer, free_variable): Use | |
231 | gdbpy_enter_varobj. | |
232 | ||
a7785f8c TT |
233 | 2017-01-10 Tom Tromey <tom@tromey.com> |
234 | ||
235 | * python/python.c (python_command): Use gdbpy_enter, gdbpy_ref. | |
236 | (do_finish_initialization): New function. Use gdbpy_ref. | |
237 | (gdbpy_finish_initialization): Use gdbpy_enter. Call | |
238 | do_finish_initialization. | |
239 | ||
2865bfce TT |
240 | 2017-01-10 Tom Tromey <tom@tromey.com> |
241 | ||
242 | * python/py-param.c (get_set_value, get_show_value): Use | |
243 | gdbpy_enter, gdbpy_ref. | |
244 | ||
0e9dcc75 TT |
245 | 2017-01-10 Tom Tromey <tom@tromey.com> |
246 | ||
247 | * python/py-function.c (fnpy_call): Use gdbpy_enter, gdbpy_ref. | |
248 | ||
12a5cedd TT |
249 | 2017-01-10 Tom Tromey <tom@tromey.com> |
250 | ||
251 | * python/py-cmd.c (cmdpy_function): Use gdbpy_enter, gdbpy_ref. | |
252 | ||
788f2586 TT |
253 | 2017-01-10 Tom Tromey <tom@tromey.com> |
254 | ||
255 | * python/py-varobj.c (py_varobj_iter_dtor, py_varobj_iter_next): | |
256 | Use gdbpy_enter_varobj. | |
257 | ||
6cd67bea TT |
258 | 2017-01-10 Tom Tromey <tom@tromey.com> |
259 | ||
260 | * varobj.c (gdbpy_enter_varobj): New constructor. | |
261 | * python/python-internal.h (gdbpy_enter_varobj): New class. | |
262 | * python/py-varobj.c (py_varobj_get_iterator): Use | |
263 | gdbpy_enter_varobj. | |
264 | ||
14b122bf TT |
265 | 2017-01-10 Tom Tromey <tom@tromey.com> |
266 | ||
267 | * python/py-xmethods.c (gdbpy_get_xmethod_result_type): Use | |
268 | gdbpy_enter, gdbpy_ref, unique_xmalloc_ptr. | |
269 | (gdbpy_invoke_xmethod): Use gdbpy_ref, gdbpy_enter. | |
270 | (gdbpy_get_xmethod_arg_types): Use gdbpy_ref, | |
271 | unique_xmalloc_ptr. | |
272 | (gdbpy_get_xmethod_arg_types): Use gdbpy_ref, gdbpy_enter. | |
273 | ||
bf1ca3b9 TT |
274 | 2017-01-10 Tom Tromey <tom@tromey.com> |
275 | ||
276 | * python/py-xmethods.c (invoke_match_method): Use | |
277 | gdbpy_ref. | |
278 | ||
572a5524 TT |
279 | 2017-01-10 Tom Tromey <tom@tromey.com> |
280 | ||
281 | * python/py-xmethods.c (gdbpy_get_matching_xmethod_workers): use | |
282 | gdbpy_enter, gdbpy_ref. | |
283 | ||
396a78b6 TT |
284 | 2017-01-10 Tom Tromey <tom@tromey.com> |
285 | ||
286 | * python/python.c (python_interactive_command): Use gdbpy_enter. | |
287 | ||
a88b13c7 TT |
288 | 2017-01-10 Tom Tromey <tom@tromey.com> |
289 | ||
290 | * python/python.c (gdbpy_before_prompt_hook): Use gdbpy_enter, | |
291 | gdbpy_ref. | |
292 | ||
e9f0c363 TT |
293 | 2017-01-10 Tom Tromey <tom@tromey.com> |
294 | ||
295 | * python/py-prettyprint.c (gdbpy_apply_val_pretty_printer): Use | |
296 | gdbpy_enter, gdbpy_ref, unique_xmalloc_ptr. | |
297 | ||
6349f452 TT |
298 | 2017-01-10 Tom Tromey <tom@tromey.com> |
299 | ||
300 | * utils.h (htab_deleter): New struct. | |
301 | (htab_up): New typedef. | |
302 | * python/py-framefilter.c (gdbpy_apply_frame_filter): Use | |
303 | gdbpy_enter, gdbpy_ref, htab_up. | |
304 | ||
c0171de6 TT |
305 | 2017-01-10 Tom Tromey <tom@tromey.com> |
306 | ||
307 | * python/py-unwind.c (pending_frame_invalidate): Remove. | |
308 | (pyuw_sniffer): Use gdbpy_enter and gdbpy_ref. | |
309 | ||
f18e226f TT |
310 | 2017-01-10 Tom Tromey <tom@tromey.com> |
311 | ||
312 | * python/py-xmethods.c (gdbpy_free_xmethod_worker_data) | |
313 | (gdbpy_clone_xmethod_worker_data): Use gdbpy_enter. | |
314 | ||
c57af3f1 TT |
315 | 2017-01-10 Tom Tromey <tom@tromey.com> |
316 | ||
317 | * python/py-type.c (save_objfile_types): Use gdbpy_enter. | |
318 | ||
60e600ec TT |
319 | 2017-01-10 Tom Tromey <tom@tromey.com> |
320 | ||
321 | * python/python.c (gdbpy_eval_from_control_command) | |
322 | (gdbpy_source_script, gdbpy_run_events) | |
323 | (gdbpy_source_objfile_script, gdbpy_execute_objfile_script) | |
324 | (gdbpy_free_type_printers, gdbpy_finish_initialization): Use | |
325 | gdbpy_enter. | |
326 | ||
bf7da5b0 TT |
327 | 2017-01-10 Tom Tromey <tom@tromey.com> |
328 | ||
329 | * python/py-progspace.c (py_free_pspace): Use gdbpy_enter. | |
330 | ||
2d38bced TT |
331 | 2017-01-10 Tom Tromey <tom@tromey.com> |
332 | ||
333 | * python/py-objfile.c (py_free_objfile): Use gdbpy_enter. | |
334 | ||
07bc7329 TT |
335 | 2017-01-10 Tom Tromey <tom@tromey.com> |
336 | ||
337 | * python/py-inferior.c (python_on_normal_stop, python_on_resume) | |
338 | (python_on_inferior_call_pre, python_on_inferior_call_post) | |
339 | (python_on_memory_change, python_on_register_change) | |
340 | (python_inferior_exit, python_new_objfile, add_thread_object) | |
341 | (delete_thread_object, py_free_inferior): Use gdbpy_enter. | |
342 | ||
6e7c365e TT |
343 | 2017-01-10 Tom Tromey <tom@tromey.com> |
344 | ||
345 | * python/py-finishbreakpoint.c (bpfinishpy_handle_stop) | |
346 | (bpfinishpy_handle_exit): Use gdbpy_enter. | |
347 | ||
6ba0cd40 TT |
348 | 2017-01-10 Tom Tromey <tom@tromey.com> |
349 | ||
350 | * python/py-cmd.c (cmdpy_destroyer) | |
351 | (cmdpy_completer_handle_brkchars, cmdpy_completer): Use | |
352 | gdbpy_enter. | |
353 | ||
de2dc875 TT |
354 | 2017-01-10 Tom Tromey <tom@tromey.com> |
355 | ||
356 | * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Use | |
357 | gdbpy_enter. | |
358 | (gdbpy_breakpoint_has_cond): Likewise. | |
359 | ||
4ecee2c4 TT |
360 | 2017-01-10 Tom Tromey <tom@tromey.com> |
361 | ||
362 | * python/python.c (gdbpy_enter): New constructor. | |
363 | (~gdbpy_enter): New destructor. | |
364 | (restore_python_env, ensure_python_env): Rewrite. | |
365 | * python/python-internal.h (gdbpy_enter): New class. | |
366 | ||
37fce74f TT |
367 | 2017-01-10 Tom Tromey <tom@tromey.com> |
368 | ||
369 | * python/py-symbol.c (gdbpy_lookup_symbol): Use gdbpy_ref. | |
370 | ||
53a0cca3 TT |
371 | 2017-01-10 Tom Tromey <tom@tromey.com> |
372 | ||
373 | * python/py-value.c (value_has_field, get_field_flag) | |
374 | (get_field_type, valpy_getitem, convert_value_from_python): Use | |
375 | gdbpy_ref. | |
376 | ||
ff3724f5 TT |
377 | 2017-01-10 Tom Tromey <tom@tromey.com> |
378 | ||
379 | * python/python.c (gdbpy_progspaces, gdbpy_objfiles): Use | |
380 | gdbpy_ref. | |
381 | ||
0700aea5 TT |
382 | 2017-01-10 Tom Tromey <tom@tromey.com> |
383 | ||
384 | * python/py-prettyprint.c (search_pp_list) | |
385 | (find_pretty_printer_from_objfiles) | |
386 | (find_pretty_printer_from_progspace) | |
387 | (find_pretty_printer_from_gdb, find_pretty_printer) | |
388 | (gdbpy_get_display_hint, gdbpy_get_varobj_pretty_printer): Use | |
389 | gdbpy_ref. | |
390 | ||
1bb44c9f TT |
391 | 2017-01-10 Tom Tromey <tom@tromey.com> |
392 | ||
393 | * python/py-param.c (call_doc_function): Use gdbpy_ref. | |
394 | ||
87ce03fd TT |
395 | 2017-01-10 Tom Tromey <tom@tromey.com> |
396 | ||
397 | * python/py-linetable.c (build_line_table_tuple_from_pcs) | |
398 | (ltpy_get_all_source_lines): Use gdbpy_ref. | |
399 | ||
ee0a3fb8 TT |
400 | 2017-01-10 Tom Tromey <tom@tromey.com> |
401 | ||
402 | * python/py-framefilter.c (extract_sym, extract_value) | |
403 | (get_py_iter_from_func, bootstrap_python_frame_filters): Use | |
404 | gdbpy_ref. | |
405 | ||
bf2a52fa TT |
406 | 2017-01-10 Tom Tromey <tom@tromey.com> |
407 | ||
408 | * python/py-breakpoint.c (gdbpy_breakpoints): Use gdbpy_ref. | |
409 | ||
f59fe7f8 TT |
410 | 2017-01-10 Tom Tromey <tom@tromey.com> |
411 | ||
412 | * python/py-inferior.c (gdbpy_inferiors): Use gdbpy_ref. | |
413 | ||
80bd970a TT |
414 | 2017-01-10 Tom Tromey <tom@tromey.com> |
415 | ||
416 | * python/py-function.c (convert_values_to_python, fnpy_init): Use | |
417 | gdbpy_ref. | |
418 | ||
d1b3de2e TT |
419 | 2017-01-10 Tom Tromey <tom@tromey.com> |
420 | ||
421 | * python/py-cmd.c (gdbpy_string_to_argv): Use gdbpy_ref. | |
422 | ||
3bb43384 TT |
423 | 2017-01-10 Tom Tromey <tom@tromey.com> |
424 | ||
425 | * python/py-type.c (convert_field, make_fielditem, typy_fields) | |
426 | (typy_range): Use gdbpy_ref. | |
427 | ||
abf5651e TT |
428 | 2017-01-10 Tom Tromey <tom@tromey.com> |
429 | ||
430 | * python/py-threadevent.c (create_thread_event_object): Use | |
431 | gdbpy_ref. | |
432 | * python/py-stopevent.c (create_stop_event_object): Simplify. | |
433 | (emit_stop_event): Use gdbpy_ref. | |
434 | * python/py-signalevent.c (create_signal_event_object): Use | |
435 | gdbpy_ref. | |
436 | * python/py-newobjfileevent.c (create_new_objfile_event_object) | |
437 | (emit_new_objfile_event, create_clear_objfiles_event_object) | |
438 | (emit_clear_objfiles_event): Use gdbpy_ref. | |
439 | * python/py-infevents.c (create_inferior_call_event_object) | |
440 | (create_register_changed_event_object) | |
441 | (create_memory_changed_event_object, emit_inferior_call_event) | |
442 | (emit_memory_changed_event, emit_register_changed_event): Use | |
443 | gdbpy_ref. | |
444 | * python/py-exitedevent.c (create_exited_event_object) | |
445 | (emit_exited_event): Use gdbpy_ref. | |
446 | * python/py-event.h (evpy_emit_event): Remove | |
447 | CPYCHECKER_STEALS_REFERENCE_TO_ARG annotation. | |
448 | * python/py-event.c (evpy_emit_event): Use gdbpy_ref. | |
449 | * python/py-continueevent.c (emit_continue_event): Use | |
450 | gdbpy_ref. | |
451 | * python/py-breakpoint.c (gdbpy_breakpoint_created) | |
452 | (gdbpy_breakpoint_deleted, gdbpy_breakpoint_modified): Use | |
453 | gdbpy_ref. | |
454 | * python/py-bpevent.c (create_breakpoint_event_object): Use | |
455 | gdbpy_ref. | |
456 | ||
a68ff33e TT |
457 | 2017-01-10 Tom Tromey <tom@tromey.com> |
458 | ||
459 | * python/py-ref.h: New file. | |
460 | ||
7becfd03 SM |
461 | 2017-01-10 Simon Marchi <simon.marchi@ericsson.com> |
462 | ||
463 | * cli-out.c (cli_ui_out::do_redirect): Change return type to | |
464 | void. | |
465 | * cli-out.h (cli_ui_out::do_redirect): Likewise. | |
466 | * mi/mi-out.c (mi_ui_out::do_redirect): Likewise. | |
467 | * mi/mi-out.h (mi_ui_out::do_redirect): Likewise. | |
468 | * ui-out.c (ui_out::redirect): Likewise. | |
469 | * ui-out.h (ui_out::redirect, ui_out::do_redirect): Likewise. | |
470 | * cli/cli-logging.c (set_logging_redirect): Update call site of | |
471 | ui_out::redirect. | |
472 | (handle_redirections): Likewise. | |
473 | * scm-ports.c (ioscm_with_output_to_port_worker): Likewise. | |
474 | * top.c (execute_command_to_string): Likewise. | |
475 | * utils.c (do_ui_out_redirect_pop): Likewise. | |
476 | ||
df294654 SM |
477 | 2017-01-10 Simon Marchi <simon.marchi@ericsson.com> |
478 | ||
479 | * stack.c (_initialize_stack): Update "frame" command help message. | |
480 | ||
f5e6296e IB |
481 | 2017-01-08 Iain Buclaw <ibuclaw@gdcproject.org> |
482 | ||
483 | * d-exp.y (CastExpression): Emit UNOP_CAST_TYPE. | |
484 | ||
0e2d6fa6 YQ |
485 | 2017-01-06 Yao Qi <yao.qi@linaro.org> |
486 | ||
487 | * x86-linux-nat.h: Include gdb_proc_service.h. | |
488 | ||
44d6d3f9 YQ |
489 | 2017-01-06 Yao Qi <yao.qi@linaro.org> |
490 | ||
491 | * ser-base.h: Include serial.h. | |
492 | ||
656731fe YQ |
493 | 2017-01-06 Yao Qi <yao.qi@linaro.org> |
494 | ||
495 | * ppc-linux-tdep.h: Include ppc-tdep.h. | |
496 | ||
1ca8f924 YQ |
497 | 2017-01-06 Yao Qi <yao.qi@linaro.org> |
498 | ||
499 | * nat/amd64-linux-siginfo.h: Include signal.h. | |
500 | ||
bc3008c4 YQ |
501 | 2017-01-06 Yao Qi <yao.qi@linaro.org> |
502 | ||
503 | * nat/aarch64-linux-hw-point.h: Include break-common.h. | |
504 | ||
66c80d03 YQ |
505 | 2017-01-06 Yao Qi <yao.qi@linaro.org> |
506 | ||
507 | * mi/mi-parse.h: Include mi-cmds.h. | |
508 | ||
051d2dda YQ |
509 | 2017-01-06 Yao Qi <yao.qi@linaro.org> |
510 | ||
511 | * inf-loop.c: Don't include "target.h". | |
512 | * inf-loop.h: Include it here. | |
513 | ||
8018d34f YQ |
514 | 2017-01-06 Yao Qi <yao.qi@linaro.org> |
515 | ||
516 | * dfp.h: Include "dboulest.h" and "expression.h". | |
517 | ||
c0b8369c YQ |
518 | 2017-01-06 Yao Qi <yao.qi@linaro.org> |
519 | ||
520 | * ax-gdb.h: Include "ax.h". | |
521 | ||
ad5cba2a YQ |
522 | 2017-01-06 Yao Qi <yao.qi@linaro.org> |
523 | ||
524 | * Makefile.in (HFILES_NO_SRCDIR): Replace gdb_ptrace.h | |
525 | with nat/gdb_ptrace.h. | |
526 | ||
1c33cd7f YQ |
527 | 2017-01-05 Yao Qi <yao.qi@linaro.org> |
528 | ||
529 | * mips-fbsd-tdep.c (mips_fbsd_sigframe_init): Move && to | |
530 | new line. | |
531 | (mips64_fbsd_sigframe_init): Likewise. | |
532 | ||
c988ac1d JB |
533 | 2017-01-04 John Baldwin <jhb@FreeBSD.org> |
534 | ||
535 | * mips-fbsd-tdep.c (_initialize_mips_fbsd_tdep): Use | |
536 | GDB_OSABI_FREEBSD instead of GDB_OSABI_FREEBSD_ELF. | |
537 | ||
b268007c JB |
538 | 2017-01-04 John Baldwin <jhb@FreeBSD.org> |
539 | ||
540 | * Makefile.in (ALLDEPFILES): Add mips-fbsd-nat.c. | |
541 | * NEWS: Mention new FreeBSD/mips native configuration. | |
542 | * config/mips/fbsd.mh: New file. | |
543 | * configure.host: Add mips*-*-freebsd*. | |
544 | * mips-fbsd-nat.c: New file. | |
545 | ||
387360da JB |
546 | 2017-01-04 John Baldwin <jhb@FreeBSD.org> |
547 | ||
548 | * Makefile.in (ALL_TARGET_OBS): Add mips-fbsd-tdep.o. | |
549 | (ALLDEPFILES): Add mips-fbsd-tdep.c. | |
550 | * NEWS: Mention new FreeBSD/mips target. | |
551 | * configure.tgt: Add mips*-*-freebsd*. | |
552 | * mips-fbsd-tdep.c: New file. | |
553 | * mips-fbsd-tdep.h: New file. | |
554 | ||
2aaaf250 YQ |
555 | 2017-01-04 Yao Qi <yao.qi@linaro.org> |
556 | ||
557 | * dwarf2loc.c (write_pieced_value): Don't use VALUE_FRAME_ID (to), | |
558 | use c->frame_id when the piece location is DWARF_VALUE_REGISTER. | |
559 | ||
61baf725 JB |
560 | 2017-01-01 Joel Brobecker <brobecker@adacore.com> |
561 | ||
562 | Update copyright year range in all GDB files. | |
563 | ||
c113e7ff | 564 | 2017-01-01 Joel Brobecker <brobecker@adacore.com> |
ce0db137 | 565 | |
c113e7ff | 566 | * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2016. |
ce0db137 | 567 | |
c113e7ff | 568 | For older changes see ChangeLog-2016. |
c906108c SS |
569 | \f |
570 | Local Variables: | |
571 | mode: change-log | |
572 | left-margin: 8 | |
573 | fill-column: 74 | |
574 | version-control: never | |
57da7796 | 575 | coding: utf-8 |
c906108c | 576 | End: |