]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/ChangeLog
Use gdb::byte_vector when reading section data
[thirdparty/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
984c7238
TT
12018-03-12 Tom Tromey <tom@tromey.com>
2
3 * rs6000-aix-tdep.c (rs6000_aix_core_xfer_shared_libraries_aix):
4 Use gdb::byte_vector.
5 * arm-tdep.c (arm_exidx_new_objfile): Use gdb::byte_vector.
6
933522d1
YQ
72018-03-12 Yao Qi <yao.qi@linaro.org>
8
9 * ia64-libunwind-tdep.c (libunwind_get_reg_special): Change
10 parameter type to readable_regcache.
11 * ia64-libunwind-tdep.h (libunwind_get_reg_special): Update
12 the declaration.
13
be2daae6
TT
142018-03-11 Tom Tromey <tom@tromey.com>
15
16 * dwarf2read.c (struct nextfield): Add initializers.
17 (struct nextfnfield): Remove.
18 (struct fnfieldlist): Add initializers. Remove "length" and
19 "head", use std::vector.
20 (struct decl_field_list): Remove.
21 (struct field_info): Add initializers.
22 <fields, baseclasses>: Now std::vector.
23 <nbaseclasses, nfnfields, typedef_field_list_count,
24 nested_types_list_count>: Remove.
25 (dwarf2_add_field, dwarf2_add_type_defn)
26 (dwarf2_attach_fields_to_type, dwarf2_add_member_fn)
27 (dwarf2_attach_fn_fields_to_type, handle_struct_member_die)
28 (process_structure_scope): Update.
29
484cf504
TT
302018-03-11 Tom Tromey <tom@tromey.com>
31
32 * dwarf2read.c (sort_tu_by_abbrev_offset): Change to be suitable
33 for use by std::sort.
34 (build_type_psymtabs_1): Use std::vector.
35
9bd8e0b0
EZ
362018-03-09 Eli Zaretskii <eliz@gnu.org>
37
38 * top.c (print_gdb_configuration): Reflect LIBIPT, LIBMEMCHECK,
39 and LIBMPFR in the printed configuration.
40
5dc1a704
TT
412018-03-08 Tom Tromey <tom@tromey.com>
42
43 * source.c (get_filename_and_charpos): Use scoped_fd.
44 * nto-procfs.c (procfs_open_1): Use scoped_fd.
45 (procfs_pidlist): Likewise.
46 * procfs.c (proc_get_LDT_entry): Use scoped_fd.
47 (iterate_over_mappings): Likewise.
48
fdf07f3a
TT
492018-03-08 Tom Tromey <tom@tromey.com>
50
51 * infcall.c (struct call_return_meta_info)
52 <stack_temporaries_enabled>: Remove.
53 (get_call_return_value, call_function_by_hand_dummy): Update.
54 * thread.c (disable_thread_stack_temporaries): Remove.
55 (enable_thread_stack_temporaries): Remove.
56 (thread_stack_temporaries_enabled_p): Return bool.
57 (push_thread_stack_temporary, value_in_thread_stack_temporaries)
58 (get_last_thread_stack_temporary): Update.
59 * eval.c (evaluate_subexp): Update.
60 * gdbthread.h (class enable_thread_stack_temporaries): Now a
61 class, not a function.
62 (value_ptr, value_vec): Remove typedefs.
63 (class thread_info) <stack_temporaries_enabled>: Now bool.
64 <stack_temporaries>: Now a std::vector.
65 (thread_stack_temporaries_enabled_p)
66 (value_in_thread_stack_temporaries): Return bool.
67
567a3e54
SM
682018-03-08 Simon Marchi <simon.marchi@ericsson.com>
69
70 * remote.c (putpkt_binary): Fix omitted bytes reporting.
71 (getpkt_or_notif_sane_1): Likewise.
72
00b40057
SM
732018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
74
75 * build-id.c (build_id_to_debug_bfd): Use std::string.
76
a8dbfd58
SM
772018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
78
79 * build-id.c (find_separate_debug_file_by_buildid): Return
80 std::string.
81 * build-id.h (find_separate_debug_file_by_buildid): Return
82 std::string.
83 * coffread.c (coff_symfile_read): Adjust to std::string.
84 * elfread.c (elf_symfile_read): Adjust to std::string.
85 * symfile.c (separate_debug_file_exists): Change parameter to
86 std::string.
87 (find_separate_debug_file): Return std::string.
88 (find_separate_debug_file_by_debuglink): Return std::string.
89 * symfile.h (find_separate_debug_file_by_debuglink): Return
90 std::string.
91
e6a58aa8
SM
922018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
93
94 * common/xml-utils.c (xml_escape_text): Move code to...
95 (xml_escape_text_append): ... this new function.
96 * common/xml-utils.h (xml_escape_text_append): New declaration.
97 * unittests/xml-utils-selftests.c (test_xml_escape_text_append):
98 New function.
99 (_initialize_xml_utils): register test_xml_escape_text_append as
100 a selftest.
101
4ef0bef6
AH
1022018-03-07 Alan Hayward <alan.hayward@arm.com>
103
104 * defs.h: Remove MAX_REGISTER_SIZE.
105 * regcache.c (init_regcache_descr): Remove MAX_REGISTER_SIZE
106 asserts.
107 * python/py-unwind.c (pyuw_sniffer): Likewise.
108
e0d3522b
TT
1092018-03-07 Tom Tromey <tom@tromey.com>
110
111 * linux-tdep.c (linux_info_proc): Update.
112 * target.h (struct target_ops) <to_fileio_readlink>: Return
113 optional<string>.
114 (target_fileio_readlink): Return optional<string>.
115 * remote.c (remote_hostio_readlink): Return optional<string>.
116 * inf-child.c (inf_child_fileio_readlink): Return
117 optional<string>.
118 * target.c (target_fileio_readlink): Return optional<string>.
119
ea005f31
AB
1202018-03-07 Andrew Burgess <andrew.burgess@embecosm.com>
121
122 * regcache.c (cooked_read_test): Add riscv to the list of
123 architectures that have a save_reggroup.
124
e95a97d4
AA
1252018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
126
127 * gnu-v3-abi.c (gnuv3_rtti_type): Add early exit if the given
128 value is not a dynamic class object.
129
d8344f3d
TT
1302018-03-06 Tom Tromey <tom@tromey.com>
131
132 * rust-exp.y: Formatting fixes.
133
9add17f2
AB
1342018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
135
136 * riscv-tdep.c (riscv_register_name): Remove target description
137 support.
138 (riscv_gdbarch_init): Remove target description check.
139
c9486dfe
AB
1402018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
141
142 * riscv-tdep.c: Remove 'Contributed by ...' lines from header
143 comment.
144 * riscv-tdep.h: Likewise.
145
d74aff3d
AB
1462018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
147
148 * riscv-tdep.c (riscv_pseudo_register_read): Delete.
149 (riscv_pseudo_register_write): Delete.
150 (riscv_gdbarch_init): Remove all use of pseudo registers.
151
7ea78b59
SM
1522018-03-06 Simon Marchi <simon.marchi@polymtl.ca>
153
154 * record-btrace.c (btrace_print_lines): Replace cleanup
155 parameter with RAII equivalents.
156 (btrace_insn_history): Replace cleanup with RAII equivalents.
157 * ui-out.h (make_cleanup_ui_out_list_begin_end,
158 make_cleanup_ui_out_tuple_begin_end): Remove.
159 * ui-out.c (struct ui_out_end_cleanup_data, do_cleanup_end,
160 make_cleanup_ui_out_end, make_cleanup_ui_out_tuple_begin_end,
161 make_cleanup_ui_out_list_begin_end): Remove.
162
53127008
SM
1632018-03-06 Simon Marchi <simon.marchi@polymtl.ca>
164
165 * record-btrace.c (record_btrace_maybe_mark_async_event): Change
166 parameter types to std::vector. Use bool.
167 (record_btrace_wait): Replace VEC(tp_t) with
168 std::vector<thread_info *>.
169 * common/gdb_vecs.h (unordered_remove, ordered_remove): New.
170
228f1508
SM
1712018-03-06 Simon Marchi <simon.marchi@polymtl.ca>
172
173 * record-btrace.c (record_btrace_disable_callback): Remove.
174 (struct scoped_btrace_disable): New.
175 (record_btrace_open): Use scoped_btrace_disable.
176
b2970c23
AB
1772018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
178
179 * riscv-tdep.c (riscv_return_value): Change type to ULONGEST for
180 reading values from registers.
181
fb294655
AB
1822018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
183
184 * riscv-tdep.c (riscv_push_dummy_call): Use core_addr_to_string_nz
185 where appropriate.
186
cab5bb9d
AB
1872018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
188
189 * riscv-tdep.c (riscv_print_arg_location): Add header comment,
190 change parameter type. Use GDB's print functions, and use
191 core_addr_to_string where appropriate.
192 (riscv_push_dummy_call): Use core_addr_to_string where
193 appropriate, update call to riscv_print_arg_location, and reindent
194 a few lines.
195 (riscv_return_value): Update call to riscv_print_arg_location.
196
dbbb1059
AB
1972018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
198 Tim Newsome <tim@sifive.com>
199 Albert Ou <a0u@eecs.berkeley.edu>
200 Darius Rad <darius@bluespec.com>
201
202 * Makefile.in (ALL_TARGET_OBS): Add riscv-tdep.o
203 (HFILES_NO_SRCDIR): Add riscv-tdep.h.
204 (ALLDEPFILES): Add riscv-tdep.c
205 * configure.tgt: Add riscv support.
206 * riscv-tdep.c: New file.
207 * riscv-tdep.h: New file.
208 * NEWS: Mention new target.
209 * MAINTAINERS: Add entry for riscv.
210
5dc43913
AB
2112018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
212
213 * amd64-tdep.c (amd64_classify_aggregate): Ignore zero sized
214 fields within aggregates.
215
3dea1ef7
SM
2162018-03-04 Simon Marchi <simon.marchi@polymtl.ca>
217
218 * record-btrace.c (btrace_print_lines): Change type of flags to
219 gdb_disassembly_flags.
220
7efba073
JB
2212018-03-04 John Baldwin <jhb@FreeBSD.org>
222
223 * fbsd-nat.c: Include "inf-ptrace.h".
224 (USE_SIGTRAP_SIGINFO): Conditionally define.
225 [USE_SIGTRAP_SIGINFO] (fbsd_handle_debug_trap): New function.
226 (fbsd_wait) [USE_SIGTRAP_SIGINFO]: Call "fbsd_handle_debug_trap".
227 [USE_SIGTRAP_SIGINFO] (fbsd_stopped_by_sw_breakpoint): New
228 function.
229 [USE_SIGTRAP_SIGINFO] (fbsd_supports_stopped_by_sw_breakpoint):
230 Likewise.
231 [USE_SIGTRAP_SIGINFO] (fbsd_supports_stopped_by_hw_breakpoint):
232 Likewise.
233 (fbsd_nat_add_target) [USE_SIGTRAP_SIGINFO]: Set
234 "stopped_by_sw_breakpoint", "supports_stopped_by_sw_breakpoint",
235 "supports_stopped_by_hw_breakpoint" target methods.
236
386a8676
JB
2372018-03-04 John Baldwin <jhb@FreeBSD.org>
238
239 * NEWS (Changes since GDB 8.1): Add "set/show debug fbsd-nat".
240 * fbsd-nat.c (debug_fbsd_nat): New variable.
241 (show_fbsd_nat_debug): New function.
242 (fbsd_wait): Log LWP info if "debug_fbsd_nat" is enabled.
243 (_initialize_fbsd_nat): Add "fbsd-nat" debug boolean command.
244
12279366
JB
2452018-03-04 John Baldwin <jhb@FreeBSD.org>
246
247 * nat/x86-dregs.c (x86_dr_stopped_by_hw_breakpoint): New function.
248 * nat/x86-dregs.h (x86_dr_stopped_by_hw_breakpoint): New
249 prototype.
250 * x86-nat.c (x86_stopped_by_hw_breakpoint): New function.
251 (x86_use_watchpoints): Set "stopped_by_hw_breakpoint" target
252 method.
253
54693cf5
SM
2542018-03-02 Simon Marchi <simon.marchi@polymtl.ca>
255
256 * common/gdb_vecs.c (free_char_ptr_vec): Remove.
257 * common/gdb_vecs.h (free_char_ptr_vec): Remove.
258
ccb2231c
SM
2592018-03-02 Simon Marchi <simon.marchi@polymtl.ca>
260
261 * charset.c (struct charset_vector): New.
262 (charsets): Change type to charset_vector.
263 (find_charset_names): Adjust.
264 (add_one): Adjust.
265 (_initialize_charset): Adjust.
266
6fb16ce6
SM
2672018-03-02 Simon Marchi <simon.marchi@polymtl.ca>
268
269 * progspace.h (struct program_space) <deleted_solibs>: Change
270 type to std::vector<std::string>.
271 * progspace.c (clear_program_space_solib_cache): Adjust.
272 * breakpoint.c (print_solib_event): Adjust.
273 (check_status_catch_solib): Adjust.
274 * solib.c (update_solib_list): Adjust.
275 * ui-out.h (class ui_out) <field_string>: New overload.
276 * ui-out.c (ui_out::field_string): New overload.
277
564b1e3f
SM
2782018-03-02 Simon Marchi <simon.marchi@polymtl.ca>
279
280 * progspace.h (struct program_space): Add constructor and
281 destructor, initialize fields.
282 (add_program_space): Remove.
283 * progspace.c (add_program_space): Rename to...
284 (program_space::program_space): ... this.
285 (release_program_space): Rename to...
286 (program_space::~program_space): ... this.
287 (delete_program_space): Use delete to delete program_space.
288 (initialize_progspace): Use new to allocate program_space.
289 * inferior.c (add_inferior_with_spaces): Likewise.
290 (clone_inferior_command): Likewise.
291 * infrun.c (follow_fork_inferior): Likewise.
292 (handle_vfork_child_exec_or_exit): Likewise.
293
e80aaf61
SM
2942018-03-02 Simon Marchi <simon.marchi@polymtl.ca>
295
296 * common/gdb_vecs.h (make_cleanup_free_char_ptr_vec): Remove.
297 (delim_string_to_char_ptr_vec): Return std::vector of
298 gdb::unique_xmalloc_ptr.
299 (dirnames_to_char_ptr_vec_append): Take std::vector of
300 gdb::unique_xmalloc_ptr.
301 (dirnames_to_char_ptr_vec): Return std::vector of
302 gdb::unique_xmalloc_ptr.
303 * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append):
304 Take std::vector of gdb::unique_xmalloc_ptr, adjust the code.
305 (delim_string_to_char_ptr_vec): Return an std::vector of
306 gdb::unique_xmalloc_ptr, adjust the code.
307 (dirnames_to_char_ptr_vec_append): Take an std::vector of
308 gdb::unique_xmalloc_ptr, adjust the code.
309 (dirnames_to_char_ptr_vec): Return an std::vector of
310 gdb::unique_xmalloc_ptr, adjust the code.
311 * auto-load.c (auto_load_safe_path_vec): Change type to
312 std::vector of gdb::unique_xmalloc_ptr.
313 (auto_load_expand_dir_vars): Return an std::vector of
314 gdb::unique_xmalloc_ptr, adjust the code.
315 (auto_load_safe_path_vec_update): Adjust.
316 (filename_is_in_auto_load_safe_path_vec): Adjust.
317 (auto_load_objfile_script_1): Adjust.
318 * build-id.c (build_id_to_debug_bfd): Adjust.
319 * linux-thread-db.c (thread_db_load_search): Adjust.
320 * source.c (add_path): Adjust.
321 (openp): Adjust.
322 * symfile.c (find_separate_debug_file): Adjust.
323 * utils.c (do_free_char_ptr_vec): Remove.
324 (make_cleanup_free_char_ptr_vec): Remove.
325
ab818ade
SDJ
3262018-03-01 Sergio Durigan Junior <sergiodj@redhat.com>
327
328 PR gdb/22907
329 * common/pathstuff.c: Conditionally include "<windows.h>".
330
e1e6f073
GS
3312018-03-01 Georg Sauthoff <mail@georg.so>
332
333 PR gdb/22888
334 * gcore.in: Quote variables and switch interpreter to bash.
335
c7b15a66
TT
3362018-03-01 Tom Tromey <tom@tromey.com>
337
338 * dwarf2read.c (alloc_discriminant_info): Fix default_index
339 assertion. Add assertion for discriminant_index.
340 (quirk_rust_enum): Use correct base type name in univariant case.
341
0cb7c7b0
SM
3422018-03-01 Simon Marchi <simon.marchi@ericsson.com>
343
344 * record.c (get_call_history_modifiers): Return a
345 record_print_flags.
346 (cmd_record_call_history): Adjust.
347 * record-btrace.c (record_btrace_call_history): Adjust.
348 (record_btrace_call_history_range): Adjust.
349 (record_btrace_call_history_from): Adjust.
350 * target-debug.h (target_debug_print_record_print_flags): New.
351 * target-delegates.c: Re-generate.
352 * target.c (target_call_history): Change flags type.
353 (target_call_history_from): Likewise.
354 (target_call_history_range): Likewise.
355 * target.h (struct target_ops) <target_call_history>: Likewise.
356 (target_call_history_from): Likewise.
357 (target_call_history_range): Likewise.
358
25e3c82c
SDJ
3592018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
360 Simon Marchi <simon.marchi@polymtl.ca>
361
362 * common/common-utils.c: Include "sys/stat.h".
363 (is_regular_file): Move here from "source.c"; change return
364 type to "bool".
365 * common/common-utils.h (is_regular_file): New prototype.
366 * common/pathstuff.c (contains_dir_separator): New function.
367 * common/pathstuff.h (contains_dir_separator): New prototype.
368 * source.c: Don't include "sys/stat.h".
369 (is_regular_file): Move to "common/common-utils.c".
370
b4987c95
SDJ
3712018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
372
373 * Makefile.in (COMMON_SFILES): Add "common/pathstuff.c".
374 (HFILES_NO_SRCDIR): Add "common/pathstuff.h".
375 * auto-load.c: Include "common/pathstuff.h".
376 * common/common-def.h (current_directory): Move here.
377 * common/gdb_tilde_expand.c (gdb_tilde_expand_up): New
378 function.
379 * common/gdb_tilde_expand.h (gdb_tilde_expand_up): New
380 prototype.
381 * common/pathstuff.c: New file.
382 * common/pathstuff.h: New file.
383 * compile/compile.c: Include "common/pathstuff.h".
384 * defs.h (current_directory): Move to "common/common-defs.h".
385 * dwarf2read.c: Include "common/pathstuff.h".
386 * exec.c: Likewise.
387 * guile/scm-safe-call.c: Likewise.
388 * linux-thread-db.c: Likewise.
389 * main.c: Likewise.
390 * nto-tdep.c: Likewise.
391 * objfiles.c: Likewise.
392 * source.c: Likewise.
393 * symtab.c: Likewise.
394 * utils.c: Include "common/pathstuff.h".
395 (gdb_realpath): Move to "common/pathstuff.c".
396 (gdb_realpath_keepfile): Likewise.
397 (gdb_abspath): Likewise.
398 * utils.h (gdb_realpath): Move to "common/pathstuff.h".
399 (gdb_realpath_keepfile): Likewise.
400 (gdb_abspath): Likewise.
401
f169cfdc
JB
4022018-02-28 John Baldwin <jhb@FreeBSD.org>
403
404 * fbsd-nat.c (fbsd_resume): Use PT_SETSTEP for stepping and a
405 wildcard process pid for super_resume for kernels with a
406 specific bug.
407
e05cac70
PM
4082018-02-27 Phil Muldoon <pmuldoon@redhat.com>
409
410 * compile/compile.c (get_args): Add additional comments
411 explaining function.
412
55089490
TT
4132018-02-27 Simon Marchi <simon.marchi@polymtl.ca>
414 Tom Tromey <tom@tromey.com>
415
416 * target.h (memory_write_request_s): Remove typedef. Don't define
417 VEC.
418 (target_write_memory_blocks): Change argument to std::vector.
419 (struct memory_write_request): Add constructor.
420 * target-memory.c (compare_block_starting_address): Return bool.
421 Change argument types.
422 (claim_memory): Change arguments to use std::vector.
423 (split_regular_and_flash_blocks, blocks_to_erase)
424 (compute_garbled_blocks): Likewise.
425 (cleanup_request_data, cleanup_write_requests_vector): Remove.
426 (target_write_memory_blocks): Change argument to std::vector.
427 * symfile.c (struct load_section_data): Add constructor and
428 destructor. Use std::vector for "requests".
429 (struct load_progress_data): Add initializers.
430 (load_section_callback): Update. Use "new".
431 (clear_memory_write_data): Remove.
432 (generic_load): Update.
433
0c305b61
AH
4342018-02-27 Alan Hayward <alan.hayward@arm.com>
435
436 * arch/aarch64.h: Use common/tdesc.h.
437
c5196c92
MR
4382018-02-26 Maciej W. Rozycki <macro@mips.com>
439
440 * mips-tdep.c (mips_gdbarch_init): Don't use a 32-bit BFD
441 architecture with a 64-bit ABI.
442
37c33887
MR
4432018-02-26 Maciej W. Rozycki <macro@mips.com>
444
445 * gdb/mips-tdep.c (mips_gdbarch_init): Reorder ABI determination
446 ahead of target description loading.
447
d4dd3282
TT
4482018-02-26 Tom Tromey <tom@tromey.com>
449
450 * stack.c (backtrace_command_1): Update.
451 * python/python-internal.h (gdbpy_apply_frame_filter): Change type
452 of "flags".
453 * python/py-framefilter.c (py_print_frame)
454 (gdbpy_apply_frame_filter): Change type of "flags".
455 * mi/mi-cmd-stack.c (mi_apply_ext_lang_frame_filter): Change type
456 of "flags".
457 (mi_cmd_stack_list_frames, mi_cmd_stack_list_locals)
458 (mi_cmd_stack_list_args, mi_cmd_stack_list_variables): Update.
459 * extension.h (enum frame_filter_flag): Rename from
460 frame_filter_flags.
461 (frame_filter_flags): Define using DEF_ENUM_FLAGS_TYPE.
462 (apply_ext_lang_frame_filter): Change type of "flags".
463 * extension.c (apply_ext_lang_frame_filter): Change type of
464 "flags".
465 * extension-priv.h (struct extension_language_ops)
466 <apply_frame_filter>: Change type of "flags".
467
6893c19a
TT
4682018-02-26 Tom Tromey <tom@tromey.com>
469
470 PR python/16497:
471 * stack.c (backtrace_command_1): Set PRINT_MORE_FRAMES flag. Fix
472 off-by-one in py_end computation.
473 * python/py-framefilter.c (gdbpy_apply_frame_filter): Handle
474 PRINT_MORE_FRAMES.
475 * extension.h (enum frame_filter_flags) <PRINT_MORE_FRAMES>: New
476 constant.
477
2ddeaf8a
TT
4782018-02-26 Tom Tromey <tom@tromey.com>
479
480 * dwarf2read.c (struct variant_field): New.
481 (struct nextfield) <variant>: New field.
482 (dwarf2_add_field): Handle DW_TAG_variant_part.
483 (dwarf2_attach_fields_to_type): Attach a discriminant_info to a
484 discriminated union.
485 (read_structure_type): Handle DW_TAG_variant_part.
486 (handle_struct_member_die): New function, extracted from
487 process_structure_scope. Handle DW_TAG_variant.
488 (process_structure_scope): Handle discriminated unions. Call
489 handle_struct_member_die.
490
c9317f21
TT
4912018-02-26 Tom Tromey <tom@tromey.com>
492
493 * rust-lang.h (rust_last_path_segment): Declare.
494 * rust-lang.c (rust_last_path_segment): Now public. Change
495 contract.
496 (struct disr_info): Remove.
497 (RUST_ENUM_PREFIX, RUST_ENCODED_ENUM_REAL)
498 (RUST_ENCODED_ENUM_HIDDEN, rust_union_is_untagged)
499 (rust_get_disr_info, rust_tuple_variant_type_p): Remove.
500 (rust_enum_p, rust_enum_variant): New function.
501 (rust_underscore_fields): Remove "offset" parameter.
502 (rust_print_enum): New function.
503 (rust_val_print) <TYPE_CODE_UNION>: Remove enum code.
504 <TYPE_CODE_STRUCT>: Call rust_print_enum when appropriate.
505 (rust_print_struct_def): Add "for_rust_enum" parameter. Handle
506 enums.
507 (rust_internal_print_type): New function, from rust_print_type.
508 Remove enum code.
509 (rust_print_type): Call rust_internal_print_type.
510 (rust_evaluate_subexp) <STRUCTOP_ANONYMOUS, STRUCTOP_STRUCT>:
511 Update enum handling.
512 * dwarf2read.c (struct dwarf2_cu) <rust_unions>: New field.
513 (rust_fully_qualify, alloc_discriminant_info, quirk_rust_enum)
514 (rust_union_quirks): New functions.
515 (process_full_comp_unit, process_full_type_unit): Call
516 rust_union_quirks.
517 (process_structure_scope): Update rust_unions if necessary.
518
7c22600a
TT
5192018-02-26 Tom Tromey <tom@tromey.com>
520
521 * value.h (value_union_variant): Declare.
522 * valops.c (value_union_variant): New function.
523 * gdbtypes.h (TYPE_FLAG_DISCRIMINATED_UNION): New macro.
524 (struct discriminant_info): New.
525 (enum dynamic_prop_node_kind) <DYN_PROP_DISCRIMINATED>: New
526 enumerator.
527 (struct main_type) <flag_discriminated_union>: New field.
528
15ce8941
TT
5292018-02-26 Tom Tromey <tom@tromey.com>
530
531 * Makefile.in (SUBDIR_UNITTESTS_SRCS): Add
532 unittests/unpack-selftests.c.
533 * unittests/unpack-selftests.c: New file.
534 * value.c (unpack_bits_as_long): Fix bugs in non-bitfield cases.
535
48fbe735
YQ
5362018-02-26 Yao Qi <yao.qi@linaro.org>
537
538 * dwarf2read.c (struct partial_die_info) <read>: New method.
539 (read_partial_die): Remove the declaration.
540 (load_partial_dies): Update.
541 (partial_die_info::partial_die_info):
542 (read_partial_die): Change it to partial_die_info::read.
543
52356b79
YQ
5442018-02-26 Yao Qi <yao.qi@linaro.org>
545
546 * dwarf2read.c (struct partial_die_info) <fixup>: New method.
547 (fixup_partial_die): Remove declaration.
548 (scan_partial_symbols): Update.
549 (partial_die_parent_scope): Likewise.
550 (partial_die_full_name): Likewise.
551 (fixup_partial_die): Change it to partial_die_info::fixup.
552
35cc7ed7
YQ
5532018-02-26 Yao Qi <yao.qi@linaro.org>
554
555 * dwarf2read.c (read_partial_die): Update the declaration.
556 (load_partial_dies): Caller update.
557 (read_partial_die): Remove one argument abbrev_len.
558
6f06d47b
YQ
5592018-02-26 Yao Qi <yao.qi@linaro.org>
560
561 * dwarf2read.c (struct partial_die_info): Add ctor, delete
562 assignment operator.
563 (load_partial_dies): Use ctor and copy ctor.
564 (read_partial_die): Update.
565 (dwarf2_cu::find_partial_die): Use ctor.
566
d590ff25
YQ
5672018-02-26 Yao Qi <yao.qi@linaro.org>
568
569 * dwarf2read.c (struct dwarf2_cu) <find_partial_die>: New method.
570 (find_partial_die_in_comp_unit): Change it to
571 dwarf2_cu::find_partial_die.
572 (find_partial_die): Update.
573
fd0a254f
YQ
5742018-02-26 Yao Qi <yao.qi@linaro.org>
575
576 * dwarf2read.c (read_partial_die): Remove the code checking abbrev
577 is NULL.
578
cd9983dd
YQ
5792018-02-26 Yao Qi <yao.qi@linaro.org>
580
581 * dwarf2read.c (load_partial_dies): Move the location of XOBNEW.
582
f46cd62a
AH
5832018-02-26 Alan Hayward <alan.hayward@arm.com>
584
585 * arch/amd64.h: Use common/tdesc.h.
586 * arch/i386.c: Likewise.
587 * arch/i386.h: Likewise.
588 * arch/tic6x.c: Likewise.
589 * arch/tdesc.h: Move file from here...
590 * common/tdesc.h: ...to here.
591 * features/aarch64-core.c: Regenerate.
592 * features/aarch64-fpu.c: Regenerate.
593 * features/i386/32bit-avx.c: Regenerate.
594 * features/i386/32bit-avx512.c: Regenerate.
595 * features/i386/32bit-core.c: Regenerate.
596 * features/i386/32bit-linux.c: Regenerate.
597 * features/i386/32bit-mpx.c: Regenerate.
598 * features/i386/32bit-pkeys.c: Regenerate.
599 * features/i386/32bit-sse.c: Regenerate.
600 * features/i386/64bit-avx.c: Regenerate.
601 * features/i386/64bit-avx512.c: Regenerate.
602 * features/i386/64bit-core.c: Regenerate.
603 * features/i386/64bit-linux.c: Regenerate.
604 * features/i386/64bit-mpx.c: Regenerate.
605 * features/i386/64bit-pkeys.c: Regenerate.
606 * features/i386/64bit-segments.c: Regenerate.
607 * features/i386/64bit-sse.c: Regenerate.
608 * features/i386/x32-core.c: Regenerate.
609 * features/tic6x-c6xp.c: Regenerate.
610 * features/tic6x-core.c: Regenerate.
611 * features/tic6x-gp.c: Regenerate.
612 * target-descriptions.c: Use common/tdesc.h.
613 * target-descriptions.h: Likewise.
614
9b292f68
TT
6152018-02-24 Tom Tromey <tom@tromey.com>
616
617 * linux-thread-db.c (try_thread_db_load_from_pdir_1)
618 (try_thread_db_load_from_dir, thread_db_load_search): Use
619 std::string.
620 (info_auto_load_libthread_db_compare): Return bool. Change
621 argument types.
622 (info_auto_load_libthread_db): Use std::vector, std::string.
623 Remove cleanups.
624
281d762b
TT
6252018-02-24 Tom Tromey <tom@tromey.com>
626
627 * i386-tdep.c (i386_fast_tracepoint_valid_at): "msg" now a
628 std::string.
629 * gdbarch.sh (fast_tracepoint_valid_at): Change "msg" to a
630 std::string*.
631 * gdbarch.c: Rebuild.
632 * gdbarch.h: Rebuild.
633 * breakpoint.c (check_fast_tracepoint_sals): Use std::string.
634 * arch-utils.h (default_fast_tracepoint_valid_at): Update.
635 * arch-utils.c (default_fast_tracepoint_valid_at): "msg" now a
636 std::string*.
637
9d8780f0
SM
6382018-02-23 Simon Marchi <simon.marchi@polymtl.ca>
639
640 * gdbtypes.h (sect_offset): Change type to uint64_t.
641 (sect_offset_str): New function.
642 * dwarf2read.c (create_addrmap_from_aranges): Use
643 sect_offset_str.
644 (error_check_comp_unit_head): Likewise.
645 (create_debug_type_hash_table): Likewise.
646 (read_cutu_die_from_dwo): Likewise.
647 (init_cutu_and_read_dies): Likewise.
648 (init_cutu_and_read_dies_no_follow): Likewise.
649 (process_psymtab_comp_unit_reader): Likewise.
650 (partial_die_parent_scope): Likewise.
651 (peek_die_abbrev): Likewise.
652 (process_queue): Likewise.
653 (dwarf2_physname): Likewise.
654 (read_namespace_alias): Likewise.
655 (read_import_statement): Likewise.
656 (create_dwo_cu_reader): Likewise.
657 (create_cus_hash_table): Likewise.
658 (lookup_dwo_cutu): Likewise.
659 (inherit_abstract_dies): Likewise.
660 (read_func_scope): Likewise.
661 (read_call_site_scope): Likewise.
662 (dwarf2_add_member_fn): Likewise.
663 (read_common_block): Likewise.
664 (read_module_type): Likewise.
665 (read_typedef): Likewise.
666 (read_subrange_type): Likewise.
667 (load_partial_dies): Likewise.
668 (read_partial_die): Likewise.
669 (find_partial_die): Likewise.
670 (read_str_index): Likewise.
671 (dwarf2_string_attr): Likewise.
672 (build_error_marker_type): Likewise.
673 (lookup_die_type): Likewise.
674 (dump_die_shallow): Likewise.
675 (follow_die_ref): Likewise.
676 (dwarf2_fetch_die_loc_sect_off): Likewise.
677 (dwarf2_fetch_constant_bytes): Likewise.
678 (follow_die_sig): Likewise.
679 (get_signatured_type): Likewise.
680 (get_DW_AT_signature_type): Likewise.
681 (dwarf2_find_containing_comp_unit): Likewise.
682 (set_die_type): Likewise.
683
8ec57239
JB
6842018-02-21 John Baldwin <jhb@FreeBSD.org>
685
686 * arch/aarch64.c: Include "common-defs.h".
687 * arch/amd64.c: Likewise.
688 * arch/i386.c: Likewise.
689
3eac2b65
TT
6902018-02-21 Tom Tromey <tom@tromey.com>
691
692 * value.h: (extract_field_op): Update.
693 * eval.c (extract_field_op): Return a const char *.
694 * expression.h (parse_expression_for_completion): Update.
695 * completer.c (complete_expression): Update.
696 (add_struct_fields): Make fieldname const.
697 * parse.c (expout_completion_name): Now a unique_xmalloc_ptr.
698 (mark_completion_tag, parse_exp_in_context_1): Update.
699 (parse_expression_for_completion): Change "name" to
700 unique_xmalloc_ptr*.
701
6ccb583f
TT
7022018-02-21 Tom Tromey <tom@tromey.com>
703
704 * infcall.c (call_function_by_hand_dummy): Use std::vector.
705
c113ed0c
YQ
7062018-02-21 Yao Qi <yao.qi@linaro.org>
707
708 * avr-tdep.c (avr_read_pc): Change parameter type to
709 readable_regcache.
710 * gdbarch.sh (read_pc): Likewise.
711 * gdbarch.c: Re-generated.
712 * gdbarch.h: Re-generated.
713 * hppa-tdep.c (hppa_read_pc): Change parameter type to
714 readable_regcache.
715 * ia64-tdep.c (ia64_read_pc): Likewise.
716 * mips-tdep.c (mips_read_pc): Likewise.
717 * spu-tdep.c (spu_read_pc): Likewise.
718
4c74fe6b
YQ
7192018-02-21 Yao Qi <yao.qi@linaro.org>
720
721 * Makefile.in (COMMON_SFILES): Add regcache-dump.c
722 * regcache-dump.c: New file.
723 * regcache.c: Move register_dump to regcache-dump.c.
724 (maintenance_print_registers): Likewise.
725 (maintenance_print_raw_registers): Likewise.
726 (maintenance_print_cooked_registers): Likewise.
727 (maintenance_print_register_groups): Likewise.
728 (maintenance_print_remote_registers): Likewise.
729 (_initialize_regcache): Likewise.
730 * regcache.h (register_dump): Moved from regcache.c.
731
796bb026
YQ
7322018-02-21 Yao Qi <yao.qi@linaro.org>
733
734 * regcache.c (regcache::regcache): Update.
735 (regcache::invalidate): Move it to detached_regcache::invalidate.
736 (get_thread_arch_aspace_regcache): Update.
737 (regcache::raw_update): Update.
738 (regcache::cooked_read): Remove some code.
739 (regcache::cooked_read_value): Likewise.
740 (regcache::raw_write): Remove assert on m_readonly_p.
741 (regcache::raw_supply_integer): Move it to
742 detached_regcache::raw_supply_integer.
743 (regcache::raw_supply_zeroed): Likewise.
744 * regcache.h (detached_regcache) <raw_supply_integer>: New
745 declaration.
746 <raw_supply_zeroed, invalidate>: Likewise.
747 (regcache) <raw_supply_integer, raw_supply_zeroed>: Removed.
748 <invalidate>: Likewise.
749 <m_readonly_p>: Removed.
750
215c69dc
YQ
7512018-02-21 Yao Qi <yao.qi@linaro.org>
752
753 * infcmd.c (get_return_value): Let stop_regs point to
754 get_current_regcache.
755 * regcache.c (regcache::regcache): Remove.
756 (register_dump_reg_buffer): New class.
757 (regcache_print): Adjust.
758 * regcache.h (regcache): Remove constructors.
759
f3384e66
YQ
7602018-02-21 Yao Qi <yao.qi@linaro.org>
761
762 * regcache.c (class register_dump): New class.
763 (register_dump_regcache, register_dump_none): New class.
764 (register_dump_remote, register_dump_groups): New class.
765 (regcache_print): Update.
766 * regcache.h (regcache_dump_what): Move it to regcache.c.
767 (regcache) <dump>: Remove.
768
c8ec2f33
YQ
7692018-02-21 Yao Qi <yao.qi@linaro.org>
770
771 * jit.c (struct jit_unwind_private) <regcache>: Change its type to
772 reg_buffer_rw *.
773 (jit_unwind_reg_set_impl): Call raw_supply.
774 (jit_frame_sniffer): Use reg_buffer_rw.
775 * record-full.c (record_full_core_regbuf): Change its type.
776 (record_full_core_open_1): Use reg_buffer_rw.
777 (record_full_close): Likewise.
778 (record_full_core_fetch_registers): Use regcache->raw_supply.
779 (record_full_core_store_registers): Likewise.
780 * regcache.c (regcache::get_register_status): Move it to
781 reg_buffer.
782 (regcache_raw_set_cached_value): Remove.
783 (regcache::raw_set_cached_value): Remove.
784 (regcache::raw_write): Call raw_supply.
785 (regcache::raw_supply): Move it to reg_buffer_rw.
786 * regcache.h (regcache_raw_set_cached_value): Remove.
787 (reg_buffer_rw): New class.
788
daf6667d
YQ
7892018-02-21 Yao Qi <yao.qi@linaro.org>
790
791 * dummy-frame.c (dummy_frame_cache) <prev_regcache>: Use
792 readonly_detached_regcache.
793 (dummy_frame_prev_register): Use regcache->cooked_read.
794 * frame.c (frame_save_as_regcache): Change return type.
795 (frame_pop): Update.
796 * frame.h (frame_save_as_regcache): Update declaration.
797 * inferior.h (get_infcall_suspend_state_regcache): Update
798 declaration.
799 * infrun.c (infcall_suspend_state) <registers>: use
800 readonly_detached_regcache.
801 (save_infcall_suspend_state): Don't use regcache_dup.
802 (get_infcall_suspend_state_regcache): Change return type.
803 * linux-fork.c (struct fork_info) <savedregs>: Change to
804 readonly_detached_regcache.
805 <pc>: New field.
806 (fork_save_infrun_state): Don't use regcache_dup.
807 (info_checkpoints_command): Adjust.
808 * mi/mi-main.c (register_changed_p): Update declaration.
809 (mi_cmd_data_list_changed_registers): Use
810 readonly_detached_regcache.
811 (register_changed_p): Change parameter type to
812 readonly_detached_regcache.
813 * ppc-linux-tdep.c (ppu2spu_cache) <regcache>: Use
814 readonly_detached_regcache.
815 (ppu2spu_sniffer): Construct a new readonly_detached_regcache.
816 * regcache.c (readonly_detached_regcache::readonly_detached_regcache):
817 New.
818 (regcache::save): Move it to reg_buffer.
819 (regcache::restore): Change parameter type.
820 (regcache_dup): Remove.
821 * regcache.h (reg_buffer) <save>: New method.
822 (readonly_detached_regcache): New class.
823 * spu-tdep.c (spu2ppu_cache) <regcache>: Use
824 readonly_detached_regcache.
825 (spu2ppu_sniffer): Construct a new readonly_detached_regcache.
826
fc5b8736
YQ
8272018-02-21 Yao Qi <yao.qi@linaro.org>
828
829 * frame.c (frame_save_as_regcache): Use regcache method save.
830 (frame_pop): Use regcache method restore.
831 * infrun.c (restore_infcall_suspend_state): Likewise.
832 * linux-fork.c (fork_load_infrun_state): Likewise.
833 * ppc-linux-tdep.c (ppu2spu_sniffer): User regcache method
834 save.
835 * regcache.c (regcache_save): Remove.
836 (regcache::restore): More asserts.
837 (regcache_cpy): Remove.
838 * regcache.h (regcache_save): Remove the declaration.
839 (regcache::restore): Move from private to public.
840 Remove the friend declaration of regcache_cpy.
841 (regcache_cpy): Remove declaration.
842
849d0ba8
YQ
8432018-02-21 Yao Qi <yao.qi@linaro.org>
844
845 * aarch64-tdep.c (aarch64_pseudo_register_read_value): Change
846 parameter type to 'readable_regcache *'.
847 * amd64-tdep.c (amd64_pseudo_register_read_value): Likewise.
848 * arm-tdep.c (arm_neon_quad_read): Likewise.
849 (arm_pseudo_read): Likewise.
850 * avr-tdep.c (avr_pseudo_register_read): Likewise.
851 * bfin-tdep.c (bfin_pseudo_register_read): Likewise.
852 * frv-tdep.c (frv_pseudo_register_read): Likewise.
853 * gdbarch.c: Re-generated.
854 * gdbarch.h: Re-generated.
855 * gdbarch.sh (pseudo_register_read): Change parameter type to
856 'readable_regcache *'.
857 (pseudo_register_read_value): Likewise.
858 * h8300-tdep.c (pseudo_from_raw_register): Likewise.
859 (h8300_pseudo_register_read): Likewise.
860 * hppa-tdep.c (hppa_pseudo_register_read): Likewise.
861 * i386-tdep.c (i386_mmx_regnum_to_fp_regnum): Likewise.
862 (i386_pseudo_register_read_into_value): Likewise.
863 (i386_pseudo_register_read_value): Likewise.
864 * i386-tdep.h (i386_pseudo_register_read_into_value): Update
865 declaration.
866 * ia64-tdep.c (ia64_pseudo_register_read): Likewise.
867 * m32c-tdep.c (m32c_raw_read): Likewise.
868 (m32c_read_flg): Likewise.
869 (m32c_banked_register): Likewise.
870 (m32c_banked_read): Likewise.
871 (m32c_sb_read): Likewise.
872 (m32c_part_read): Likewise.
873 (m32c_cat_read): Likewise.
874 (m32c_r3r2r1r0_read): Likewise.
875 (m32c_pseudo_register_read): Likewise.
876 * m68hc11-tdep.c (m68hc11_pseudo_register_read): Likewise.
877 * mep-tdep.c (mep_pseudo_cr32_read): Likewise.
878 (mep_pseudo_cr64_read): Likewise.
879 (mep_pseudo_register_read): Likewise.
880 * mips-tdep.c (mips_pseudo_register_read): Likewise.
881 * msp430-tdep.c (msp430_pseudo_register_read): Likewise.
882 * nds32-tdep.c (nds32_pseudo_register_read): Likewise.
883 * regcache.c (regcache::raw_read): Move it to readable_regcache.
884 (regcache::cooked_read): Likewise.
885 (regcache::cooked_read_value): Likewise.
886 (regcache_cooked_read_signed):
887 (regcache::cooked_read): Likewise.
888 * regcache.h (readable_regcache): New class.
889 (regcache): Inherit readable_regcache. Move some methods to
890 readable_regcache.
891 * rl78-tdep.c (rl78_pseudo_register_read): Change
892 parameter type to 'readable_regcache *'.
893 * rs6000-tdep.c (do_regcache_raw_read): Remove.
894 (e500_pseudo_register_read): Change parameter type to
895 'readable_regcache *'.
896 (dfp_pseudo_register_read): Likewise.
897 (vsx_pseudo_register_read): Likewise.
898 (efpr_pseudo_register_read): Likewise.
899 * s390-tdep.c (s390_pseudo_register_read): Likewise.
900 * sh-tdep.c (sh_pseudo_register_read): Likewise.
901 * sh64-tdep.c (pseudo_register_read_portions): Likewise.
902 (sh64_pseudo_register_read): Likewise.
903 * sparc-tdep.c (sparc32_pseudo_register_read): Likewise.
904 * sparc64-tdep.c (sparc64_pseudo_register_read): Likewise.
905 * spu-tdep.c (spu_pseudo_register_read_spu): Likewise.
906 (spu_pseudo_register_read): Likewise.
907 * xtensa-tdep.c (xtensa_register_read_masked): Likewise.
908 (xtensa_pseudo_register_read): Likewise.
909
31716595
YQ
9102018-02-21 Yao Qi <yao.qi@linaro.org>
911
912 * regcache.c (regcache::regcache): Call reg_buffer ctor.
913 (regcache::arch): Move it to reg_buffer::arch.
914 (regcache::register_buffer): Likewise.
915 (regcache::assert_regnum): Likewise.
916 (regcache::num_raw_registers): Likewise.
917 * regcache.h (reg_buffer): New class.
918 (regcache): Inherit reg_buffer.
919
7104e59b
SM
9202018-02-20 Simon Marchi <simon.marchi@ericsson.com>
921
922 * remote-sim.c (gdb_os_printf_filtered, gdb_os_vprintf_filtered,
923 gdb_os_evprintf_filtered, gdb_os_error): Add ATTRIBUTE_PRINTF.
924
2d8adcbd
MM
9252018-02-20 Markus Metzger <markus.t.metzger@intel.com>
926
927 * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add mkstemp.
928
b5884fa7
AH
9292018-02-19 Alan Hayward <alan.hayward@arm.com>
930
931 * Makefile.in: (COMMON_SFILES): Add common/*.c files.
932 (SFILES): Remove common/*.c files.
933 (COMMON_OBS): Remove some *.o files built from common/*.c files.
934 * common/common.host: Add common reference.
935 * configure.ac: Likewise.
936 * configure: Regenerate.
937
fd90ace4
YQ
9382018-02-16 Yao Qi <yao.qi@linaro.org>
939
940 * block.c (block_namespace_info): Inherit allocate_on_obstack.
941 (block_initialize_namespace): Use new.
942 * dwarf2read.c (dwarf2_per_objfile): Inherit allocate_on_obstack.
943 (dwarf2_free_objfile): Use delete.
944 * gdbtypes.c (type_pair): Inherit allocate_on_obstack.
945 (copy_type_recursive): Use new.
946 * gdb_obstack.h (allocate_on_obstack): New.
947
85046ae2
YQ
9482018-02-15 Yao Qi <yao.qi@linaro.org>
949
950 PR gdb/22849
951 * inferior.c (exit_inferior_1): Reset inf->control.
952
355c559b
JB
9532018-02-15 Joel Brobecker <brobecker@adacore.com>
954
955 * ada-lang.c (ada_to_fixed_value_create): Delete advance
956 declaration.
957
980548fd
PA
9582018-02-14 Pedro Alves <palves@redhat.com>
959
960 * frame-unwind.c (frame_unwind_try_unwinder): Always call
961 frame_cleanup_after_sniffer on exception.
962
692d6f97
TT
9632018-02-14 Tom Tromey <tom@tromey.com>
964
965 * solist.h (struct target_so_ops) <bfd_open>: Make pathname
966 const.
967 (solib_bfd_open): Make pathname const.
968 * solib.c (solib_bfd_open): Make pathname const.
969 * solib-spu.c (spu_bfd_fopen): Make name const.
970 (spu_bfd_open): Make pathname const.
971 * solib-darwin.c (darwin_bfd_open): Make pathname const.
972 * solib-aix.c (solib_aix_bfd_open): Make pathname const.
973
e0cc99a6
TT
9742018-02-14 Tom Tromey <tom@tromey.com>
975
976 * symfile.c (symfile_bfd_open): Update.
977 * source.h (openp, source_full_path_of, find_and_open_source):
978 Change argument type to unique_xmalloc_ptr.
979 * source.c (openp): Take a unique_xmalloc_ptr.
980 (source_full_path_of, find_and_open_source): Likewise.
981 (open_source_file, symtab_to_fullname): Update.
982 * solist.h (struct target_so_ops) <find_and_open_solib>: Take a
983 unique_xmalloc_ptr.
984 * solib.c (solib_find_1): Use unique_xmalloc_ptr.
985 (exec_file_find): Update.
986 * psymtab.c (psymtab_to_fullname): Update.
987 * nto-tdep.h (nto_find_and_open_solib): Update.
988 * nto-tdep.c (nto_find_and_open_solib): Change temp_path to a
989 unique_xmalloc_ptr.
990 * exec.c (exec_file_attach): Update.
991 * dwarf2read.c (try_open_dwop_file): Use unique_xmalloc_ptr.
992 * cli/cli-cmds.c (find_and_open_script): Use unique_xmalloc_ptr.
993
b46a8d7c
TT
9942018-02-14 Tom Tromey <tom@tromey.com>
995
996 * solib.c: Include source.h.
997 * nto-tdep.c: Include source.h.
998 * mi/mi-cmd-env.c: Include source.h.
999 * infcmd.c: Include source.h.
1000 * exec.c: Include source.h.
1001 * defs.h (enum openp_flag, openp, source_full_path_of, mod_path)
1002 (add_path, directory_switch, source_path, init_source_path): Move
1003 declarations...
1004 * source.h (enum openp_flag, openp, source_full_path_of, mod_path)
1005 (add_path, directory_switch, source_path, init_source_path):
1006 ...here.
1007
797bc1cb
TT
10082018-02-14 Tom Tromey <tom@tromey.com>
1009
1010 * solist.h (exec_file_find, solib_find): Return
1011 unique_xmalloc_ptr.
1012 (solib_bfd_fopen): Take a const char *.
1013 * solib.c (solib_find_1): Return unique_xmalloc_ptr.
1014 (exec_file_find, solib_find): Likewise.
1015 (solib_bfd_fopen): Do not take ownership of "pathname".
1016 (solib_bfd_open): Use unique_xmalloc_ptr.
1017 * solib-darwin.c (darwin_bfd_open): Use unique_xmalloc_ptr.
1018 * solib-aix.c (solib_aix_bfd_open): Use unique_xmalloc_ptr.
1019 * infrun.c (follow_exec): Use unique_xmalloc_ptr.
1020 * exec.c (exec_file_locate_attach): Use unique_xmalloc_ptr.
1021
f98b2e33
JB
10222018-02-14 Joel Brobecker <brobecker@adacore.com>
1023
1024 * ada-lang.c (name_match_type_from_name): Remove reference to
1025 ada_name_for_lookup in function's documentation.
1026 * ada-lang.h (ada_name_for_lookup): Delete declaration.
1027
24b9144d
SM
10282018-02-13 Simon Marchi <simon.marchi@polymtl.ca>
1029
1030 * defs.h (enum openp_flags): New enum.
1031 (OPF_TRY_CWD_FIRST, OPF_SEARCH_IN_PATH, OPF_RETURN_REALPATH):
1032 Move to enum openp_flags.
1033 (openp_flags): New enum flags.
1034 (openp): Change parameter type to openp_flags.
1035 * source.c (openp): Change parameter type to openp_flags.
1036 * cli/cli-cmds.c (find_and_open_script): Use openp_flags.
1037 * dwarf2read.c (try_open_dwop_file): Use openp_flags.
1038
387cd15b
SM
10392018-02-13 Simon Marchi <simon.marchi@polymtl.ca>
1040
1041 * maint.c (_initialize_maint_cmds): Fix prefix of maint set/show
1042 per-command.
1043
b303c6f6
AB
10442018-02-12 Andrew Burgess <andrew.burgess@embecosm.com>
1045
1046 * dwarf2read.c (dwarf2_release_queue): Delete function, move body
1047 into...
1048 (class dwarf2_queue_guard): ...the destructor of this new class.
1049 (dw2_do_instantiate_symtab): Create instance of the new class
1050 dwarf2_queue_guard, remove cleanup.
1051
9c3630e9
TT
10522018-02-09 Tom Tromey <tom@tromey.com>
1053
1054 * source.c (find_source_lines): Don't reference past the end of
1055 the vector.
1056
c4e12631
MM
10572018-02-09 Markus Metzger <markus.t.metzger@intel.com>
1058
1059 * remote.c (remote_btrace_maybe_reopen): Change error message.
1060 * btrace.c (btrace_enable): Likewise.
1061 (parse_xml_btrace): Likewise.
1062 (parse_xml_btrace_conf): Likewise.
1063
88711fbf
MM
10642018-02-09 Markus Metzger <markus.t.metzger@intel.com>
1065
1066 * nat/linux-btrace.c (diagnose_perf_event_open_fail): New.
1067 (linux_enable_pt, linux_enable_bts): Call
1068 diagnose_perf_event_open_fail.
1069
17ad2a4f
MM
10702018-02-09 Markus Metzger <markus.t.metzger@intel.com>
1071
1072 * nat/linux-btrace.c (perf_event_pt_event_type): Improve error message.
1073 Remove parameter and change return type. Update callers. Move it.
1074 (linux_enable_bts, linux_enable_pt): Improve error message.
1075 (linux_enable_pt): Remove zero buffer size check.
1076 (linux_enable_btrace): Improve error messages. Remove NULL return
1077 check.
1078
de6242d3
MM
10792018-02-09 Markus Metzger <markus.t.metzger@intel.com>
1080
1081 * btrace.c (btrace_enable): Remove target_supports_btrace call.
1082 * nat/linux-btrace.c (perf_event_pt_event_type): Move.
1083 (kernel_supports_bts, kernel_supports_pt, linux_supports_bts)
1084 (linux_supports_pt, linux_supports_btrace): Remove.
1085 (linux_enable_bts): Call cpu_supports_bts.
1086 * nat/linux-btrace.h (linux_supports_btrace): Remove.
1087 * remote.c (remote_supports_btrace): Remove.
1088 (init_remote_ops): Remove remote_supports_btrace.
1089 * target-delegates.c: Regenerated.
1090 * target.c (target_supports_btrace): Remove.
1091 * target.h (target_ops) <to_supports_btrace>: Remove
1092 (target_supports_btrace): Remove.
1093 * x86-linux-nat.c (x86_linux_create_target): Remove
1094 linux_supports_btrace.
1095
9ee23a85
MM
10962018-02-09 Markus Metzger <markus.t.metzger@intel.com>
1097
1098 * nat/linux-btrace.c (linux_enable_btrace): Throw exception if enabling
1099 btrace failed.
1100 * x86-linux-nat.c (x86_linux_enable_btrace): Catch btrace enabling
1101 exception and use message in own exception.
1102
5c3284c1
MM
11032018-02-09 Markus Metzger <markus.t.metzger@intel.com>
1104
1105 * nat/linux-btrace.c: Include scoped_fd.h and scoped_mmap.h.
1106 (perf_event_pt_event_type): Use gdb_file_up.
1107 (linux_enable_bts, linux_enable_pt): Use gdb::unique_xmalloc_ptr,
1108 scoped_fd, and scoped_mmap.
1109
84696f37
MM
11102018-02-09 Markus Metzger <markus.t.metzger@intel.com>
1111
1112 * common/scoped_mmap.h: New.
1113 * unittests/scoped_mmap-selftest.c: New.
1114 * Makefile.in (SUBDIR_UNITTESTS_SRCS): Add
1115 unittests/scoped_mmap-selftest.c.
1116
ea4a0888
MM
11172018-02-09 Markus Metzger <markus.t.metzger@intel.com>
1118
1119 * common/scoped_fd.h: New.
1120 * unittests/scoped_fd-selftest.c: New.
1121 * Makefile.in (SUBDIR_UNITTESTS_SRCS): Add
1122 unittests/scoped_fd-selftest.c.
1123
869e8290
TT
11242018-02-09 Tom Tromey <tom@tromey.com>
1125
1126 * auto-load.c (auto_load_section_scripts): Use
1127 gdb::unique_xmalloc_ptr.
1128
a37a2ae7
TT
11292018-02-09 Tom Tromey <tom@tromey.com>
1130
1131 * auto-load.c (execute_script_contents): Use std::string.
1132
4e725347
JB
11332018-02-09 Joel Brobecker <brobecker@adacore.com>
1134
1135 * NEWS <Changes in GDB 8.1>: Clarify that "rbreak" is a new
1136 Python function, rather than a new command.
1137
9a897d43
TT
11382018-02-08 Tom Tromey <tom@tromey.com>
1139
1140 * solib.c (solib_find_1): Use std::string.
1141 (solib_bfd_fopen): Use unique_xmalloc_ptr.
1142
58ef3771
TT
11432018-02-08 Tom Tromey <tom@tromey.com>
1144
1145 * build-id.c (build_id_to_debug_bfd): Use unique_xmalloc_ptr.
1146
a9abc434
TT
11472018-02-08 Tom Tromey <tom@tromey.com>
1148
1149 * source.c (find_source_lines): Use gdb::def_vector.
1150
84f27c6f
TT
11512018-02-08 Tom Tromey <tom@tromey.com>
1152
1153 * macrocmd.c (struct temporary_macro_definition): New.
1154 (macro_define_command): Use temporary_macro_definition. Remove
1155 cleanups.
1156 (free_macro_definition_ptr): Remove.
1157
0354904b
TT
11582018-02-08 Tom Tromey <tom@tromey.com>
1159
1160 * macroexp.c (maybe_expand): Use std::string.
1161
1739cf24
TT
11622018-02-08 Tom Tromey <tom@tromey.com>
1163
1164 * macroexp.c (struct macro_buffer): Add initializers for some
1165 members.
1166 (init_buffer, init_shared_buffer, free_buffer)
1167 (free_buffer_return_text): Remove.
1168 (macro_buffer): New constructors.
1169 (~macro_buffer): New destructor.
1170 (macro_buffer::set_shared): New method.
1171 (macro_buffer::resize_buffer, macro_buffer::appendc)
1172 (macro_buffer::appendmem): Now methods, not free functions.
1173 (set_token, append_tokens_without_splicing, stringify)
1174 (macro_stringify): Update.
1175 (gather_arguments): Change return type. Remove argc_p argument,
1176 add args_ptr argument. Use std::vector.
1177 (substitute_args): Remove argc argument. Accept std::vector.
1178 (expand): Update. Use std::vector.
1179 (scan, macro_expand, macro_expand_next): Update.
1180
f6c2623e
TT
11812018-02-08 Tom Tromey <tom@tromey.com>
1182
1183 * symtab.c (default_collect_symbol_completion_matches_break_on):
1184 Use unique_xmalloc_ptr.
1185 * macroscope.h: (sal_macro_scope, user_macro_scope)
1186 (default_macro_scope): Return unique_xmalloc_ptr.
1187 * macroscope.c (sal_macro_scope, user_macro_scope)
1188 (default_macro_scope): Return unique_xmalloc_ptr.
1189 * macroexp.h (macro_expand, macro_expand_once): Return
1190 unique_xmalloc_ptr.
1191 * macroexp.c (macro_expand, macro_expand_once): Return
1192 unique_xmalloc_ptr.
1193 * macrocmd.c (macro_expand_command, macro_expand_once_command)
1194 (info_macro_command, info_macros_command): Use
1195 unique_xmalloc_ptr.
1196 * compile/compile-c-support.c (write_macro_definitions): Use
1197 unique_xmalloc_ptr.
1198 * c-exp.y (c_parse): Use unique_xmalloc_ptr.
1199
c2e0e465
SM
12002018-02-07 Simon Marchi <simon.marchi@ericsson.com>
1201
1202 * value.c (value_static_field): Assign field type instead of
1203 containing type when returning an optimized out value.
1204
3f8c94b4
YQ
12052018-02-06 Yao Qi <yao.qi@linaro.org>
1206
1207 * ft32-tdep.c (ft32_read_pc): Remove.
1208 (ft32_write_pc): Remove.
1209 (ft32_gdbarch_init): Update.
1210 * m32r-tdep.c (m32r_read_pc): Remove.
1211 (m32r_gdbarch_init): Update.
1212 * mep-tdep.c (mep_read_pc): Remove.
1213 (mep_gdbarch_init): Update.
1214 * microblaze-tdep.c (microblaze_write_pc): Remove.
1215 (microblaze_gdbarch_init): Update.
1216 * mn10300-tdep.c (mn10300_read_pc): Remove.
1217 (mn10300_write_pc): Remove.
1218 (mn10300_gdbarch_init): Update.
1219 * moxie-tdep.c (moxie_read_pc): Remove.
1220 (moxie_write_pc): Remove.
1221 (moxie_gdbarch_init): Update.
1222
bca65a23
YQ
12232018-02-06 Yao Qi <yao.qi@linaro.org>
1224
1225 * expprint.c (print_subexp_standard): Handle
1226 OP_F77_UNDETERMINED_ARGLIST.
1227 (dump_subexp_body_standard): Likewise.
1228
583e3f90 12292018-02-05 Alan Hayward <alan.hayward@arm.com>
b8df6ca7 1230
583e3f90
YQ
1231 * target-descriptions.c (tdesc_element_visitor) Add empty
1232 implementations.
b8df6ca7
AH
1233 (tdesc_type): Move make_gdb_type from here.
1234 (tdesc_type_builtin): Likewise.
1235 (tdesc_type_vector): Likewise.
1236 (tdesc_type_with_fields): Move make_gdb_type_ functions from here.
1237 (make_gdb_type_struct): Move from tdesc_type_with_fields.
1238 (make_gdb_type_union): Likewise.
1239 (make_gdb_type_flags): Likewise.
1240 (make_gdb_type_enum): Likewise.
1241 (make_gdb_type): New function.
1242 (tdesc_register_type): Use static make_gdb_type.
1243
e813d34a
RK
12442018-02-05 Ruslan Kabatsayev <b7.10110111@gmail.com>
1245
1246 * infcmd.c (default_print_one_register_info): Align natural-format
1247 column values consistently one under another.
1248 (pad_to_column): New function.
1249
0eb876f5
JB
12502018-02-05 Joel Brobecker <brobecker@adacore.com>
1251
1252 * dwarf2read.c (dwarf2_physname): Move commment.
1253
0625771b
LS
12542018-02-01 Leszek Swirski <leszeks@google.com>
1255
1256 * varobj.c (varobj_formatted_print_options): Allow recursive
1257 pretty printing if pretty printing is enabled.
1258
59498c30
LS
12592018-02-01 Leszek Swirski <leszeks@google.com>
1260
1261 * c-exp.y (lex_one_token, classify_name, yylex): Don't classify
1262 names after a structop as a filename.
1263
2d9e6acb
YQ
12642018-02-01 Yao Qi <yao.qi@linaro.org>
1265
1266 * arm-tdep.c (arm_record_data_proc_misc_ld_str): Rewrite it.
1267 (arm_record_coproc_data_proc): Likewise.
1268
df95a9cf
YQ
12692018-02-01 Yao Qi <yao.qi@linaro.org>
1270
1271 * arm-tdep.c (arm_record_extension_space): Change ret to signed.
1272
07e5f5cf
NP
12732018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
1274
1275 * rs6000-tdep.c (skip_prologue): Remove shifting for lr_reg and
1276 assign shifted lr_reg to fdata->lr_register when lr_reg is set.
1277
3045b475
PA
12782018-01-31 Pedro Alves <palves@redhat.com>
1279
1280 * darwin-nat.c (darwin_interrupt): Remove ptid_t parameter.
1281 * inflow.c (child_terminal_save_inferior): Wrap reference to
1282 tcgetpgrp in HAVE_TERMIOS_H.
1283 (child_interrupt, child_pass_ctrlc): Wrap references to signal in
1284 _WIN32.
1285 * remote-sim.c (gdbsim_interrupt): Remove ptid_t parameter and
1286 always iterate over all inferiors.
1287 (gdbsim_cntrl_c): Adjust.
1288 * windows-nat.c (windows_interrupt): Remove 'ptid_t' parameter.
1289
929b5ad4
JB
12902018-01-31 Joel Brobecker <brobecker@adacore.com>
1291
1292 * gdbtypes.c (lookup_array_range_type): Make sure the array's
1293 index type is objfile-owned if the element type is as well.
1294
29236ca2
JB
12952018-01-31 Joel Brobecker <brobecker@adacore.com>
1296
1297 GDB 8.1 released.
1298
c81e8879
PR
12992018-01-30 Philipp Rudo <prudo@linux.vnet.ibm.com>
1300
1301 * s390-linux-tdep.c: Remove includes "features/s390-linux32.c" and
1302 "features/s390x-linux64.c".
1303 (_initialize_s390_linux_tdep): Remove initialization of tdescs
1304 s390_linux32 and s390x_linux64.
1305 (s390_linux_init_abi_31, s390_linux_init_abi_64): Don't set
1306 default tdesc.
1307 * s390-tdep.c: Include "features/s390-linux32.c" and
1308 "features/s390x-linux64.c".
1309 (s390_tdesc_valid): Add check for tdesc_has_registers.
1310 (s390_gdbarch_init): Make sure there is always a valid tdesc.
1311 (_initialize_s390_tdep): Initialize tdesc_s390_linux32 and
1312 tdesc_s390x_linux64.
1313 * s390-linux-tdep.h: Move export of tdesc_s390_linux32 and
1314 tdesc_s390x_linux64 to...
1315 * s390-tdep.h: ...here.
1316
e671cd59
PA
13172018-01-30 Pedro Alves <palves@redhat.com>
1318
1319 PR gdb/13211
1320 * config.in, configure: Regenerate.
1321 * configure.ac: Check for getpgid.
1322 * go32-nat.c (go32_pass_ctrlc): New.
1323 (go32_target): Install it.
1324 * inf-child.c (inf_child_target): Install
1325 child_terminal_save_inferior, child_pass_ctrlc and
1326 child_interrupt.
1327 * inf-ptrace.c (inf_ptrace_interrupt): Delete.
1328 (inf_ptrace_target): No longer install it.
1329 * infcmd.c (interrupt_target_1): Adjust.
1330 * inferior.h (child_terminal_save_inferior, child_pass_ctrlc)
1331 (child_interrupt): Declare.
1332 (inferior::terminal_state): New.
1333 * inflow.c (struct terminal_info): Update comments.
1334 (inferior_process_group): Delete.
1335 (terminal_is_ours): Delete.
1336 (gdb_tty_state): New.
1337 (child_terminal_init): Adjust.
1338 (is_gdb_terminal, sharing_input_terminal_1)
1339 (sharing_input_terminal): New functions.
1340 (child_terminal_inferior): Adjust. Use sharing_input_terminal.
1341 Set the process's actual process group in the foreground if
1342 possible. Handle is_ours_for_output/is_ours distinction. Don't
1343 mark terminal as the inferior's if not sharing GDB's terminal.
1344 Don't check attach_flag.
1345 (child_terminal_ours_for_output, child_terminal_ours): Adjust to
1346 pass down a target_terminal_state.
1347 (child_terminal_save_inferior): New, factored out from ...
1348 (child_terminal_ours_1): ... this. Handle
1349 target_terminal_state::is_ours_for_output.
1350 (child_interrupt, child_pass_ctrlc): New.
1351 (inflow_inferior_exit): Clear the inferior's terminal_state.
1352 (copy_terminal_info): Copy the inferior's terminal state.
1353 (_initialize_inflow): Remove reference to terminal_is_ours.
1354 * inflow.h (inferior_process_group): Delete.
1355 * nto-procfs.c (nto_handle_sigint, procfs_interrupt): Adjust.
1356 * procfs.c (procfs_target): Don't install procfs_interrupt.
1357 (procfs_interrupt): Delete.
1358 * remote.c (remote_serial_quit_handler): Adjust.
1359 (remote_interrupt): Remove ptid parameter. Adjust.
1360 * target-delegates.c: Regenerate.
1361 * target.c: Include "terminal.h".
1362 (target_terminal::terminal_state): Rename to ...
1363 (target_terminal::m_terminal_state): ... this.
1364 (target_terminal::init): Adjust.
1365 (target_terminal::inferior): Adjust to per-inferior
1366 terminal_state.
1367 (target_terminal::restore_inferior, target_terminal_is_ours_kind): New.
1368 (target_terminal::ours, target_terminal::ours_for_output): Use
1369 target_terminal_is_ours_kind.
1370 (target_interrupt): Remove ptid parameter. Adjust.
1371 (default_target_pass_ctrlc): Adjust.
1372 * target.h (target_ops::to_terminal_save_inferior): New field.
1373 (target_ops::to_interrupt): Remove ptid_t parameter.
1374 (target_interrupt): Remove ptid_t parameter. Update comment.
1375 (target_pass_ctrlc): Update comment.
1376 * target/target.h (target_terminal_state): New scoped enum,
1377 factored out of ...
1378 (target_terminal::terminal_state): ... here.
1379 (target_terminal::inferior): Update comments.
1380 (target_terminal::restore_inferior): New.
1381 (target_terminal::is_inferior, target_terminal::is_ours)
1382 (target_terminal::is_ours_for_output): Adjust.
1383 (target_terminal::scoped_restore_terminal_state): Adjust to
1384 rename, and call restore_inferior() instead of inferior().
1385 (target_terminal::scoped_restore_terminal_state::m_state): Change
1386 type.
1387 (target_terminal::terminal_state): Rename to ...
1388 (target_terminal::m_terminal_state): ... this and change type.
1389
9c3a5d93
PA
13902018-01-30 Pedro Alves <palves@redhat.com>
1391
1392 * linux-nat.c (wait_for_signal): New function.
1393 (wait_lwp, linux_nat_wait_1): Use it instead of calling sigsuspend
1394 directly.
1395 (async_terminal_is_ours)
1396 (linux_nat_terminal_inferior, linux_nat_terminal_ours): Delete.
1397 (linux_nat_add_target): Don't override
1398 to_terminal_inferior/to_terminal_ours.
1399
69ab5edb
SDJ
14002018-01-29 Sergio Durigan Junior <sergiodj@redhat.com>
1401
1402 * remote.c (remote_follow_fork): Don't call "detach_inferior".
1403
fc8e7e75
SM
14042018-01-28 Simon Marchi <simon.marchi@ericsson.com>
1405
1406 * dwarf2read.c (free_dwo_files): Add forward-declaration.
1407 (dwarf2_per_objfile::~dwarf2_per_objfile): Move content from
1408 dwarf2_per_objfile_free here.
1409 (dwarf2_per_objfile_free): Remove.
1410 (_initialize_dwarf2_read): Don't register
1411 dwarf2_per_objfile_free as a registry cleanup.
1412
b2a426e2
EZ
14132018-01-27 Eli Zaretskii <eliz@gnu.org>
1414
1415 Avoid compilation errors in MinGW native builds
1416
1417 The error is triggered by including python-internal.h, and the
1418 error message is:
1419
1420 In file included from d:\usr\lib\gcc\mingw32\6.3.0\include\c++\math.h:36:0,
1421 from build-gnulib/import/math.h:27,
1422 from d:/usr/Python26/include/pyport.h:235,
1423 from d:/usr/Python26/include/Python.h:58,
1424 from python/python-internal.h:94,
1425 from python/py-arch.c:24:
1426 d:\usr\lib\gcc\mingw32\6.3.0\include\c++\cmath:1157:11: error: '::hypot' has not been declared
1427 using ::hypot;
1428 ^~~~~
1429
1430 This happens because Python headers define 'hypot' to expand t
1431 '_hypot' in the Windows builds.
1432 * python/python-internal.h (_hypot) [__MINGW32__]: Define back to
1433 'hypoth'. This avoids a compilation error.
1434
0bdd8eac
AH
14352018-01-26 Alan Hayward <alan.hayward@arm.com>
1436
1437 * MAINTAINERS (Write After Approval): Fix ordering.
1438
56ae9dc3
AH
14392018-01-26 Alan Hayward <alan.hayward@arm.com>
1440
1441 * MAINTAINERS (Write After Approval): Add Alan Hayward.
1442
7433498b
AM
14432018-01-26 Alan Modra <amodra@gmail.com>
1444
1445 * ppc-linux-tdep.c (powerpc32_plt_stub): Make const.
1446 (powerpc32_plt_stub_so_1): Rename from powerpc32_plt_stub_so.
1447 Remove nop. Make const. Comment.
1448 (powerpc32_plt_stub_so_2): New.
1449 (POWERPC32_PLT_CHECK_LEN): Rename from POWERPC32_PLT_STUB_LEN.
1450 Correct count. Update uses.
1451 (ppc_skip_trampoline_code): Match powerpc32_plt_stub_so_2 too.
1452 Move common code reading PLT entry word. Correct
1453 powerpc32_plt_stub PLT address calculation.
1454 * ppc64-tdep.c (ppc64_standard_linkage1): Make const.
1455 (ppc64_standard_linkage2, ppc64_standard_linkage3): Likewise.
1456 (ppc64_standard_linkage4, ppc64_standard_linkage5): Likewise.
1457 (ppc64_standard_linkage6, ppc64_standard_linkage7): Likewise.
1458 (ppc64_standard_linkage8): Likewise.
1459 * rs6000-tdep.c (ppc_insns_match_pattern): Make pattern const.
1460 Correct insns description.
1461 * ppc-tdep.h (ppc_insns_match_pattern): Update prototype.
1462
0f59d5fc
PA
14632018-01-24 Pedro Alves <palves@redhat.com>
1464
1465 GCC PR libstdc++/83906
1466 * gdbtypes.c (operator==(const dynamic_prop &,
1467 const dynamic_prop &)): New.
1468 (operator==(const range_bounds &, const range_bounds &)): New.
1469 (check_types_equal): Use them instead of memcmp.
1470 * gdbtypes.h (operator==(const dynamic_prop &,
1471 const dynamic_prop &)): Declare.
1472 (operator!=(const dynamic_prop &, const dynamic_prop &)): Declare.
1473 (operator==(const range_bounds &, const range_bounds &)): Declare.
1474 (operator!=(const range_bounds &, const range_bounds &)): Declare.
1475
ef8914a4
PR
14762018-01-23 Philipp Rudo <prudo@linux.vnet.ibm.com>
1477
1478 * s390-linux-tdep.c (s390_record_address_mask)
1479 (s390_record_calc_disp_common, s390_record_calc_disp)
1480 (s390_record_calc_disp_vsce, s390_record_calc_rl, s390_popcnt)
1481 (s390_record_gpr_g, s390_record_gpr_h, s390_record_vr)
1482 (s390_process_record): Move to s390-tdep.c.
1483 (s390_linux_init_abi_any): Adjust.
1484 * s390-tdep.c (s390_record_address_mask)
1485 (s390_record_calc_disp_common, s390_record_calc_disp)
1486 (s390_record_calc_disp_vsce, s390_record_calc_rl, s390_popcnt)
1487 (s390_record_gpr_g, s390_record_gpr_h, s390_record_vr)
1488 (s390_process_record): Moved from s390-linux-tdep.c
1489 (s390_gdbarch_init): Adjust.
1490
d6e58945
PR
14912018-01-23 Philipp Rudo <prudo@linux.vnet.ibm.com>
1492
1493 * s390-linux-nat.c (s390-tdep.h): New include.
1494 * Makefile.in (ALL_TARGET_OBS): Add s390-tdep.o.
1495 (HFILES_NO_SRCDIR): Add s390-tdep.h.
1496 (ALLDEPFILES): Add s390-tdep.c.
1497 * configure.tgt (s390*-*-linux*): Add s390-tdep.o.
1498 * s390-linux-tdep.h (HWCAP_S390_*, S390_*_REGNUM): Move to...
1499 * s390-tdep.h: ...this. New file.
1500 * s390-linux-tdep.c (s390-tdep.h): New include.
1501 (_initialize_s390_tdep): Rename to...
1502 (_initialize_s390_linux_tdep): ...this and adjust.
1503 (s390_abi_kind, s390_vector_abi_kind, gdbarch_tdep)
1504 (enum named opcodes, S390_NUM_GPRS, S390_NUM_FPRS): Move to
1505 s390-tdep.h.
1506 (s390_break_insn, s390_breakpoint, s390_readinstruction, is_ri)
1507 (is_ril, is_rr, is_rre, is_rs, is_rsy, is_rx, is_rxy)
1508 (s390_is_partial_instruction, s390_software_single_step)
1509 (is_non_branch_ril, s390_displaced_step_copy_insn)
1510 (s390_displaced_step_fixup, s390_displaced_step_hw_singlestep)
1511 (s390_prologue_data, s390_addr, s390_store, s390_load)
1512 (s390_check_for_saved, s390_analyze_prologue, s390_skip_prologue)
1513 (s390_register_call_saved, s390_guess_tracepoint_registers)
1514 (s390_register_name, s390_dwarf_regmap, s390_dwarf_reg_to_regnum)
1515 (regnum_is_gpr_full, regnum_is_vxr_full, s390_value_from_register)
1516 (s390_pseudo_register_name, s390_pseudo_register_type)
1517 (s390_pseudo_register_read, s390_pseudo_register_write)
1518 (s390_pseudo_register_reggroup_p, s390_ax_pseudo_register_collect)
1519 (s390_ax_pseudo_register_push_stack, s390_gen_return_address)
1520 (s390_addr_bits_remove, s390_address_class_type_flags)
1521 (s390_address_class_type_flags_to_name)
1522 (s390_address_class_name_to_type_flags, s390_effective_inner_type)
1523 (s390_function_arg_float, s390_function_arg_vector)
1524 (is_power_of_two, s390_function_arg_integer, s390_arg_state)
1525 (s390_handle_arg, s390_push_dummy_call, s390_dummy_id)
1526 (s390_frame_align, s390_register_return_value, s390_return_value)
1527 (s390_stack_frame_destroyed_p, s390_unwind_pc, s390_unwind_sp)
1528 (s390_unwind_pseudo_register, s390_adjust_frame_regnum)
1529 (s390_dwarf2_prev_register, s390_dwarf2_frame_init_reg)
1530 (s390_trad_frame_prev_register, s390_unwind_cache)
1531 (s390_prologue_frame_unwind_cache)
1532 (s390_backchain_frame_unwind_cache, s390_frame_unwind_cache)
1533 (s390_frame_this_id, s390_frame_prev_register, s390_frame_unwind)
1534 (s390_stub_unwind_cache, s390_stub_frame_unwind_cache)
1535 (s390_stub_frame_this_id, s390_stub_frame_prev_register)
1536 (s390_stub_frame_sniffer, s390_stub_frame_unwind)
1537 (s390_frame_base_address, s390_local_base_address)
1538 (s390_frame_base, s390_gcc_target_options)
1539 (s390_gnu_triplet_regexp, s390_stap_is_single_operand)
1540 (s390_validate_reg_range, s390_tdesc_valid)
1541 (s390_gdbarch_tdep_alloc, s390_gdbarch_init): Move to...
1542 * s390-tdep.c: ...this. New file.
1543
9c0b896e
PR
15442018-01-23 Philipp Rudo <prudo@linux.vnet.ibm.com>
1545
1546 * s390-linux-tdep.c (gdbarch_tdep.s390_syscall_record): New hook.
1547 (s390_process_record, s390_gdbarch_tdep_alloc)
1548 (s390_linux_init_abi_any): Use/set new hook.
1549
7042632b
PR
15502018-01-23 Philipp Rudo <prudo@linux.vnet.ibm.com>
1551
1552 * s390-linux-tdep.c (osabi.h): New include.
1553 (s390_linux_init_abi_31, s390_linux_init_abi_64)
1554 (s390_linux_init_abi_any): New functions.
1555 (s390_gdbarch_init, _initialize_s390_tdep): Adjust.
1556
650f5e13
PR
15572018-01-23 Philipp Rudo <prudo@linux.vnet.ibm.com>
1558
1559 * s390-linux-tdep.c (s390_gdbarch_init): Use gdb_assert for
1560 tdesc_has_registers check
1561
47c9317e
PR
15622018-01-23 Philipp Rudo <prudo@linux.vnet.ibm.com>
1563
1564 * s390-linux-tdep.c (s390_tdesc_valid): New function.
1565 (s390_validate_reg_range): New macro.
1566 (s390_gdbarch_init): Adjust.
1567
095085d8
PR
15682018-01-23 Philipp Rudo <prudo@linux.vnet.ibm.com>
1569
1570 * s390-linux-tdep.c (gdbarch_tdep) <tdesc>: New field.
1571 (s390_gdbarch_tdep_alloc): Adjust.
1572 (s390_gdbarch_init): Adjust.
1573
ab9bcc67
PR
15742018-01-23 Philipp Rudo <prudo@linux.vnet.ibm.com>
1575
1576 * s390-linux-tdep.c (gdbarch_tdep) <have_linux_v1, have_linux_v2>
1577 <have_tdb>: Change type to bool.
1578 (s390_gdbarch_tdep_alloc): Adjust.
1579 (s390_gdbarch_init): Adjust.
1580
21f6f5ff
PR
15812018-01-23 Philipp Rudo <prudo@linux.vnet.ibm.com>
1582
1583 * s390-linux-tdep (s390_abi_kind) <ABI_NONE>: New default field.
1584 (gdbarch_tdep) <have_upper, have_vx>: New fields.
1585 (s390_gdbarch_tdep_alloc): New function.
1586 (s390_gdbarch_init): Allocate tdep at start and use its fields
1587 instead of separate variables.
1588
0eb97953
PR
15892018-01-23 Philipp Rudo <prudo@linux.vnet.ibm.com>
1590
1591 * s390-linux-tdep.c (s390_gdbarch_init): Remove duplicate checks
1592 when looking for cached gdbarch and add comment for remaining.
1593
5c319bb2
PA
15942018-01-22 Pedro Alves <palves@redhat.com>
1595 Sergio Durigan Junior <sergiodj@redhat.com>
1596
1597 * typeprint.c (whatis_exp): Initialize "val" in the "whatis type"
1598 case.
1599
d65ce302
MR
16002018-01-22 Maciej W. Rozycki <macro@mips.com>
1601
1602 * MAINTAINERS: Update my company e-mail address.
1603
ec7a5fcb
YQ
16042018-01-22 Yao Qi <yao.qi@linaro.org>
1605
1606 * regcache.c (cooked_write_test): New function.
1607 (_initialize_regcache): Register the test.
1608
11f57cb6
YQ
16092018-01-22 Yao Qi <yao.qi@linaro.org>
1610
1611 * ia64-tdep.c (ia64_pseudo_register_read): Call
1612 regcache->cooked_read instead of regcache_cooked_read_unsigned.
1613 * m32c-tdep.c (m32c_cat_read): Likewise.
1614 (m32c_r3r2r1r0_read): Likewise.
1615 * m68hc11-tdep.c (m68hc11_pseudo_register_read): Likewise.
1616 * xtensa-tdep.c (xtensa_register_read_masked): Likewise.
1617
03f50fc8
YQ
16182018-01-22 Yao Qi <yao.qi@linaro.org>
1619
1620 * aarch64-tdep.c (aarch64_pseudo_read_value): Call regcache
1621 method raw_read instead of regcache_raw_read.
1622 * amd64-tdep.c (amd64_pseudo_register_read_value): Likewise.
1623 * arm-tdep.c (arm_neon_quad_read): Likewise.
1624 * avr-tdep.c (avr_pseudo_register_read): Likewise.
1625 * bfin-tdep.c (bfin_pseudo_register_read): Likewise.
1626 * frv-tdep.c (frv_pseudo_register_read): Likewise.
1627 * h8300-tdep.c (h8300_pseudo_register_read): Likewise.
1628 * i386-tdep.c (i386_mmx_regnum_to_fp_regnum): Likewise.
1629 (i386_pseudo_register_read_into_value): Likewise.
1630 * mep-tdep.c (mep_pseudo_cr32_read): Likewise.
1631 * msp430-tdep.c (msp430_pseudo_register_read): Likewise.
1632 * nds32-tdep.c (nds32_pseudo_register_read): Likewise.
1633 * rl78-tdep.c (rl78_pseudo_register_read): Likewise.
1634 * s390-linux-tdep.c (s390_pseudo_register_read): Likewise.
1635 * sparc-tdep.c (sparc32_pseudo_register_read): Likewise.
1636 * sparc64-tdep.c (sparc64_pseudo_register_read): Likewise.
1637 * spu-tdep.c (spu_pseudo_register_read_spu): Likewise.
1638 * xtensa-tdep.c (xtensa_pseudo_register_read): Likewise.
1639
dc711524
YQ
16402018-01-22 Yao Qi <yao.qi@linaro.org>
1641
1642 * Makefile.in (ALL_TARGET_OBS): Remove mt-tdep.o.
1643 * configure.tgt: Remove target mt.
1644 * mt-tdep.c: Remove.
1645 * regcache.c (cooked_read_test): Remove the check for mt.
1646
3f5a868b
YQ
16472018-01-22 Yao Qi <yao.qi@linaro.org>
1648
1649 * jit.c (jit_frame_prev_register): Call regcache::cooked_read
1650 instead of gdbarch_pseudo_register_read_value.
1651
de4cb04a
JB
16522018-01-22 Joel Brobecker <brobecker@adacore.com>
1653
1654 * dwarf2read.c (need_gnat_info): Return nonzero if the cu's
1655 language is Ada.
1656
a9e40818
JB
16572018-01-22 Joel Brobecker <brobecker@adacore.com>
1658
1659 * linespec.c (create_sals_line_offset): Remove code that preserved
1660 the symtab_and_line's line number.
1661
e707fc44
AB
16622018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
1663
1664 * varobj.c (varobj_create): Don't set valid_block when creating a
1665 floating varobj.
1666
03d0bf7b
AB
16672018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
1668
1669 * varobj.c (varobj_create): Remove out of date comment.
1670
ae451627
AB
16712018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
1672
1673 PR mi/20395
1674 * ada-exp.y (write_var_from_sym): Pass extra parameter when
1675 updating innermost block.
1676 * parse.c (innermost_block_tracker::update): Take extra type
1677 parameter, and check types match before updating innermost block.
1678 (write_dollar_variable): Update innermost block for registers.
1679 * parser-defs.h (enum innermost_block_tracker_type): New enum.
1680 (innermost_block_tracker::innermost_block_tracker): Initialise
1681 m_types member.
1682 (innermost_block_tracker::reset): Take type parameter.
1683 (innermost_block_tracker::update): Take type parameter, and pass
1684 type through as needed.
1685 (innermost_block_tracker::m_types): New member.
1686 * varobj.c (varobj_create): Pass type when reseting innermost
1687 block.
1688
aee1fcdf
AB
16892018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
1690
1691 * ada-exp.y (write_var_from_sym): Switch to innermost_block API.
1692 * ada-lang.c (resolve_subexp): Likewise.
1693 * breakpoint.c (set_breakpoint_condition) Likewise.
1694 (watch_command_1) Likewise.
1695 * c-exp.y (variable): Likewise.
1696 * d-exp.y (PrimaryExpression): Likewise.
1697 * f-exp.y (variable): Likewise.
1698 * go-exp.y (variable): Likewise.
1699 * m2-exp.y (variable): Likewise.
1700 * objfiles.c (objfile::~objfile): Likewise.
1701 * p-exp.y (variable): Likewise.
1702 * parse.c (innermost_block): Change type.
1703 * parser-defs.h (class innermost_block_tracker): New.
1704 (innermost_block): Change to innermost_block_tracker.
1705 * printcmd.c (display_command): Switch to innermost_block API.
1706 (do_one_display): Likewise.
1707 * rust-exp.y (do_one_display): Likewise.
1708 * symfile.c (clear_symtab_users): Likewise.
1709 * varobj.c (varobj_create): Switch to innermost_block API, replace
1710 use of innermost_block with block stored on varobj object.
1711
396af9a1
AB
17122018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
1713
1714 * expression.h (innermost_block): Remove declaration.
1715 * varobj.c: Add 'parser-defs.h' include.
1716
fcfcc376
TT
17172018-01-19 Tom Tromey <tom@tromey.com>
1718
1719 * rust-lang.c (rust_lookup_symbol_nonlocal): Look up qualified
1720 symbols in the static and global blocks.
1721
5a6c3296
JC
17222018-01-19 James Clarke <jrtc27@jrtc27.com>
1723
1724 * nat/linux-ptrace.c: Remove unnecessary reinclusion of
1725 gdb_ptrace.h, and move including gdb_wait.h ...
1726 * nat/linux-ptrace.h: ... to here.
1727
bc09b0c1
SM
17282018-01-19 Simon Marchi <simon.marchi@ericsson.com>
1729
1730 * inf-ptrace.c (inf_ptrace_detach): Adjust call to
1731 inf_ptrace_detach_success.
1732 (inf_ptrace_detach_success): Add inferior parameter, use it
1733 instead of inferior_ptid, pass it to detach_inferior.
1734 * inf-ptrace.h (inf_ptrace_detach_success): Add inferior
1735 parameter.
1736 * inferior.c (detach_inferior): Add overload that takes an
1737 inferior object.
1738 * inferior.h (detach_inferior): Likewise.
1739 * linux-nat.c (linux_nat_detach): Use the inf parameter, don't
1740 use inferior_ptid, adjust call to inf_ptrace_detach_success.
1741 * linux-thread-db.c (thread_db_detach): Use inf parameter.
1742
6e1e1966
SM
17432018-01-19 Simon Marchi <simon.marchi@ericsson.com>
1744
1745 * target.h (struct target_ops) <to_detach>: Add inferior
1746 parameter.
1747 (target_detach): Likewise.
1748 * target.c (dispose_inferior): Pass inferior down.
1749 (target_detach): Pass inferior down. Assert that it is equal to
1750 the current inferior.
1751 * aix-thread.c (aix_thread_detach): Pass inferior down.
1752 * corefile.c (core_file_command): Pass current_inferior() down.
1753 * corelow.c (core_detach): Add inferior parameter.
1754 * darwin-nat.c (darwin_detach): Likewise.
1755 * gnu-nat.c (gnu_detach): Likewise.
1756 * inf-ptrace.c (inf_ptrace_detach): Likewise.
1757 * infcmd.c (detach_command): Pass current_inferior() down to
1758 target_detach.
1759 * infrun.c (follow_fork_inferior): Pass parent_inf to
1760 target_detach.
1761 (handle_vfork_child_exec_or_exit): Pass inf->vfork_parent to
1762 target_detach.
1763 * linux-nat.c (linux_nat_detach): Add inferior parameter.
1764 * linux-thread-db.c (thread_db_detach): Likewise.
1765 * nto-procfs.c (procfs_detach): Likewise.
1766 * procfs.c (procfs_detach): Likewise.
1767 * record.c (record_detach): Likewise.
1768 * record.h (struct inferior): Forward-declare.
1769 (record_detach): Add inferior parameter.
1770 * remote-sim.c (gdbsim_detach): Likewise.
1771 * remote.c (remote_detach_1): Likewise.
1772 (remote_detach): Likewise.
1773 (extended_remote_detach): Likewise.
1774 * sol-thread.c (sol_thread_detach): Likewise.
1775 * target-debug.h (target_debug_print_inferior_p): New macro.
1776 * target-delegates.c: Re-generate.
1777 * top.c (kill_or_detach): Pass inferior down to target_detach.
1778 * windows-nat.c (windows_detach): Add inferior parameter.
1779
6bd6f3b6
SM
17802018-01-19 Simon Marchi <simon.marchi@ericsson.com>
1781
1782 * target.h (struct target_ops) <to_detach>: Remove args
1783 parameter.
1784 (target_detach): Likewise.
1785 * target.c (dispose_inferior): Adjust.
1786 (target_detach): Remove args parameter, adjust.
1787 * aix-thread.c (aix_thread_detach): Adjust.
1788 * corefile.c (core_file_command): Adjust.
1789 * corelow.c (core_detach): Adjust.
1790 * darwin-nat.c (darwin_detach): Adjust.
1791 * gnu-nat.c (gnu_detach): Adjust.
1792 * inf-ptrace.c (inf_ptrace_detach): Adjust.
1793 * infcmd.c (detach_command): Adjust
1794 * infrun.c (follow_fork_inferior): Adjust.
1795 (handle_vfork_child_exec_or_exit): Adjust.
1796 * linux-fork.c (linux_fork_detach): Remove args parameter.
1797 * linux-fork.h (linux_fork_detach): Likewise.
1798 * linux-nat.c (linux_nat_detach): Likewise, and adjust.
1799 * linux-thread-db.c (thread_db_detach): Likewise.
1800 * nto-procfs.c (procfs_detach): Likewise.
1801 * procfs.c (procfs_detach): Likewise.
1802 (do_detach): Remove signo parameter.
1803 * record.c (record_detach): Remove args parameter.
1804 * record.h (record_detach): Likewise.
1805 * remote-sim.c (gdbsim_detach): Likewise.
1806 * remote.c (remote_detach_1): Likewise.
1807 (remote_detach): Likewise.
1808 (extended_remote_detach): Likewise.
1809 * sol-thread.c (sol_thread_detach): Likewise.
1810 * target-delegates.c: Re-generate.
1811 * top.c (struct qt_args) <args>: Remove field.
1812 (kill_or_detach): Don't pass args.
1813 (quit_force): Don't set args.
1814 * windows-nat.c (windows_detach): Remove args parameter.
1815
88af8ea8
YQ
18162018-01-19 Yao Qi <yao.qi@linaro.org>
1817
1818 * arm-linux-tdep.c (arm_linux_gcc_target_options): New function.
1819 (arm_linux_init_abi): Install it.
1820
dea445b9
YQ
18212018-01-19 Yao Qi <yao.qi@linaro.org>
1822
1823 * osabi.c (gdb_osabi_names): Extend the regexp for
1824 arm-linux-gnueabihf.
1825
4a17f768
YQ
18262018-01-18 Yao Qi <yao.qi@linaro.org>
1827
1828 * dwarf2read.c (abbrev_table) <abbrevs>: Rename it to
1829 m_abbrevs.
1830 (abbrev_table::add_abbrev): Update.
1831 (abbrev_table::lookup_abbrev): Update.
1832
d679c21a
YQ
18332018-01-18 Yao Qi <yao.qi@linaro.org>
1834
1835 * ppc-linux-tdep.c (ppu2spu_prev_register): Call cooked_read.
1836
7d937cad
SDJ
18372018-01-17 Sergio Durigan Junior <sergiodj@redhat.com>
1838
1839 * compile/compile.c (compile_to_object): Convert "triplet_rx"
1840 to "std::string".
1841
9e14690d
TT
18422018-01-17 Tom Tromey <tom@tromey.com>
1843
1844 * dwarf2read.c (symbolp): Remove typedef. Don't instantiate VEC.
1845
50a82047
TT
18462018-01-17 Tom Tromey <tom@tromey.com>
1847
1848 * gdbtypes.h (add_dyn_prop): Remove objfile parameter.
1849 * gdbtypes.c (add_dyn_prop): Remove objfile parameter.
1850 (create_array_type_with_stride): Update.
1851 * dwarf2read.c (set_die_type): Update.
1852
c89b44cd
TT
18532018-01-17 Tom Tromey <tom@tromey.com>
1854
1855 * dwarf2read.c (delayed_method_info): Remove typedef.
1856 (dwarf2_cu::method_info): Now a std::vector.
1857 (add_to_method_list): Update.
1858 (free_delayed_list): Remove.
1859 (compute_delayed_physnames): Update.
1860 (process_full_comp_unit, process_full_type_unit): Clear the method
1861 list. Remove cleanups.
1862 (psymtab_include_file_name): Add name_holder parameter. Use
1863 unique_xmalloc_ptr.
1864 (dwarf_decode_lines): Update.
1865
fcd3b13d
SM
18662018-01-17 Tom Tromey <tom@tromey.com>
1867 Simon Marchi <simon.marchi@ericsson.com>
1868
1869 * dwarf2read.c (struct dwarf2_cu): Add constructor, destructor.
1870 (dwarf2_per_objfile::free_cached_comp_units)
1871 (init_tu_and_read_dwo_dies, init_cutu_and_read_dies)
1872 (init_cutu_and_read_dies_no_follow): Update.
1873 (dwarf2_cu::dwarf2_cu): Rename from init_one_comp_unit.
1874 (dwarf2_cu::~dwarf2_cu): New.
1875 (free_heap_comp_unit, free_stack_comp_unit): Remove.
1876 (age_cached_comp_units, free_one_cached_comp_unit): Update.
1877
685af9cd
TT
18782018-01-17 Tom Tromey <tom@tromey.com>
1879 Simon Marchi <simon.marchi@ericsson.com>
1880
1881 * dwarf2read.c (struct dwarf2_cu) <abbrev_table>: Remove.
1882 (struct die_reader_specs) <abbrev_table>: New member.
1883 (struct abbrev_table): Add constructor.
1884 <alloc_abbrev, add_abbrev, lookup_abbrev>: Declare.
1885 <abbrev_obstack>: Now an auto_obstack.
1886 (abbrev_table_up): New typedef.
1887 (init_cu_die_reader): Add abbrev_table parameter.
1888 (read_cutu_die_from_dwo): Remove abbrev_table_provided parameter.
1889 Add result_dwo_abbrev_table.
1890 (init_tu_and_read_dwo_dies, init_cutu_and_read_dies)
1891 (init_cutu_and_read_dies_no_follow, build_type_psymtabs_1):
1892 Update.
1893 (peek_die_abbrev): Take die_reader_specs, not dwarf_cu as
1894 parameter.
1895 (skip_children): Update.
1896 (abbrev_table::alloc_abbrev): Rename from
1897 abbrev_table_alloc_abbrev.
1898 (abbrev_table::add_abbrev): Rename from abbrev_table_add_abbrev.
1899 (abbrev_table::lookup_abbrev): Rename from
1900 abbrev_table_lookup_abbrev.
1901 (abbrev_table_read_table): Return abbrev_table_up.
1902 (abbrev_table_free, abbrev_table_free_cleanup)
1903 (dwarf2_read_abbrevs, dwarf2_free_abbrev_table): Remove.
1904 (load_partial_dies): Update.
1905
5e2db402
TT
19062018-01-17 Tom Tromey <tom@tromey.com>
1907
1908 * dwarf2read.c (dwarf2_compute_name): Update comment.
1909 (read_func_scope, read_variable): Update.
1910 (new_symbol): Remove.
1911 (new_symbol_full): Rename to new_symbol.
1912
ee7f689e 19132018-01-17 Mike Gulick <mgulick@mathworks.com>
41667530
MG
1914
1915 PR gdb/16577
1916 * gdb_bfd.c (gdb_bfd_map_section): If unable to read object file, issue
1917 a warning instead of throwing an error, set section size to 0 and return
1918 NULL.
1919 * gdb_bfd.h (gdb_bfd_map_section): Update description.
1920
4d9b86e1
SM
19212018-01-17 Simon Marchi <simon.marchi@ericsson.com>
1922
1923 * nat/linux-ptrace.h (linux_ptrace_attach_fail_reason): Return
1924 std::string.
1925 (linux_ptrace_attach_fail_reason_string): Likewise.
1926 * nat/linux-ptrace.c (linux_ptrace_attach_fail_reason):
1927 Likewise.
1928 (linux_ptrace_attach_fail_reason_string): Likewise.
1929 * linux-nat.c (attach_proc_task_lwp_callback): Adjust.
1930
a7b2d0fb
SM
19312018-01-17 Simon Marchi <simon.marchi@ericsson.com>
1932
1933 * linux-nat.c (linux_nat_attach): Remove xstrdup.
1934
f517c180
EA
19352018-01-17 Eldar Abusalimov <eldar.abusalimov@jetbrains.com>
1936
1937 PR gdb/21559
1938 * configure.ac: Include <sys/types.h> prior to <sys/user.h> when
1939 checking for fs_base/gs_base fields in struct user_regs_struct.
1940 * configure: Regenerate.
1941
7045b1ca
YQ
19422018-01-17 Yao Qi <yao.qi@linaro.org>
1943
1944 * aarch64-linux-tdep.c (aarch64_linux_gcc_target_options): New
1945 function.
1946 (aarch64_linux_init_abi): Install it to gdbarch hook
1947 gcc_target_options.
1948
db422fb2
PA
19492018-01-15 Pedro Alves <palves@redhat.com>
1950
1951 * common/signals-state-save-restore.c
1952 (save_original_signals_state): Fix typos.
1953
ba643918
SDJ
19542017-01-12 Tom Tromey <tom@tromey.com>
1955 Sergio Durigan Junior <sergiodj@redhat.com>
1956
1957 * Makefile.in (install-only): Install gdb-add-index.
1958
906b4aac
JB
19592018-01-12 John Baldwin <jhb@FreeBSD.org>
1960
1961 * fbsd-tdep.c (KVE_PROTECTION): Correct value.
1962
bdf2a94a
AA
19632018-01-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
1964
1965 * infrun.c (keep_going_pass_signal): Clear step-over info when
1966 insert_breakpoints fails.
1967
71d378ae
PA
19682018-01-11 Pedro Alves <palves@redhat.com>
1969
1970 PR gdb/22583
1971 * infrun.c (resume): Rename to ...
1972 (resume_1): ... this.
1973 (resume): Reimplement as wrapper around resume_1.
1974
3cada740
PA
19752018-01-11 Pedro Alves <palves@redhat.com>
1976
1977 PR remote/22597
1978 * remote.c (remote_parse_stop_reply): Default to the last-set
1979 general thread instead of to 'magic_null_ptid'.
1980
618daa93
PA
19812018-01-10 Pedro Alves <palves@redhat.com>
1982
1983 * language.h (language_get_symbol_name_matcher): Rename ...
1984 (get_symbol_name_matcher): ... this.
1985 * language.c (language_get_symbol_name_matcher): Ditto.
1986 * dictionary.c, linespec.c, minsyms.c, psymtab.c, symtab.c: All
1987 callers adjusted.
1988
c63d3e8d
PA
19892018-01-10 Pedro Alves <palves@redhat.com>
1990
1991 PR gdb/22670
1992 * dwarf2read.c
1993 (gdb_index_symbol_name_matcher::gdb_index_symbol_name_matcher):
1994 Adjust to use language_get_symbol_name_matcher instead of
1995 language_defn::la_get_symbol_name_matcher.
1996 * language.c (language_get_symbol_name_matcher): If in Ada mode
1997 and the lookup name is a verbatim match, return Ada's matcher.
1998 * language.h (language_get_symbol_name_matcher): Adjust comment.
1999 (ada_lookup_name_info::verbatim_p):: New method.
2000
d4c2a405
PA
20012018-01-10 Pedro Alves <palves@redhat.com>
2002
2003 PR gdb/22670
2004 * ada-lang.c (ada_collect_symbol_completion_matches): If the
2005 minsym's language is language_auto or language_cplus, pass down
2006 language_ada instead.
2007 * symtab.c (compare_symbol_name): Don't frob symbol language here.
2008
8825213e
PA
20092018-01-10 Pedro Alves <palves@redhat.com>
2010
2011 PR gdb/22670
2012 * minsyms.c (linkage_name_str): New function.
2013 (iterate_over_minimal_symbols): Use it.
2014
2d97a5d9
JB
20152018-01-09 John Baldwin <jhb@FreeBSD.org>
2016
2017 * NEWS: Document that 'info proc' now works on FreeBSD.
2018
92fce24d
JB
20192018-01-09 John Baldwin <jhb@FreeBSD.org>
2020
2021 * configure.ac: Check for kinfo_getfile in libutil.
2022 * configure: Regenerate.
2023 * config.in: Regenerate.
2024 * fbsd-nat.c: Include "fbsd-tdep.h".
2025 (fbsd_fetch_cmdline): New.
2026 (fbsd_fetch_kinfo_proc): Move earlier and change to return a bool
2027 rather than calling error.
2028 (fbsd_info_proc): New.
2029 (fbsd_thread_name): Report error if fbsd_fetch_kinfo_proc fails.
2030 (fbsd_wait): Report warning if fbsd_fetch_kinfo_proc fails.
2031 (fbsd_nat_add_target): Set "to_info_proc" to "fbsd_info_proc".
2032
262f62f5
JB
20332018-01-09 John Baldwin <jhb@FreeBSD.org>
2034
2035 * fbsd-nat.c (struct free_deleter): Remove.
2036 (fbsd_find_memory_regions): Use gdb::unique_xmalloc_ptr<>.
2037
b999e203
JB
20382018-01-09 John Baldwin <jhb@FreeBSD.org>
2039
2040 * fbsd-nat.c (fbsd_pid_to_exec_file) [KERN_PROC_PATHNAME]: Return
2041 NULL for an empty pathname.
2042
d2176225
JB
20432018-01-09 John Baldwin <jhb@FreeBSD.org>
2044
2045 * fbsd-tdep.c (KVE_STRUCTSIZE, KVE_START, KVE_END, KVE_OFFSET)
2046 (KVE_FLAGS, KVE_PROTECTION, KVE_PATH, KINFO_VME_PROT_READ)
2047 (KINFO_VME_PROT_WRITE, KINFO_VME_PROT_EXEC, KINFO_VME_FLAG_COW)
2048 (KINFO_VME_FLAG_NEEDS_COPY, KINFO_VME_FLAG_NOCOREDUMP)
2049 (KINFO_VME_FLAG_SUPER, KINFO_VME_FLAG_GROWS_UP)
2050 (KINFO_VME_FLAG_GROWS_DOWN, KF_STRUCTSIZE, KF_TYPE, KF_FD)
2051 (KF_PATH, KINFO_FILE_TYPE_VNODE, KINFO_FILE_FD_TYPE_CWD)
2052 (KINFO_FILE_FD_TYPE_TEXT, SIG_WORDS, struct kinfo_proc_layout)
2053 (kinfo_proc_layout_32, kinfo_proc_layout_i386)
2054 (kinfo_proc_layout_64, fbsd_vm_map_entry_flags)
2055 (fbsd_core_info_proc_mappings, fbsd_core_vnode_path)
2056 (fbsd_core_fetch_timeval, fbsd_print_sigset)
2057 (fbsd_core_info_proc_status, fbsd_core_info_proc): New.
2058 (fbsd_init_abi): Install gdbarch "core_info_proc" method.
2059 * fbsd-tdep.h (fbsd_vm_map_entry_flags): New.
2060
9c4ac400
ST
20612018-01-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
2062
2063 * gdb/gnu-nat.c: Include <elf.h> and <link.h>.
2064 (gnu_xfer_auxv): New function.
2065 (gnu_xfer_partial): Call gnu_xfer_auxv when `object' is
2066 TARGET_OBJECT_AUXV.
2067
1e5ded6c
YQ
20682018-01-08 Yao Qi <yao.qi@linaro.org>
2069 Simon Marchi <simon.marchi@ericsson.com>
2070
2071 * Makefile.in (COMMON_SFILES): Remove selftest-arch.c and
2072 common/selftest.c.
2073 (COMMON_OBS): Remove selftest.o.
2074 * configure.ac: Append selftest-arch.c and common/selftest.c to
2075 CONFIG_SRCS. Append selftest-arch.o and selftest.o to COMMON_OBS.
2076 * configure: Re-generated.
2077 * maint.c (maintenance_selftest): Wrap selftests::run_tests with
2078 GDB_SELF_TEST.
2079 (maintenance_info_selftests): Likewise.
2080
04bafb1e
XR
20812018-01-08 Xavier Roirand <roirand@adacore.com>
2082
2083 * ada-valprint.c (val_print_packed_array_elements): Use
2084 proper number of elements when printing an array indexed
2085 by an enumeration type.
2086
518817b3
SM
20872018-01-07 Simon Marchi <simon.marchi@polymtl.ca>
2088
2089 * dwarf2read.c (struct dwarf2_cu) <dwarf2_per_objfile>: Remove.
2090 (dw2_get_file_names_reader): Adjust.
2091 (lookup_dwo_signatured_type): Adjust.
2092 (lookup_dwp_signatured_type): Adjust.
2093 (lookup_signatured_type): Adjust.
2094 (create_type_unit_group): Adjust.
2095 (get_type_unit_group): Adjust.
2096 (process_psymtab_comp_unit_reader): Adjust.
2097 (build_type_psymtabs_reader): Adjust.
2098 (scan_partial_symbols): Adjust.
2099 (add_partial_symbol): Adjust.
2100 (add_partial_subprogram): Adjust.
2101 (peek_die_abbrev): Adjust.
2102 (fixup_go_packaging): Adjust.
2103 (process_imported_unit_die): Adjust.
2104 (dwarf2_compute_name): Adjust.
2105 (dwarf2_physname): Adjust.
2106 (read_import_statement): Adjust.
2107 (handle_DW_AT_stmt_list): Adjust.
2108 (read_file_scope): Adjust.
2109 (read_func_scope): Adjust.
2110 (read_lexical_block_scope): Adjust.
2111 (read_call_site_scope): Adjust.
2112 (read_variable): Adjust.
2113 (dwarf2_rnglists_process): Adjust.
2114 (dwarf2_ranges_process): Adjust.
2115 (dwarf2_ranges_read): Adjust.
2116 (dwarf2_get_pc_bounds): Adjust.
2117 (dwarf2_record_block_ranges): Adjust.
2118 (dwarf2_add_field): Adjust.
2119 (dwarf2_add_member_fn): Adjust.
2120 (read_structure_type): Adjust.
2121 (process_structure_scope): Adjust.
2122 (read_enumeration_type): Adjust.
2123 (read_array_type): Adjust.
2124 (mark_common_block_symbol_computed): Adjust.
2125 (read_common_block): Adjust.
2126 (read_namespace_type): Adjust.
2127 (read_namespace): Adjust.
2128 (read_module_type): Adjust.
2129 (read_tag_pointer_type): Adjust.
2130 (read_tag_ptr_to_member_type): Adjust.
2131 (read_tag_string_type): Adjust.
2132 (read_subroutine_type): Adjust.
2133 (read_typedef): Adjust.
2134 (read_base_type): Adjust.
2135 (attr_to_dynamic_prop): Adjust.
2136 (read_subrange_type): Adjust.
2137 (read_unspecified_type): Adjust.
2138 (dwarf2_read_abbrevs): Adjust.
2139 (load_partial_dies): Adjust.
2140 (read_partial_die): Adjust.
2141 (find_partial_die): Adjust.
2142 (guess_partial_die_structure_name): Adjust.
2143 (fixup_partial_die): Adjust.
2144 (read_attribute_value): Adjust.
2145 (read_addr_index): Adjust.
2146 (read_addr_index_from_leb128): Adjust.
2147 (read_str_index): Adjust.
2148 (dwarf2_string_attr): Adjust.
2149 (get_debug_line_section): Adjust.
2150 (dwarf_decode_line_header): Adjust.
2151 (lnp_state_machine::check_line_address): Adjust.
2152 (dwarf_decode_lines_1): Adjust.
2153 (dwarf_decode_lines): Adjust.
2154 (dwarf2_start_symtab): Adjust.
2155 (var_decode_location): Adjust.
2156 (new_symbol_full): Adjust.
2157 (dwarf2_const_value_data): Adjust.
2158 (dwarf2_const_value_attr): Adjust.
2159 (dwarf2_const_value): Adjust.
2160 (die_type): Adjust.
2161 (die_containing_type): Adjust.
2162 (build_error_marker_type): Adjust.
2163 (lookup_die_type): Adjust.
2164 (guess_full_die_structure_name): Adjust.
2165 (anonymous_struct_prefix): Adjust.
2166 (determine_prefix): Adjust.
2167 (dwarf2_name): Adjust.
2168 (follow_die_ref_or_sig): Adjust.
2169 (follow_die_offset): Adjust.
2170 (follow_die_ref): Adjust.
2171 (follow_die_sig_1): Adjust.
2172 (follow_die_sig): Adjust.
2173 (get_signatured_type): Adjust.
2174 (get_DW_AT_signature_type): Adjust.
2175 (decode_locdesc): Adjust.
2176 (dwarf_decode_macros): Adjust.
2177 (cu_debug_loc_section): Adjust.
2178 (fill_in_loclist_baton): Adjust.
2179 (dwarf2_symbol_mark_computed): Adjust.
2180 (init_one_comp_unit): Don't assign
2181 dwarf2_cu::dwarf2_per_objfile.
2182 (set_die_type): Adjust.
2183
ed2dc618
SM
21842018-01-07 Simon Marchi <simon.marchi@ericsson.com>
2185
2186 * dwarf2read.c (struct mapped_debug_names): Add constructor.
2187 <dwarf2_per_objfile>: New field.
2188 (dwarf2_per_objfile): Remove global.
2189 (get_dwarf2_per_objfile): New function.
2190 (set_dwarf2_per_objfile): New function.
2191 (dwarf2_build_psymtabs_hard): Change objfile parameter to
2192 dwarf2_per_objfile.
2193 (abbrev_table_read_table): Add dwarf2_per_objfile parameter.
2194 (read_abbrev_offset): Likewise.
2195 (read_indirect_string): Likewise.
2196 (read_indirect_line_string): Likewise.
2197 (read_indirect_string_at_offset): Likewise.
2198 (read_indirect_string_from_dwz): Likewise.
2199 (dwarf2_find_containing_comp_unit): Change objfile parameter to
2200 dwarf2_per_objfile.
2201 (age_cached_comp_units): Add dwarf2_per_objfile parameter.
2202 (create_all_comp_units): Change objfile parameter to
2203 dwarf2_per_objfile.
2204 (create_all_type_units): Likewise.
2205 (process_queue): Add dwarf2_per_objfile parameter.
2206 (read_and_check_comp_unit_head): Likewise.
2207 (lookup_dwo_unit_in_dwp): Likewise.
2208 (get_dwp_file): Likewise.
2209 (process_cu_includes): Likewise.
2210 (struct free_dwo_file_cleanup_data): New struct.
2211 (dwarf2_has_info): Use get_dwarf2_per_objfile and
2212 set_dwarf2_per_objfile.
2213 (dwarf2_get_dwz_file): Add dwarf2_per_objfile parameter.
2214 (dw2_do_instantiate_symtab): Get dwarf2_per_objfile from
2215 context, adjust calls.
2216 (dw2_instantiate_symtab): Likewise.
2217 (dw2_get_cutu): Add dwarf2_per_objfile parameter.
2218 (dw2_get_cu): Likewise.
2219 (create_cu_from_index_list): Change objfile parameter to
2220 dwarf2_per_objfile.
2221 (create_cus_from_index_list): Get dwarf2_per_objfile from
2222 context, adjust calls.
2223 (create_cus_from_index): Likewise.
2224 (create_signatured_type_table_from_index): Change objfile
2225 parameter to dwarf2_per_objfile.
2226 (create_signatured_type_table_from_debug_names): Change objfile
2227 parameter to dwarf2_per_objfile.
2228 (create_addrmap_from_index): Likewise.
2229 (create_addrmap_from_aranges): Likewise.
2230 (dwarf2_read_index): Use get_dwarf2_per_objfile, adjust calls.
2231 (dw2_setup): Remove.
2232 (dw2_get_file_names_reader): Get dwarf2_per_objfile from
2233 context.
2234 (dw2_find_last_source_symtab): Get dwarf2_per_objfile using
2235 get_dwarf2_per_objfile.
2236 (dw2_forget_cached_source_info): Likewise.
2237 (dw2_map_symtabs_matching_filename): Likewise.
2238 (struct dw2_symtab_iterator) <index>: Remove.
2239 <dwarf2_per_objfile>: New field.
2240 (dw2_symtab_iter_init): Replace index parameter with
2241 dwarf2_per_objfile.
2242 (dw2_symtab_iter_next): Use dwarf2_per_objfile from iter.
2243 (dw2_lookup_symbol): Use get_dwarf2_per_objfile and adjust.
2244 (dw2_print_stats): Likewise.
2245 (dw2_dump): Likewise.
2246 (dw2_expand_symtabs_for_function): Likewise.
2247 (dw2_expand_all_symtabs): Likewise.
2248 (dw2_expand_symtabs_with_fullname): Likewise.
2249 (dw2_expand_marked_cus): Replace index and objfile parameters
2250 with dwarf2_per_objfile.
2251 (dw_expand_symtabs_matching_file_matcher): Add
2252 dwarf2_per_objfile parameter and adjust calls.
2253 (dw2_expand_symtabs_matching): Use get_dwarf2_per_objfile and
2254 adjust calls.
2255 (dw2_find_pc_sect_compunit_symtab): Don't call dw2_setup.
2256 (dw2_map_symbol_filenames): Use get_dwarf2_per_objfile and
2257 adjust calls.
2258 (create_cus_from_debug_names_list): Replace objfile parameter
2259 with dwarf2_per_objfile and adjust calls.
2260 (create_cus_from_debug_names): Likewise.
2261 (dwarf2_read_debug_names): Likewise.
2262 (mapped_debug_names::namei_to_name): Adjust call.
2263 (dw2_debug_names_iterator::next): Likewise.
2264 (dw2_debug_names_iterator::find_vec_in_debug_names): Likewise.
2265 (dw2_debug_names_lookup_symbol): Use get_dwarf2_per_objfile.
2266 (dw2_debug_names_dump): Likewise.
2267 (dw2_debug_names_expand_symtabs_for_function): Likewise.
2268 (dw2_debug_names_expand_symtabs_matching): Likewise.
2269 (dwarf2_initialize_objfile): Likewise.
2270 (dwarf2_build_psymtabs): Likewise.
2271 (get_abbrev_section_for_cu): Get dwarf2_per_objfile from
2272 this_cu.
2273 (error_check_comp_unit_head): Add dwarf2_per_objfile parameter.
2274 (read_and_check_comp_unit_head): Likewise.
2275 (read_abbrev_offset): Likewise.
2276 (create_debug_type_hash_table): Likewise.
2277 (create_debug_types_hash_table): Likewise.
2278 (create_all_type_units): Replace objfile parameter with
2279 dwarf2_per_objfile.
2280 (add_type_unit): Add dwarf2_per_objfile parameter.
2281 (fill_in_sig_entry_from_dwo_entry): Replace objfile parameter
2282 with dwarf2_per_objfile.
2283 (lookup_dwo_signatured_type): Get dwarf2_per_objfile from cu.
2284 (lookup_dwp_signatured_type): Likewise.
2285 (lookup_signatured_type): Likewise.
2286 (read_cutu_die_from_dwo): Likewise.
2287 (init_tu_and_read_dwo_dies): Likewise.
2288 (init_cutu_and_read_dies): Likewise.
2289 (init_cutu_and_read_dies_no_follow): Likewise.
2290 (allocate_type_unit_groups_table): Add objfile parameter.
2291 (create_type_unit_group): Use dwarf2_per_objfile from cu.
2292 (get_type_unit_group): Likewise.
2293 (process_psymtab_comp_unit): Update call.
2294 (build_type_psymtabs_reader): Use dwarf2_per_objfile from cu.
2295 (build_type_psymtabs_1): Add dwarf2_per_objfile parameter.
2296 (print_tu_stats): Likewise.
2297 (build_type_psymtab_dependencies): Use dwarf2_per_objfile passed
2298 in void* parameter.
2299 (build_type_psymtabs): Change objfile parameter to
2300 dwarf2_per_objfile.
2301 (process_skeletonless_type_unit): Use dwarf2_per_objfile
2302 passed in void* parameter.
2303 (process_skeletonless_type_units): Change objfile parameter to
2304 dwarf2_per_objfile.
2305 (set_partial_user): Likewise.
2306 (dwarf2_build_psymtabs_hard): Likewise.
2307 (read_comp_units_from_section): Likewise.
2308 (create_all_comp_units): Likewise.
2309 (scan_partial_symbols): Update calls.
2310 (add_partial_symbol): Likewise.
2311 (dwarf2_read_symtab): Use get_dwarf2_per_objfile.
2312 (maybe_queue_comp_unit): Use dwarf2_read_symtab from cu.
2313 (process_queue): Add dwarf2_per_objfile parameter.
2314 (get_compunit_symtab): Use dwarf2_per_objfile from cu.
2315 (compute_compunit_symtab_includes): Likewise.
2316 (process_cu_includes): Add dwarf2_per_objfile parameter.
2317 (process_full_comp_unit): Use dwarf2_per_objfile from cu.
2318 (process_full_type_unit): Likewise.
2319 (process_imported_unit_die): Update call.
2320 (handle_DW_AT_stmt_list): Use dwarf2_per_objfile from cu.
2321 (read_file_scope): Likewise.
2322 (allocate_dwo_file_hash_table): Add objfile parameter.
2323 (lookup_dwo_file_slot): Add dwarf2_per_objfile parameter.
2324 (create_cus_hash_table): Likewise.
2325 (create_dwp_hash_table): Likewise.
2326 (create_dwo_unit_in_dwp_v1): Likewise.
2327 (create_dwp_v2_section): Likewise.
2328 (create_dwo_unit_in_dwp_v2): Likewise.
2329 (lookup_dwo_unit_in_dwp): Likewise.
2330 (try_open_dwop_file): Likewise.
2331 (open_dwo_file): Likewise. Use dwarf2_per_objfile from cu.
2332 (open_and_init_dwo_file): Use dwarf2_per_objfile from cu, update
2333 cleanup to include a reference to dwarf2_per_objfile.
2334 (open_dwp_file): Add dwarf2_per_objfile parameter.
2335 (open_and_init_dwp_file): Likewise.
2336 (get_dwp_file): Likewise.
2337 (lookup_dwo_cutu): Use dwarf2_per_objfile from cu.
2338 (queue_and_load_all_dwo_tus): Update call.
2339 (free_dwo_file_cleanup): Use dwarf2_per_objfile from cleanup
2340 data.
2341 (dwarf2_rnglists_process): Use dwarf2_per_objfile from cu.
2342 (dwarf2_ranges_process): Likewise.
2343 (dwarf2_get_pc_bounds): Likewise.
2344 (mark_common_block_symbol_computed): Likewise.
2345 (abbrev_table_read_table): Add dwarf2_per_objfile parameter.
2346 (dwarf2_read_abbrevs): Update call.
2347 (read_partial_die): Use dwarf2_per_objfile from cu.
2348 (find_partial_die): Likewise.
2349 (fixup_partial_die): Likewise.
2350 (read_attribute_value): Likewise.
2351 (read_indirect_string_at_offset_from): Add objfile parameter.
2352 (read_indirect_string_at_offset): Add dwarf2_per_objfile
2353 parameter.
2354 (read_indirect_string_from_dwz): Add objfile parameter.
2355 (read_indirect_string): Add objfile parameter.
2356 (read_addr_index_1): Add dwarf2_per_objfile parameter.
2357 (read_addr_index): Use dwarf2_per_objfile from cu.
2358 (dwarf2_read_addr_index): Use dwarf2_per_objfile from cu, don't
2359 call dw2_setup.
2360 (read_str_index): Use dwarf2_per_objfile from cu.
2361 (get_debug_line_section): Likewise.
2362 (read_formatted_entries): Add dwarf2_per_objfile parameter.
2363 (dwarf_decode_line_header): Use dwarf2_per_objfile from cu.
2364 (new_symbol_full): Use dwarf2_per_objfile from cu.
2365 (build_error_marker_type): Likewise.
2366 (lookup_die_type): Likewise.
2367 (determine_prefix): Likewise.
2368 (follow_die_offset): Likewise.
2369 (dwarf2_fetch_die_loc_sect_off): Use get_dwarf2_per_objfile.
2370 (dwarf2_fetch_constant_bytes): Don't call dw2_setup.
2371 (dwarf2_fetch_die_type_sect_off): Likewise.
2372 (dwarf2_get_die_type): Likewise.
2373 (follow_die_sig_1): Use dwarf2_per_objfile from cu.
2374 (get_signatured_type): Likewise.
2375 (get_DW_AT_signature_type): Likewise.
2376 (dwarf_decode_macro_bytes): Add dwarf2_per_objfile parameter.
2377 (dwarf_decode_macros): Use dwarf2_per_objfile from cu.
2378 (cu_debug_loc_section): Likewise.
2379 (fill_in_loclist_baton): Likewise.
2380 (dwarf2_symbol_mark_computed): Likewise.
2381 (dwarf2_find_containing_comp_unit): Change objfile parameter to
2382 dwarf2_per_objfile.
2383 (free_cached_comp_units): Use dwarf2_per_objfile passed in void*
2384 parameter.
2385 (age_cached_comp_units): Add dwarf2_per_objfile parameter.
2386 (free_one_cached_comp_unit): Use dwarf2_per_objfile from cu.
2387 (dwarf2_free_objfile): Use get_dwarf2_per_objfile.
2388 (set_die_type): Use dwarf2_free_objfile from cu.
2389 (get_die_type_at_offset): Likewise.
2390 (dwarf2_per_objfile_free): Don't assign global variable.
2391 (debug_names) <constructor>: Add dwarf2_per_objfile
2392 parameter, update m_debugstrlookup construction.
2393 (debug_names::debug_str_lookup): Add dwarf2_per_objfile
2394 parameter.
2395 <m_dwarf2_per_objfile>: New field.
2396 <lookup>: Use m_dwarf2_per_objfile.
2397 (check_dwarf64_offsets): Add dwarf2_per_objfile parameter.
2398 (psyms_seen_size): Likewise.
2399 (write_gdbindex): Replace objfile parameter with
2400 dwarf2_per_objfile.
2401 (write_debug_names): Likewise.
2402 (write_psymtabs_to_index): Likewise.
2403 (save_gdb_index_command): Use get_dwarf2_per_objfile, update
2404 calls.
2405
e3b94546
SM
24062018-01-07 Simon Marchi <simon.marchi@ericsson.com>
2407
2408 * dwarf2read.c (struct dwarf2_cu) <objfile>: Remove.
2409 <dwarf2_per_objfile>: New field.
2410 (struct dwarf2_per_cu_data) <objfile>: Remove.
2411 <dwarf2_per_objfile>: New field.
2412 (create_cu_from_index_list): Assign dwarf2_per_objfile instead
2413 of objfile.
2414 (create_signatured_type_table_from_index): Likewise.
2415 (create_debug_type_hash_table): Likewise.
2416 (fill_in_sig_entry_from_dwo_entry): Likewise.
2417 (lookup_dwo_unit): Access objfile through dwarf2_per_objfile.
2418 (create_type_unit_group): Assign dwarf2_per_objfile instead of
2419 objfile.
2420 (create_partial_symtab): Access objfile through
2421 dwarf2_per_objfile.
2422 (process_psymtab_comp_unit_reader): Likewise.
2423 (read_comp_units_from_section): Likewise.
2424 (scan_partial_symbols): Likewise.
2425 (add_partial_symbol): Likewise.
2426 (add_partial_subprogram): Likewise.
2427 (peek_die_abbrev): Likewise.
2428 (fixup_go_packaging): Likewise.
2429 (process_full_comp_unit): Likewise.
2430 (process_full_type_unit): Likewise.
2431 (process_imported_unit_die): Likewise.
2432 (dwarf2_compute_name): Likewise.
2433 (dwarf2_physname): Likewise.
2434 (read_import_statement): Likewise.
2435 (create_cus_hash_table): Assign dwarf2_physname instead of
2436 objfile.
2437 (read_func_scope): Access objfile through dwarf2_per_objfile.
2438 (read_lexical_block_scope): Likewise.
2439 (read_call_site_scope): Likewise.
2440 (read_variable): Likewise.
2441 (dwarf2_rnglists_process): Likewise.
2442 (dwarf2_ranges_process): Likewise.
2443 (dwarf2_ranges_read): Likewise.
2444 (dwarf2_record_block_ranges): Likewise.
2445 (dwarf2_add_field): Likewise.
2446 (dwarf2_add_member_fn): Likewise.
2447 (read_structure_type): Likewise.
2448 (process_structure_scope): Likewise.
2449 (read_enumeration_type): Likewise.
2450 (read_array_type): Likewise.
2451 (read_common_block): Likewise.
2452 (read_namespace_type): Likewise.
2453 (read_namespace): Likewise.
2454 (read_module_type): Likewise.
2455 (read_tag_pointer_type): Likewise.
2456 (read_tag_ptr_to_member_type): Likewise.
2457 (read_tag_string_type): Likewise.
2458 (read_subroutine_type): Likewise.
2459 (read_typedef): Likewise.
2460 (read_base_type): Likewise.
2461 (attr_to_dynamic_prop): Likewise.
2462 (read_subrange_type): Likewise.
2463 (read_unspecified_type): Likewise.
2464 (load_partial_dies): Likewise.
2465 (read_partial_die): Likewise.
2466 (find_partial_die): Likewise.
2467 (guess_partial_die_structure_name): Likewise.
2468 (fixup_partial_die): Likewise.
2469 (read_attribute_value): Likewise.
2470 (read_addr_index_from_leb128): Likewise.
2471 (dwarf2_read_addr_index): Likewise.
2472 (dwarf2_string_attr): Likewise.
2473 (lnp_state_machine::check_line_address): Likewise.
2474 (dwarf_decode_lines_1): Likewise.
2475 (dwarf_decode_lines): Likewise.
2476 (dwarf2_start_symtab): Likewise.
2477 (var_decode_location): Likewise.
2478 (new_symbol_full): Likewise.
2479 (dwarf2_const_value_data): Likewise.
2480 (dwarf2_const_value_attr): Likewise.
2481 (dwarf2_const_value): Likewise.
2482 (die_type): Likewise.
2483 (die_containing_type): Likewise.
2484 (lookup_die_type): Likewise.
2485 (guess_full_die_structure_name): Likewise.
2486 (anonymous_struct_prefix): Likewise.
2487 (dwarf2_name): Likewise.
2488 (follow_die_ref_or_sig): Likewise.
2489 (follow_die_offset): Likewise.
2490 (follow_die_ref): Likewise.
2491 (dwarf2_fetch_die_loc_sect_off): Likewise.
2492 (dwarf2_fetch_constant_bytes): Likewise.
2493 (dwarf2_fetch_die_type_sect_off): Likewise.
2494 (dwarf2_get_die_type): Likewise.
2495 (follow_die_sig): Likewise.
2496 (decode_locdesc): Likewise.
2497 (dwarf2_per_cu_objfile): Likewise.
2498 (dwarf2_per_cu_text_offset): Likewise.
2499 (init_one_comp_unit): Assign dwarf2_per_objfile instead of
2500 objfile.
2501 (set_die_type): Access objfile through
2502 dwarf2_per_objfile.
2503
b01ba14d
SM
25042018-01-07 Simon Marchi <simon.marchi@ericsson.com>
2505
2506 * valprint.c (converted_character_d): Remove typedef.
2507 (DEF_VEC_O (converted_character_d)): Remove.
2508 (count_next_character): Use std::vector.
2509 (print_converted_chars_to_obstack): Likewise.
2510 (generic_printstr): Likewise.
2511
4d0fdd9b
SM
25122018-01-07 Simon Marchi <simon.marchi@polymtl.ca>
2513
2514 * xml-support.h (struct gdb_xml_value): Add constructor.
2515 <value>: Change type to unique_xmalloc_ptr.
2516 (gdb_xml_value_s): Remove typedef.
2517 (DEF_VEC_O (gdb_xml_value_s)): Remove.
2518 (gdb_xml_element_start_handler): Change parameter type to
2519 std::vector.
2520 (xml_find_attribute): Likewise.
2521 * xml-support.c (xml_find_attribute): Change parameter type to
2522 std::vector and adjust.
2523 (gdb_xml_values_cleanup): Remove.
2524 (gdb_xml_parser::start_element): Adjust to std::vector.
2525 (xinclude_start_include): Change paraeter type to std::vector
2526 and adjust.
2527 * btrace.c (check_xml_btrace_version): Likewise.
2528 (parse_xml_btrace_block): Likewise.
2529 (parse_xml_btrace_pt_config_cpu): Likewise.
2530 (parse_xml_btrace_pt): Likewise.
2531 (parse_xml_btrace_conf_bts): Likewise.
2532 (parse_xml_btrace_conf_pt): Likewise.
2533 * memory-map.c (memory_map_start_memory): Likewise.
2534 (memory_map_start_property): Likewise.
2535 * osdata.c (osdata_start_osdata): Likewise.
2536 (osdata_start_item): Likewise.
2537 (osdata_start_column): Likewise.
2538 * remote.c (start_thread): Likewise.
2539 * solib-aix.c (library_list_start_library): Likewise.
2540 (library_list_start_list): Likewise.
2541 * solib-svr4.c (library_list_start_library): Likewise.
2542 (svr4_library_list_start_list): Likewise.
2543 * solib-target.c (library_list_start_segment): Likewise.
2544 (library_list_start_section): Likewise.
2545 (library_list_start_library): Likewise.
2546 (library_list_start_list): Likewise.
2547 * tracepoint.c (traceframe_info_start_memory): Likewise.
2548 (traceframe_info_start_tvar): Likewise.
2549 * xml-syscall.c (syscall_start_syscall): Likewise.
2550 * xml-tdesc.c (tdesc_start_target): Likewise.
2551 (tdesc_start_feature): Likewise.
2552 (tdesc_start_reg): Likewise.
2553 (tdesc_start_union): Likewise.
2554 (tdesc_start_struct): Likewise.
2555 (tdesc_start_flags): Likewise.
2556 (tdesc_start_enum): Likewise.
2557 (tdesc_start_field): Likewise.
2558 (tdesc_start_enum_value): Likewise.
2559 (tdesc_start_vector): Likewise.
2560
f979c73f
SM
25612018-01-07 Simon Marchi <simon.marchi@polymtl.ca>
2562
2563 * extension.h (struct xmethod_worker) <clone>: Remove.
2564 * python/py-xmethods.c (struct python_xmethod_worker) <clone>:
2565 Remove.
2566 (python_xmethod_worker::clone): Remove.
2567 * valops.c (find_overload_match): Use std::move instead of
2568 clone.
2569
ba18742c
SM
25702018-01-07 Simon Marchi <simon.marchi@polymtl.ca>
2571
2572 * extension-priv.h (enum ext_lang_rc): Remove, move to extension.h.
2573 (struct extension_language_ops) <clone_xmethod_worker_data>: Remove.
2574 <free_xmethod_worker_data>: Remove.
2575 <get_matching_xmethod_workers>: Chance VEC to std::vector.
2576 <get_xmethod_arg_types>: Remove.
2577 <get_xmethod_result_type>: Remove.
2578 <invoke_xmethod>: Remove.
2579 * extension.c (new_xmethod_worker): Remove.
2580 (clone_xmethod_worker): Remove.
2581 (get_matching_xmethod_workers): Return void, pass std::vector by
2582 pointer.
2583 (get_xmethod_arg_types): Rename to...
2584 (xmethod_worker::get_arg_types): ... this, and adjust.
2585 (get_xmethod_result_type): Rename to...
2586 (xmethod_worker::get_result_type): ... this, and adjust.
2587 (invoke_xmethod): Remove.
2588 (free_xmethod_worker): Remove.
2589 (free_xmethod_worker_vec): Remove.
2590 * extension.h (enum ext_lang_rc): Move here from
2591 extension-priv.h.
2592 (struct xmethod_worker): Add constructor and destructor.
2593 <data>: Remove.
2594 <value>: Remove.
2595 <invoke, clone, do_get_result_type, do_get_arg_types>: New
2596 virtual pure methods.
2597 <get_arg_types, get_result_type>: New methods.
2598 (xmethod_worker_ptr): Remove typedef.
2599 (DEF_VEC_P (xmethod_worker_ptr)): Remove.
2600 (xmethod_worker_vec): Remove typedef.
2601 (xmethod_worker_up): New typedef.
2602 (invoke_xmethod): Remove.
2603 (clone_xmethod_worker): Remove.
2604 (free_xmethod_worker): Remove.
2605 (free_xmethod_worker_vec): Remove.
2606 (get_xmethod_arg_types): Remove.
2607 (get_xmethod_result_type): Remove.
2608 * valops.c (find_method_list): Use std::vector, don't use
2609 intermediate vector.
2610 (value_find_oload_method_list): Use std::vector.
2611 (find_overload_match): Use std::vector.
2612 (find_oload_champ): Use std::vector.
2613 * value.c (value_free): Use operator delete.
2614 (value_of_xmethod): Rename to...
2615 (value_from_xmethod): ... this. Don't assign
2616 xmethod_worker::value, take rvalue-reference.
2617 (result_type_of_xmethod): Adjust.
2618 (call_xmethod): Adjust.
2619 * value.h: Include extension.h.
2620 (struct xmethod_worker): Don't forward-declare.
2621 (value_of_xmethod): Rename to...
2622 (value_from_xmethod): ... this, take rvalue-reference.
2623 * python/py-xmethods.c (struct gdbpy_worker_data): Rename to...
2624 (struct python_xmethod_worker): ... this, add constructor and
2625 destructor.
2626 <invoke, clone, do_get_arg_types, do_get_result_type>: Implement.
2627 (gdbpy_free_xmethod_worker_data): Rename to...
2628 (python_xmethod_worker::~python_xmethod_worker): ... this and
2629 adjust.
2630 (gdbpy_clone_xmethod_worker_data): Rename to...
2631 (python_xmethod_worker::clone): ... this and adjust.
2632 (gdbpy_get_matching_xmethod_workers): Use std::vector, don't use
2633 temporary vector.
2634 (gdbpy_get_xmethod_arg_types): Rename to...
2635 (python_xmethod_worker::do_get_arg_types): ... this and adjust.
2636 (gdbpy_get_xmethod_result_type): Rename to...
2637 (python_xmethod_worker::do_get_result_type): ... this and
2638 adjust.
2639 (gdbpy_invoke_xmethod): Rename to...
2640 (python_xmethod_worker::invoke): ... this and adjust.
2641 (new_python_xmethod_worker): Rename to...
2642 (python_xmethod_worker::python_xmethod_worker): ... this and
2643 adjust.
2644 * python/python-internal.h (gdbpy_clone_xmethod_worker_data):
2645 Remove.
2646 (gdbpy_free_xmethod_worker_data): Remove.
2647 (gdbpy_get_matching_xmethod_workers): Use std::vector.
2648 (gdbpy_get_xmethod_arg_types): Remove.
2649 (gdbpy_get_xmethod_result_type): Remove.
2650 (gdbpy_invoke_xmethod): Remove.
2651 * python/python.c (python_extension_ops): Remove obsolete
2652 callbacks.
2653
e379cee6
PA
26542018-01-05 Pedro Alves <palves@redhat.com>
2655
2656 PR gdb/18653
2657 * common/signals-state-save-restore.c
2658 (save_original_signals_state): New parameter 'quiet'. Warn if we
2659 find a custom handler preinstalled, instead of internal erroring.
2660 But only warn if !quiet.
2661 * common/signals-state-save-restore.h
2662 (save_original_signals_state): New parameter 'quiet'.
2663 * main.c (captured_main_1): Move save_original_signals_state call
2664 after option handling, and pass QUIET.
2665
a655456c
PA
26662018-01-05 Pedro Alves <palves@redhat.com>
2667
2668 * spu-tdep.c (spu_catch_start): Pass
2669 symbol_name_match_type::SEARCH_NAME to block_lookup_symbol.
2670
de63c46b
PA
26712018-01-05 Pedro Alves <palves@redhat.com>
2672
2673 PR gdb/22670
2674 * ada-lang.c (literal_symbol_name_matcher): New function.
2675 (ada_get_symbol_name_matcher): Use it for
2676 symbol_name_match_type::SEARCH_NAME.
2677 * block.c (block_lookup_symbol): New parameter 'match_type'. Pass
2678 it down instead of assuming symbol_name_match_type::FULL.
2679 * block.h (block_lookup_symbol): New parameter 'match_type'.
2680 * c-valprint.c (print_unpacked_pointer): Use
2681 lookup_symbol_search_name instead of lookup_symbol.
2682 * compile/compile-object-load.c (get_out_value_type): Pass down
2683 symbol_name_match_type::SEARCH_NAME.
2684 * cp-namespace.c (cp_basic_lookup_symbol): Pass down
2685 symbol_name_match_type::FULL.
2686 * cp-support.c (cp_get_symbol_name_matcher): Handle
2687 symbol_name_match_type::SEARCH_NAME.
2688 * infrun.c (insert_exception_resume_breakpoint): Use
2689 lookup_symbol_search_name.
2690 * p-valprint.c (pascal_val_print): Use lookup_symbol_search_name.
2691 * psymtab.c (maintenance_check_psymtabs): Use
2692 symbol_name_match_type::SEARCH_NAME and SYMBOL_SEARCH_NAME.
2693 * stack.c (print_frame_args): Use lookup_symbol_search_name and
2694 SYMBOL_SEARCH_NAME.
2695 * symtab.c (lookup_local_symbol): Don't demangle the lookup name
2696 if symbol_name_match_type::SEARCH_NAME.
2697 (lookup_symbol_in_language): Pass down
2698 symbol_name_match_type::FULL.
2699 (lookup_symbol_search_name): New.
2700 (lookup_language_this): Pass down
2701 symbol_name_match_type::SEARCH_NAME.
2702 (lookup_symbol_aux, lookup_local_symbol): New parameter
2703 'match_type'. Pass it down.
2704 * symtab.h (symbol_name_match_type::SEARCH_NAME): New enumerator.
2705 (lookup_symbol_search_name): New declaration.
2706 (lookup_symbol_in_block): New 'match_type' parameter.
2707
f98fc17b
PA
27082018-01-05 Pedro Alves <palves@redhat.com>
2709
2710 PR gdb/22670
2711 * ada-lang.c (ada_lookup_encoded_symbol): Reimplement in terms of
2712 ada_lookup_symbol.
2713 (ada_lookup_symbol): Reimplement in terms of
2714 ada_lookup_symbol_list, bits factored out from
2715 ada_lookup_encoded_symbol.
2716
342f8240
JB
27172018-01-05 Joel Brobecker <brobecker@adacore.com>
2718
2719 * ada-exp.y (write_object_renaming): When subscripting an array
2720 using a symbol as the index, pass the block in call to
2721 ada_lookup_encoded_symbol when looking that symbol up.
2722
7150d33c
JG
27232018-01-05 Jerome Guitton <guitton@adacore.com>
2724
2725 * ada-lang.c (ada_array_length): Use ada_index_type instead of
2726 TYPE_INDEX_TYPE.
2727
cc0e770c
JB
27282018-01-05 Joel Brobecker <brobecker@adacore.com>
2729
2730 * ada-lang.c (ada_to_fixed_value_create): Add handling of
2731 the case where VALUE_LVAL (val0) is not lval_memory.
2732
f79da888 27332018-01-05 Xavier Roirand <roirand@adacore.com>
e3861a03
XR
2734
2735 * ada-valprint.c (print_optional_low_bound): Handle
2736 character-indexed array printing like boolean-indexed array
2737 printing.
2738
cd385f94
JB
27392018-01-05 Joel Brobecker <brobecker@adacore.com>
2740
2741 * NEWS: Create a new section for the next release branch.
2742 Rename the section of the current branch, now that it has
2743 been cut.
2744
09aca949
JB
27452018-01-05 Joel Brobecker <brobecker@adacore.com>
2746
2747 GDB 8.1 branch created (5219ac6237c272b938c28517bf371429260c71e7):
2748 * version.in: Bump version to 8.1.50.DATE-git.
2749
9f757bf7
XR
27502018-01-03 Xavier Roirand <roirand@adacore.com>
2751
2752 * ada-lang.h (ada_exception_catchpoint_kind) <ada_catch_handlers>:
2753 Add field.
2754 * ada-lang.c (struct exception_support_info) <catch_handlers_sym>:
2755 Add field.
2756 (default_exception_support_info) <catch_handlers_sym>: Add field.
2757 (exception_support_info_fallback) <catch_handlers_sym>: Add field.
2758 (ada_exception_name_addr_1): Add "catch handlers" handling.
2759 (ada_exception_catchpoint_cond_string) <ex>: New parameter.
2760 Update all callers.
2761 (create_excep_cond_exprs) <ex>: Add parameter.
2762 (re_set_exception): Update create_excep_cond_exprs call.
2763 (print_it_exception, print_one_exception, print_mention_exception)
2764 (print_recreate_exception): Add "catch handler" handling.
2765 (allocate_location_catch_handlers, re_set_catch_handlers)
2766 (check_status_catch_handlers, print_it_catch_handlers)
2767 (print_one_catch_handlers, print_mention_catch_handlers)
2768 (print_recreate_catch_handlers): New function.
2769 (catch_handlers_breakpoint_ops): New variable.
2770 (catch_ada_exception_command_split) <is_catch_handlers_cmd>:
2771 Add parameter. Add "catch handler" handling.
2772 (ada_exception_sym_name, ada_exception_breakpoint_ops):
2773 Add "catch handler" handling.
2774 (ada_exception_catchpoint_cond_string): Add "catch handler"
2775 handling.
2776 (create_ada_exception_catchpoint): Update create_excep_cond_exprs
2777 call.
2778 (catch_ada_handlers_command): New function.
2779 (initialize_ada_catchpoint_ops): Initialize "catch handlers"
2780 operations structure.
2781 (_initialize_ada_language): Add "catch handlers" command entry.
2782 * NEWS: Document "catch handlers" feature.
2783
9fe561ab
JB
27842018-01-02 Joel Brobecker <brobecker@adacore.com>
2785
2786 * ada-lang.c (ada_value_slice_from_ptr): Take array stride into
2787 account when creating the array type of the slice.
2788 (ada_value_slice): Likewise.
2789
a405673c
JB
27902018-01-02 Joel Brobecker <brobecker@adacore.com>
2791
2792 * gdbtypes.h (enum dynamic_prop_node_kind) <DYN_PROP_BYTE_STRIDE>:
2793 New enum value.
2794 (create_array_type_with_stride): Add byte_stride_prop parameter.
2795 * gdbtypes.c (create_array_type_with_stride) <byte_stride_prop>:
2796 New parameter. Update all callers in this file.
2797 (array_type_has_dynamic_stride): New function.
2798 (is_dynamic_type_internal, resolve_dynamic_array): Add handling
2799 of arrays with dynamic byte strides.
2800 * dwarf2read.c (read_array_type): Add support for dynamic
2801 DW_AT_byte_stride attributes.
2802
74a2f8ff
JB
28032018-01-02 Joel Brobecker <brobecker@adacore.com>
2804
2805 * dwarf2read.c (read_unspecified_type): Treat
2806 DW_TAG_enumeration_type DIEs from Ada units as stubs.
2807
e2882c85
JB
28082018-01-01 Joel Brobecker <brobecker@adacore.com>
2809
2810 Update copyright year range in all GDB files.
2811
1690bb24
JB
28122018-01-01 Joel Brobecker <brobecker@adacore.com>
2813
2814 * copyright.py (BY_HAND): Remove gdb/testsuite/gdb.base/step-line.inp
2815 and gdb/testsuite/gdb.base/step-line.c.
2816
0f0c98a8
JB
28172018-01-01 Joel Brobecker <brobecker@adacore.com>
2818
2819 * copyright.py (main): Dump the contents of
2820 MULTIPLE_COPYRIGHT_HEADERS (separately) from BY_HAND,
2821 even if BY_HAND is empty.
2822
82e1e79a
JB
28232018-01-01 Joel Brobecker <brobecker@adacore.com>
2824
2825 * top.c (print_gdb_version): Update Copyright year in version
2826 message.
2827
053f54e5 28282018-01-01 Joel Brobecker <brobecker@adacore.com>
47fea877 2829
053f54e5 2830 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2017.
47fea877 2831
053f54e5 2832For older changes see ChangeLog-2017.
c906108c
SS
2833\f
2834Local Variables:
2835mode: change-log
2836left-margin: 8
2837fill-column: 74
2838version-control: never
57da7796 2839coding: utf-8
c906108c 2840End: