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