linux-nat: Eliminate custom target_terminal_{inferior,ours}, stop using set_sigint_trap
[external/binutils.git] / gdb / ChangeLog
1 2018-01-30  Pedro Alves  <palves@redhat.com>
2
3         * linux-nat.c (wait_for_signal): New function.
4         (wait_lwp, linux_nat_wait_1): Use it instead of calling sigsuspend
5         directly.
6         (async_terminal_is_ours)
7         (linux_nat_terminal_inferior, linux_nat_terminal_ours): Delete.
8         (linux_nat_add_target): Don't override
9         to_terminal_inferior/to_terminal_ours.
10
11 2018-01-29  Sergio Durigan Junior  <sergiodj@redhat.com>
12
13         * remote.c (remote_follow_fork): Don't call "detach_inferior".
14
15 2018-01-28  Simon Marchi  <simon.marchi@ericsson.com>
16
17         * dwarf2read.c (free_dwo_files): Add forward-declaration.
18         (dwarf2_per_objfile::~dwarf2_per_objfile): Move content from
19         dwarf2_per_objfile_free here.
20         (dwarf2_per_objfile_free): Remove.
21         (_initialize_dwarf2_read): Don't register
22         dwarf2_per_objfile_free as a registry cleanup.
23
24 2018-01-27  Eli Zaretskii  <eliz@gnu.org>
25
26         Avoid compilation errors in MinGW native builds
27
28         The error is triggered by including python-internal.h, and the
29         error message is:
30
31              In file included from d:\usr\lib\gcc\mingw32\6.3.0\include\c++\math.h:36:0,
32                       from build-gnulib/import/math.h:27,
33                       from d:/usr/Python26/include/pyport.h:235,
34                       from d:/usr/Python26/include/Python.h:58,
35                       from python/python-internal.h:94,
36                       from python/py-arch.c:24:
37              d:\usr\lib\gcc\mingw32\6.3.0\include\c++\cmath:1157:11: error: '::hypot' has not been declared
38         using ::hypot;
39                 ^~~~~
40
41         This happens because Python headers define 'hypot' to expand t
42         '_hypot' in the Windows builds.
43         * python/python-internal.h (_hypot) [__MINGW32__]: Define back to
44         'hypoth'.  This avoids a compilation error.
45
46 2018-01-26  Alan Hayward  <alan.hayward@arm.com>
47
48         * MAINTAINERS (Write After Approval): Fix ordering.
49
50 2018-01-26  Alan Hayward  <alan.hayward@arm.com>
51
52         * MAINTAINERS (Write After Approval): Add Alan Hayward.
53
54 2018-01-26  Alan Modra  <amodra@gmail.com>
55
56         * ppc-linux-tdep.c (powerpc32_plt_stub): Make const.
57         (powerpc32_plt_stub_so_1): Rename from powerpc32_plt_stub_so.
58         Remove nop.  Make const.  Comment.
59         (powerpc32_plt_stub_so_2): New.
60         (POWERPC32_PLT_CHECK_LEN): Rename from POWERPC32_PLT_STUB_LEN.
61         Correct count.  Update uses.
62         (ppc_skip_trampoline_code): Match powerpc32_plt_stub_so_2 too.
63         Move common code reading PLT entry word.  Correct
64         powerpc32_plt_stub PLT address calculation.
65         * ppc64-tdep.c (ppc64_standard_linkage1): Make const.
66         (ppc64_standard_linkage2, ppc64_standard_linkage3): Likewise.
67         (ppc64_standard_linkage4, ppc64_standard_linkage5): Likewise.
68         (ppc64_standard_linkage6, ppc64_standard_linkage7): Likewise.
69         (ppc64_standard_linkage8): Likewise.
70         * rs6000-tdep.c (ppc_insns_match_pattern): Make pattern const.
71         Correct insns description.
72         * ppc-tdep.h (ppc_insns_match_pattern): Update prototype.
73
74 2018-01-24  Pedro Alves  <palves@redhat.com>
75
76         GCC PR libstdc++/83906
77         * gdbtypes.c (operator==(const dynamic_prop &,
78         const dynamic_prop &)): New.
79         (operator==(const range_bounds &, const range_bounds &)): New.
80         (check_types_equal): Use them instead of memcmp.
81         * gdbtypes.h (operator==(const dynamic_prop &,
82         const dynamic_prop &)): Declare.
83         (operator!=(const dynamic_prop &, const dynamic_prop &)): Declare.
84         (operator==(const range_bounds &, const range_bounds &)): Declare.
85         (operator!=(const range_bounds &, const range_bounds &)): Declare.
86
87 2018-01-23  Philipp Rudo  <prudo@linux.vnet.ibm.com>
88
89         * s390-linux-tdep.c (s390_record_address_mask)
90         (s390_record_calc_disp_common, s390_record_calc_disp)
91         (s390_record_calc_disp_vsce, s390_record_calc_rl, s390_popcnt)
92         (s390_record_gpr_g, s390_record_gpr_h, s390_record_vr)
93         (s390_process_record): Move to s390-tdep.c.
94         (s390_linux_init_abi_any): Adjust.
95         * s390-tdep.c (s390_record_address_mask)
96         (s390_record_calc_disp_common, s390_record_calc_disp)
97         (s390_record_calc_disp_vsce, s390_record_calc_rl, s390_popcnt)
98         (s390_record_gpr_g, s390_record_gpr_h, s390_record_vr)
99         (s390_process_record): Moved from s390-linux-tdep.c
100         (s390_gdbarch_init): Adjust.
101
102 2018-01-23  Philipp Rudo  <prudo@linux.vnet.ibm.com>
103
104         * s390-linux-nat.c (s390-tdep.h): New include.
105         * Makefile.in (ALL_TARGET_OBS): Add s390-tdep.o.
106         (HFILES_NO_SRCDIR): Add s390-tdep.h.
107         (ALLDEPFILES): Add s390-tdep.c.
108         * configure.tgt (s390*-*-linux*): Add s390-tdep.o.
109         * s390-linux-tdep.h (HWCAP_S390_*, S390_*_REGNUM): Move to...
110         * s390-tdep.h: ...this.  New file.
111         * s390-linux-tdep.c (s390-tdep.h): New include.
112         (_initialize_s390_tdep): Rename to...
113         (_initialize_s390_linux_tdep): ...this and adjust.
114         (s390_abi_kind, s390_vector_abi_kind, gdbarch_tdep)
115         (enum named opcodes, S390_NUM_GPRS, S390_NUM_FPRS): Move to
116         s390-tdep.h.
117         (s390_break_insn, s390_breakpoint, s390_readinstruction, is_ri)
118         (is_ril, is_rr, is_rre, is_rs, is_rsy, is_rx, is_rxy)
119         (s390_is_partial_instruction, s390_software_single_step)
120         (is_non_branch_ril, s390_displaced_step_copy_insn)
121         (s390_displaced_step_fixup, s390_displaced_step_hw_singlestep)
122         (s390_prologue_data, s390_addr, s390_store, s390_load)
123         (s390_check_for_saved, s390_analyze_prologue, s390_skip_prologue)
124         (s390_register_call_saved, s390_guess_tracepoint_registers)
125         (s390_register_name, s390_dwarf_regmap, s390_dwarf_reg_to_regnum)
126         (regnum_is_gpr_full, regnum_is_vxr_full, s390_value_from_register)
127         (s390_pseudo_register_name, s390_pseudo_register_type)
128         (s390_pseudo_register_read, s390_pseudo_register_write)
129         (s390_pseudo_register_reggroup_p, s390_ax_pseudo_register_collect)
130         (s390_ax_pseudo_register_push_stack, s390_gen_return_address)
131         (s390_addr_bits_remove, s390_address_class_type_flags)
132         (s390_address_class_type_flags_to_name)
133         (s390_address_class_name_to_type_flags, s390_effective_inner_type)
134         (s390_function_arg_float, s390_function_arg_vector)
135         (is_power_of_two, s390_function_arg_integer, s390_arg_state)
136         (s390_handle_arg, s390_push_dummy_call, s390_dummy_id)
137         (s390_frame_align, s390_register_return_value, s390_return_value)
138         (s390_stack_frame_destroyed_p, s390_unwind_pc, s390_unwind_sp)
139         (s390_unwind_pseudo_register, s390_adjust_frame_regnum)
140         (s390_dwarf2_prev_register, s390_dwarf2_frame_init_reg)
141         (s390_trad_frame_prev_register, s390_unwind_cache)
142         (s390_prologue_frame_unwind_cache)
143         (s390_backchain_frame_unwind_cache, s390_frame_unwind_cache)
144         (s390_frame_this_id, s390_frame_prev_register, s390_frame_unwind)
145         (s390_stub_unwind_cache, s390_stub_frame_unwind_cache)
146         (s390_stub_frame_this_id, s390_stub_frame_prev_register)
147         (s390_stub_frame_sniffer, s390_stub_frame_unwind)
148         (s390_frame_base_address, s390_local_base_address)
149         (s390_frame_base, s390_gcc_target_options)
150         (s390_gnu_triplet_regexp, s390_stap_is_single_operand)
151         (s390_validate_reg_range, s390_tdesc_valid)
152         (s390_gdbarch_tdep_alloc, s390_gdbarch_init): Move to...
153         * s390-tdep.c: ...this.  New file.
154
155 2018-01-23  Philipp Rudo  <prudo@linux.vnet.ibm.com>
156
157         * s390-linux-tdep.c (gdbarch_tdep.s390_syscall_record): New hook.
158         (s390_process_record, s390_gdbarch_tdep_alloc)
159         (s390_linux_init_abi_any): Use/set new hook.
160
161 2018-01-23  Philipp Rudo  <prudo@linux.vnet.ibm.com>
162
163         * s390-linux-tdep.c (osabi.h): New include.
164         (s390_linux_init_abi_31, s390_linux_init_abi_64)
165         (s390_linux_init_abi_any): New functions.
166         (s390_gdbarch_init, _initialize_s390_tdep): Adjust.
167
168 2018-01-23  Philipp Rudo  <prudo@linux.vnet.ibm.com>
169
170         * s390-linux-tdep.c (s390_gdbarch_init): Use gdb_assert for
171         tdesc_has_registers check
172
173 2018-01-23  Philipp Rudo  <prudo@linux.vnet.ibm.com>
174
175         * s390-linux-tdep.c (s390_tdesc_valid): New function.
176         (s390_validate_reg_range): New macro.
177         (s390_gdbarch_init): Adjust.
178
179 2018-01-23  Philipp Rudo  <prudo@linux.vnet.ibm.com>
180
181         * s390-linux-tdep.c (gdbarch_tdep) <tdesc>: New field.
182         (s390_gdbarch_tdep_alloc): Adjust.
183         (s390_gdbarch_init): Adjust.
184
185 2018-01-23  Philipp Rudo  <prudo@linux.vnet.ibm.com>
186
187         * s390-linux-tdep.c (gdbarch_tdep) <have_linux_v1, have_linux_v2>
188         <have_tdb>: Change type to bool.
189         (s390_gdbarch_tdep_alloc): Adjust.
190         (s390_gdbarch_init): Adjust.
191
192 2018-01-23  Philipp Rudo  <prudo@linux.vnet.ibm.com>
193
194         * s390-linux-tdep (s390_abi_kind) <ABI_NONE>: New default field.
195         (gdbarch_tdep) <have_upper, have_vx>: New fields.
196         (s390_gdbarch_tdep_alloc): New function.
197         (s390_gdbarch_init): Allocate tdep at start and use its fields
198         instead of separate variables.
199
200 2018-01-23  Philipp Rudo  <prudo@linux.vnet.ibm.com>
201
202         * s390-linux-tdep.c (s390_gdbarch_init): Remove duplicate checks
203         when looking for cached gdbarch and add comment for remaining.
204
205 2018-01-22  Pedro Alves  <palves@redhat.com>
206             Sergio Durigan Junior  <sergiodj@redhat.com>
207
208         * typeprint.c (whatis_exp): Initialize "val" in the "whatis type"
209         case.
210
211 2018-01-22  Maciej W. Rozycki  <macro@mips.com>
212
213         * MAINTAINERS: Update my company e-mail address.
214
215 2018-01-22  Yao Qi  <yao.qi@linaro.org>
216
217         * regcache.c (cooked_write_test): New function.
218         (_initialize_regcache): Register the test.
219
220 2018-01-22  Yao Qi  <yao.qi@linaro.org>
221
222         * ia64-tdep.c (ia64_pseudo_register_read): Call
223         regcache->cooked_read instead of regcache_cooked_read_unsigned.
224         * m32c-tdep.c (m32c_cat_read): Likewise.
225         (m32c_r3r2r1r0_read): Likewise.
226         * m68hc11-tdep.c (m68hc11_pseudo_register_read): Likewise.
227         * xtensa-tdep.c (xtensa_register_read_masked): Likewise.
228
229 2018-01-22  Yao Qi  <yao.qi@linaro.org>
230
231         * aarch64-tdep.c (aarch64_pseudo_read_value): Call regcache
232         method raw_read instead of regcache_raw_read.
233         * amd64-tdep.c (amd64_pseudo_register_read_value): Likewise.
234         * arm-tdep.c (arm_neon_quad_read): Likewise.
235         * avr-tdep.c (avr_pseudo_register_read): Likewise.
236         * bfin-tdep.c (bfin_pseudo_register_read): Likewise.
237         * frv-tdep.c (frv_pseudo_register_read): Likewise.
238         * h8300-tdep.c (h8300_pseudo_register_read): Likewise.
239         * i386-tdep.c (i386_mmx_regnum_to_fp_regnum): Likewise.
240         (i386_pseudo_register_read_into_value): Likewise.
241         * mep-tdep.c (mep_pseudo_cr32_read): Likewise.
242         * msp430-tdep.c (msp430_pseudo_register_read): Likewise.
243         * nds32-tdep.c (nds32_pseudo_register_read): Likewise.
244         * rl78-tdep.c (rl78_pseudo_register_read): Likewise.
245         * s390-linux-tdep.c (s390_pseudo_register_read): Likewise.
246         * sparc-tdep.c (sparc32_pseudo_register_read):  Likewise.
247         * sparc64-tdep.c (sparc64_pseudo_register_read): Likewise.
248         * spu-tdep.c (spu_pseudo_register_read_spu):  Likewise.
249         * xtensa-tdep.c (xtensa_pseudo_register_read): Likewise.
250
251 2018-01-22  Yao Qi  <yao.qi@linaro.org>
252
253         * Makefile.in (ALL_TARGET_OBS): Remove mt-tdep.o.
254         * configure.tgt: Remove target mt.
255         * mt-tdep.c: Remove.
256         * regcache.c (cooked_read_test): Remove the check for mt.
257
258 2018-01-22  Yao Qi  <yao.qi@linaro.org>
259
260         * jit.c (jit_frame_prev_register): Call regcache::cooked_read
261         instead of gdbarch_pseudo_register_read_value.
262
263 2018-01-22  Joel Brobecker  <brobecker@adacore.com>
264
265         * dwarf2read.c (need_gnat_info): Return nonzero if the cu's
266         language is Ada.
267
268 2018-01-22  Joel Brobecker  <brobecker@adacore.com>
269
270         * linespec.c (create_sals_line_offset): Remove code that preserved
271         the symtab_and_line's line number.
272
273 2018-01-21  Andrew Burgess  <andrew.burgess@embecosm.com>
274
275         * varobj.c (varobj_create): Don't set valid_block when creating a
276         floating varobj.
277
278 2018-01-21  Andrew Burgess  <andrew.burgess@embecosm.com>
279
280         * varobj.c (varobj_create): Remove out of date comment.
281
282 2018-01-21  Andrew Burgess  <andrew.burgess@embecosm.com>
283
284         PR mi/20395
285         * ada-exp.y (write_var_from_sym): Pass extra parameter when
286         updating innermost block.
287         * parse.c (innermost_block_tracker::update): Take extra type
288         parameter, and check types match before updating innermost block.
289         (write_dollar_variable): Update innermost block for registers.
290         * parser-defs.h (enum innermost_block_tracker_type): New enum.
291         (innermost_block_tracker::innermost_block_tracker): Initialise
292         m_types member.
293         (innermost_block_tracker::reset): Take type parameter.
294         (innermost_block_tracker::update): Take type parameter, and pass
295         type through as needed.
296         (innermost_block_tracker::m_types): New member.
297         * varobj.c (varobj_create): Pass type when reseting innermost
298         block.
299
300 2018-01-21  Andrew Burgess  <andrew.burgess@embecosm.com>
301
302         * ada-exp.y (write_var_from_sym): Switch to innermost_block API.
303         * ada-lang.c (resolve_subexp): Likewise.
304         * breakpoint.c (set_breakpoint_condition) Likewise.
305         (watch_command_1) Likewise.
306         * c-exp.y (variable): Likewise.
307         * d-exp.y (PrimaryExpression): Likewise.
308         * f-exp.y (variable): Likewise.
309         * go-exp.y (variable): Likewise.
310         * m2-exp.y (variable): Likewise.
311         * objfiles.c (objfile::~objfile): Likewise.
312         * p-exp.y (variable): Likewise.
313         * parse.c (innermost_block): Change type.
314         * parser-defs.h (class innermost_block_tracker): New.
315         (innermost_block): Change to innermost_block_tracker.
316         * printcmd.c (display_command): Switch to innermost_block API.
317         (do_one_display): Likewise.
318         * rust-exp.y (do_one_display): Likewise.
319         * symfile.c (clear_symtab_users): Likewise.
320         * varobj.c (varobj_create): Switch to innermost_block API, replace
321         use of innermost_block with block stored on varobj object.
322
323 2018-01-21  Andrew Burgess  <andrew.burgess@embecosm.com>
324
325         * expression.h (innermost_block): Remove declaration.
326         * varobj.c: Add 'parser-defs.h' include.
327
328 2018-01-19  Tom Tromey  <tom@tromey.com>
329
330         * rust-lang.c (rust_lookup_symbol_nonlocal): Look up qualified
331         symbols in the static and global blocks.
332
333 2018-01-19  James Clarke  <jrtc27@jrtc27.com>
334
335         * nat/linux-ptrace.c: Remove unnecessary reinclusion of
336         gdb_ptrace.h, and move including gdb_wait.h ...
337         * nat/linux-ptrace.h: ... to here.
338
339 2018-01-19  Simon Marchi  <simon.marchi@ericsson.com>
340
341         * inf-ptrace.c (inf_ptrace_detach): Adjust call to
342         inf_ptrace_detach_success.
343         (inf_ptrace_detach_success): Add inferior parameter, use it
344         instead of inferior_ptid, pass it to detach_inferior.
345         * inf-ptrace.h (inf_ptrace_detach_success): Add inferior
346         parameter.
347         * inferior.c (detach_inferior): Add overload that takes an
348         inferior object.
349         * inferior.h (detach_inferior): Likewise.
350         * linux-nat.c (linux_nat_detach): Use the inf parameter, don't
351         use inferior_ptid, adjust call to inf_ptrace_detach_success.
352         * linux-thread-db.c (thread_db_detach): Use inf parameter.
353
354 2018-01-19  Simon Marchi  <simon.marchi@ericsson.com>
355
356         * target.h (struct target_ops) <to_detach>: Add inferior
357         parameter.
358         (target_detach): Likewise.
359         * target.c (dispose_inferior): Pass inferior down.
360         (target_detach): Pass inferior down.  Assert that it is equal to
361         the current inferior.
362         * aix-thread.c (aix_thread_detach): Pass inferior down.
363         * corefile.c (core_file_command): Pass current_inferior() down.
364         * corelow.c (core_detach): Add inferior parameter.
365         * darwin-nat.c (darwin_detach): Likewise.
366         * gnu-nat.c (gnu_detach): Likewise.
367         * inf-ptrace.c (inf_ptrace_detach): Likewise.
368         * infcmd.c (detach_command): Pass current_inferior() down to
369         target_detach.
370         * infrun.c (follow_fork_inferior): Pass parent_inf to
371         target_detach.
372         (handle_vfork_child_exec_or_exit): Pass inf->vfork_parent to
373         target_detach.
374         * linux-nat.c (linux_nat_detach): Add inferior parameter.
375         * linux-thread-db.c (thread_db_detach): Likewise.
376         * nto-procfs.c (procfs_detach): Likewise.
377         * procfs.c (procfs_detach): Likewise.
378         * record.c (record_detach): Likewise.
379         * record.h (struct inferior): Forward-declare.
380         (record_detach): Add inferior parameter.
381         * remote-sim.c (gdbsim_detach): Likewise.
382         * remote.c (remote_detach_1): Likewise.
383         (remote_detach): Likewise.
384         (extended_remote_detach): Likewise.
385         * sol-thread.c (sol_thread_detach): Likewise.
386         * target-debug.h (target_debug_print_inferior_p): New macro.
387         * target-delegates.c: Re-generate.
388         * top.c (kill_or_detach): Pass inferior down to target_detach.
389         * windows-nat.c (windows_detach): Add inferior parameter.
390
391 2018-01-19  Simon Marchi  <simon.marchi@ericsson.com>
392
393         * target.h (struct target_ops) <to_detach>: Remove args
394         parameter.
395         (target_detach): Likewise.
396         * target.c (dispose_inferior): Adjust.
397         (target_detach): Remove args parameter, adjust.
398         * aix-thread.c (aix_thread_detach): Adjust.
399         * corefile.c (core_file_command): Adjust.
400         * corelow.c (core_detach): Adjust.
401         * darwin-nat.c (darwin_detach): Adjust.
402         * gnu-nat.c (gnu_detach): Adjust.
403         * inf-ptrace.c (inf_ptrace_detach): Adjust.
404         * infcmd.c (detach_command): Adjust
405         * infrun.c (follow_fork_inferior): Adjust.
406         (handle_vfork_child_exec_or_exit): Adjust.
407         * linux-fork.c (linux_fork_detach): Remove args parameter.
408         * linux-fork.h (linux_fork_detach): Likewise.
409         * linux-nat.c (linux_nat_detach): Likewise, and adjust.
410         * linux-thread-db.c (thread_db_detach): Likewise.
411         * nto-procfs.c (procfs_detach): Likewise.
412         * procfs.c (procfs_detach): Likewise.
413         (do_detach): Remove signo parameter.
414         * record.c (record_detach): Remove args parameter.
415         * record.h (record_detach): Likewise.
416         * remote-sim.c (gdbsim_detach): Likewise.
417         * remote.c (remote_detach_1): Likewise.
418         (remote_detach): Likewise.
419         (extended_remote_detach): Likewise.
420         * sol-thread.c (sol_thread_detach): Likewise.
421         * target-delegates.c: Re-generate.
422         * top.c (struct qt_args) <args>: Remove field.
423         (kill_or_detach): Don't pass args.
424         (quit_force): Don't set args.
425         * windows-nat.c (windows_detach): Remove args parameter.
426
427 2018-01-19  Yao Qi  <yao.qi@linaro.org>
428
429         * arm-linux-tdep.c (arm_linux_gcc_target_options): New function.
430         (arm_linux_init_abi): Install it.
431
432 2018-01-19  Yao Qi  <yao.qi@linaro.org>
433
434         * osabi.c (gdb_osabi_names): Extend the regexp for
435         arm-linux-gnueabihf.
436
437 2018-01-18  Yao Qi  <yao.qi@linaro.org>
438
439         * dwarf2read.c (abbrev_table) <abbrevs>: Rename it to
440         m_abbrevs.
441         (abbrev_table::add_abbrev): Update.
442         (abbrev_table::lookup_abbrev): Update.
443
444 2018-01-18  Yao Qi  <yao.qi@linaro.org>
445
446         * ppc-linux-tdep.c (ppu2spu_prev_register): Call cooked_read.
447
448 2018-01-17  Sergio Durigan Junior  <sergiodj@redhat.com>
449
450         * compile/compile.c (compile_to_object): Convert "triplet_rx"
451         to "std::string".
452
453 2018-01-17  Tom Tromey  <tom@tromey.com>
454
455         * dwarf2read.c (symbolp): Remove typedef.  Don't instantiate VEC.
456
457 2018-01-17  Tom Tromey  <tom@tromey.com>
458
459         * gdbtypes.h (add_dyn_prop): Remove objfile parameter.
460         * gdbtypes.c (add_dyn_prop): Remove objfile parameter.
461         (create_array_type_with_stride): Update.
462         * dwarf2read.c (set_die_type): Update.
463
464 2018-01-17  Tom Tromey  <tom@tromey.com>
465
466         * dwarf2read.c (delayed_method_info): Remove typedef.
467         (dwarf2_cu::method_info): Now a std::vector.
468         (add_to_method_list): Update.
469         (free_delayed_list): Remove.
470         (compute_delayed_physnames): Update.
471         (process_full_comp_unit, process_full_type_unit): Clear the method
472         list.  Remove cleanups.
473         (psymtab_include_file_name): Add name_holder parameter.  Use
474         unique_xmalloc_ptr.
475         (dwarf_decode_lines): Update.
476
477 2018-01-17  Tom Tromey  <tom@tromey.com>
478             Simon Marchi  <simon.marchi@ericsson.com>
479
480         * dwarf2read.c (struct dwarf2_cu): Add constructor, destructor.
481         (dwarf2_per_objfile::free_cached_comp_units)
482         (init_tu_and_read_dwo_dies, init_cutu_and_read_dies)
483         (init_cutu_and_read_dies_no_follow): Update.
484         (dwarf2_cu::dwarf2_cu): Rename from init_one_comp_unit.
485         (dwarf2_cu::~dwarf2_cu): New.
486         (free_heap_comp_unit, free_stack_comp_unit): Remove.
487         (age_cached_comp_units, free_one_cached_comp_unit): Update.
488
489 2018-01-17  Tom Tromey  <tom@tromey.com>
490             Simon Marchi  <simon.marchi@ericsson.com>
491
492         * dwarf2read.c (struct dwarf2_cu) <abbrev_table>: Remove.
493         (struct die_reader_specs) <abbrev_table>: New member.
494         (struct abbrev_table): Add constructor.
495         <alloc_abbrev, add_abbrev, lookup_abbrev>: Declare.
496         <abbrev_obstack>: Now an auto_obstack.
497         (abbrev_table_up): New typedef.
498         (init_cu_die_reader): Add abbrev_table parameter.
499         (read_cutu_die_from_dwo): Remove abbrev_table_provided parameter.
500         Add result_dwo_abbrev_table.
501         (init_tu_and_read_dwo_dies, init_cutu_and_read_dies)
502         (init_cutu_and_read_dies_no_follow, build_type_psymtabs_1):
503         Update.
504         (peek_die_abbrev): Take die_reader_specs, not dwarf_cu as
505         parameter.
506         (skip_children): Update.
507         (abbrev_table::alloc_abbrev): Rename from
508         abbrev_table_alloc_abbrev.
509         (abbrev_table::add_abbrev): Rename from abbrev_table_add_abbrev.
510         (abbrev_table::lookup_abbrev): Rename from
511         abbrev_table_lookup_abbrev.
512         (abbrev_table_read_table): Return abbrev_table_up.
513         (abbrev_table_free, abbrev_table_free_cleanup)
514         (dwarf2_read_abbrevs, dwarf2_free_abbrev_table): Remove.
515         (load_partial_dies): Update.
516
517 2018-01-17  Tom Tromey  <tom@tromey.com>
518
519         * dwarf2read.c (dwarf2_compute_name): Update comment.
520         (read_func_scope, read_variable): Update.
521         (new_symbol): Remove.
522         (new_symbol_full): Rename to new_symbol.
523
524 2018-01-17  Mike Gulick  <mgulick@mathworks.com>
525
526         PR gdb/16577
527         * gdb_bfd.c (gdb_bfd_map_section): If unable to read object file, issue
528         a warning instead of throwing an error, set section size to 0 and return
529         NULL.
530         * gdb_bfd.h (gdb_bfd_map_section): Update description.
531
532 2018-01-17  Simon Marchi  <simon.marchi@ericsson.com>
533
534         * nat/linux-ptrace.h (linux_ptrace_attach_fail_reason): Return
535         std::string.
536         (linux_ptrace_attach_fail_reason_string): Likewise.
537         * nat/linux-ptrace.c (linux_ptrace_attach_fail_reason):
538         Likewise.
539         (linux_ptrace_attach_fail_reason_string): Likewise.
540         * linux-nat.c (attach_proc_task_lwp_callback): Adjust.
541
542 2018-01-17  Simon Marchi  <simon.marchi@ericsson.com>
543
544         * linux-nat.c (linux_nat_attach): Remove xstrdup.
545
546 2018-01-17  Eldar Abusalimov  <eldar.abusalimov@jetbrains.com>
547
548         PR gdb/21559
549         * configure.ac: Include <sys/types.h> prior to <sys/user.h> when
550         checking for fs_base/gs_base fields in struct user_regs_struct.
551         * configure: Regenerate.
552
553 2018-01-17  Yao Qi  <yao.qi@linaro.org>
554
555         * aarch64-linux-tdep.c (aarch64_linux_gcc_target_options): New
556         function.
557         (aarch64_linux_init_abi): Install it to gdbarch hook
558         gcc_target_options.
559
560 2018-01-15  Pedro Alves  <palves@redhat.com>
561
562         * common/signals-state-save-restore.c
563         (save_original_signals_state): Fix typos.
564
565 2017-01-12  Tom Tromey  <tom@tromey.com>
566             Sergio Durigan Junior  <sergiodj@redhat.com>
567
568         * Makefile.in (install-only): Install gdb-add-index.
569
570 2018-01-12  John Baldwin  <jhb@FreeBSD.org>
571
572         * fbsd-tdep.c (KVE_PROTECTION): Correct value.
573
574 2018-01-12  Andreas Arnez  <arnez@linux.vnet.ibm.com>
575
576         * infrun.c (keep_going_pass_signal): Clear step-over info when
577         insert_breakpoints fails.
578
579 2018-01-11  Pedro Alves  <palves@redhat.com>
580
581         PR gdb/22583
582         * infrun.c (resume): Rename to ...
583         (resume_1): ... this.
584         (resume): Reimplement as wrapper around resume_1.
585
586 2018-01-11  Pedro Alves  <palves@redhat.com>
587
588         PR remote/22597
589         * remote.c (remote_parse_stop_reply): Default to the last-set
590         general thread instead of to 'magic_null_ptid'.
591
592 2018-01-10  Pedro Alves  <palves@redhat.com>
593
594         * language.h (language_get_symbol_name_matcher): Rename ...
595         (get_symbol_name_matcher): ... this.
596         * language.c (language_get_symbol_name_matcher): Ditto.
597         * dictionary.c, linespec.c, minsyms.c, psymtab.c, symtab.c: All
598         callers adjusted.
599
600 2018-01-10  Pedro Alves  <palves@redhat.com>
601
602         PR gdb/22670
603         * dwarf2read.c
604         (gdb_index_symbol_name_matcher::gdb_index_symbol_name_matcher):
605         Adjust to use language_get_symbol_name_matcher instead of
606         language_defn::la_get_symbol_name_matcher.
607         * language.c (language_get_symbol_name_matcher): If in Ada mode
608         and the lookup name is a verbatim match, return Ada's matcher.
609         * language.h (language_get_symbol_name_matcher): Adjust comment.
610         (ada_lookup_name_info::verbatim_p):: New method.
611
612 2018-01-10  Pedro Alves  <palves@redhat.com>
613
614         PR gdb/22670
615         * ada-lang.c (ada_collect_symbol_completion_matches): If the
616         minsym's language is language_auto or language_cplus, pass down
617         language_ada instead.
618         * symtab.c (compare_symbol_name): Don't frob symbol language here.
619
620 2018-01-10  Pedro Alves  <palves@redhat.com>
621
622         PR gdb/22670
623         * minsyms.c (linkage_name_str): New function.
624         (iterate_over_minimal_symbols): Use it.
625
626 2018-01-09  John Baldwin  <jhb@FreeBSD.org>
627
628         * NEWS: Document that 'info proc' now works on FreeBSD.
629
630 2018-01-09  John Baldwin  <jhb@FreeBSD.org>
631
632         * configure.ac: Check for kinfo_getfile in libutil.
633         * configure: Regenerate.
634         * config.in: Regenerate.
635         * fbsd-nat.c: Include "fbsd-tdep.h".
636         (fbsd_fetch_cmdline): New.
637         (fbsd_fetch_kinfo_proc): Move earlier and change to return a bool
638         rather than calling error.
639         (fbsd_info_proc): New.
640         (fbsd_thread_name): Report error if fbsd_fetch_kinfo_proc fails.
641         (fbsd_wait): Report warning if fbsd_fetch_kinfo_proc fails.
642         (fbsd_nat_add_target): Set "to_info_proc" to "fbsd_info_proc".
643
644 2018-01-09  John Baldwin  <jhb@FreeBSD.org>
645
646         * fbsd-nat.c (struct free_deleter): Remove.
647         (fbsd_find_memory_regions): Use gdb::unique_xmalloc_ptr<>.
648
649 2018-01-09  John Baldwin  <jhb@FreeBSD.org>
650
651         * fbsd-nat.c (fbsd_pid_to_exec_file) [KERN_PROC_PATHNAME]: Return
652         NULL for an empty pathname.
653
654 2018-01-09  John Baldwin  <jhb@FreeBSD.org>
655
656         * fbsd-tdep.c (KVE_STRUCTSIZE, KVE_START, KVE_END, KVE_OFFSET)
657         (KVE_FLAGS, KVE_PROTECTION, KVE_PATH, KINFO_VME_PROT_READ)
658         (KINFO_VME_PROT_WRITE, KINFO_VME_PROT_EXEC, KINFO_VME_FLAG_COW)
659         (KINFO_VME_FLAG_NEEDS_COPY, KINFO_VME_FLAG_NOCOREDUMP)
660         (KINFO_VME_FLAG_SUPER, KINFO_VME_FLAG_GROWS_UP)
661         (KINFO_VME_FLAG_GROWS_DOWN, KF_STRUCTSIZE, KF_TYPE, KF_FD)
662         (KF_PATH, KINFO_FILE_TYPE_VNODE, KINFO_FILE_FD_TYPE_CWD)
663         (KINFO_FILE_FD_TYPE_TEXT, SIG_WORDS, struct kinfo_proc_layout)
664         (kinfo_proc_layout_32, kinfo_proc_layout_i386)
665         (kinfo_proc_layout_64, fbsd_vm_map_entry_flags)
666         (fbsd_core_info_proc_mappings, fbsd_core_vnode_path)
667         (fbsd_core_fetch_timeval, fbsd_print_sigset)
668         (fbsd_core_info_proc_status, fbsd_core_info_proc): New.
669         (fbsd_init_abi):  Install gdbarch "core_info_proc" method.
670         * fbsd-tdep.h (fbsd_vm_map_entry_flags): New.
671
672 2018-01-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
673
674         * gdb/gnu-nat.c: Include <elf.h> and <link.h>.
675         (gnu_xfer_auxv): New function.
676         (gnu_xfer_partial): Call gnu_xfer_auxv when `object' is
677         TARGET_OBJECT_AUXV.
678
679 2018-01-08  Yao Qi  <yao.qi@linaro.org>
680             Simon Marchi  <simon.marchi@ericsson.com>
681
682         * Makefile.in (COMMON_SFILES): Remove selftest-arch.c and
683         common/selftest.c.
684         (COMMON_OBS): Remove selftest.o.
685         * configure.ac: Append selftest-arch.c and common/selftest.c to
686         CONFIG_SRCS.  Append selftest-arch.o and selftest.o to COMMON_OBS.
687         * configure: Re-generated.
688         * maint.c (maintenance_selftest): Wrap selftests::run_tests with
689         GDB_SELF_TEST.
690         (maintenance_info_selftests): Likewise.
691
692 2018-01-08  Xavier Roirand  <roirand@adacore.com>
693
694         * ada-valprint.c (val_print_packed_array_elements): Use
695         proper number of elements when printing an array indexed
696         by an enumeration type.
697
698 2018-01-07  Simon Marchi  <simon.marchi@polymtl.ca>
699
700         * dwarf2read.c (struct dwarf2_cu) <dwarf2_per_objfile>: Remove.
701         (dw2_get_file_names_reader): Adjust.
702         (lookup_dwo_signatured_type): Adjust.
703         (lookup_dwp_signatured_type): Adjust.
704         (lookup_signatured_type): Adjust.
705         (create_type_unit_group): Adjust.
706         (get_type_unit_group): Adjust.
707         (process_psymtab_comp_unit_reader): Adjust.
708         (build_type_psymtabs_reader): Adjust.
709         (scan_partial_symbols): Adjust.
710         (add_partial_symbol): Adjust.
711         (add_partial_subprogram): Adjust.
712         (peek_die_abbrev): Adjust.
713         (fixup_go_packaging): Adjust.
714         (process_imported_unit_die): Adjust.
715         (dwarf2_compute_name): Adjust.
716         (dwarf2_physname): Adjust.
717         (read_import_statement): Adjust.
718         (handle_DW_AT_stmt_list): Adjust.
719         (read_file_scope): Adjust.
720         (read_func_scope): Adjust.
721         (read_lexical_block_scope): Adjust.
722         (read_call_site_scope): Adjust.
723         (read_variable): Adjust.
724         (dwarf2_rnglists_process): Adjust.
725         (dwarf2_ranges_process): Adjust.
726         (dwarf2_ranges_read): Adjust.
727         (dwarf2_get_pc_bounds): Adjust.
728         (dwarf2_record_block_ranges): Adjust.
729         (dwarf2_add_field): Adjust.
730         (dwarf2_add_member_fn): Adjust.
731         (read_structure_type): Adjust.
732         (process_structure_scope): Adjust.
733         (read_enumeration_type): Adjust.
734         (read_array_type): Adjust.
735         (mark_common_block_symbol_computed): Adjust.
736         (read_common_block): Adjust.
737         (read_namespace_type): Adjust.
738         (read_namespace): Adjust.
739         (read_module_type): Adjust.
740         (read_tag_pointer_type): Adjust.
741         (read_tag_ptr_to_member_type): Adjust.
742         (read_tag_string_type): Adjust.
743         (read_subroutine_type): Adjust.
744         (read_typedef): Adjust.
745         (read_base_type): Adjust.
746         (attr_to_dynamic_prop): Adjust.
747         (read_subrange_type): Adjust.
748         (read_unspecified_type): Adjust.
749         (dwarf2_read_abbrevs): Adjust.
750         (load_partial_dies): Adjust.
751         (read_partial_die): Adjust.
752         (find_partial_die): Adjust.
753         (guess_partial_die_structure_name): Adjust.
754         (fixup_partial_die): Adjust.
755         (read_attribute_value): Adjust.
756         (read_addr_index): Adjust.
757         (read_addr_index_from_leb128): Adjust.
758         (read_str_index): Adjust.
759         (dwarf2_string_attr): Adjust.
760         (get_debug_line_section): Adjust.
761         (dwarf_decode_line_header): Adjust.
762         (lnp_state_machine::check_line_address): Adjust.
763         (dwarf_decode_lines_1): Adjust.
764         (dwarf_decode_lines): Adjust.
765         (dwarf2_start_symtab): Adjust.
766         (var_decode_location): Adjust.
767         (new_symbol_full): Adjust.
768         (dwarf2_const_value_data): Adjust.
769         (dwarf2_const_value_attr): Adjust.
770         (dwarf2_const_value): Adjust.
771         (die_type): Adjust.
772         (die_containing_type): Adjust.
773         (build_error_marker_type): Adjust.
774         (lookup_die_type): Adjust.
775         (guess_full_die_structure_name): Adjust.
776         (anonymous_struct_prefix): Adjust.
777         (determine_prefix): Adjust.
778         (dwarf2_name): Adjust.
779         (follow_die_ref_or_sig): Adjust.
780         (follow_die_offset): Adjust.
781         (follow_die_ref): Adjust.
782         (follow_die_sig_1): Adjust.
783         (follow_die_sig): Adjust.
784         (get_signatured_type): Adjust.
785         (get_DW_AT_signature_type): Adjust.
786         (decode_locdesc): Adjust.
787         (dwarf_decode_macros): Adjust.
788         (cu_debug_loc_section): Adjust.
789         (fill_in_loclist_baton): Adjust.
790         (dwarf2_symbol_mark_computed): Adjust.
791         (init_one_comp_unit): Don't assign
792         dwarf2_cu::dwarf2_per_objfile.
793         (set_die_type): Adjust.
794
795 2018-01-07  Simon Marchi  <simon.marchi@ericsson.com>
796
797         * dwarf2read.c (struct mapped_debug_names): Add constructor.
798         <dwarf2_per_objfile>: New field.
799         (dwarf2_per_objfile): Remove global.
800         (get_dwarf2_per_objfile): New function.
801         (set_dwarf2_per_objfile): New function.
802         (dwarf2_build_psymtabs_hard): Change objfile parameter to
803         dwarf2_per_objfile.
804         (abbrev_table_read_table): Add dwarf2_per_objfile parameter.
805         (read_abbrev_offset): Likewise.
806         (read_indirect_string): Likewise.
807         (read_indirect_line_string): Likewise.
808         (read_indirect_string_at_offset): Likewise.
809         (read_indirect_string_from_dwz): Likewise.
810         (dwarf2_find_containing_comp_unit): Change objfile parameter to
811         dwarf2_per_objfile.
812         (age_cached_comp_units): Add dwarf2_per_objfile parameter.
813         (create_all_comp_units): Change objfile parameter to
814         dwarf2_per_objfile.
815         (create_all_type_units): Likewise.
816         (process_queue): Add dwarf2_per_objfile parameter.
817         (read_and_check_comp_unit_head): Likewise.
818         (lookup_dwo_unit_in_dwp): Likewise.
819         (get_dwp_file): Likewise.
820         (process_cu_includes): Likewise.
821         (struct free_dwo_file_cleanup_data): New struct.
822         (dwarf2_has_info): Use get_dwarf2_per_objfile and
823         set_dwarf2_per_objfile.
824         (dwarf2_get_dwz_file): Add dwarf2_per_objfile parameter.
825         (dw2_do_instantiate_symtab): Get dwarf2_per_objfile from
826         context, adjust calls.
827         (dw2_instantiate_symtab): Likewise.
828         (dw2_get_cutu): Add dwarf2_per_objfile parameter.
829         (dw2_get_cu): Likewise.
830         (create_cu_from_index_list): Change objfile parameter to
831         dwarf2_per_objfile.
832         (create_cus_from_index_list): Get dwarf2_per_objfile from
833         context, adjust calls.
834         (create_cus_from_index): Likewise.
835         (create_signatured_type_table_from_index): Change objfile
836         parameter to dwarf2_per_objfile.
837         (create_signatured_type_table_from_debug_names): Change objfile
838         parameter to dwarf2_per_objfile.
839         (create_addrmap_from_index): Likewise.
840         (create_addrmap_from_aranges): Likewise.
841         (dwarf2_read_index): Use get_dwarf2_per_objfile, adjust calls.
842         (dw2_setup): Remove.
843         (dw2_get_file_names_reader): Get dwarf2_per_objfile from
844         context.
845         (dw2_find_last_source_symtab): Get dwarf2_per_objfile using
846         get_dwarf2_per_objfile.
847         (dw2_forget_cached_source_info): Likewise.
848         (dw2_map_symtabs_matching_filename): Likewise.
849         (struct dw2_symtab_iterator) <index>: Remove.
850         <dwarf2_per_objfile>: New field.
851         (dw2_symtab_iter_init): Replace index parameter with
852         dwarf2_per_objfile.
853         (dw2_symtab_iter_next): Use dwarf2_per_objfile from iter.
854         (dw2_lookup_symbol): Use get_dwarf2_per_objfile and adjust.
855         (dw2_print_stats): Likewise.
856         (dw2_dump): Likewise.
857         (dw2_expand_symtabs_for_function): Likewise.
858         (dw2_expand_all_symtabs): Likewise.
859         (dw2_expand_symtabs_with_fullname): Likewise.
860         (dw2_expand_marked_cus): Replace index and objfile parameters
861         with dwarf2_per_objfile.
862         (dw_expand_symtabs_matching_file_matcher): Add
863         dwarf2_per_objfile parameter and adjust calls.
864         (dw2_expand_symtabs_matching): Use get_dwarf2_per_objfile and
865         adjust calls.
866         (dw2_find_pc_sect_compunit_symtab): Don't call dw2_setup.
867         (dw2_map_symbol_filenames): Use get_dwarf2_per_objfile and
868         adjust calls.
869         (create_cus_from_debug_names_list): Replace objfile parameter
870         with dwarf2_per_objfile and adjust calls.
871         (create_cus_from_debug_names): Likewise.
872         (dwarf2_read_debug_names): Likewise.
873         (mapped_debug_names::namei_to_name): Adjust call.
874         (dw2_debug_names_iterator::next): Likewise.
875         (dw2_debug_names_iterator::find_vec_in_debug_names): Likewise.
876         (dw2_debug_names_lookup_symbol): Use get_dwarf2_per_objfile.
877         (dw2_debug_names_dump): Likewise.
878         (dw2_debug_names_expand_symtabs_for_function): Likewise.
879         (dw2_debug_names_expand_symtabs_matching): Likewise.
880         (dwarf2_initialize_objfile): Likewise.
881         (dwarf2_build_psymtabs): Likewise.
882         (get_abbrev_section_for_cu): Get dwarf2_per_objfile from
883         this_cu.
884         (error_check_comp_unit_head): Add dwarf2_per_objfile parameter.
885         (read_and_check_comp_unit_head): Likewise.
886         (read_abbrev_offset): Likewise.
887         (create_debug_type_hash_table): Likewise.
888         (create_debug_types_hash_table): Likewise.
889         (create_all_type_units): Replace objfile parameter with
890         dwarf2_per_objfile.
891         (add_type_unit): Add dwarf2_per_objfile parameter.
892         (fill_in_sig_entry_from_dwo_entry): Replace objfile parameter
893         with dwarf2_per_objfile.
894         (lookup_dwo_signatured_type): Get dwarf2_per_objfile from cu.
895         (lookup_dwp_signatured_type): Likewise.
896         (lookup_signatured_type): Likewise.
897         (read_cutu_die_from_dwo): Likewise.
898         (init_tu_and_read_dwo_dies): Likewise.
899         (init_cutu_and_read_dies): Likewise.
900         (init_cutu_and_read_dies_no_follow): Likewise.
901         (allocate_type_unit_groups_table): Add objfile parameter.
902         (create_type_unit_group): Use dwarf2_per_objfile from cu.
903         (get_type_unit_group): Likewise.
904         (process_psymtab_comp_unit): Update call.
905         (build_type_psymtabs_reader): Use dwarf2_per_objfile from cu.
906         (build_type_psymtabs_1): Add dwarf2_per_objfile parameter.
907         (print_tu_stats): Likewise.
908         (build_type_psymtab_dependencies): Use dwarf2_per_objfile passed
909         in void* parameter.
910         (build_type_psymtabs): Change objfile parameter to
911         dwarf2_per_objfile.
912         (process_skeletonless_type_unit): Use dwarf2_per_objfile
913         passed in void* parameter.
914         (process_skeletonless_type_units): Change objfile parameter to
915         dwarf2_per_objfile.
916         (set_partial_user): Likewise.
917         (dwarf2_build_psymtabs_hard): Likewise.
918         (read_comp_units_from_section): Likewise.
919         (create_all_comp_units): Likewise.
920         (scan_partial_symbols): Update calls.
921         (add_partial_symbol): Likewise.
922         (dwarf2_read_symtab): Use get_dwarf2_per_objfile.
923         (maybe_queue_comp_unit): Use dwarf2_read_symtab from cu.
924         (process_queue): Add dwarf2_per_objfile parameter.
925         (get_compunit_symtab): Use dwarf2_per_objfile from cu.
926         (compute_compunit_symtab_includes): Likewise.
927         (process_cu_includes): Add dwarf2_per_objfile parameter.
928         (process_full_comp_unit): Use dwarf2_per_objfile from cu.
929         (process_full_type_unit): Likewise.
930         (process_imported_unit_die): Update call.
931         (handle_DW_AT_stmt_list): Use dwarf2_per_objfile from cu.
932         (read_file_scope): Likewise.
933         (allocate_dwo_file_hash_table): Add objfile parameter.
934         (lookup_dwo_file_slot): Add dwarf2_per_objfile parameter.
935         (create_cus_hash_table): Likewise.
936         (create_dwp_hash_table): Likewise.
937         (create_dwo_unit_in_dwp_v1): Likewise.
938         (create_dwp_v2_section): Likewise.
939         (create_dwo_unit_in_dwp_v2): Likewise.
940         (lookup_dwo_unit_in_dwp): Likewise.
941         (try_open_dwop_file): Likewise.
942         (open_dwo_file): Likewise. Use dwarf2_per_objfile from cu.
943         (open_and_init_dwo_file): Use dwarf2_per_objfile from cu, update
944         cleanup to include a reference to dwarf2_per_objfile.
945         (open_dwp_file): Add dwarf2_per_objfile parameter.
946         (open_and_init_dwp_file): Likewise.
947         (get_dwp_file): Likewise.
948         (lookup_dwo_cutu): Use dwarf2_per_objfile from cu.
949         (queue_and_load_all_dwo_tus): Update call.
950         (free_dwo_file_cleanup): Use dwarf2_per_objfile from cleanup
951         data.
952         (dwarf2_rnglists_process): Use dwarf2_per_objfile from cu.
953         (dwarf2_ranges_process): Likewise.
954         (dwarf2_get_pc_bounds): Likewise.
955         (mark_common_block_symbol_computed): Likewise.
956         (abbrev_table_read_table): Add dwarf2_per_objfile parameter.
957         (dwarf2_read_abbrevs): Update call.
958         (read_partial_die): Use dwarf2_per_objfile from cu.
959         (find_partial_die): Likewise.
960         (fixup_partial_die): Likewise.
961         (read_attribute_value): Likewise.
962         (read_indirect_string_at_offset_from): Add objfile parameter.
963         (read_indirect_string_at_offset): Add dwarf2_per_objfile
964         parameter.
965         (read_indirect_string_from_dwz): Add objfile parameter.
966         (read_indirect_string): Add objfile parameter.
967         (read_addr_index_1): Add dwarf2_per_objfile parameter.
968         (read_addr_index): Use dwarf2_per_objfile from cu.
969         (dwarf2_read_addr_index): Use dwarf2_per_objfile from cu, don't
970         call dw2_setup.
971         (read_str_index): Use dwarf2_per_objfile from cu.
972         (get_debug_line_section): Likewise.
973         (read_formatted_entries): Add dwarf2_per_objfile parameter.
974         (dwarf_decode_line_header): Use dwarf2_per_objfile from cu.
975         (new_symbol_full): Use dwarf2_per_objfile from cu.
976         (build_error_marker_type): Likewise.
977         (lookup_die_type): Likewise.
978         (determine_prefix): Likewise.
979         (follow_die_offset): Likewise.
980         (dwarf2_fetch_die_loc_sect_off): Use get_dwarf2_per_objfile.
981         (dwarf2_fetch_constant_bytes): Don't call dw2_setup.
982         (dwarf2_fetch_die_type_sect_off): Likewise.
983         (dwarf2_get_die_type): Likewise.
984         (follow_die_sig_1): Use dwarf2_per_objfile from cu.
985         (get_signatured_type): Likewise.
986         (get_DW_AT_signature_type): Likewise.
987         (dwarf_decode_macro_bytes): Add dwarf2_per_objfile parameter.
988         (dwarf_decode_macros): Use dwarf2_per_objfile from cu.
989         (cu_debug_loc_section): Likewise.
990         (fill_in_loclist_baton): Likewise.
991         (dwarf2_symbol_mark_computed): Likewise.
992         (dwarf2_find_containing_comp_unit): Change objfile parameter to
993         dwarf2_per_objfile.
994         (free_cached_comp_units): Use dwarf2_per_objfile passed in void*
995         parameter.
996         (age_cached_comp_units): Add dwarf2_per_objfile parameter.
997         (free_one_cached_comp_unit): Use dwarf2_per_objfile from cu.
998         (dwarf2_free_objfile): Use get_dwarf2_per_objfile.
999         (set_die_type): Use dwarf2_free_objfile from cu.
1000         (get_die_type_at_offset): Likewise.
1001         (dwarf2_per_objfile_free): Don't assign global variable.
1002         (debug_names) <constructor>: Add dwarf2_per_objfile
1003         parameter, update m_debugstrlookup construction.
1004         (debug_names::debug_str_lookup): Add dwarf2_per_objfile
1005         parameter.
1006         <m_dwarf2_per_objfile>: New field.
1007         <lookup>: Use m_dwarf2_per_objfile.
1008         (check_dwarf64_offsets): Add dwarf2_per_objfile parameter.
1009         (psyms_seen_size): Likewise.
1010         (write_gdbindex): Replace objfile parameter with
1011         dwarf2_per_objfile.
1012         (write_debug_names): Likewise.
1013         (write_psymtabs_to_index): Likewise.
1014         (save_gdb_index_command): Use get_dwarf2_per_objfile, update
1015         calls.
1016
1017 2018-01-07  Simon Marchi  <simon.marchi@ericsson.com>
1018
1019         * dwarf2read.c (struct dwarf2_cu) <objfile>: Remove.
1020         <dwarf2_per_objfile>: New field.
1021         (struct dwarf2_per_cu_data) <objfile>: Remove.
1022         <dwarf2_per_objfile>: New field.
1023         (create_cu_from_index_list): Assign dwarf2_per_objfile instead
1024         of objfile.
1025         (create_signatured_type_table_from_index): Likewise.
1026         (create_debug_type_hash_table): Likewise.
1027         (fill_in_sig_entry_from_dwo_entry): Likewise.
1028         (lookup_dwo_unit): Access objfile through dwarf2_per_objfile.
1029         (create_type_unit_group): Assign dwarf2_per_objfile instead of
1030         objfile.
1031         (create_partial_symtab): Access objfile through
1032         dwarf2_per_objfile.
1033         (process_psymtab_comp_unit_reader): Likewise.
1034         (read_comp_units_from_section): Likewise.
1035         (scan_partial_symbols): Likewise.
1036         (add_partial_symbol): Likewise.
1037         (add_partial_subprogram): Likewise.
1038         (peek_die_abbrev): Likewise.
1039         (fixup_go_packaging): Likewise.
1040         (process_full_comp_unit): Likewise.
1041         (process_full_type_unit): Likewise.
1042         (process_imported_unit_die): Likewise.
1043         (dwarf2_compute_name): Likewise.
1044         (dwarf2_physname): Likewise.
1045         (read_import_statement): Likewise.
1046         (create_cus_hash_table): Assign dwarf2_physname instead of
1047         objfile.
1048         (read_func_scope): Access objfile through dwarf2_per_objfile.
1049         (read_lexical_block_scope): Likewise.
1050         (read_call_site_scope): Likewise.
1051         (read_variable): Likewise.
1052         (dwarf2_rnglists_process): Likewise.
1053         (dwarf2_ranges_process): Likewise.
1054         (dwarf2_ranges_read): Likewise.
1055         (dwarf2_record_block_ranges): Likewise.
1056         (dwarf2_add_field): Likewise.
1057         (dwarf2_add_member_fn): Likewise.
1058         (read_structure_type): Likewise.
1059         (process_structure_scope): Likewise.
1060         (read_enumeration_type): Likewise.
1061         (read_array_type): Likewise.
1062         (read_common_block): Likewise.
1063         (read_namespace_type): Likewise.
1064         (read_namespace): Likewise.
1065         (read_module_type): Likewise.
1066         (read_tag_pointer_type): Likewise.
1067         (read_tag_ptr_to_member_type): Likewise.
1068         (read_tag_string_type): Likewise.
1069         (read_subroutine_type): Likewise.
1070         (read_typedef): Likewise.
1071         (read_base_type): Likewise.
1072         (attr_to_dynamic_prop): Likewise.
1073         (read_subrange_type): Likewise.
1074         (read_unspecified_type): Likewise.
1075         (load_partial_dies): Likewise.
1076         (read_partial_die): Likewise.
1077         (find_partial_die): Likewise.
1078         (guess_partial_die_structure_name): Likewise.
1079         (fixup_partial_die): Likewise.
1080         (read_attribute_value): Likewise.
1081         (read_addr_index_from_leb128): Likewise.
1082         (dwarf2_read_addr_index): Likewise.
1083         (dwarf2_string_attr): Likewise.
1084         (lnp_state_machine::check_line_address): Likewise.
1085         (dwarf_decode_lines_1): Likewise.
1086         (dwarf_decode_lines): Likewise.
1087         (dwarf2_start_symtab): Likewise.
1088         (var_decode_location): Likewise.
1089         (new_symbol_full): Likewise.
1090         (dwarf2_const_value_data): Likewise.
1091         (dwarf2_const_value_attr): Likewise.
1092         (dwarf2_const_value): Likewise.
1093         (die_type): Likewise.
1094         (die_containing_type): Likewise.
1095         (lookup_die_type): Likewise.
1096         (guess_full_die_structure_name): Likewise.
1097         (anonymous_struct_prefix): Likewise.
1098         (dwarf2_name): Likewise.
1099         (follow_die_ref_or_sig): Likewise.
1100         (follow_die_offset): Likewise.
1101         (follow_die_ref): Likewise.
1102         (dwarf2_fetch_die_loc_sect_off): Likewise.
1103         (dwarf2_fetch_constant_bytes): Likewise.
1104         (dwarf2_fetch_die_type_sect_off): Likewise.
1105         (dwarf2_get_die_type): Likewise.
1106         (follow_die_sig): Likewise.
1107         (decode_locdesc): Likewise.
1108         (dwarf2_per_cu_objfile): Likewise.
1109         (dwarf2_per_cu_text_offset): Likewise.
1110         (init_one_comp_unit): Assign dwarf2_per_objfile instead of
1111         objfile.
1112         (set_die_type): Access objfile through
1113         dwarf2_per_objfile.
1114
1115 2018-01-07  Simon Marchi  <simon.marchi@ericsson.com>
1116
1117         * valprint.c (converted_character_d): Remove typedef.
1118         (DEF_VEC_O (converted_character_d)): Remove.
1119         (count_next_character): Use std::vector.
1120         (print_converted_chars_to_obstack): Likewise.
1121         (generic_printstr): Likewise.
1122
1123 2018-01-07  Simon Marchi  <simon.marchi@polymtl.ca>
1124
1125         * xml-support.h (struct gdb_xml_value): Add constructor.
1126         <value>: Change type to unique_xmalloc_ptr.
1127         (gdb_xml_value_s): Remove typedef.
1128         (DEF_VEC_O (gdb_xml_value_s)): Remove.
1129         (gdb_xml_element_start_handler): Change parameter type to
1130         std::vector.
1131         (xml_find_attribute): Likewise.
1132         * xml-support.c (xml_find_attribute): Change parameter type to
1133         std::vector and adjust.
1134         (gdb_xml_values_cleanup): Remove.
1135         (gdb_xml_parser::start_element): Adjust to std::vector.
1136         (xinclude_start_include): Change paraeter type to std::vector
1137         and adjust.
1138         * btrace.c (check_xml_btrace_version): Likewise.
1139         (parse_xml_btrace_block): Likewise.
1140         (parse_xml_btrace_pt_config_cpu): Likewise.
1141         (parse_xml_btrace_pt): Likewise.
1142         (parse_xml_btrace_conf_bts): Likewise.
1143         (parse_xml_btrace_conf_pt): Likewise.
1144         * memory-map.c (memory_map_start_memory): Likewise.
1145         (memory_map_start_property): Likewise.
1146         * osdata.c (osdata_start_osdata): Likewise.
1147         (osdata_start_item): Likewise.
1148         (osdata_start_column): Likewise.
1149         * remote.c (start_thread): Likewise.
1150         * solib-aix.c (library_list_start_library): Likewise.
1151         (library_list_start_list): Likewise.
1152         * solib-svr4.c (library_list_start_library): Likewise.
1153         (svr4_library_list_start_list): Likewise.
1154         * solib-target.c (library_list_start_segment): Likewise.
1155         (library_list_start_section): Likewise.
1156         (library_list_start_library): Likewise.
1157         (library_list_start_list): Likewise.
1158         * tracepoint.c (traceframe_info_start_memory): Likewise.
1159         (traceframe_info_start_tvar): Likewise.
1160         * xml-syscall.c (syscall_start_syscall): Likewise.
1161         * xml-tdesc.c (tdesc_start_target): Likewise.
1162         (tdesc_start_feature): Likewise.
1163         (tdesc_start_reg): Likewise.
1164         (tdesc_start_union): Likewise.
1165         (tdesc_start_struct): Likewise.
1166         (tdesc_start_flags): Likewise.
1167         (tdesc_start_enum): Likewise.
1168         (tdesc_start_field): Likewise.
1169         (tdesc_start_enum_value): Likewise.
1170         (tdesc_start_vector): Likewise.
1171
1172 2018-01-07  Simon Marchi  <simon.marchi@polymtl.ca>
1173
1174         * extension.h (struct xmethod_worker) <clone>: Remove.
1175         * python/py-xmethods.c (struct python_xmethod_worker) <clone>:
1176         Remove.
1177         (python_xmethod_worker::clone): Remove.
1178         * valops.c (find_overload_match): Use std::move instead of
1179         clone.
1180
1181 2018-01-07  Simon Marchi  <simon.marchi@polymtl.ca>
1182
1183         * extension-priv.h (enum ext_lang_rc): Remove, move to extension.h.
1184         (struct extension_language_ops) <clone_xmethod_worker_data>: Remove.
1185         <free_xmethod_worker_data>: Remove.
1186         <get_matching_xmethod_workers>: Chance VEC to std::vector.
1187         <get_xmethod_arg_types>: Remove.
1188         <get_xmethod_result_type>: Remove.
1189         <invoke_xmethod>: Remove.
1190         * extension.c (new_xmethod_worker): Remove.
1191         (clone_xmethod_worker): Remove.
1192         (get_matching_xmethod_workers): Return void, pass std::vector by
1193         pointer.
1194         (get_xmethod_arg_types): Rename to...
1195         (xmethod_worker::get_arg_types): ... this, and adjust.
1196         (get_xmethod_result_type): Rename to...
1197         (xmethod_worker::get_result_type): ... this, and adjust.
1198         (invoke_xmethod): Remove.
1199         (free_xmethod_worker): Remove.
1200         (free_xmethod_worker_vec): Remove.
1201         * extension.h (enum ext_lang_rc): Move here from
1202         extension-priv.h.
1203         (struct xmethod_worker): Add constructor and destructor.
1204         <data>: Remove.
1205         <value>: Remove.
1206         <invoke, clone, do_get_result_type, do_get_arg_types>: New
1207         virtual pure methods.
1208         <get_arg_types, get_result_type>: New methods.
1209         (xmethod_worker_ptr): Remove typedef.
1210         (DEF_VEC_P (xmethod_worker_ptr)): Remove.
1211         (xmethod_worker_vec): Remove typedef.
1212         (xmethod_worker_up): New typedef.
1213         (invoke_xmethod): Remove.
1214         (clone_xmethod_worker): Remove.
1215         (free_xmethod_worker): Remove.
1216         (free_xmethod_worker_vec): Remove.
1217         (get_xmethod_arg_types): Remove.
1218         (get_xmethod_result_type): Remove.
1219         * valops.c (find_method_list): Use std::vector, don't use
1220         intermediate vector.
1221         (value_find_oload_method_list): Use std::vector.
1222         (find_overload_match): Use std::vector.
1223         (find_oload_champ): Use std::vector.
1224         * value.c (value_free): Use operator delete.
1225         (value_of_xmethod): Rename to...
1226         (value_from_xmethod): ... this.  Don't assign
1227         xmethod_worker::value, take rvalue-reference.
1228         (result_type_of_xmethod): Adjust.
1229         (call_xmethod): Adjust.
1230         * value.h: Include extension.h.
1231         (struct xmethod_worker): Don't forward-declare.
1232         (value_of_xmethod): Rename to...
1233         (value_from_xmethod): ... this, take rvalue-reference.
1234         * python/py-xmethods.c (struct gdbpy_worker_data): Rename to...
1235         (struct python_xmethod_worker): ... this, add constructor and
1236         destructor.
1237         <invoke, clone, do_get_arg_types, do_get_result_type>: Implement.
1238         (gdbpy_free_xmethod_worker_data): Rename to...
1239         (python_xmethod_worker::~python_xmethod_worker): ... this and
1240         adjust.
1241         (gdbpy_clone_xmethod_worker_data): Rename to...
1242         (python_xmethod_worker::clone): ... this and adjust.
1243         (gdbpy_get_matching_xmethod_workers): Use std::vector, don't use
1244         temporary vector.
1245         (gdbpy_get_xmethod_arg_types): Rename to...
1246         (python_xmethod_worker::do_get_arg_types): ... this and adjust.
1247         (gdbpy_get_xmethod_result_type): Rename to...
1248         (python_xmethod_worker::do_get_result_type): ... this and
1249         adjust.
1250         (gdbpy_invoke_xmethod): Rename to...
1251         (python_xmethod_worker::invoke): ... this and adjust.
1252         (new_python_xmethod_worker): Rename to...
1253         (python_xmethod_worker::python_xmethod_worker): ... this and
1254         adjust.
1255         * python/python-internal.h (gdbpy_clone_xmethod_worker_data):
1256         Remove.
1257         (gdbpy_free_xmethod_worker_data): Remove.
1258         (gdbpy_get_matching_xmethod_workers): Use std::vector.
1259         (gdbpy_get_xmethod_arg_types): Remove.
1260         (gdbpy_get_xmethod_result_type): Remove.
1261         (gdbpy_invoke_xmethod): Remove.
1262         * python/python.c (python_extension_ops): Remove obsolete
1263         callbacks.
1264
1265 2018-01-05  Pedro Alves  <palves@redhat.com>
1266
1267         PR gdb/18653
1268         * common/signals-state-save-restore.c
1269         (save_original_signals_state): New parameter 'quiet'.  Warn if we
1270         find a custom handler preinstalled, instead of internal erroring.
1271         But only warn if !quiet.
1272         * common/signals-state-save-restore.h
1273         (save_original_signals_state): New parameter 'quiet'.
1274         * main.c (captured_main_1): Move save_original_signals_state call
1275         after option handling, and pass QUIET.
1276
1277 2018-01-05  Pedro Alves  <palves@redhat.com>
1278
1279         * spu-tdep.c (spu_catch_start): Pass
1280         symbol_name_match_type::SEARCH_NAME to block_lookup_symbol.
1281
1282 2018-01-05  Pedro Alves  <palves@redhat.com>
1283
1284         PR gdb/22670
1285         * ada-lang.c (literal_symbol_name_matcher): New function.
1286         (ada_get_symbol_name_matcher): Use it for
1287         symbol_name_match_type::SEARCH_NAME.
1288         * block.c (block_lookup_symbol): New parameter 'match_type'.  Pass
1289         it down instead of assuming symbol_name_match_type::FULL.
1290         * block.h (block_lookup_symbol): New parameter 'match_type'.
1291         * c-valprint.c (print_unpacked_pointer): Use
1292         lookup_symbol_search_name instead of lookup_symbol.
1293         * compile/compile-object-load.c (get_out_value_type): Pass down
1294         symbol_name_match_type::SEARCH_NAME.
1295         * cp-namespace.c (cp_basic_lookup_symbol): Pass down
1296         symbol_name_match_type::FULL.
1297         * cp-support.c (cp_get_symbol_name_matcher): Handle
1298         symbol_name_match_type::SEARCH_NAME.
1299         * infrun.c (insert_exception_resume_breakpoint): Use
1300         lookup_symbol_search_name.
1301         * p-valprint.c (pascal_val_print): Use lookup_symbol_search_name.
1302         * psymtab.c (maintenance_check_psymtabs): Use
1303         symbol_name_match_type::SEARCH_NAME and SYMBOL_SEARCH_NAME.
1304         * stack.c (print_frame_args): Use lookup_symbol_search_name and
1305         SYMBOL_SEARCH_NAME.
1306         * symtab.c (lookup_local_symbol): Don't demangle the lookup name
1307         if symbol_name_match_type::SEARCH_NAME.
1308         (lookup_symbol_in_language): Pass down
1309         symbol_name_match_type::FULL.
1310         (lookup_symbol_search_name): New.
1311         (lookup_language_this): Pass down
1312         symbol_name_match_type::SEARCH_NAME.
1313         (lookup_symbol_aux, lookup_local_symbol): New parameter
1314         'match_type'.  Pass it down.
1315         * symtab.h (symbol_name_match_type::SEARCH_NAME): New enumerator.
1316         (lookup_symbol_search_name): New declaration.
1317         (lookup_symbol_in_block): New 'match_type' parameter.
1318
1319 2018-01-05  Pedro Alves  <palves@redhat.com>
1320
1321         PR gdb/22670
1322         * ada-lang.c (ada_lookup_encoded_symbol): Reimplement in terms of
1323         ada_lookup_symbol.
1324         (ada_lookup_symbol): Reimplement in terms of
1325         ada_lookup_symbol_list, bits factored out from
1326         ada_lookup_encoded_symbol.
1327
1328 2018-01-05  Joel Brobecker  <brobecker@adacore.com>
1329
1330         * ada-exp.y (write_object_renaming): When subscripting an array
1331         using a symbol as the index, pass the block in call to
1332         ada_lookup_encoded_symbol when looking that symbol up.
1333
1334 2018-01-05  Jerome Guitton  <guitton@adacore.com>
1335
1336         * ada-lang.c (ada_array_length): Use ada_index_type instead of
1337         TYPE_INDEX_TYPE.
1338
1339 2018-01-05  Joel Brobecker  <brobecker@adacore.com>
1340
1341         * ada-lang.c (ada_to_fixed_value_create): Add handling of
1342         the case where VALUE_LVAL (val0) is not lval_memory.
1343
1344 2018-01-05  Xavier Roirand  <roirand@adacore.com>
1345
1346         * ada-valprint.c (print_optional_low_bound): Handle
1347         character-indexed array printing like boolean-indexed array
1348         printing.
1349
1350 2018-01-05  Joel Brobecker  <brobecker@adacore.com>
1351
1352         * NEWS: Create a new section for the next release branch.
1353         Rename the section of the current branch, now that it has
1354         been cut.
1355
1356 2018-01-05  Joel Brobecker  <brobecker@adacore.com>
1357
1358         GDB 8.1 branch created (5219ac6237c272b938c28517bf371429260c71e7):
1359         * version.in: Bump version to 8.1.50.DATE-git.
1360
1361 2018-01-03  Xavier Roirand  <roirand@adacore.com>
1362
1363         * ada-lang.h (ada_exception_catchpoint_kind) <ada_catch_handlers>:
1364         Add field.
1365         * ada-lang.c (struct exception_support_info) <catch_handlers_sym>:
1366         Add field.
1367         (default_exception_support_info) <catch_handlers_sym>: Add field.
1368         (exception_support_info_fallback) <catch_handlers_sym>: Add field.
1369         (ada_exception_name_addr_1): Add "catch handlers" handling.
1370         (ada_exception_catchpoint_cond_string) <ex>: New parameter.
1371         Update all callers.
1372         (create_excep_cond_exprs) <ex>: Add parameter.
1373         (re_set_exception): Update create_excep_cond_exprs call.
1374         (print_it_exception, print_one_exception, print_mention_exception)
1375         (print_recreate_exception): Add "catch handler" handling.
1376         (allocate_location_catch_handlers, re_set_catch_handlers)
1377         (check_status_catch_handlers, print_it_catch_handlers)
1378         (print_one_catch_handlers, print_mention_catch_handlers)
1379         (print_recreate_catch_handlers): New function.
1380         (catch_handlers_breakpoint_ops): New variable.
1381         (catch_ada_exception_command_split) <is_catch_handlers_cmd>:
1382         Add parameter.  Add "catch handler" handling.
1383         (ada_exception_sym_name, ada_exception_breakpoint_ops):
1384         Add "catch handler" handling.
1385         (ada_exception_catchpoint_cond_string): Add "catch handler"
1386         handling.
1387         (create_ada_exception_catchpoint): Update create_excep_cond_exprs
1388         call.
1389         (catch_ada_handlers_command): New function.
1390         (initialize_ada_catchpoint_ops): Initialize "catch handlers"
1391         operations structure.
1392         (_initialize_ada_language): Add "catch handlers" command entry.
1393         * NEWS: Document "catch handlers" feature.
1394
1395 2018-01-02  Joel Brobecker  <brobecker@adacore.com>
1396
1397         * ada-lang.c (ada_value_slice_from_ptr): Take array stride into
1398         account when creating the array type of the slice.
1399         (ada_value_slice): Likewise.
1400
1401 2018-01-02  Joel Brobecker  <brobecker@adacore.com>
1402
1403         * gdbtypes.h (enum dynamic_prop_node_kind) <DYN_PROP_BYTE_STRIDE>:
1404         New enum value.
1405         (create_array_type_with_stride): Add byte_stride_prop parameter.
1406         * gdbtypes.c (create_array_type_with_stride) <byte_stride_prop>:
1407         New parameter.  Update all callers in this file.
1408         (array_type_has_dynamic_stride): New function.
1409         (is_dynamic_type_internal, resolve_dynamic_array): Add handling
1410         of arrays with dynamic byte strides.
1411         * dwarf2read.c (read_array_type): Add support for dynamic
1412         DW_AT_byte_stride attributes.
1413
1414 2018-01-02  Joel Brobecker  <brobecker@adacore.com>
1415
1416         * dwarf2read.c (read_unspecified_type): Treat
1417         DW_TAG_enumeration_type DIEs from Ada units as stubs.
1418
1419 2018-01-01  Joel Brobecker  <brobecker@adacore.com>
1420
1421         Update copyright year range in all GDB files.
1422
1423 2018-01-01  Joel Brobecker  <brobecker@adacore.com>
1424
1425         * copyright.py (BY_HAND): Remove gdb/testsuite/gdb.base/step-line.inp
1426         and gdb/testsuite/gdb.base/step-line.c.
1427
1428 2018-01-01  Joel Brobecker  <brobecker@adacore.com>
1429
1430         * copyright.py (main): Dump the contents of
1431         MULTIPLE_COPYRIGHT_HEADERS (separately) from BY_HAND,
1432         even if BY_HAND is empty.
1433
1434 2018-01-01  Joel Brobecker  <brobecker@adacore.com>
1435
1436         * top.c (print_gdb_version): Update Copyright year in version
1437         message.
1438
1439 2018-01-01  Joel Brobecker  <brobecker@adacore.com>
1440
1441         * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2017.
1442
1443 For older changes see ChangeLog-2017.
1444 \f
1445 Local Variables:
1446 mode: change-log
1447 left-margin: 8
1448 fill-column: 74
1449 version-control: never
1450 coding: utf-8
1451 End: