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