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