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