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