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