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