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