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