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