E6500 spr mnemonics
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
7942e96e
AA
12017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
2
3 * dwarf2loc.c (indirect_synthetic_pointer): Get data type of
4 pointed-to DIE and pass it to dwarf2_evaluate_loc_desc_full.
5 (dwarf2_evaluate_loc_desc_full): New parameter subobj_type; rename
6 byte_offset to subobj_byte_offset. Fix the handling of
7 DWARF_VALUE_STACK on big-endian targets when coming via an
8 implicit pointer.
9 (dwarf2_evaluate_loc_desc): Adjust call to
10 dwarf2_evaluate_loc_desc_full.
11 * dwarf2loc.h (dwarf2_fetch_die_type_sect_off): New declaration.
12 * dwarf2read.c (dwarf2_fetch_die_type_sect_off): New function.
13
ba14f379
YQ
142017-03-16 Yao Qi <yao.qi@linaro.org>
15
16 * arm-tdep.c (thumb_record_misc): Decode CBNZ, CBZ, REV16,
17 and REVSH instructions.
18
b121eeb9
YQ
192017-03-16 Yao Qi <yao.qi@linaro.org>
20
21 * arm-tdep.c [GDB_SELF_TEST]: include "selftests.h".
22 (arm_record_test): Declare.
23 (_initialize_arm_tdep) [GDB_SELF_TEST]: call register_self_test.
24 (thumb_record_ld_st_reg_offset): Rewrite the opcode matching to
25 align with the manual.
26 (thumb_record_misc): Adjust the code order to align with the
27 manual.
28 (thumb2_record_decode_insn_handler): Fix instruction matching.
29 (instruction_reader_thumb): New class.
30 (arm_record_test): New function.
31
728a7913
YQ
322017-03-16 Yao Qi <yao.qi@linaro.org>
33
34 * arm-tdep.c (abstract_memory_reader): New class.
35 (instruction_reader): New class.
36 (extract_arm_insn): Add argument 'reader'. Callers updated.
37 (decode_insn): Likewise.
38
34b43320
DE
392017-03-16 Doug Evans <dje@google.com>
40
a7c0469f
DE
41 * guile/scm-lazy-string.c (lazy_string_smob): Clarify use of LENGTH
42 member. Change type of TYPE member to SCM. All uses updated.
43 (lsscm_make_lazy_string_smob): Add assert.
44 (lsscm_make_lazy_string): Flag bad length values.
45 (lsscm_elt_type): New function.
46 (gdbscm_lazy_string_to_value): Rewrite to use
47 lsscm_safe_lazy_string_to_value.
48 (lsscm_safe_lazy_string_to_value): Fix handling of TYPE_CODE_PTR.
49 * guile/scm-value.c (gdbscm_value_to_lazy_string): Flag bad length
50 values. Fix TYPE_CODE_PTR. Handle TYPE_CODE_ARRAY. Handle typedefs
51 in incoming type.
52 * guile/guile-internal.h (tyscm_scm_to_type): Declare.
53 * guile/scm-type.c (tyscm_scm_to_type): New function.
54
552017-03-15 Doug Evans <dje@google.com>
56
34b43320
DE
57 PR python/17728, python/18439, python/18779
58 * python/py-lazy-string.c (lazy_string_object): Clarify use of LENGTH
59 member. Change type of TYPE member to PyObject *. All uses updated.
60 (stpy_convert_to_value): Fix handling of TYPE_CODE_PTR.
61 (gdbpy_create_lazy_string_object): Flag bad length values.
62 Handle TYPE_CODE_ARRAY with possibly different user-provided length.
63 Handle typedefs in incoming type.
64 (stpy_lazy_string_elt_type): New function.
65 (gdbpy_extract_lazy_string): Call it.
66 * python/py-value.c (valpy_lazy_string): Flag bad length values.
67 Fix handling of TYPE_CODE_PTR. Handle TYPE_CODE_ARRAY. Handle
68 typedefs in incoming type.
69
a3a5fecc
DE
702017-03-16 Doug Evans <dje@google.com>
71
72 * guile/guile-internal.h (tyscm_scm_to_type): Declare.
73 * guile/scm-type.c (tyscm_scm_to_type): New function.
74
28f1c605
JW
752017-03-16 Jiong Wang <jiong.wang@arm.com>
76
77 * inf-ptrace.c (inf_ptrace_peek_poke): Change the type to
78 "ULONGEST" for "skip".
79
87c336f6
AA
802017-03-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
81
82 PR gdb/21220
83 * inf-ptrace.c (inf_ptrace_xfer_partial): In "case
84 TARGET_OBJECT_MEMORY", extract the logic for ptrace peek/poke...
85 (inf_ptrace_peek_poke): ...here. New function. Now also loop
86 over ptrace peek/poke until end of buffer or error.
87
cf81cf60
SM
882017-03-14 Simon Marchi <simon.marchi@ericsson.com>
89
90 * parse.c (length_of_subexp): Make static.
91 * parser-defs.h (length_of_subexp): Remove.
92
a379284a
AA
932017-03-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
94
95 * linux-nat.c (linux_proc_xfer_partial): Handle write operations
96 as well.
97
8a6200ba
PA
982017-03-14 Pedro Alves <palves@redhat.com>
99
100 * cp-name-parser.y (cp_demangled_name_to_comp): Update comment.
101 (main): Use std::unique_ptr. Remove calls to
102 cp_demangled_name_parse_free.
103
f79ec206
SM
1042017-03-13 Simon Marchi <simon.marchi@polymtl.ca>
105
106 * alpha-bsd-nat.c (alphabsd_fetch_inferior_registers,
107 alphabsd_store_inferior_registers): Use regcache->ptid instead
108 of inferior_ptid.
109
edb5fb00
SM
1102017-03-13 Simon Marchi <simon.marchi@polymtl.ca>
111
112 * aix-thread.c (aix_thread_fetch_registers,
113 aix_thread_store_registers): Use regcache->ptid instead of
114 inferior_ptid.
115
55119686
SM
1162017-03-13 Simon Marchi <simon.marchi@polymtl.ca>
117
118 * aarch64-linux-nat.c (fetch_gregs_from_thread,
119 store_gregs_to_thread, fetch_fpregs_from_thread,
120 store_fpregs_to_thread): Use regcache->ptid instead of
121 inferior_ptid.
122
6a06fbb7
SM
1232017-03-13 Simon Marchi <simon.marchi@polymtl.ca>
124
125 * amd64-linux-nat.c (amd64_linux_fetch_inferior_registers,
126 amd64_linux_fetch_inferior_registers): Use regcache->ptid
127 instead of inferior_ptid.
128
c6386875
SM
1292017-03-13 Simon Marchi <simon.marchi@polymtl.ca>
130
131 * target.c (target_fetch_registers, target_store_registers): Add
132 assert.
133
ddaaf0fb
SM
1342017-03-13 Simon Marchi <simon.marchi@polymtl.ca>
135
136 * regcache.h (regcache_get_ptid): New function.
137 * regcache.c (regcache_get_ptid): New function.
138
b9da89d1 1392017-03-13 Mark Wielaard <mark@klomp.org>
140
141 * cp-name-parser.y (make_empty): Initialize d_printing to zero.
142
5f4d1085
KS
1432017-03-10 Keith Seitz <keiths@redhat.com>
144
145 PR c++/8218
146 * c-typeprint.c (cp_type_print_method_args): Skip artificial arguments.
147
c65d6b55
PA
1482017-03-08 Pedro Alves <palves@redhat.com>
149
150 PR gdb/18360
151 * infrun.c (start_step_over, do_target_resume, resume)
152 (restart_threads): Assert we're not resuming a thread that is
153 meant to be stopped.
154 (infrun_thread_stop_requested_callback): Delete.
155 (infrun_thread_stop_requested): If the thread is internally
156 stopped, queue a pending stop event and clear the thread's
157 inline-frame state.
158 (handle_stop_requested): New function.
159 (handle_syscall_event, handle_inferior_event_1): Use
160 handle_stop_requested.
161 (handle_stop_requested): New function.
162 (handle_signal_stop): Set the thread's stop_signal here instead of
163 at caller.
164 (finish_step_over): Clear step over info unconditionally.
165 (handle_signal_stop): If the user had interrupted the event
166 thread, consider the stop a random signal.
167 (handle_signal_stop) <signal arrived while stepping over
168 breakpoint>: Don't restart threads here.
169 (stop_waiting): Don't clear step-over info here.
170
15c22686
PA
1712017-03-08 Pedro Alves <palves@redhat.com>
172
173 PR 21206
174 * common/gdb_unlinker.h (unlinker::unlinker): Attribute nonnull
175 goes to argument 2, not 1.
176
6e5d74e7
PA
1772017-03-08 Pedro Alves <palves@redhat.com>
178
179 PR cli/21218
180 * top.c (gdb_readline_wrapper): Avoid passing NULL to
181 display_gdb_prompt.
182 (command_line_input): Add comment.
183
9753a2f6
PA
1842017-03-08 Pedro Alves <palves@redhat.com>
185
186 PR tui/21216
187 * tui/tui-file.c (tui_file::write): New.
188 * tui/tui-file.h (tui_file): Override "write".
189 * tui/tui-io.c (do_tui_putc, update_start_line): New functions,
190 factored out from ...
191 (tui_puts): ... here.
192 (tui_putc): Use them.
193 (tui_write): New function.
194 * tui/tui-io.h (tui_write): Declare.
195
1672e0d9
SDJ
1962017-03-07 Sergio Durigan Junior <sergiodj@redhat.com>
197
198 * Makefile.in (SFILES): Replace "environ.c" with
199 "common/environ.c".
200 (HFILES_NO_SRCDIR): Likewise, for "environ.h".
201 * environ.c: Include "common-defs.h" instead of "defs.h. Moved
202 to...
203 * common/environ.c: ... here.
204 * environ.h: Moved to...
205 * common/environ.h: ... here.
206
f7bb4e3a
PB
2072017-03-07 Peter Bergner <bergner@vnet.ibm.com>
208
209 * gdbarch.sh (pstring_ptr): New static function.
210 (gdbarch_disassembler_options): Use it.
211 (gdbarch_verify_disassembler_options): Print valid_disassembler_options,
212 not valid_disassembler_option->name.
213 * gdbarch.c: Regenerate.
214
e45ced6c
PB
2152017-03-07 Peter Bergner <bergner@vnet.ibm.com>
216
217 * config/powerpc/ppc64-linux.mh (MH_CFLAGS): Delete.
218
5f6fd321
PA
2192017-03-07 Pedro Alves <palves@redhat.com>
220
221 * tui/tui-regs.c (tui_restore_gdbout): Don't delete gdb_stdout.
222
6dbb839a 2232017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
4a612d6f
WT
224
225 * i387-tdep.h (i387_reset_bnd_regs): Add function definition.
226 * i387-tdep.c (i387_reset_bnd_regs): Add function implementation.
227 * i386-tdep.c (i386_push_dummy_call): Call i387_reset_bnd_regs.
6dbb839a 228 * amd64-tdep.c (amd64_push_dummy_call): Call i387_reset_bnd_regs.
4a612d6f 229
d274ecf4
SM
2302017-03-06 Simon Marchi <simon.marchi@ericsson.com>
231
232 * xtensa-linux-nat.c (fetch_gregs): Remove const.
233
df97be55
SM
2342017-03-03 Simon Marchi <simon.marchi@ericsson.com>
235
236 * remote.c (remote_add_target_side_commands): Use range-based
237 for loop.
238
7d45f3df
YQ
2392017-03-03 Yao Qi <yao.qi@linaro.org>
240
241 PR gdb/21165
242 * ada-valprint.c (ada_val_print_ref): Call value_fetch_lazy if
243 value is lazy.
244 * valprint.c (common_val_print): Likewise.
245
65b48a81
PB
2462017-02-28 Peter Bergner <bergner@vnet.ibm.com>
247
248 * NEWS: Mention new set/show disassembler-options commands.
249 * doc/gdb.texinfo: Document new set/show disassembler-options commands.
250 * disasm.c: Include "arch-utils.h", "gdbcmd.h" and "safe-ctype.h".
251 (prospective_options): New static variable.
252 (gdb_disassembler::gdb_disassembler): Initialize
253 m_di.disassembler_options.
254 (gdb_buffered_insn_length_init_dis): Initilize di->disassembler_options.
255 (get_disassembler_options): New function.
256 (set_disassembler_options): Likewise.
257 (set_disassembler_options_sfunc): Likewise.
258 (show_disassembler_options_sfunc): Likewise.
259 (disassembler_options_completer): Likewise.
260 (_initialize_disasm): Likewise.
261 * disasm.h (get_disassembler_options): New prototype.
262 (set_disassembler_options): Likewise.
263 * gdbarch.sh (gdbarch_disassembler_options): New variable.
264 (gdbarch_verify_disassembler_options): Likewise.
265 * gdbarch.c: Regenerate.
266 * gdbarch.h: Likewise.
267 * arm-tdep.c (num_disassembly_options): Delete.
268 (set_disassembly_style): Likewise.
269 (arm_disassembler_options): New static variable.
270 (set_disassembly_style_sfunc): Convert short style name into long
271 option name. Call set_disassembler_options.
272 (show_disassembly_style_sfunc): New function.
273 (arm_gdbarch_init): Call set_gdbarch_disassembler_options and
274 set_gdbarch_verify_disassembler_options.
275 (_initialize_arm_tdep): Delete regnames variable and update callers.
276 (arm_disassembler_options): Initialize.
277 (disasm_options): New variable.
278 (num_disassembly_options): Rename from this...
279 (num_disassembly_styles): ...to this. Compute by scanning through
280 disasm_options.
281 (valid_disassembly_styles): Initialize using disasm_options.
282 Remove calls to parse_arm_disassembler_option, get_arm_regnames and
283 set_arm_regname_option.
284 Pass show_disassembly_style_sfunc to the "disassembler" setshow command.
285 * rs6000-tdep.c (powerpc_disassembler_options): New static variable.
286 (rs6000_gdbarch_init): Call set_gdbarch_disassembler_options and
287 set_gdbarch_verify_disassembler_options.
288 * s390-tdep.c (s390_disassembler_options): New static variable.
289 (s390_gdbarch_init):all set_gdbarch_disassembler_options and
290 set_gdbarch_verify_disassembler_options.
291
d538e36d
SM
2922017-02-27 Simon Marchi <simon.marchi@ericsson.com>
293
294 * remote.c (remote_add_target_side_condition): Remove "struct"
295 keyword from range-based for loop.
296
83621223
SM
2972017-02-27 Simon Marchi <simon.marchi@ericsson.com>
298
299 * remote.c (remote_add_target_side_condition): Use range-based
300 for loop. Update comment.
301
2123df0e
YQ
3022017-02-27 Yao Qi <yao.qi@linaro.org>
303
304 * f-typeprint.c (f_print_type): Check "varstring" is empty first.
305
8e368124
AH
3062017-02-26 Alan Hayward <alan.hayward@arm.com>
307
308 * regcache.c (regcache_raw_update): New function.
309 (regcache_raw_read): Move code to regcache_raw_update.
310 * regcache.h (regcache_raw_update): New declaration.
311 * remote.c (remote_prepare_to_store): Call regcache_raw_update.
312
a49dd8dd
JK
3132017-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
314
315 * dwarf2read.c (create_debug_type_hash_table): Initialize
316 header.signature and header.type_offset_in_tu.
317
34e4bae9
PA
3182017-02-24 Pedro Alves <palves@redhat.com>
319
320 * symtab.c (make_file_symbol_completion_list_1): Use
321 add_symtab_completions.
322
b0e4b369
AH
3232017-02-24 Alan Hayward <alan.hayward@arm.com>
324
325 * stack.c (frame_info): Use frame_unwind_register_value to avoid buf.
326
975c21ab
AH
3272017-02-24 Alan Hayward <alan.hayward@arm.com>
328
329 * i386-tdep.c (i386_pseudo_register_read_into_value): Use
330 I386_MAX_REGISTER_SIZE.
331 (i386_pseudo_register_write): Likewise.
332 (i386_process_record): Likewise.
333 * i387-tdep.c (i387_supply_xsave): Likewise.
334 * m68k-linux-nat.c (fetch_register): Use M68K_MAX_REGISTER_SIZE.
335 (store_register): Likewise.
336
14bc53a8
PA
3372017-02-23 Pedro Alves <palves@redhat.com>
338
339 * ada-lang.c: Include "common/function-view.h".
340 (ada_iterate_over_symbols): Adjust to use function_view as
341 callback type.
342 (struct add_partial_datum, ada_complete_symbol_matcher): Delete.
343 (ada_make_symbol_completion_list): Use a lambda.
344 (ada_exc_search_name_matches): Delete.
345 (name_matches_regex): New.
346 (ada_add_global_exceptions): Use a lambda and name_matches_regex.
347 * compile/compile-c-support.c: Include "common/function-view.h".
348 (print_one_macro): Change prototype to accept a ui_file pointer.
349 (write_macro_definitions): Use a lambda.
350 * dwarf2read.c: Include "common/function-view.h".
351 (dw2_map_expand_apply, dw2_map_symtabs_matching_filename)
352 (dw2_expand_symtabs_matching): Adjust to use function_view as
353 callback type.
354 * language.h: Include "common/function-view.h".
355 (struct language_defn) <la_iterate_over_symbols>: Adjust to use
356 function_view as callback type.
357 (LA_ITERATE_OVER_SYMBOLS): Remove DATA parameter.
358 * linespec.c: Include "common/function-view.h".
359 (collect_info::add_symbol): New method.
360 (struct symbol_and_data_callback, iterate_inline_only, struct
361 symbol_matcher_data, iterate_name_matcher): Delete.
362 (iterate_over_all_matching_symtabs): Adjust to use function_view
363 as callback type and lambdas.
364 (iterate_over_file_blocks): Adjust to use function_view as
365 callback type.
366 (decode_compound_collector): Now a class with private fields.
367 (decode_compound_collector::release_symbols): New method.
368 (collect_one_symbol): Rename to...
369 (decode_compound_collector::operator()): ... this and adjust.
370 (lookup_prefix_sym): decode_compound_collector construction bits
371 move to decode_compound_collector ctor. Pass the
372 decode_compound_collector object directly as callback. Remove
373 cleanups and use decode_compound_collector::release_symbols
374 instead.
375 (symtab_collector): Now a class with private fields.
376 (symtab_collector::release_symtabs): New method.
377 (add_symtabs_to_list): Rename to...
378 (symtab_collector::operator()): ... this and adjust.
379 (collect_symtabs_from_filename): symtab_collector construction
380 bits move to symtab_collector ctor. Pass the symtab_collector
381 object directly as callback. Remove cleanups and use
382 symtab_collector::release_symtabs instead.
383 (collect_symbols): Delete.
384 (add_matching_symbols_to_info): Use lambdas.
385 * macrocmd.c (print_macro_callback): Delete.
386 (info_macro_command): Use a lambda.
387 (info_macros_command): Pass print_macro_definition as callable
388 directly.
389 (print_one_macro): Remove 'ignore' parameter.
390 (macro_list_command): Adjust.
391 * macrotab.c (macro_for_each_data::fn): Now a function_view.
392 (macro_for_each_data::user_data): Delete field.
393 (foreach_macro): Adjust to call the function_view.
394 (macro_for_each): Adjust to use function_view as callback type.
395 (foreach_macro_in_scope): Adjust to call the function_view.
396 (macro_for_each_in_scope): Adjust to use function_view as callback
397 type.
398 * macrotab.h: Include "common/function-view.h".
399 (macro_callback_fn): Declare a prototype instead of a pointer.
400 Remove "user_data" parameter.
401 (macro_for_each, macro_for_each_in_scope): Adjust to use
402 function_view as callback type.
403 * psymtab.c (partial_map_expand_apply)
404 (psym_map_symtabs_matching_filename, recursively_search_psymtabs):
405 Adjust to use function_view as callback type and to return bool.
406 (psym_expand_symtabs_matching): Adjust to use function_view as
407 callback types.
408 * symfile-debug.c (debug_qf_map_symtabs_matching_filename): Adjust
409 to use function_view as callback type and to return bool.
410 (debug_qf_expand_symtabs_matching): Adjust to use function_view as
411 callback types.
412 * symfile.c (expand_symtabs_matching): Adjust to use function_view
413 as callback types.
414 * symfile.h: Include "common/function-view.h".
415 (expand_symtabs_file_matcher_ftype)
416 (expand_symtabs_symbol_matcher_ftype)
417 (expand_symtabs_exp_notify_ftype): Remove "data" parameter and
418 return bool.
419 (quick_symbol_functions::map_symtabs_matching_filename)
420 (quick_symbol_functions::expand_symtabs_matching): Adjust to use
421 function_view as callback type and return bool.
422 (expand_symtabs_matching): Adjust to use function_view as callback
423 type.
424 (maintenance_expand_name_matcher)
425 (maintenance_expand_file_matcher): Delete.
426 (maintenance_expand_symtabs): Use lambdas.
427 * symtab.c (iterate_over_some_symtabs): Adjust to use
428 function_view as callback types and return bool.
429 (iterate_over_symtabs): Likewise. Use unique_xmalloc_ptr instead
430 of a cleanup.
431 (lookup_symtab_callback): Delete.
432 (lookup_symtab): Use a lambda.
433 (iterate_over_symbols): Adjust to use function_view as callback
434 type.
435 (struct search_symbols_data, search_symbols_file_matches)
436 (search_symbols_name_matches): Delete.
437 (search_symbols): Use a pair of lambdas.
438 (struct add_name_data, add_macro_name, symbol_completion_matcher)
439 (symtab_expansion_callback): Delete.
440 (default_make_symbol_completion_list_break_on_1): Use lambdas.
441 * symtab.h: Include "common/function-view.h".
442 (iterate_over_some_symtabs): Adjust to use function_view as
443 callback type and return bool.
444 (iterate_over_symtabs): Adjust to use function_view as callback
445 type.
446 (symbol_found_callback_ftype): Remove 'data' parameter and return
447 bool.
448 (iterate_over_symbols): Adjust to use function_view as callback
449 type.
450
07e253aa
PA
4512017-02-23 Pedro Alves <palves@redhat.com>
452
453 * Makefile.in (SUBDIR_UNITTESTS_SRCS, SUBDIR_UNITTESTS_OBS): New.
454 (%.o) <unittests/%.c>: New pattern.
455 * configure.ac ($development): Add $(SUBDIR_UNITTESTS_OBS) to
456 CONFIG_OBS, and $(SUBDIR_UNITTESTS_SRCS) to CONFIG_SRCS.
457 * common/function-view.h: New file.
458 * unittests/function-view-selftests.c: New file.
459 * configure: Regenerate.
460
8eaf5320
SM
4612017-02-23 Simon Marchi <simon.marchi@ericsson.com>
462
463 * bsd-uthread.c (bsd_uthread_thread_alive): Use ptid instead of
464 inferior_ptid.
465 * go32-nat.c (go32_thread_alive): Likewise.
466
38768751
YQ
4672017-02-23 Yao Qi <yao.qi@linaro.org>
468
469 * varobj-iter.h (varobj_iter_delete): Call xfree instead of
470 delete.
471
0a8beaba
YQ
4722017-02-23 Yao Qi <yao.qi@linaro.org>
473
474 * varobj.c (varobj_clear_saved_item): Use delete instead of
475 xfree.
476 (update_dynamic_varobj_children): Likewise.
477
58fdfd2c
JK
4782017-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
479
480 * dwarf2read.c (dwarf2_record_block_ranges): Add forgotten BASEADDR.
481
1b90b139
SM
4822017-02-21 Simon Marchi <simon.marchi@ericsson.com>
483
484 * common/enum-flags.h (enum_flags::enum_flags): Initialize
485 m_enum_value to 0 in default constructor.
486
2039d74e
EBM
4872017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
488
489 * rs6000-tdep.c (LOAD_AND_RESERVE_MASK): Rename from LWARX_MASK.
490 (STORE_CONDITIONAL_MASK): Rename from STWCX_MASK.
491 (LBARX_INSTRUCTION, LHARX_INSTRUCTION, LQARX_INSTRUCTION,
492 STBCX_INSTRUCTION, STHCX_INSTRUCTION, STQCX_INSTRUCTION): New defines.
493 (IS_LOAD_AND_RESERVE_INSN, IS_STORE_CONDITIONAL_INSN): New macros.
494 (ppc_displaced_step_copy_insn): Use IS_LOAD_AND_RESERVE_INSN.
495 (ppc_deal_with_atomic_sequence): Use IS_LOAD_AND_RESERVE_INSN and
496 IS_STORE_CONDITIONAL_INSN.
497
7814882a
JK
4982017-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
499
500 * dwarf2_rnglists_process: Initialize range_beginning and range_end.
501
0ae60b63
JK
5022017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
503
504 * NEWS (Changes since GDB 7.12): Add DWARF-5.
505
0224619f
JK
5062017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
507
508 * dwarf2read.c (skip_one_die, read_attribute_value)
509 (dwarf2_const_value_attr, dump_die_shallow)
510 (dwarf2_get_attr_constant_value, dwarf2_fetch_constant_bytes)
511 (skip_form_bytes, attr_form_is_constant): Handle DW_FORM_data16.
512
0af92d60
JK
5132017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
514
515 * dwarf2read.c (read_file_scope): Rename DW_MACRO_GNU_*.
516 (dwarf_parse_macro_header): Accept DWARF version 5.
517 (dwarf_decode_macro_bytes, dwarf_decode_macros): Rename DW_MACRO_GNU_*.
518
216f72a1
JK
5192017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
520
521 * block.c (call_site_for_pc): Rename DW_OP_GNU_*, DW_TAG_GNU_* and
522 DW_AT_GNU_*.
523 * common/common-exceptions.h (enum errors): Likewise.
524 * dwarf2-frame.c (class dwarf_expr_executor): Likewise.
525 * dwarf2expr.c (dwarf_block_to_dwarf_reg)
526 (dwarf_expr_context::execute_stack_op): Likewise.
527 * dwarf2expr.h (struct dwarf_expr_context, struct dwarf_expr_piece):
528 Likewise.
529 * dwarf2loc.c (dwarf_evaluate_loc_desc::get_base_type)
530 (dwarf_evaluate_loc_desc::push_dwarf_reg_entry_value)
531 (show_entry_values_debug, call_site_to_target_addr)
532 (func_addr_to_tail_call_list, func_verify_no_selftailcall)
533 (dwarf_expr_reg_to_entry_parameter, dwarf_entry_parameter_to_value)
534 (entry_data_value_free_closure, value_of_dwarf_reg_entry)
535 (value_of_dwarf_block_entry, indirect_pieced_value)
536 (symbol_needs_eval_context::push_dwarf_reg_entry_value):
537 (disassemble_dwarf_expression): Likewise.
538 * dwarf2read.c (process_die, inherit_abstract_dies)
539 (read_call_site_scope): Likewise.
540 * gdbtypes.h (struct func_type, struct call_site_parameter)
541 (struct call_site): Likewise.
542 * stack.c (read_frame_arg): Likewise.
543 * std-operator.def (OP_VAR_ENTRY_VALUE): Likewise.
544
43988095
JK
5452017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
546
547 * defs.h (read_unsigned_leb128): New declaration.
548 * dwarf2loc.c (decode_debug_loclists_addresses): New function.
549 (decode_debug_loc_dwo_addresses): Update DEBUG_LOC_* to DW_LLE_*.
550 (dwarf2_find_location_expression): Call also
551 decode_debug_loclists_addresses. Handle DWARF-5 ULEB128 length.
552 * dwarf2loc.h (dwarf2_version): New declaration.
553 * dwarf2read.c (struct dwarf2_per_objfile): Add loclists, line_str,
554 rnglists.
555 (dwarf2_elf_names): Add .debug_loclists, .debug_line_str,
556 .debug_rnglists.
557 (struct dwop_section_names): Add loclists_dwo.
558 (dwop_section_names): Add .debug_loclists.dwo.
559 (struct comp_unit_head): Add unit_type, signature, type_offset_in_tu.
560 (struct dwarf2_per_cu_data): Add dwarf_version.
561 (struct dwo_sections): Add loclists.
562 (struct attr_abbrev): Add implicit_const.
563 (read_indirect_line_string): New declaration.
564 (read_unsigned_leb128): Delete declaration.
565 (rcuh_kind): New definition.
566 (read_and_check_comp_unit_head): Change parameter
567 is_debug_types_section to section_kind.
568 (dwarf2_locate_sections): Handle loclists, line_str and rnglists.
569 (read_comp_unit_head): Change parameter abfd to section, add parameter
570 section_kind. Handle DWARF-5.
571 (error_check_comp_unit_head): Accept also DWARF version 5.
572 (read_and_check_comp_unit_head): Change parameter
573 is_debug_types_section to section_kind.
574 (read_and_check_type_unit_head): Delete function.
575 (read_abbrev_offset): Handle DWARF-5.
576 (create_debug_type_hash_table): Add parameter section_kind. Process
577 only DW_UT_type. Use signature and type_offset_in_tu from struct
578 comp_unit_head.
579 (create_debug_types_hash_table): Update create_debug_type_hash_table
580 caller.
581 (create_all_type_units): Call create_debug_type_hash_table.
582 (read_cutu_die_from_dwo, init_cutu_and_read_dies): Change
583 read_and_check_type_unit_head caller to read_and_check_comp_unit_head
584 caller.
585 (skip_one_die): Handle DW_FORM_implicit_const.
586 (dwarf2_rnglists_process): New function.
587 (dwarf2_ranges_process): Call dwarf2_rnglists_process for DWARF-5.
588 (abbrev_table_read_table): Handle DW_FORM_implicit_const.
589 (read_attribute_value): Handle DW_FORM_implicit_const,
590 DW_FORM_line_strp.
591 (read_attribute): Handle DW_FORM_implicit_const.
592 (read_indirect_string_at_offset_from): New function from
593 read_indirect_string_at_offset.
594 (read_indirect_string_at_offset): Call
595 read_indirect_string_at_offset_from.
596 (read_indirect_line_string_at_offset): New function.
597 (read_indirect_string): New function comment.
598 (read_indirect_line_string): New function.
599 (read_unsigned_leb128): Make it global.
600 (dwarf2_string_attr): Handle DWARF-5.
601 (add_include_dir_stub, read_formatted_entries): New functions.
602 (dwarf_decode_line_header, dump_die_shallow, cu_debug_loc_section):
603 Handle DWARF-5.
604 (per_cu_header_read_in): Update read_comp_unit_head caller.
605 (dwarf2_version): New function.
606 * symfile.h (struct dwarf2_debug_sections): Add loclists, line_str and
607 rnglists.
608 * xcoffread.c (dwarf2_xcoff_names): Update struct dwarf2_debug_sections
609 fields.
610
22d2f3ab
JK
6112017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
612
613 * dwarf2read.c (abbrev_table_read_table): Read the data only once.
614
5f46c5a5
JK
6152017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
616
617 * dwarf2read.c (dwarf2_ranges_process): New function from
618 dwarf2_ranges_read.
619 (dwarf2_ranges_read, dwarf2_record_block_ranges): Use
620 dwarf2_ranges_process.
621
78d4d2c5
JK
6222017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
623
624 * dwarf2read.c (create_debug_type_hash_table): New function from
625 create_debug_types_hash_table.
626 (create_debug_types_hash_table): Call create_debug_type_hash_table.
627 (create_all_type_units, open_and_init_dwo_file): Update
628 create_debug_types_hash_table callers.
629
1b076f25
SDJ
6302017-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
631
632 PR gdb/16188
633 * fork-child.c (trace_start_error): Fix thinko. va_end should
634 refer to 'ap', not 'args'.
635
0db8980c
SDJ
6362017-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
637 Pedro Alves <palves@redhat.com>
638
639 PR gdb/16188
640 * darwin-nat.c (darwin_ptrace_me): Check if calls to system
641 calls succeeded.
642 * fork-child.c (trace_start_error): New function.
643 (trace_start_error_with_name): Likewise.
644 * gnu-nat.c (gnu_ptrace_me): Check if call to PTRACE succeeded.
645 * inf-ptrace.c (inf_ptrace_me): Likewise.
646 * inferior.h (trace_start_error): New prototype.
647 (trace_start_error_with_name): Likewise.
648
99e8a4f9
SDJ
6492017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
650
651 PR gdb/21164
652 * psymtab.c (maintenance_print_psymbols): Verify if 'argv' is not
653 NULL before using it.
654 * symmisc.c (maintenance_print_symbols): Likewise.
655 (maintenance_print_msymbols): Likewise.
656
4e746bb6
TW
6572017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
658
659 * NEWS: Add record Python bindings entry.
660
6612017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
662
663 * Makefile.in (SUBDIR_PYTHON_OBS): Add py-record-btrace.o,
664 py-record-full.o.
665 (SUBDIR_PYTHON_SRCS): Add py-record-btrace.c, py-record-full.c.
666 * python/py-record-btrace.c, python/py-record-btrace.h,
667 python/py-record-full.c, python/py-record-full.h: New file.
668 * python/py-record.c: Add include for py-record-btrace.h and
669 py-record-full.h.
670 (recpy_method, recpy_format, recpy_goto, recpy_replay_position,
671 recpy_instruction_history, recpy_function_call_history, recpy_begin,
672 recpy_end): Use functions from py-record-btrace.c and py-record-full.c.
673 * python/python-internal.h (PyInt_FromSsize_t, PyInt_AsSsize_t):
674 New definition.
675 (gdbpy_initialize_btrace): New export.
676 * python/python.c (_initialize_python): Add gdbpy_initialize_btrace.
677
6782017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
679
680 * Makefile.in (SUBDIR_PYTHON_OBS): Add python/py-record.o.
681 (SUBDIR_PYTHON_SRCS): Add python/py-record.c.
682 * python/py-record.c: New file.
683 * python/python-internal.h (gdbpy_start_recording,
684 gdbpy_current_recording, gdpy_stop_recording,
685 gdbpy_initialize_record): New export.
686 * python/python.c (_initialize_python): Add gdbpy_initialize_record.
687 (python_GdbMethods): Add gdbpy_start_recording,
688 gdbpy_current_recording and gdbpy_stop_recording.
689
6902017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
691
692 * record-btrace.c (record_btrace_record_method): New function.
693 (init_record_btrace_ops): Initialize to_record_method.
694 * record-full.c (record_full_record_method): New function.
695 (init_record_full_ops, init_record_full_core_ops): Add
696 record_full_record_method.
697 * record.h (enum record_method): New enum.
698 * target-debug.h (target_debug_print_enum_record_method: New define.
699 * target-delegates.c: Regenerate.
700 * target.c (target_record_method): New function.
701 * target.h: Include record.h.
702 (struct target_ops) <to_record_method>: New field.
703 (target_record_method): New export.
704
7052017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
706
707 * record.h (record_start, record_stop): New export.
708 * record.c (record_start, record_stop): New function.
709
7102017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
711
712 * btrace.c (btrace_fetch): Copy function call segments pointer
713 into a vector.
714 (btrace_clear): Clear the vector.
715 (btrace_find_insn_by_number): Use binary search to find the correct
716 function call segment.
717 * btrace.h (brace_fun_p): New typedef.
718 (struct btrace_thread_info) <functions>: New field.
719
7202017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
721
722 * record-btrace.c (btrace_ui_out_decode_error): Move most of it ...
723 * btrace.c (btrace_decode_error): ... here. New function.
724 * btrace.h (btrace_decode_error): New export.
725
7262017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
727
728 * btrace.c (ftrace_call_num_insn, btrace_insn_get_error): New function.
729 (ftrace_new_function, btrace_insn_number, btrace_insn_cmp,
730 btrace_find_insn_by_number): Remove special case for gaps.
731 * btrace.h (btrace_insn_get_error): New export.
732 (btrace_insn_number, btrace_find_insn_by_number): Adjust comment.
733 * record-btrace.c (btrace_insn_history): Print number for gaps.
734 (record_btrace_info, record_btrace_goto): Handle gaps.
735
3f77c769
TT
7362017-02-14 Tom Tromey <tom@tromey.com>
737
738 PR python/13598:
739 * python/python.c (gdbpy_before_prompt_hook): Emit before_prompt
740 event.
741 * python/py-evts.c (gdbpy_initialize_py_events): Add
742 before_prompt registry.
743 * python/py-events.h (events_object) <before_prompt>: New field.
744
4c2c7ac6
MM
7452017-02-14 Markus Metzger <markus.t.metzger@intel.com>
746
747 * btrace.c (ftrace_new_switch): Preserve up link and flags.
748
5cf30ebf
LM
7492017-02-13 Luis Machado <lgustavo@codesourcery.com>
750
751 * symfile (_initialize_symfile): Add usage text to the load command's
752 help text.
753
26a06916
SM
7542017-02-10 Simon Marchi <simon.marchi@ericsson.com>
755
756 * utils.c (defaulted_query): Don't query on secondary UIs.
757
0b145e37
TT
7582017-02-10 Tom Tromey <tom@tromey.com>
759
760 * rust-lang.c (rust_get_disr_info): Remove unused variable.
761
2d8365c4
TT
7622017-02-10 Tom Tromey <tom@tromey.com>
763
764 * python/py-value.c (valpy_richcompare_throw): Remove unnecessary
765 "cleanup" local.
766 * python/py-type.c (typy_legacy_template_argument): Remove
767 unnecessary "cleanup" local.
768
2bb8f231
TT
7692017-02-10 Tom Tromey <tom@tromey.com>
770
771 * python/python.c (do_start_initialization): New function, from
772 _initialize_python.
773 (_initialize_python): Call do_start_initialization.
774 * python/py-linetable.c (ltpy_iternext): Use explicit returns, not
775 goto.
776
1bdfaf42
TT
7772017-02-10 Tom Tromey <tom@tromey.com>
778
779 * python/py-prettyprint.c (pretty_print_one_value): Use
780 gdbpy_ref.
781
88b6faea
TT
7822017-02-10 Tom Tromey <tom@tromey.com>
783
784 * python/py-cmd.c (cmdpy_destroyer): Use gdbpy_ref.
785 * python/py-breakpoint.c (gdbpy_breakpoint_deleted): Use
786 gdbpy_ref.
787 * python/py-type.c (field_new): Use gdbpy_ref.
788 * python/py-symtab.c (symtab_and_line_to_sal_object): Use
789 gdbpy_ref.
790 * python/py-progspace.c (pspy_new): Use gdbpy_ref.
791 (py_free_pspace): Likewise.
792 (pspace_to_pspace_object): Likewise.
793 * python/py-objfile.c (objfpy_new): Use gdbpy_ref.
794 (py_free_objfile): Likewise.
795 (objfile_to_objfile_object): Likewise.
796 * python/py-inferior.c (delete_thread_object): Use
797 gdbpy_ref.
798 (infpy_read_memory): Likewise.
799 (py_free_inferior): Likewise.
800 * python/py-evtregistry.c (create_eventregistry_object): Use
801 gdbpy_ref.
802 * python/py-event.c (create_event_object): Use gdbpy_ref.
803
7780f186
TT
8042017-02-10 Tom Tromey <tom@tromey.com>
805
806 * python/py-ref.h (gdbpy_ref_policy): Now a template.
807 (gdbpy_ref): Now a template; allow subclasses of PyObject to be
808 used.
809 * python/py-arch.c, python/py-bpevent.c, python/py-breakpoint.c,
810 python/py-cmd.c, python/py-continueevent.c, python/py-event.c,
811 python/py-exitedevent.c, python/py-finishbreakpoint.c,
812 python/py-framefilter.c, python/py-function.c,
813 python/py-inferior.c, python/py-infevents.c,
814 python/py-linetable.c, python/py-newobjfileevent.c,
815 python/py-param.c, python/py-prettyprint.c, python/py-ref.h,
816 python/py-signalevent.c, python/py-stopevent.c,
817 python/py-symbol.c, python/py-threadevent.c, python/py-type.c,
818 python/py-unwind.c, python/py-utils.c, python/py-value.c,
819 python/py-varobj.c, python/py-xmethods.c, python/python.c,
820 varobj.c: Change gdbpy_ref to gdbpy_ref<>.
821
d4b0bb18
TT
8222017-02-10 Tom Tromey <tom@tromey.com>
823
824 * ui-out.h (ui_out_emit_type): New class.
825 (ui_out_emit_tuple, ui_out_emit_list): New typedefs.
826 * python/py-framefilter.c (py_print_single_arg): Use gdb::optional
827 and ui_out_emit_tuple.
828 (enumerate_locals): Likewise.
829 (py_mi_print_variables, py_print_locals, py_print_args): Use
830 ui_out_emit_list.
831 (py_print_frame): Use gdb::optional, ui_out_emit_tuple,
832 ui_out_emit_list.
833 * common/gdb_optional.h: New file.
834
f67f945c
MG
8352017-02-10 Martin Galvan <martingalvan@sourceware.org>
836
837 * MAINTAINERS (Write After Approval): Update my e-mail address.
838
18da0c51
MG
8392017-02-10 Martin Galvan <martingalvan@sourceware.org>
840
841 PR gdb/21122
842 * breakpoint.c (_initialize_breakpoint): Update the help description
843 of the 'commands' command to indicate that it takes a list argument.
844
62c14536
SM
8452017-02-09 Simon Marchi <simon.marchi@ericsson.com>
846
847 * interps.c (current_interp_set_logging): Remove "return".
848
ff6fa247
GB
8492017-02-09 Gary Benson <gbenson@redhat.com>
850
851 * symtab.c (add_symtab_completions): Prevent NULL pointer
852 dereference.
853
a474bd8e
PA
8542017-02-08 Pedro Alves <palves@redhat.com>
855
856 * interps.c (interp::interp): Remove reference to quiet_p.
857 (interp_set): Make static. Remove dead "Switching to" output
858 code.
859 (interp_quiet_p, interp_set_quiet): Delete.
860 (interpreter_exec_cmd): Don't set the interpreter quiet.
861 * interps.h (interp_quiet_p): Make static.
862 (class interp) <quiet_p>: Remove field
863
3d7b173c
JG
8642017-02-08 Jerome Guitton <guitton@adacore.com>
865
604c4576
JG
866 * cli/cli-decode.c (find_command_name_length): Make it extern.
867 * cli/cli-decode.h (find_command_name_length): Declare.
868 * cli/cli-script.c (command_name_equals, line_first_arg):
869 New functions.
870 (process_next_line): Use cli-decode to parse command names.
871 (build_command_line): Make args a constant pointer.
872
8732017-02-08 Jerome Guitton <guitton@adacore.com>
6dbb839a 874
3d7b173c
JG
875 * cli-decode.c (lookup_cmd_1, lookup_cmd_composition):
876 Remove case-insensitive search.
877
1291063d
JM
8782017-02-07 Jose E. Marchesi <jose.marchesi@oracle.com>
879
880 * sparc-tdep.c (sparc32_gdbarch_init): Do not place a + operator
881 at the end of the line. Avoids an ARI warning.
882
20b477a7
LM
8832017-02-06 Luis Machado <lgustavo@codesourcery.com>
884
885 * NEWS: Mention support for record/replay of Intel 64 rdrand and
886 rdseed instructions.
887 i386-tdep.c (i386_process_record): Handle Intel 64 rdrand and rseed.
888
3f7b46f2
IR
8892017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
890
891 PR tdep/20936
892 Provide and use sparc32 and sparc64 target description XML files.
893 * features/sparc/sparc32-cp0.xml, features/sparc/sparc32-cpu.xml,
894 features/sparc/sparc32-fpu.xml: New files for sparc 32-bit.
895 * features/sparc/sparc64-cp0.xml, features/sparc/sparc64-cpu.xml,
896 features/sparc/sparc64-fpu.xml: New files for sparc 64-bit.
897 * features/sparc/sparc32-solaris.xml: New file.
898 * features/sparc/sparc64-solaris.xml: New file.
899 * features/sparc/sparc32-solaris.c: Generated.
900 * features/sparc/sparc64-solaris.c: Generated.
901 * sparc-tdep.h: Account for differences in target descriptions.
902 * sparc-tdep.c (sparc32_register_name): Use target provided registers.
903 (sparc32_register_type): Use target provided registers.
904 (validate_tdesc_registers): New function.
905 (sparc32_gdbarch_init): Use tdesc_has_registers.
906 Set pseudoregister functions.
907 * sparc64-tdep.c (sparc64_register_name): Use target provided registers.
908 (sparc64_register_type): Use target provided registers.
909 (sparc64_init_abi): Set pseudoregister functions.
910
f0fd41c1
TT
9112017-02-03 Tom Tromey <tom@tromey.com>
912
913 PR rust/21097:
914 * rust-lang.c (rust_print_type) <TYPE_CODE_UNION>: Handle enums
915 with a single member.
916
d6f9b0fb
PA
9172017-02-03 Pedro Alves <palves@redhat.com>
918
919 * cli/cli-interp.c (cli_interp_base::cli_interp_base)
920 (cli_interp_base::~cli_interp_base): New.
921 (cli_interp): New struct.
922 (as_cli_interp): Cast the interp itself to cli_interp.
923 (cli_interpreter_pre_command_loop): Rename to ...
924 (cli_interp_base::pre_command_loop): ... this. Remove 'self'
925 parameter.
926 (cli_interpreter_init): Rename to ...
927 (cli_interp::init): ... this. Remove 'self' parameter. Use
928 boolean. Make extern.
929 (cli_interpreter_resume): Rename to ...
930 (cli_interp::resume): ... this. Remove 'data' parameter. Make
931 extern.
932 (cli_interpreter_suspend): Rename to ...
933 (cli_interp::suspend): ... this. Remove 'data' parameter. Make
934 extern.
935 (cli_interpreter_exec): Rename to ...
936 (cli_interp::exec): ... this. Remove 'data' parameter. Make
937 extern.
938 (cli_interpreter_supports_command_editing): Rename to ...
939 (cli_interp_base::supports_command_editing): ... this. Remove
940 'interp' parameter. Make extern.
941 (cli_ui_out): Rename to ...
942 (cli_interp::interp_ui_out): ... this. Remove 'interp' parameter.
943 Make extern.
944 (cli_set_logging): Rename to ...
945 (cli_interp_base::set_logging): ... this. Remove 'interp'
946 parameter. Make extern.
947 (cli_interp_procs): Delete.
948 (cli_interp_factory): Adjust to use "new".
949 * cli/cli-interp.h: Include "interps.h".
950 (struct cli_interp_base): New struct.
951 * interps.c (struct interp): Delete. Fields moved to interps.h.
952 (interp_new): Delete.
953 (interp::interp, interp::~interp): New.
954 (interp_set): Use bool, and return void. Assume the interpreter
955 has suspend, init and resume methods, and that the all return
956 void.
957 (set_top_level_interpreter): interp_set returns void.
958 (interp_ui_out): Adapt.
959 (current_interp_set_logging): Adapt.
960 (interp_data): Delete.
961 (interp_pre_command_loop, interp_supports_command_editing): Adapt.
962 (interp_exec): Adapt.
963 (top_level_interpreter_data): Delete.
964 * interps.h (interp_init_ftype, interp_resume_ftype)
965 (interp_suspend_ftype, interp_exec_ftype)
966 (interp_pre_command_loop_ftype, interp_ui_out_ftype): Delete.
967 (class interp): New.
968 (interp_new): Delete.
969 (interp_set): Now returns void. Use bool.
970 (interp_data, top_level_interpreter_data): Delete.
971 * mi/mi-common.h: Include interps.h.
972 (class mi_interp): Inherit from interp. Define a ctor. Declare
973 init, resume, suspect, exec, interp_ui_out, set_logging and
974 pre_command_loop methods.
975 * mi/mi-interp.c (as_mi_interp): Cast the interp itself.
976 (mi_interpreter_init): Rename to ...
977 (mi_interp::init): ... this. Remove the 'interp' parameter, use
978 bool, return void and make extern. Adjust.
979 (mi_interpreter_resume): ... Rename to ...
980 (mi_interp::resume): ... this. Remove the 'data' parameter,
981 return void and make extern. Adjust.
982 (mi_interpreter_suspend): ... Rename to ...
983 (mi_interp::suspend): ... this. Remove the 'data' parameter,
984 return void and make extern. Adjust.
985 (mi_interpreter_exec): ... Rename to ...
986 (mi_interp::exec): ... this. Remove the 'data' parameter and make
987 extern. Adjust.
988 (mi_interpreter_pre_command_loop): ... Rename to ...
989 (mi_interp::pre_command_loop): ... this. Remove the 'self'
990 parameter and make extern.
991 (mi_on_normal_stop_1): Adjust.
992 (mi_ui_out): Rename to ...
993 (mi_interp::interp_ui_out): ... this. Remove the 'interp'
994 parameter and make extern. Adjust.
995 (mi_set_logging): Rename to ...
996 (mi_interp::set_logging): ... this. Remove the 'interp'
997 parameter and make extern. Adjust.
998 (mi_interp_procs): Delete.
999 (mi_interp_factory): Adjust to use 'new'.
1000 * mi/mi-main.c (mi_cmd_gdb_exit, captured_mi_execute_command)
1001 (mi_print_exception, mi_execute_command, mi_load_progress):
1002 Adjust.
1003 * tui/tui-interp.c (tui_interp): New class.
1004 (as_tui_interp): Return a tui_interp pointer.
1005 (tui_on_normal_stop, tui_on_signal_received)
1006 (tui_on_end_stepping_range, tui_on_signal_exited, tui_on_exited)
1007 (tui_on_no_history, tui_on_user_selected_context_changed): Adjust
1008 to use interp::interp_ui_out.
1009 (tui_init): Rename to ...
1010 (tui_interp::init): ... this. Remove the 'self' parameter, use
1011 bool, return void and make extern. Adjust.
1012 (tui_resume): Rename to ...
1013 (tui_interp::resume): ... this. Remove the 'data' parameter,
1014 return void and make extern. Adjust.
1015 (tui_suspend): Rename to ...
1016 (tui_interp::suspend): ... this. Remove the 'data' parameter,
1017 return void and make extern. Adjust.
1018 (tui_ui_out): Rename to ...
1019 (tui_interp::interp_ui_out): ... this. Remove the 'self'
1020 parameter, and make extern. Adjust.
1021 (tui_exec): Rename to ...
1022 (tui_interp::exec): ... this. Remove the 'data' parameter and
1023 make extern.
1024 (tui_interp_procs): Delete.
1025 (tui_interp_factory): Use "new".
1026
65c40c95
TT
10272017-02-02 Tom Tromey <tom@tromey.com>
1028
1029 * rust-exp.y (ends_raw_string, space_then_number)
1030 (rust_identifier_start_p): Return bool.
1031 * rust-lang.c (rust_tuple_type_p, rust_underscore_fields)
1032 (rust_tuple_struct_type_p, rust_tuple_variant_type_p)
1033 (rust_slice_type_p, rust_range_type_p, rust_u8_type_p)
1034 (rust_chartype_p): Return bool.
1035 (val_print_struct, rust_print_struct_def, rust_print_type):
1036 Update.
1037 * rust-lang.h (rust_tuple_type_p, rust_tuple_struct_type_p):
1038 Return bool.
1039
b50f188d
TT
10402017-02-02 Tom Tromey <tom@tromey.com>
1041
1042 * rust-lang.c: Reindent.
1043
03c85b11
TT
10442017-02-02 Tom Tromey <tom@tromey.com>
1045
1046 * rust-lang.h (rust_crate_for_block): Update.
1047 * rust-lang.c (rust_crate_for_block): Return std::string.
1048 (rust_get_disr_info): Use std:;string, not
1049 gdb::unique_xmalloc_ptr.
1050 * rust-exp.y (crate_name): Update.
1051
9b6da501
PA
10522017-02-02 Pedro Alves <palves@redhat.com>
1053
1054 * disasm-selftests.c (print_one_insn_test): Move the "verbose"
1055 field out of gdb_disassembler_test and make it static.
1056
ec4cb20b
PA
10572017-02-02 Pedro Alves <palves@redhat.com>
1058
1059 * mi/mi-common.h (struct mi_interp): Delete the mi2_interp,
1060 mi1_interp and mi_interp fields.
1061
5be5dbf0
PA
10622017-02-02 Pedro Alves <palves@redhat.com>
1063
616268b6
PA
1064 * cli/cli-interp.c (struct saved_output_files, saved_output):
1065 Moved from cli/cli-logging.c.
1066 (cli_set_logging): New function.
1067 (cli_interp_procs): Install cli_set_logging.
1068 * cli/cli-interp.h (make_logging_output, cli_set_logging):
1069 Declare.
1070 * cli/cli-logging.c (struct saved_output_files, saved_output):
1071 Moved to cli/cli-interp.c.
1072 (pop_output_files): Don't save outputs here.
1073 (make_logging_output): New function.
1074 (handle_redirections): Don't build tee nor save previous outputs
1075 here.
1076 * interps.c (current_interp_set_logging): Change prototype.
1077 Assume there's always a set_logging_proc method installed.
1078 * interps.h (interp_set_logging_ftype): Change prototype.
1079 (current_interp_set_logging): Change prototype and adjust comment.
1080 * mi/mi-interp.c (mi_set_logging): Change protototype. Adjust to
1081 use make_logging_output.
1082 * tui/tui-interp.c (tui_interp_procs): Install cli_set_logging.
10832017-02-02 Pedro Alves <palves@redhat.com>
1084
5be5dbf0
PA
1085 * cli/cli-logging.c (maybe_warn_already_logging): New factored out
1086 from ...
1087 (set_logging_overwrite): ... here.
1088 (logging_no_redirect_file): Delete.
1089 (set_logging_redirect): Don't handle redirection on the fly.
1090 Instead warn that "logging off" / "logging on" is necessary.
1091 (pop_output_files): Delete references to logging_no_redirect_file.
1092 (show_logging_command): Always speak in terms of what will happen
1093 once logging is reenabled.
1094
c99cc448
PA
10952017-02-02 Pedro Alves <palves@redhat.com>
1096
1097 * disasm.h (gdb_pretty_print_disassembler): Tweak intro comment.
1098
8b172ce7
PA
10992017-02-02 Pedro Alves <palves@redhat.com>
1100
1101 * disasm.c (gdb_pretty_print_insn): Rename to ...
1102 (gdb_pretty_print_disassembler::pretty_print_insn): ... this.
1103 Remove gdbarch parameter. Adapt to clear the object's buffers
1104 instead of allocating new buffers, and to print using the object's
1105 gdb_disassembler instead of calling gdb_print_insn.
1106 (dump_insns): Use gdb_pretty_print_disassembler.
1107 * disasm.h (gdb_pretty_print_insn): Delete declaration.
1108 (gdb_pretty_print_disassembler): New class.
1109 * record-btrace.c (btrace_insn_history): Use
1110 gdb_pretty_print_disassembler.
1111
d7e74731
PA
11122017-02-02 Pedro Alves <palves@redhat.com>
1113
1114 * ada-lang.c (type_as_string): Use string_file.
1115 * ada-valprint.c (ada_print_floating): Use string_file.
1116 * ada-varobj.c (ada_varobj_scalar_image)
1117 (ada_varobj_get_value_image): Use string_file.
1118 * aix-thread.c (aix_thread_extra_thread_info): Use string_file.
1119 * arm-tdep.c (_initialize_arm_tdep): Use string_printf.
1120 * breakpoint.c (update_inserted_breakpoint_locations)
1121 (insert_breakpoint_locations, reattach_breakpoints)
1122 (print_breakpoint_location, print_one_detail_ranged_breakpoint)
1123 (print_it_watchpoint): Use string_file.
1124 (save_breakpoints): Use stdio_file.
1125 * c-exp.y (oper): Use string_file.
1126 * cli/cli-logging.c (set_logging_redirect): Use ui_file_up and
1127 tee_file.
1128 (pop_output_files): Use delete.
1129 (handle_redirections): Use stdio_file and tee_file.
1130 * cli/cli-setshow.c (do_show_command): Use string_file.
1131 * compile/compile-c-support.c (c_compute_program): Use
1132 string_file.
1133 * compile/compile-c-symbols.c (generate_vla_size): Take a
1134 'string_file &' instead of a 'ui_file *'.
1135 (generate_c_for_for_one_variable): Take a 'string_file &' instead
1136 of a 'ui_file *'. Use string_file.
1137 (generate_c_for_variable_locations): Take a 'string_file &'
1138 instead of a 'ui_file *'.
1139 * compile/compile-internal.h (generate_c_for_for_one_variable):
1140 Take a 'string_file &' instead of a 'ui_file *'.
1141 * compile/compile-loc2c.c (push, pushf, unary, binary)
1142 (print_label, pushf_register_address, pushf_register)
1143 (do_compile_dwarf_expr_to_c): Take a 'string_file &' instead of a
1144 'ui_file *'. Adjust.
1145 * compile/compile.c (compile_to_object): Use string_file.
1146 * compile/compile.h (compile_dwarf_expr_to_c)
1147 (compile_dwarf_bounds_to_c): Take a 'string_file &' instead of a
1148 'ui_file *'.
1149 * cp-support.c (inspect_type): Use string_file and obstack_copy0.
1150 (replace_typedefs_qualified_name): Use string_file and
1151 obstack_copy0.
1152 * disasm.c (gdb_pretty_print_insn): Use string_file.
1153 (gdb_disassembly): Adjust reference the null_stream global.
1154 (do_ui_file_delete): Delete.
1155 (gdb_insn_length): Use null_stream.
1156 * dummy-frame.c (maintenance_print_dummy_frames): Use stdio_file.
1157 * dwarf2loc.c (dwarf2_compile_property_to_c)
1158 (locexpr_generate_c_location, loclist_generate_c_location): Take a
1159 'string_file &' instead of a 'ui_file *'.
1160 * dwarf2loc.h (dwarf2_compile_property_to_c): Likewise.
1161 * dwarf2read.c (do_ui_file_peek_last): Delete.
1162 (dwarf2_compute_name): Use string_file.
1163 * event-top.c (gdb_setup_readline): Use stdio_file.
1164 * gdbarch.sh (verify_gdbarch): Use string_file.
1165 * gdbtypes.c (safe_parse_type): Use null_stream.
1166 * guile/scm-breakpoint.c (gdbscm_breakpoint_commands): Use
1167 string_file.
1168 * guile/scm-disasm.c (gdbscm_print_insn_from_port): Take a
1169 'string_file *' instead of a 'ui_file *'.
1170 (gdbscm_arch_disassemble): Use string_file.
1171 * guile/scm-frame.c (frscm_print_frame_smob): Use string_file.
1172 * guile/scm-ports.c (class ioscm_file_port): Now a class that
1173 inherits from ui_file.
1174 (ioscm_file_port_delete, ioscm_file_port_rewind)
1175 (ioscm_file_port_put): Delete.
1176 (ioscm_file_port_write): Rename to ...
1177 (ioscm_file_port::write): ... this. Remove file_port_magic
1178 checks.
1179 (ioscm_file_port_new): Delete.
1180 (ioscm_with_output_to_port_worker): Use ioscm_file_port and
1181 ui_file_up.
1182 * guile/scm-type.c (tyscm_type_name): Use string_file.
1183 * guile/scm-value.c (vlscm_print_value_smob, gdbscm_value_print):
1184 Use string_file.
1185 * infcmd.c (print_return_value_1): Use string_file.
1186 * infrun.c (print_target_wait_results): Use string_file.
1187 * language.c (add_language): Use string_file.
1188 * location.c (explicit_to_string_internal): Use string_file.
1189 * main.c (captured_main_1): Use null_file.
1190 * maint.c (maintenance_print_architecture): Use stdio_file.
1191 * mi/mi-cmd-stack.c (list_arg_or_local): Use string_file.
1192 * mi/mi-common.h (struct mi_interp) <out, err, log, targ,
1193 event_channel>: Change type to mi_console_file pointer.
1194 * mi/mi-console.c (mi_console_file_fputs, mi_console_file_flush)
1195 (mi_console_file_delete): Delete.
1196 (struct mi_console_file): Delete.
1197 (mi_console_file_magic): Delete.
1198 (mi_console_file_new): Delete.
1199 (mi_console_file::mi_console_file): New.
1200 (mi_console_file_delete): Delete.
1201 (mi_console_file_fputs): Delete.
1202 (mi_console_file::write): New.
1203 (mi_console_raw_packet): Delete.
1204 (mi_console_file::flush): New.
1205 (mi_console_file_flush): Delete.
1206 (mi_console_set_raw): Rename to ...
1207 (mi_console_file::set_raw): ... this.
1208 * mi/mi-console.h (class mi_console_file): New class.
1209 (mi_console_file_new, mi_console_set_raw): Delete.
1210 * mi/mi-interp.c (mi_interpreter_init): Use mi_console_file.
1211 (mi_set_logging): Use delete and tee_file. Adjust.
1212 * mi/mi-main.c (output_register): Use string_file.
1213 (mi_cmd_data_evaluate_expression): Use string_file.
1214 (mi_cmd_data_read_memory): Use string_file.
1215 (mi_cmd_execute, print_variable_or_computed): Use string_file.
1216 * mi/mi-out.c (mi_ui_out::main_stream): New.
1217 (mi_ui_out::rewind): Use main_stream and
1218 string_file.
1219 (mi_ui_out::put): Use main_stream and string_file.
1220 (mi_ui_out::mi_ui_out): Remove 'stream' parameter.
1221 Allocate a 'string_file' instead.
1222 (mi_out_new): Don't allocate a mem_fileopen stream here.
1223 * mi/mi-out.h (mi_ui_out::mi_ui_out): Remove 'stream' parameter.
1224 (mi_ui_out::main_stream): Declare method.
1225 * printcmd.c (eval_command): Use string_file.
1226 * psymtab.c (maintenance_print_psymbols): Use stdio_file.
1227 * python/py-arch.c (archpy_disassemble): Use string_file.
1228 * python/py-breakpoint.c (bppy_get_commands): Use string_file.
1229 * python/py-frame.c (frapy_str): Use string_file.
1230 * python/py-framefilter.c (py_print_type, py_print_single_arg):
1231 Use string_file.
1232 * python/py-type.c (typy_str): Use string_file.
1233 * python/py-unwind.c (unwind_infopy_str): Use string_file.
1234 * python/py-value.c (valpy_str): Use string_file.
1235 * record-btrace.c (btrace_insn_history): Use string_file.
1236 * regcache.c (regcache_print): Use stdio_file.
1237 * reggroups.c (maintenance_print_reggroups): Use stdio_file.
1238 * remote.c (escape_buffer): Use string_file.
1239 * rust-lang.c (rust_get_disr_info): Use string_file.
1240 * serial.c (serial_open_ops_1): Use stdio_file.
1241 (do_serial_close): Use delete.
1242 * stack.c (print_frame_arg): Use string_file.
1243 (print_frame_args): Remove local mem_fileopen stream, not used.
1244 (print_frame): Use string_file.
1245 * symmisc.c (maintenance_print_symbols): Use stdio_file.
1246 * symtab.h (struct symbol_computed_ops) <generate_c_location>:
1247 Take a 'string_file *' instead of a 'ui_file *'.
1248 * top.c (new_ui): Use stdio_file and stderr_file.
1249 (free_ui): Use delete.
1250 (execute_command_to_string): Use string_file.
1251 (quit_confirm): Use string_file.
1252 * tracepoint.c (collection_list::append_exp): Use string_file.
1253 * tui/tui-disasm.c (tui_disassemble): Use string_file.
1254 * tui/tui-file.c: Don't include "ui-file.h".
1255 (enum streamtype, struct tui_stream): Delete.
1256 (tui_file_new, tui_file_delete, tui_fileopen, tui_sfileopen)
1257 (tui_file_isatty, tui_file_rewind, tui_file_put): Delete.
1258 (tui_file::tui_file): New method.
1259 (tui_file_fputs): Delete.
1260 (tui_file_get_strbuf): Delete.
1261 (tui_file::puts): New method.
1262 (tui_file_adjust_strbuf): Delete.
1263 (tui_file_flush): Delete.
1264 (tui_file::flush): New method.
1265 * tui/tui-file.h: Tweak intro comment.
1266 Include ui-file.h.
1267 (tui_fileopen, tui_sfileopen, tui_file_get_strbuf)
1268 (tui_file_adjust_strbuf): Delete declarations.
1269 (class tui_file): New class.
1270 * tui/tui-io.c (tui_initialize_io): Use tui_file.
1271 * tui/tui-regs.c (tui_restore_gdbout): Use delete.
1272 (tui_register_format): Use string_stream.
1273 * tui/tui-stack.c (tui_make_status_line): Use string_file.
1274 (tui_get_function_from_frame): Use string_file.
1275 * typeprint.c (type_to_string): Use string_file.
1276 * ui-file.c (struct ui_file, ui_file_magic, ui_file_new): Delete.
1277 (null_stream): New global.
1278 (ui_file_delete): Delete.
1279 (ui_file::ui_file): New.
1280 (null_file_isatty): Delete.
1281 (ui_file::~ui_file): New.
1282 (null_file_rewind): Delete.
1283 (ui_file::printf): New.
1284 (null_file_put): Delete.
1285 (null_file_flush): Delete.
1286 (ui_file::putstr): New.
1287 (null_file_write): Delete.
1288 (ui_file::putstrn): New.
1289 (null_file_read): Delete.
1290 (ui_file::putc): New.
1291 (null_file_fputs): Delete.
1292 (null_file_write_async_safe): Delete.
1293 (ui_file::vprintf): New.
1294 (null_file_delete): Delete.
1295 (null_file::write): New.
1296 (null_file_fseek): Delete.
1297 (null_file::puts): New.
1298 (ui_file_data): Delete.
1299 (null_file::write_async_safe): New.
1300 (gdb_flush, ui_file_isatty): Adjust.
1301 (ui_file_put, ui_file_rewind): Delete.
1302 (ui_file_write): Adjust.
1303 (ui_file_write_for_put): Delete.
1304 (ui_file_write_async_safe, ui_file_read): Adjust.
1305 (ui_file_fseek): Delete.
1306 (fputs_unfiltered): Adjust.
1307 (set_ui_file_flush, set_ui_file_isatty, set_ui_file_rewind)
1308 (set_ui_file_put, set_ui_file_write, set_ui_file_write_async_safe)
1309 (set_ui_file_read, set_ui_file_fputs, set_ui_file_fseek)
1310 (set_ui_file_data): Delete.
1311 (string_file::~string_file, string_file::write)
1312 (struct accumulated_ui_file, do_ui_file_xstrdup, ui_file_xstrdup)
1313 (do_ui_file_as_string, ui_file_as_string): Delete.
1314 (do_ui_file_obsavestring, ui_file_obsavestring): Delete.
1315 (struct mem_file): Delete.
1316 (mem_file_new): Delete.
1317 (stdio_file::stdio_file): New.
1318 (mem_file_delete): Delete.
1319 (stdio_file::stdio_file): New.
1320 (mem_fileopen): Delete.
1321 (stdio_file::~stdio_file): New.
1322 (mem_file_rewind): Delete.
1323 (stdio_file::set_stream): New.
1324 (mem_file_put): Delete.
1325 (stdio_file::open): New.
1326 (mem_file_write): Delete.
1327 (stdio_file_magic, struct stdio_file): Delete.
1328 (stdio_file_new, stdio_file_delete, stdio_file_flush): Delete.
1329 (stdio_file::flush): New.
1330 (stdio_file_read): Rename to ...
1331 (stdio_file::read): ... this. Adjust.
1332 (stdio_file_write): Rename to ...
1333 (stdio_file::write): ... this. Adjust.
1334 (stdio_file_write_async_safe): Rename to ...
1335 (stdio_file::write_async_safe) ... this. Adjust.
1336 (stdio_file_fputs): Rename to ...
1337 (stdio_file::puts) ... this. Adjust.
1338 (stdio_file_isatty): Delete.
1339 (stdio_file_fseek): Delete.
1340 (stdio_file::isatty): New.
1341 (stderr_file_write): Rename to ...
1342 (stderr_file::write) ... this. Adjust.
1343 (stderr_file_fputs): Rename to ...
1344 (stderr_file::puts) ... this. Adjust.
1345 (stderr_fileopen, stdio_fileopen, gdb_fopen): Delete.
1346 (stderr_file::stderr_file): New.
1347 (tee_file_magic): Delete.
1348 (struct tee_file): Delete.
1349 (tee_file::tee_file): New.
1350 (tee_file_new): Delete.
1351 (tee_file::~tee_file): New.
1352 (tee_file_delete): Delete.
1353 (tee_file_flush): Rename to ...
1354 (tee_file::flush): ... this. Adjust.
1355 (tee_file_write): Rename to ...
1356 (tee_file::write): ... this. Adjust.
1357 (tee_file::write_async_safe): New.
1358 (tee_file_fputs): Rename to ...
1359 (tee_file::puts): ... this. Adjust.
1360 (tee_file_isatty): Rename to ...
1361 (tee_file::isatty): ... this. Adjust.
1362 * ui-file.h (struct obstack, struct ui_file): Don't
1363 forward-declare.
1364 (ui_file_new, ui_file_flush_ftype, set_ui_file_flush)
1365 (ui_file_write_ftype)
1366 (set_ui_file_write, ui_file_fputs_ftype, set_ui_file_fputs)
1367 (ui_file_write_async_safe_ftype, set_ui_file_write_async_safe)
1368 (ui_file_read_ftype, set_ui_file_read, ui_file_isatty_ftype)
1369 (set_ui_file_isatty, ui_file_rewind_ftype, set_ui_file_rewind)
1370 (ui_file_put_method_ftype, ui_file_put_ftype, set_ui_file_put)
1371 (ui_file_delete_ftype, set_ui_file_data, ui_file_fseek_ftype)
1372 (set_ui_file_fseek): Delete.
1373 (ui_file_data, ui_file_delete, ui_file_rewind)
1374 (struct ui_file): New.
1375 (ui_file_up): New.
1376 (class null_file): New.
1377 (null_stream): Declare.
1378 (ui_file_write_for_put, ui_file_put): Delete.
1379 (ui_file_xstrdup, ui_file_as_string, ui_file_obsavestring):
1380 Delete.
1381 (ui_file_fseek, mem_fileopen, stdio_fileopen, stderr_fileopen)
1382 (gdb_fopen, tee_file_new): Delete.
1383 (struct string_file): New.
1384 (struct stdio_file): New.
1385 (stdio_file_up): New.
1386 (struct stderr_file): New.
1387 (class tee_file): New.
1388 * ui-out.c (ui_out::field_stream): Take a 'string_file &' instead
1389 of a 'ui_file *'. Adjust.
1390 * ui-out.h (class ui_out) <field_stream>: Likewise.
1391 * utils.c (do_ui_file_delete, make_cleanup_ui_file_delete)
1392 (null_stream): Delete.
1393 (error_stream): Take a 'string_file &' instead of a 'ui_file *'.
1394 Adjust.
1395 * utils.h (struct ui_file): Delete forward declaration..
1396 (make_cleanup_ui_file_delete, null_stream): Delete declarations.
1397 (error_stream): Take a 'string_file &' instead of a
1398 'ui_file *'.
1399 * varobj.c (varobj_value_get_print_value): Use string_file.
1400 * xtensa-tdep.c (xtensa_verify_config): Use string_file.
1401 * gdbarch.c: Regenerate.
1402
187808b0
PA
14032017-02-02 Pedro Alves <palves@redhat.com>
1404
1405 * disasm.c (gdb_disassembler::pretty_print_insn): Rename to...
1406 (gdb_pretty_print_insn): ... this. Now a free function. Add back
1407 a 'gdbarch' parameter. Allocate a mem_fileopen stream here.
1408 Adjust to call gdb_print_insn instead of
1409 gdb_disassembler::print_insn.
1410 (dump_insns, do_mixed_source_and_assembly_deprecated)
1411 (do_mixed_source_and_assembly, do_assembly_only): Add back a
1412 'gdbarch' parameter. Remove gdb_disassembler parameter.
1413 (gdb_disassembly): Don't allocate a gdb_disassembler here.
1414 * disasm.h (gdb_disassembler::pretty_print_insn): Delete
1415 declaration.
1416 (gdb_pretty_print_insn): Re-add declaration.
1417 * record-btrace.c (btrace_insn_history): Don't allocate a
1418 gdb_disassembler here. Adjust to call gdb_pretty_print_insn.
1419
7a8eb317
SM
14202017-02-01 Simon Marchi <simon.marchi@polymtl.ca>
1421
1422 * disasm.h (gdb_disassembly): Remove file_string parameter.
1423 * disasm.c (gdb_disassembly): Likewise.
1424 * cli/cli-cmds.c (print_disassembly): Adapt.
1425 * mi/mi-cmd-disas.c (mi_cmd_disassemble): Likewise.
1426 * stack.c (do_gdb_disassembly): Likewise.
1427
7346ef59
AA
14282017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
1429
1430 * dwarf2loc.c (dwarf2_evaluate_loc_desc_full): For
1431 DWARF_VALUE_LITERAL, no longer ignore the offset on big-endian
1432 targets. And if the implicit value is longer than needed, extract
1433 the first bytes instead of the "least significant" ones.
1434
cd4007e4
MM
14352017-02-01 Markus Metzger <markus.t.metzger@intel.com>
1436
1437 * btrace.c (btrace_enable): Do not call btrace_add_pc for
1438 BTRACE_FORMAT_PT or if can_access_registers_ptid returns false.
1439 (btrace_fetch): Assert can_access_registers_ptid.
1440 * record-btrace.c (require_btrace_thread, record_btrace_info): Call
1441 validate_registers_access.
1442
cf77c34e
MM
14432017-02-01 Markus Metzger <markus.t.metzger@intel.com>
1444
1445 * gdbthread.h (can_access_registers_ptid): New.
1446 * thread.c (can_access_registers_ptid): New.
1447
be85ce7d
PA
14482017-02-01 Pedro Alves <palves@redhat.com>
1449
1450 * i386-tdep.c (i386_fast_tracepoint_valid_at): Use gdb_insn_length.
1451
29b0b251
PA
14522017-01-31 Pedro Alves <palves@redhat.com>
1453
1454 * mi/mi-interp.c (mi_breakpoint_created, mi_breakpoint_modified):
1455 Fix typos.
1456
289b5b24
PA
14572017-01-31 Pedro Alves <palves@redhat.com>
1458
1459 * stack.c (print_frame_args): Remove local mem_fileopen stream,
1460 not used.
1461
b47413b4
PA
14622017-01-31 Pedro Alves <palves@redhat.com>
1463
1464 * varobj.c (varobj_value_get_print_value): Remove xstrdup call.
1465
60adb36c
PA
14662017-01-31 Pedro Alves <palves@redhat.com>
1467
1468 * common/scoped_restore.h
1469 (scoped_restore_tmpl::scoped_restore_tmpl): Template on T2, and
1470 change the value's parameter type to T2.
1471 (make_scoped_restore): Likewise.
1472
2735833d
WT
14732017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
1474 Richard Henderson <rth@redhat.com>
1475
1476 * amd64-linux-nat.c (PTRACE_ARCH_PRCTL): New define.
1477 (amd64_linux_fetch_inferior_registers): Add case to fetch FS_BASE
1478 GS_BASE for older kernels.
1479 (amd64_linux_store_inferior_registers): Add case to store FS_BASE
1480 GS_BASE for older kernels.
1481 * amd64-linux-tdep.c (amd64_linux_gregset_reg_offset): Add FS_BASE
1482 and GS_BASE to the offset table.
1483 (amd64_linux_register_reggroup_p): Add FS_BASE and GS_BASE to the
1484 system register group.
1485 * amd64-nat.c (amd64_native_gregset_reg_offset): Implements case
1486 for older kernels.
1487 * amd64-tdep.c (amd64_init_abi): Add segment registers for the
1488 amd64 ABI.
1489 * amd64-tdep.h (amd64_regnum): Add AMD64_FSBASE_REGNUM and
1490 AMD64_GSBASE_REGNUM.
1491 (AMD64_NUM_REGS): Set to AMD64_GSBASE_REGNUM + 1.
1492 * features/Makefile (amd64-linux.dat, amd64-avx-linux.dat)
1493 (amd64-mpx-linux.dat, amd64-avx512-linux.dat, x32-linux.dat)
1494 (x32-avx-linux.dat, x32-avx512-linux.dat): Add
1495 i386/64bit-segments.xml in those rules.
1496 * features/i386/64bit-segments.xml: New file.
1497 * features/i386/amd64-avx-mpx-linux.xml: Add 64bit-segments.xml.
1498 * features/i386/amd64-avx-linux.xml: Add 64bit-segments.xml.
1499 * features/i386/amd64-avx512-linux.xml: Add 64bit-segments.xml.
1500 * features/i386/amd64-mpx-linux.xml: Add 64bit-segments.xml.
1501 * features/i386/x32-avx512-linux.xml: Add 64bit-segments.xml.
1502 * features/i386/x32-avx-linux.xml: Add 64bit-segments.xml.
1503 * features/i386/amd64-linux.xml: Add 64bit-segments.xml.
1504 * features/i386/amd64-avx-linux.c: Regenerated.
1505 * features/i386/amd64-avx-mpx-linux.c: Regenerated.
1506 * features/i386/amd64-avx-mpx.c: Regenerated.
1507 * features/i386/amd64-avx512-linux.c: Regenerated.
1508 * features/i386/amd64-linux.c: Regenerated.
1509 * features/i386/amd64-mpx-linux.c: Regenerated.
1510 * features/i386/i386-avx-mpx-linux.c: Regenerated.
1511 * features/i386/i386-avx-mpx.c: Regenerated.
1512 * features/i386/x32-avx-linux.c: Regenerated.
1513 * features/i386/x32-avx512-linux.c: Regenerated.
1514 * regformats/i386/amd64-avx-linux.dat: Regenerated.
1515 * regformats/i386/amd64-avx-mpx-linux.dat: Regenerated.
1516 * regformats/i386/amd64-avx512-linux.dat: Regenerated.
1517 * regformats/i386/amd64-linux.dat: Regenerated.
1518 * regformats/i386/amd64-mpx-linux.dat: Regenerated.
1519 * regformats/i386/x32-avx-linux.dat: Regenerated.
1520 * regformats/i386/x32-avx512-linux.dat: Regenerated.
1521 * regformats/i386/x32-linux.dat: Regenerated.
1522
8884e97e
WT
15232017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
1524
1525 * amd64-linux-tdep.h (AMD64_LINUX_ORIG_RAX_REGNUM):
1526 Set to AMD64_NUM_REGS.
1527
7005d26a
WT
15282017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
1529
1530 * amd64-nat.c (amd64_native_gregset_reg_offset): Simplify logic
1531 that checks validity of a register number.
1532
4bd2e1b2
KC
15332017-01-27 Kees Cook <keescook@google.com>
1534
1535 * gdb/arm-linux-nat.c (arm_linux_fetch_inferior_registers): Call
1536 fetch_fpregs if target has fpa registers.
1537 (arm_linux_store_inferior_registers): Call store_fpregs if target
1538 has fpa registers.
1539
7cf1de6c
AA
15402017-01-26 Andreas Arnez <arnez@linux.vnet.ibm.com>
1541
1542 * cris-tdep.c (cris_gdbarch_init): Remove check for
1543 info.byte_order and force it to BFD_ENDIAN_LITTLE.
1544
874a1c8c
AT
15452017-01-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
1546
1547 * corelow.c (get_core_register_section): Check for regset
1548 existence before checking for REGSET_VARIABLE_SIZE.
1549
d8b49cf0
YQ
15502017-01-26 Yao Qi <yao.qi@linaro.org>
1551 Pedro Alves <palves@redhat.com>
1552
1553 PR gdb/20939
1554 * disasm.c (gdb_disassembler::dis_asm_memory_error): Don't
1555 call memory_error, save memaddr instead.
1556 (gdb_disassembler::print_insn): If gdbarch_print_insn returns
1557 negative, cal memory_error.
1558 * disasm.h (gdb_disassembler) <m_err_memaddr>: New field.
1559
658ca58c
YQ
15602017-01-26 Yao Qi <yao.qi@linaro.org>
1561
1562 * disasm-selftests.c (memory_error_test): New function.
1563 (_initialize_disasm_selftests): Register memory_error_test.
1564
79843d45
YQ
15652017-01-26 Yao Qi <yao.qi@linaro.org>
1566
1567 * Makefile.in (SFILES): Add disasm-selftests.c and
1568 selftest-arch.c.
1569 (COMMON_OBS): Add disasm-selftests.o and selftest-arch.o.
1570 * disasm-selftests.c: New file.
1571 * selftest-arch.c: New file.
1572 * selftest-arch.h: New file.
1573
8cafda32
YQ
15742017-01-26 Yao Qi <yao.qi@linaro.org>
1575
1576 * mep-tdep.c (mep_gdb_print_insn): Set info->arch
1577 to bfd_arch_mep. Don't return 0 if section is not
1578 found. Call print_insn_mep.
1579
e47ad6c0
YQ
15802017-01-26 Pedro Alves <palves@redhat.com>
1581 Yao Qi <yao.qi@linaro.org>
1582
1583 * arm-tdep.c: Include "disasm.h".
1584 (gdb_print_insn_arm): Update code to get gdbarch.
1585 * disasm.c (dis_asm_read_memory): Change it to
1586 gdb_disassembler::dis_asm_read_memory.
1587 (dis_asm_memory_error): Likewise.
1588 (dis_asm_print_address): Likewise.
1589 (gdb_pretty_print_insn): Change it to
1590 gdb_disassembler::pretty_print_insn.
1591 (dump_insns): Add one argument gdb_disassemlber. All
1592 callers updated.
1593 (do_mixed_source_and_assembly_deprecated): Likewise.
1594 (do_mixed_source_and_assembly): Likewise.
1595 (do_assembly_only): Likewise.
1596 (gdb_disassembler::gdb_disassembler): New.
1597 (gdb_disassembler::print_insn): New.
1598 * disasm.h (class gdb_disassembler): New.
1599 (gdb_pretty_print_insn): Remove declaration.
1600 (gdb_disassemble_info): Likewise.
1601 * guile/scm-disasm.c (class gdbscm_disassembler): New.
1602 (gdbscm_disasm_read_memory_worker): Update.
1603 (gdbscm_disasm_read_memory): Update.
1604 (gdbscm_disasm_memory_error): Remove.
1605 (gdbscm_disasm_print_address): Remove.
1606 (gdbscm_disassembler::gdbscm_disassembler): New.
1607 (gdbscm_print_insn_from_port): Update.
1608 * mips-tdep.c: Include disasm.h.
1609 (gdb_print_insn_mips): Update code to get gdbarch.
1610 * record-btrace.c (btrace_insn_history): Update.
1611 * spu-tdep.c: Include disasm.h.
1612 (struct spu_dis_asm_data): Remove.
1613 (struct spu_dis_asm_info): New.
1614 (spu_dis_asm_print_address): Use spu_dis_asm_info to get
1615 SPU id.
1616 (gdb_print_insn_spu): Cast disassemble_info to
1617 spu_dis_asm_info.
1618
80d75874
YQ
16192017-01-26 Yao Qi <yao.qi@linaro.org>
1620
1621 * disasm.c (do_ui_file_delete): Delete.
1622 (gdb_insn_length): Move code creating stream to ...
1623 * utils.c (null_stream): ... here. New function.
1624 * utils.h (null_stream): Declare.
1625
60685cd0
SM
16262017-01-23 Simon Marchi <simon.marchi@polymtl.ca>
1627
1628 * python/py-inferior.c (find_thread_object): Return directly
1629 from the loop. Remove "found" variable.
1630
eb1cdb62
JB
16312017-01-21 Joel Brobecker <brobecker@adacore.com>
1632
1633 GDB 7.12.1 released.
1634
b1ce6568
SM
16352017-01-20 Simon Marchi <simon.marchi@ericsson.com>
1636
1637 * python/py-function.c (fnpy_call): Reorder declarations to have
1638 the gdbpy_enter object declared first.
1639 * python/py-xmethods.c (gdbpy_get_xmethod_arg_types): Likewise.
1640
6f8b0407
SM
16412017-01-20 Simon Marchi <simon.marchi@ericsson.com>
1642
fec93fb1 1643 PR python/21068
6f8b0407
SM
1644 * python/python-internal.h (PyMem_RawMalloc): Define for
1645 Python < 3.4.
1646 * python/py-gdb-readline.c (gdbpy_readline_wrapper): Use
1647 PyMem_RawMalloc instead of PyMem_Malloc.
1648
78cbbba8
LM
16492017-01-20 Mike Wrighton <mike_wrighton@codesourcery.com>
1650 Luis Machado <lgustavo@codesourcery.com>
1651
1652 * NEWS (New commands): Mention flash-erase.
1653 (New MI commands): Mention target-flash-erase.
1654 * mi/mi-cmds.c (mi_cmd_target_flash_erase): Add target-flash-erase MI
1655 command.
1656 * mi/mi-cmds.h (mi_cmd_target_flash_erase): New declaration.
1657 * mi/mi-main.c (mi_cmd_target_flash_erase): New function.
1658 * target.c (flash_erase_command): New function.
1659 (initialize_targets): Add new flash-erase command.
1660 * target.h (flash_erase_command): New declaration.
1661
2132fe85
JB
16622017-01-20 Joel Brobecker <brobecker@adacore.com>
1663
1664 * nat/linux-ptrace.c: Only include <sys/procfs.h> if
1665 HAVE_SYS_PROCFS_H is defined.
1666
d1dff226
AH
16672017-01-18 Alan Hayward <alan.hayward@arm.com>
1668
1669 * remote.c (struct cached_reg): Change data into a pointer.
1670 * (stop_reply_dtr): Free data pointers before deleting vector.
1671 (process_stop_reply): Likewise.
1672 (remote_parse_stop_reply): Allocate space for data
1673
9890e433
AH
16742017-01-18 Alan Hayward <alan.hayward@arm.com>
1675
1676 * amd64-tdep.c (amd64_pseudo_register_read_value): remove
1677 MAX_REGISTER_SIZE.
1678 (amd64_pseudo_register_read_value): Likewise.
1679 * remote.c (fetch_register_using_p): Remove MAX_REGISTER_SIZE.
1680 (store_register_using_P): Likewise.
1681 * regcache.c (regcache_xfer_part): Likewise.
1682
7a36499a
IR
16832017-01-16 Ivo Raisr <ivo.raisr@oracle.com>
1684
1685 Split real and pseudo registers.
1686 * sparc-tdep.h (SPARC_CORE_REGISTERS): New macro.
1687 (sparc32_pseudo_regnum): New enum.
1688 * sparc64-tdep.h (sparc64_pseudo_regnum): New enum.
1689 * sparc-tdep.c (SPARC32_FPU_REGISTERS): New macro.
1690 (SPARC32_CP0_REGISTERS): New macro.
1691 (sparc32_pseudo_register_name): New function.
1692 (sparc32_register_name): Use sparc32_pseudo_register_name.
1693 (sparc32_pseudo_register_type): New function.
1694 (sparc32_register_type): Use sparc32_pseudo_register_type.
1695 (sparc32_pseudo_register_read, sparc32_pseudo_register_write): Handle
1696 pseudo register numbers.
1697 * sparc64-tdep.c SPARC64_FPU_REGISTERS): New macro.
1698 (SPARC64_CP0_REGISTERS): New macro.
1699 (sparc64_pseudo_register_name): New function.
1700 (sparc64_register_name): Use sparc64_pseudo_register_name.
1701 (sparc64_pseudo_register_type): New function.
1702 (sparc64_register_type): Use sparc64_pseudo_register_type.
1703 (sparc64_pseudo_register_read, sparc64_pseudo_register_write): Handle
1704 pseudo register numbers.
1705 (sparc64_store_floating_fields, sparc64_extract_floating_fields,
1706 sparc64_store_arguments): Handle pseudo register numbers.
1707
6f8976bf
YQ
17082017-01-13 Yao Qi <yao.qi@linaro.org>
1709
1710 * remote.c (REMOTE_DEBUG_MAX_CHAR): New macro.
1711 (putpkt_binary): Print only REMOTE_DEBUG_MAX_CHAR chars in debug
1712 output.
1713 (getpkt_or_notif_sane_1): Likewise.
1714
e4241ace
YQ
17152017-01-13 Yao Qi <yao.qi@linaro.org>
1716
1717 * Makefile.in (checker-headers): Use CXX and CXX_DIALET instead
1718 of CC. Pass "-x c++-header" instead of "-x c".
1719
3015c064
SM
17202017-01-12 Simon Marchi <simon.marchi@ericsson.com>
1721
1722 * remote.c (remote_can_async_p): Update comment.
1723
fde1b17d
SM
17242017-01-12 Simon Marchi <simon.marchi@ericsson.com>
1725
1726 * linux-nat.c (linux_nat_can_async_p): Update comment.
1727
ca1ca08b
SM
17282017-01-12 Simon Marchi <simon.marchi@ericsson.com>
1729
1730 * serial.c (serial_open): Forget about "pc" and "lpt" serial interface.
1731
4ad2da73
SM
17322017-01-11 Simon Marchi <simon.marchi@ericsson.com>
1733
1734 * cli/cli-decode.c (lookup_cmd_1): Fix typo in comment.
1735
c8b23b3f
TT
17362017-01-10 Tom Tromey <tom@tromey.com>
1737
1738 * python/py-type.c (typy_legacy_template_argument): Update.
1739 * cp-support.h (struct demangle_parse_info) (demangle_parse_info,
1740 ~demangle_parse_info): Declare new members.
1741 (cp_demangled_name_to_comp): Return unique_ptr.
1742 (cp_demangled_name_parse_free)
1743 (make_cleanup_cp_demangled_name_parse_free)
1744 (cp_new_demangle_parse_info): Remove.
1745 * cp-support.c (do_demangled_name_parse_free_cleanup)
1746 (make_cleanup_cp_demangled_name_parse_free): Remove.
1747 (inspect_type, cp_canonicalize_string_full)
1748 (cp_canonicalize_string): Update.
1749 (mangled_name_to_comp): Change return type.
1750 (cp_class_name_from_physname, method_name_from_physname)
1751 (cp_func_name, cp_remove_params): Update.
1752 * cp-name-parser.y (demangle_parse_info): New constructor, from
1753 cp_new_demangle_parse_info.
1754 (~demangle_parse_info): New destructor, from
1755 cp_demangled_name_parse_free.
1756 (cp_merge_demangle_parse_infos): Update.
1757 (cp_demangled_name_to_comp): Change return type.
1758
1ac32117
TT
17592017-01-10 Tom Tromey <tom@tromey.com>
1760
1761 * top.c (prevent_dont_repeat): Change return type.
1762 * python/python.c (execute_gdb_command): Use std::string.
1763 Update.
1764 * guile/guile.c (gdbscm_execute_gdb_command): Update.
1765 * command.h (prevent_dont_repeat): Change return type.
1766 * breakpoint.c (bpstat_do_actions_1): Update.
1767
0cf08227
TT
17682017-01-10 Tom Tromey <tom@tromey.com>
1769
1770 * value.h (scoped_value_mark::~scoped_value_mark): Call
1771 free_to_mark.
1772 (scoped_value_mark::free_to_mark): New method.
1773 * dwarf2loc.c (dwarf2_evaluate_loc_desc_full): Use
1774 scoped_value_mark.
1775
eb115069
TT
17762017-01-10 Tom Tromey <tom@tromey.com>
1777
1778 * python/py-value.c (valpy_dereference, valpy_referenced_value)
1779 (valpy_reference_value, valpy_const_value, valpy_get_address)
1780 (valpy_get_dynamic_type, valpy_lazy_string, valpy_do_cast)
1781 (valpy_getitem, valpy_call, valpy_binop_throw, valpy_negative)
1782 (valpy_absolute, valpy_richcompare_throw): Use scoped_value_mark.
1783 * dwarf2loc.c (dwarf2_loc_desc_get_symbol_read_needs): Use
1784 scoped_value_mark.
1785 * dwarf2-frame.c (execute_stack_op): Use scoped_value_mark.
1786 * value.h (scoped_value_mark): New class.
1787
906768f9
TT
17882017-01-10 Tom Tromey <tom@tromey.com>
1789
1790 * dwarf2read.c (dwarf2_build_psymtabs): Use psymtab_discarder.
1791 * psympriv.h (make_cleanup_discard_psymtabs): Don't declare.
1792 * psymtab.c (discard_psymtabs_upto): Remove.
1793 (make_cleanup_discard_psymtabs): Remove.
1794 (struct psymtab_state): Remove.
1795
bef155c3
TT
17962017-01-10 Tom Tromey <tom@tromey.com>
1797
1798 * record-full.c (record_full_save_cleanups): Remove.
1799 (record_full_save): Use gdb::unlinker.
1800 * gcore.c (do_bfd_delete_cleanup): Remove.
1801 (gcore_command): Use gdb::unlinker, unique_xmalloc_ptr. Remove
1802 cleanups.
1803 * dwarf2read.c (unlink_if_set): Remove.
1804 (write_psymtabs_to_index): Use gdb::unlinker.
1805 * common/gdb_unlinker.h: New file.
1806
192b62ce
TT
18072017-01-10 Tom Tromey <tom@tromey.com>
1808
1809 * windows-tdep.c (windows_xfer_shared_library): Update.
1810 * windows-nat.c (windows_make_so): Update.
1811 * utils.h (make_cleanup_bfd_unref): Remove.
1812 * utils.c (do_bfd_close_cleanup, make_cleanup_bfd_unref): Remove.
1813 * symfile.h (symfile_bfd_open)
1814 (find_separate_debug_file_in_section): Return gdb_bfd_ref_ptr.
1815 * symfile.c (read_symbols, symbol_file_add)
1816 (separate_debug_file_exists): Update.
1817 (symfile_bfd_open): Return gdb_bfd_ref_ptr.
1818 (generic_load, reread_symbols): Update.
1819 * symfile-mem.c (symbol_file_add_from_memory): Update.
1820 * spu-linux-nat.c (spu_bfd_open): Return gdb_bfd_ref_ptr.
1821 (spu_symbol_file_add_from_memory): Update.
1822 * solist.h (struct target_so_ops) <bfd_open>: Return
1823 gdb_bfd_ref_ptr.
1824 (solib_bfd_fopen, solib_bfd_open): Return gdb_bfd_ref_ptr.
1825 * solib.c (solib_bfd_fopen, solib_bfd_open): Return
1826 gdb_bfd_ref_ptr.
1827 (solib_map_sections, reload_shared_libraries_1): Update.
1828 * solib-svr4.c (enable_break): Update.
1829 * solib-spu.c (spu_bfd_fopen): Return gdb_bfd_ref_ptr.
1830 * solib-frv.c (enable_break2): Update.
1831 * solib-dsbt.c (enable_break): Update.
1832 * solib-darwin.c (gdb_bfd_mach_o_fat_extract): Return
1833 gdb_bfd_ref_ptr.
1834 (darwin_solib_get_all_image_info_addr_at_init): Update.
1835 (darwin_bfd_open): Return gdb_bfd_ref_ptr.
1836 * solib-aix.c (solib_aix_bfd_open): Return gdb_bfd_ref_ptr.
1837 * record-full.c (record_full_save): Update.
1838 * python/py-objfile.c (objfpy_add_separate_debug_file): Update.
1839 * procfs.c (insert_dbx_link_bpt_in_file): Update.
1840 * minidebug.c (find_separate_debug_file_in_section): Return
1841 gdb_bfd_ref_ptr.
1842 * machoread.c (macho_add_oso_symfile): Change abfd to
1843 gdb_bfd_ref_ptr.
1844 (macho_symfile_read_all_oso): Update.
1845 (macho_check_dsym): Return gdb_bfd_ref_ptr.
1846 (macho_symfile_read): Update.
1847 * jit.c (bfd_open_from_target_memory): Return gdb_bfd_ref_ptr.
1848 (jit_bfd_try_read_symtab): Update.
1849 * gdb_bfd.h (gdb_bfd_open, gdb_bfd_fopen, gdb_bfd_openr)
1850 (gdb_bfd_openw, gdb_bfd_openr_iovec)
1851 (gdb_bfd_openr_next_archived_file, gdb_bfd_fdopenr): Return
1852 gdb_bfd_ref_ptr.
1853 (gdb_bfd_ref_policy): New struct.
1854 (gdb_bfd_ref_ptr): New typedef.
1855 * gdb_bfd.c (gdb_bfd_open, gdb_bfd_fopen, gdb_bfd_openr)
1856 (gdb_bfd_openw, gdb_bfd_openr_iovec)
1857 (gdb_bfd_openr_next_archived_file, gdb_bfd_fdopenr): Return
1858 gdb_bfd_ref_ptr.
1859 * gcore.h (create_gcore_bfd): Return gdb_bfd_ref_ptr.
1860 * gcore.c (create_gcore_bfd): Return gdb_bfd_ref_ptr.
1861 (gcore_command): Update.
1862 * exec.c (exec_file_attach): Update.
1863 * elfread.c (elf_symfile_read): Update.
1864 * dwarf2read.c (dwarf2_get_dwz_file): Update.
1865 (try_open_dwop_file, open_dwo_file): Return gdb_bfd_ref_ptr.
1866 (open_and_init_dwo_file): Update.
1867 (open_dwp_file): Return gdb_bfd_ref_ptr.
1868 (open_and_init_dwp_file): Update.
1869 * corelow.c (core_open): Update.
1870 * compile/compile-object-load.c (compile_object_load): Update.
1871 * common/gdb_ref_ptr.h (ref_ptr::operator->): New operator.
1872 * coffread.c (coff_symfile_read): Update.
1873 * cli/cli-dump.c (bfd_openr_or_error, bfd_openw_or_error): Return
1874 gdb_bfd_ref_ptr. Rename.
1875 (dump_bfd_file, restore_command): Update.
1876 * build-id.h (build_id_to_debug_bfd): Return gdb_bfd_ref_ptr.
1877 * build-id.c (build_id_to_debug_bfd): Return gdb_bfd_ref_ptr.
1878 (find_separate_debug_file_by_buildid): Update.
1879
50315b21
TT
18802017-01-10 Tom Tromey <tom@tromey.com>
1881
1882 * common/gdb_ref_ptr.h: New file.
1883 * python/py-ref.h (struct gdbpy_ref_policy): New.
1884 (gdbpy_ref): Now a typedef.
1885
fc4007c9
TT
18862017-01-10 Tom Tromey <tom@tromey.com>
1887
1888 * utils.h (make_cleanup_htab_delete): Don't declare.
1889 * utils.c (do_htab_delete_cleanup, make_cleanup_htab_delete):
1890 Remove.
1891 * linespec.c (decode_compound_collector): Add constructor,
1892 destructor.
1893 (lookup_prefix_sym): Remove cleanup.
1894 (symtab_collector): Add constructor, destructor.
1895 (collect_symtabs_from_filename): Remove cleanup.
1896 * disasm.c (do_mixed_source_and_assembly): Use htab_up.
1897 * compile/compile-c-symbols.c (generate_c_for_variable_locations):
1898 Use htab_up.
1899 * gnu-v3-abi.c (gnuv3_print_vtable): Use htab_up.
1900 * dwarf2read.c (dw2_expand_symtabs_matching)
1901 (dw2_map_symbol_filenames, dwarf_decode_macros)
1902 (write_psymtabs_to_index): Use htab_up.
1903 * dwarf2loc.c (func_verify_no_selftailcall)
1904 (call_site_find_chain_1, func_verify_no_selftailcall)
1905 (chain_candidate, call_site_find_chain_1): Use std::unordered_set,
1906 std::vector, gdb::unique_xmalloc_ptr.
1907 (call_sitep): Remove typedef.
1908 (dwarf2_locexpr_baton_eval): Remove unused variable.
1909
8dbcee67
TT
19102017-01-10 Tom Tromey <tom@tromey.com>
1911
1912 * python/python-internal.h (make_cleanup_py_decref)
1913 (make_cleanup_py_xdecref): Don't declare.
1914 * python/py-utils.c (py_decref, make_cleanup_py_decref)
1915 (py_xdecref, make_cleanup_py_xdecref): Remove.
1916
13df46cc
TT
19172017-01-10 Tom Tromey <tom@tromey.com>
1918
1919 * python/py-framefilter.c (py_mi_print_variables): Use gdbpy_ref.
1920 (py_print_locals, enumerate_locals, py_print_args): Use gdbpy_ref.
1921
06fc9bf7
TT
19222017-01-10 Tom Tromey <tom@tromey.com>
1923
1924 * python/py-framefilter.c (enumerate_args): Use gdbpy_ref.
1925
830a4934
TT
19262017-01-10 Tom Tromey <tom@tromey.com>
1927
1928 * python/py-utils.c (unicode_to_encoded_string)
1929 (python_string_to_target_string)
1930 (python_string_to_target_python_string)
1931 (python_string_to_host_string, gdbpy_obj_to_string)
1932 (get_addr_from_python): Use gdbpy_ref.
1933
4586d543
TT
19342017-01-10 Tom Tromey <tom@tromey.com>
1935
1936 * python/py-unwind.c (pyuw_object_attribute_to_pointer): Use
1937 gdbpy_ref.
1938
59876f8f
TT
19392017-01-10 Tom Tromey <tom@tromey.com>
1940
1941 * python/python.c (eval_python_command, gdbpy_decode_line)
1942 (gdbpy_run_events, gdbpy_start_type_printers)
1943 (gdbpy_apply_type_printers): Use gdbpy_ref.
1944
97d83487
TT
19452017-01-10 Tom Tromey <tom@tromey.com>
1946
1947 * python/py-param.c (get_doc_string, compute_enum_values): Use
1948 gdbpy_ref.
1949
9205649a
TT
19502017-01-10 Tom Tromey <tom@tromey.com>
1951
1952 * python/py-inferior.c (find_thread_object, build_inferior_list):
1953 Use gdbpy_ref.
1954
74c49d45
TT
19552017-01-10 Tom Tromey <tom@tromey.com>
1956
1957 * python/py-framefilter.c (py_print_frame): Use gdbpy_ref.
1958
16361ffb
TT
19592017-01-10 Tom Tromey <tom@tromey.com>
1960
1961 * python/py-finishbreakpoint.c (bpfinishpy_out_of_scope): Use
1962 gdbpy_ref.
1963
905f2cca
TT
19642017-01-10 Tom Tromey <tom@tromey.com>
1965
1966 * python/py-cmd.c (cmdpy_completer_helper): Use gdbpy_ref. Remove
1967 extra incref.
1968 (cmdpy_completer_handle_brkchars, cmdpy_completer, cmdpy_init):
1969 Use gdbpy_ref.
1970
64081434
TT
19712017-01-10 Tom Tromey <tom@tromey.com>
1972
1973 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Use
1974 gdbpy_ref.
1975
59e9e831
TT
19762017-01-10 Tom Tromey <tom@tromey.com>
1977
1978 * python/py-arch.c (archpy_disassemble): Use gdbpy_ref. Don't
1979 decref results of PyArg_ParseTupleAndKeywords.
1980
9de10f6d
TT
19812017-01-10 Tom Tromey <tom@tromey.com>
1982
1983 * python/python.c (python_run_simple_file): Use
1984 unique_xmalloc_ptr, gdbpy_ref.
1985
2bd5759d
TT
19862017-01-10 Tom Tromey <tom@tromey.com>
1987
1988 * python/py-prettyprint.c (print_stack_unless_memory_error)
1989 (print_string_repr, print_children): Use gdbpy_ref.
1990 (dummy_python_frame): New class.
1991 (dummy_python_frame::dummy_python_frame): Rename from
1992 push_dummy_python_frame.
1993 (py_restore_tstate): Remove.
1994
3b4e0e01
TT
19952017-01-10 Tom Tromey <tom@tromey.com>
1996
1997 * python/py-framefilter.c (py_print_frame): Use gdbpy_ref.
1998
17a22718
TT
19992017-01-10 Tom Tromey <tom@tromey.com>
2000
2001 * python/python.c (ensure_python_env, restore_python_env):
2002 Remove.
2003 * python/python-internal.h (ensure_python_env): Don't declare.
2004 * varobj.h (varobj_ensure_python_env): Don't declare.
2005 * varobj.c (varobj_ensure_python_env): Remove.
2006
68cdc557
TT
20072017-01-10 Tom Tromey <tom@tromey.com>
2008
2009 * varobj.c (varobj_value_get_print_value): Use
2010 gdbpy_enter_varobj.
2011
1eba6383
TT
20122017-01-10 Tom Tromey <tom@tromey.com>
2013
2014 * python/py-prettyprint.c (print_string_repr, print_children):
2015 Update.
2016 * python/py-lazy-string.c (gdbpy_extract_lazy_string): Change type
2017 of "encoding".
2018 * varobj.c (varobj_value_get_print_value): Update.
2019 * python/python-internal.h (gdbpy_extract_lazy_string): Update.
2020
bde7b3e3
TT
20212017-01-10 Tom Tromey <tom@tromey.com>
2022
2023 * varobj.c (varobj_get_display_hint)
2024 (dynamic_varobj_has_child_method, install_new_value_visualizer)
2025 (varobj_set_visualizer, free_variable): Use
2026 gdbpy_enter_varobj.
2027
a7785f8c
TT
20282017-01-10 Tom Tromey <tom@tromey.com>
2029
2030 * python/python.c (python_command): Use gdbpy_enter, gdbpy_ref.
2031 (do_finish_initialization): New function. Use gdbpy_ref.
2032 (gdbpy_finish_initialization): Use gdbpy_enter. Call
2033 do_finish_initialization.
2034
2865bfce
TT
20352017-01-10 Tom Tromey <tom@tromey.com>
2036
2037 * python/py-param.c (get_set_value, get_show_value): Use
2038 gdbpy_enter, gdbpy_ref.
2039
0e9dcc75
TT
20402017-01-10 Tom Tromey <tom@tromey.com>
2041
2042 * python/py-function.c (fnpy_call): Use gdbpy_enter, gdbpy_ref.
2043
12a5cedd
TT
20442017-01-10 Tom Tromey <tom@tromey.com>
2045
2046 * python/py-cmd.c (cmdpy_function): Use gdbpy_enter, gdbpy_ref.
2047
788f2586
TT
20482017-01-10 Tom Tromey <tom@tromey.com>
2049
2050 * python/py-varobj.c (py_varobj_iter_dtor, py_varobj_iter_next):
2051 Use gdbpy_enter_varobj.
2052
6cd67bea
TT
20532017-01-10 Tom Tromey <tom@tromey.com>
2054
2055 * varobj.c (gdbpy_enter_varobj): New constructor.
2056 * python/python-internal.h (gdbpy_enter_varobj): New class.
2057 * python/py-varobj.c (py_varobj_get_iterator): Use
2058 gdbpy_enter_varobj.
2059
14b122bf
TT
20602017-01-10 Tom Tromey <tom@tromey.com>
2061
2062 * python/py-xmethods.c (gdbpy_get_xmethod_result_type): Use
2063 gdbpy_enter, gdbpy_ref, unique_xmalloc_ptr.
2064 (gdbpy_invoke_xmethod): Use gdbpy_ref, gdbpy_enter.
2065 (gdbpy_get_xmethod_arg_types): Use gdbpy_ref,
2066 unique_xmalloc_ptr.
2067 (gdbpy_get_xmethod_arg_types): Use gdbpy_ref, gdbpy_enter.
2068
bf1ca3b9
TT
20692017-01-10 Tom Tromey <tom@tromey.com>
2070
2071 * python/py-xmethods.c (invoke_match_method): Use
2072 gdbpy_ref.
2073
572a5524
TT
20742017-01-10 Tom Tromey <tom@tromey.com>
2075
2076 * python/py-xmethods.c (gdbpy_get_matching_xmethod_workers): use
2077 gdbpy_enter, gdbpy_ref.
2078
396a78b6
TT
20792017-01-10 Tom Tromey <tom@tromey.com>
2080
2081 * python/python.c (python_interactive_command): Use gdbpy_enter.
2082
a88b13c7
TT
20832017-01-10 Tom Tromey <tom@tromey.com>
2084
2085 * python/python.c (gdbpy_before_prompt_hook): Use gdbpy_enter,
2086 gdbpy_ref.
2087
e9f0c363
TT
20882017-01-10 Tom Tromey <tom@tromey.com>
2089
2090 * python/py-prettyprint.c (gdbpy_apply_val_pretty_printer): Use
2091 gdbpy_enter, gdbpy_ref, unique_xmalloc_ptr.
2092
6349f452
TT
20932017-01-10 Tom Tromey <tom@tromey.com>
2094
2095 * utils.h (htab_deleter): New struct.
2096 (htab_up): New typedef.
2097 * python/py-framefilter.c (gdbpy_apply_frame_filter): Use
2098 gdbpy_enter, gdbpy_ref, htab_up.
2099
c0171de6
TT
21002017-01-10 Tom Tromey <tom@tromey.com>
2101
2102 * python/py-unwind.c (pending_frame_invalidate): Remove.
2103 (pyuw_sniffer): Use gdbpy_enter and gdbpy_ref.
2104
f18e226f
TT
21052017-01-10 Tom Tromey <tom@tromey.com>
2106
2107 * python/py-xmethods.c (gdbpy_free_xmethod_worker_data)
2108 (gdbpy_clone_xmethod_worker_data): Use gdbpy_enter.
2109
c57af3f1
TT
21102017-01-10 Tom Tromey <tom@tromey.com>
2111
2112 * python/py-type.c (save_objfile_types): Use gdbpy_enter.
2113
60e600ec
TT
21142017-01-10 Tom Tromey <tom@tromey.com>
2115
2116 * python/python.c (gdbpy_eval_from_control_command)
2117 (gdbpy_source_script, gdbpy_run_events)
2118 (gdbpy_source_objfile_script, gdbpy_execute_objfile_script)
2119 (gdbpy_free_type_printers, gdbpy_finish_initialization): Use
2120 gdbpy_enter.
2121
bf7da5b0
TT
21222017-01-10 Tom Tromey <tom@tromey.com>
2123
2124 * python/py-progspace.c (py_free_pspace): Use gdbpy_enter.
2125
2d38bced
TT
21262017-01-10 Tom Tromey <tom@tromey.com>
2127
2128 * python/py-objfile.c (py_free_objfile): Use gdbpy_enter.
2129
07bc7329
TT
21302017-01-10 Tom Tromey <tom@tromey.com>
2131
2132 * python/py-inferior.c (python_on_normal_stop, python_on_resume)
2133 (python_on_inferior_call_pre, python_on_inferior_call_post)
2134 (python_on_memory_change, python_on_register_change)
2135 (python_inferior_exit, python_new_objfile, add_thread_object)
2136 (delete_thread_object, py_free_inferior): Use gdbpy_enter.
2137
6e7c365e
TT
21382017-01-10 Tom Tromey <tom@tromey.com>
2139
2140 * python/py-finishbreakpoint.c (bpfinishpy_handle_stop)
2141 (bpfinishpy_handle_exit): Use gdbpy_enter.
2142
6ba0cd40
TT
21432017-01-10 Tom Tromey <tom@tromey.com>
2144
2145 * python/py-cmd.c (cmdpy_destroyer)
2146 (cmdpy_completer_handle_brkchars, cmdpy_completer): Use
2147 gdbpy_enter.
2148
de2dc875
TT
21492017-01-10 Tom Tromey <tom@tromey.com>
2150
2151 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Use
2152 gdbpy_enter.
2153 (gdbpy_breakpoint_has_cond): Likewise.
2154
4ecee2c4
TT
21552017-01-10 Tom Tromey <tom@tromey.com>
2156
2157 * python/python.c (gdbpy_enter): New constructor.
2158 (~gdbpy_enter): New destructor.
2159 (restore_python_env, ensure_python_env): Rewrite.
2160 * python/python-internal.h (gdbpy_enter): New class.
2161
37fce74f
TT
21622017-01-10 Tom Tromey <tom@tromey.com>
2163
2164 * python/py-symbol.c (gdbpy_lookup_symbol): Use gdbpy_ref.
2165
53a0cca3
TT
21662017-01-10 Tom Tromey <tom@tromey.com>
2167
2168 * python/py-value.c (value_has_field, get_field_flag)
2169 (get_field_type, valpy_getitem, convert_value_from_python): Use
2170 gdbpy_ref.
2171
ff3724f5
TT
21722017-01-10 Tom Tromey <tom@tromey.com>
2173
2174 * python/python.c (gdbpy_progspaces, gdbpy_objfiles): Use
2175 gdbpy_ref.
2176
0700aea5
TT
21772017-01-10 Tom Tromey <tom@tromey.com>
2178
2179 * python/py-prettyprint.c (search_pp_list)
2180 (find_pretty_printer_from_objfiles)
2181 (find_pretty_printer_from_progspace)
2182 (find_pretty_printer_from_gdb, find_pretty_printer)
2183 (gdbpy_get_display_hint, gdbpy_get_varobj_pretty_printer): Use
2184 gdbpy_ref.
2185
1bb44c9f
TT
21862017-01-10 Tom Tromey <tom@tromey.com>
2187
2188 * python/py-param.c (call_doc_function): Use gdbpy_ref.
2189
87ce03fd
TT
21902017-01-10 Tom Tromey <tom@tromey.com>
2191
2192 * python/py-linetable.c (build_line_table_tuple_from_pcs)
2193 (ltpy_get_all_source_lines): Use gdbpy_ref.
2194
ee0a3fb8
TT
21952017-01-10 Tom Tromey <tom@tromey.com>
2196
2197 * python/py-framefilter.c (extract_sym, extract_value)
2198 (get_py_iter_from_func, bootstrap_python_frame_filters): Use
2199 gdbpy_ref.
2200
bf2a52fa
TT
22012017-01-10 Tom Tromey <tom@tromey.com>
2202
2203 * python/py-breakpoint.c (gdbpy_breakpoints): Use gdbpy_ref.
2204
f59fe7f8
TT
22052017-01-10 Tom Tromey <tom@tromey.com>
2206
2207 * python/py-inferior.c (gdbpy_inferiors): Use gdbpy_ref.
2208
80bd970a
TT
22092017-01-10 Tom Tromey <tom@tromey.com>
2210
2211 * python/py-function.c (convert_values_to_python, fnpy_init): Use
2212 gdbpy_ref.
2213
d1b3de2e
TT
22142017-01-10 Tom Tromey <tom@tromey.com>
2215
2216 * python/py-cmd.c (gdbpy_string_to_argv): Use gdbpy_ref.
2217
3bb43384
TT
22182017-01-10 Tom Tromey <tom@tromey.com>
2219
2220 * python/py-type.c (convert_field, make_fielditem, typy_fields)
2221 (typy_range): Use gdbpy_ref.
2222
abf5651e
TT
22232017-01-10 Tom Tromey <tom@tromey.com>
2224
2225 * python/py-threadevent.c (create_thread_event_object): Use
2226 gdbpy_ref.
2227 * python/py-stopevent.c (create_stop_event_object): Simplify.
2228 (emit_stop_event): Use gdbpy_ref.
2229 * python/py-signalevent.c (create_signal_event_object): Use
2230 gdbpy_ref.
2231 * python/py-newobjfileevent.c (create_new_objfile_event_object)
2232 (emit_new_objfile_event, create_clear_objfiles_event_object)
2233 (emit_clear_objfiles_event): Use gdbpy_ref.
2234 * python/py-infevents.c (create_inferior_call_event_object)
2235 (create_register_changed_event_object)
2236 (create_memory_changed_event_object, emit_inferior_call_event)
2237 (emit_memory_changed_event, emit_register_changed_event): Use
2238 gdbpy_ref.
2239 * python/py-exitedevent.c (create_exited_event_object)
2240 (emit_exited_event): Use gdbpy_ref.
2241 * python/py-event.h (evpy_emit_event): Remove
2242 CPYCHECKER_STEALS_REFERENCE_TO_ARG annotation.
2243 * python/py-event.c (evpy_emit_event): Use gdbpy_ref.
2244 * python/py-continueevent.c (emit_continue_event): Use
2245 gdbpy_ref.
2246 * python/py-breakpoint.c (gdbpy_breakpoint_created)
2247 (gdbpy_breakpoint_deleted, gdbpy_breakpoint_modified): Use
2248 gdbpy_ref.
2249 * python/py-bpevent.c (create_breakpoint_event_object): Use
2250 gdbpy_ref.
2251
a68ff33e
TT
22522017-01-10 Tom Tromey <tom@tromey.com>
2253
2254 * python/py-ref.h: New file.
2255
7becfd03
SM
22562017-01-10 Simon Marchi <simon.marchi@ericsson.com>
2257
2258 * cli-out.c (cli_ui_out::do_redirect): Change return type to
2259 void.
2260 * cli-out.h (cli_ui_out::do_redirect): Likewise.
2261 * mi/mi-out.c (mi_ui_out::do_redirect): Likewise.
2262 * mi/mi-out.h (mi_ui_out::do_redirect): Likewise.
2263 * ui-out.c (ui_out::redirect): Likewise.
2264 * ui-out.h (ui_out::redirect, ui_out::do_redirect): Likewise.
2265 * cli/cli-logging.c (set_logging_redirect): Update call site of
2266 ui_out::redirect.
2267 (handle_redirections): Likewise.
2268 * scm-ports.c (ioscm_with_output_to_port_worker): Likewise.
2269 * top.c (execute_command_to_string): Likewise.
2270 * utils.c (do_ui_out_redirect_pop): Likewise.
2271
df294654
SM
22722017-01-10 Simon Marchi <simon.marchi@ericsson.com>
2273
2274 * stack.c (_initialize_stack): Update "frame" command help message.
2275
f5e6296e
IB
22762017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
2277
2278 * d-exp.y (CastExpression): Emit UNOP_CAST_TYPE.
2279
0e2d6fa6
YQ
22802017-01-06 Yao Qi <yao.qi@linaro.org>
2281
2282 * x86-linux-nat.h: Include gdb_proc_service.h.
2283
44d6d3f9
YQ
22842017-01-06 Yao Qi <yao.qi@linaro.org>
2285
2286 * ser-base.h: Include serial.h.
2287
656731fe
YQ
22882017-01-06 Yao Qi <yao.qi@linaro.org>
2289
2290 * ppc-linux-tdep.h: Include ppc-tdep.h.
2291
1ca8f924
YQ
22922017-01-06 Yao Qi <yao.qi@linaro.org>
2293
2294 * nat/amd64-linux-siginfo.h: Include signal.h.
2295
bc3008c4
YQ
22962017-01-06 Yao Qi <yao.qi@linaro.org>
2297
2298 * nat/aarch64-linux-hw-point.h: Include break-common.h.
2299
66c80d03
YQ
23002017-01-06 Yao Qi <yao.qi@linaro.org>
2301
2302 * mi/mi-parse.h: Include mi-cmds.h.
2303
051d2dda
YQ
23042017-01-06 Yao Qi <yao.qi@linaro.org>
2305
2306 * inf-loop.c: Don't include "target.h".
2307 * inf-loop.h: Include it here.
2308
8018d34f
YQ
23092017-01-06 Yao Qi <yao.qi@linaro.org>
2310
2311 * dfp.h: Include "dboulest.h" and "expression.h".
2312
c0b8369c
YQ
23132017-01-06 Yao Qi <yao.qi@linaro.org>
2314
2315 * ax-gdb.h: Include "ax.h".
2316
ad5cba2a
YQ
23172017-01-06 Yao Qi <yao.qi@linaro.org>
2318
2319 * Makefile.in (HFILES_NO_SRCDIR): Replace gdb_ptrace.h
2320 with nat/gdb_ptrace.h.
2321
1c33cd7f
YQ
23222017-01-05 Yao Qi <yao.qi@linaro.org>
2323
2324 * mips-fbsd-tdep.c (mips_fbsd_sigframe_init): Move && to
2325 new line.
2326 (mips64_fbsd_sigframe_init): Likewise.
2327
c988ac1d
JB
23282017-01-04 John Baldwin <jhb@FreeBSD.org>
2329
2330 * mips-fbsd-tdep.c (_initialize_mips_fbsd_tdep): Use
2331 GDB_OSABI_FREEBSD instead of GDB_OSABI_FREEBSD_ELF.
2332
b268007c
JB
23332017-01-04 John Baldwin <jhb@FreeBSD.org>
2334
2335 * Makefile.in (ALLDEPFILES): Add mips-fbsd-nat.c.
2336 * NEWS: Mention new FreeBSD/mips native configuration.
2337 * config/mips/fbsd.mh: New file.
2338 * configure.host: Add mips*-*-freebsd*.
2339 * mips-fbsd-nat.c: New file.
2340
387360da
JB
23412017-01-04 John Baldwin <jhb@FreeBSD.org>
2342
2343 * Makefile.in (ALL_TARGET_OBS): Add mips-fbsd-tdep.o.
2344 (ALLDEPFILES): Add mips-fbsd-tdep.c.
2345 * NEWS: Mention new FreeBSD/mips target.
2346 * configure.tgt: Add mips*-*-freebsd*.
2347 * mips-fbsd-tdep.c: New file.
2348 * mips-fbsd-tdep.h: New file.
2349
2aaaf250
YQ
23502017-01-04 Yao Qi <yao.qi@linaro.org>
2351
2352 * dwarf2loc.c (write_pieced_value): Don't use VALUE_FRAME_ID (to),
2353 use c->frame_id when the piece location is DWARF_VALUE_REGISTER.
2354
61baf725
JB
23552017-01-01 Joel Brobecker <brobecker@adacore.com>
2356
6dbb839a 2357 Update copyright year range in all GDB files.
61baf725 2358
c113e7ff 23592017-01-01 Joel Brobecker <brobecker@adacore.com>
ce0db137 2360
c113e7ff 2361 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2016.
ce0db137 2362
c113e7ff 2363For older changes see ChangeLog-2016.
c906108c
SS
2364\f
2365Local Variables:
2366mode: change-log
2367left-margin: 8
2368fill-column: 74
2369version-control: never
57da7796 2370coding: utf-8
c906108c 2371End:
This page took 2.281646 seconds and 4 git commands to generate.