Workaround a FreeBSD ptrace() bug with clearing thread events.
[deliverable/binutils-gdb.git] / gdb / ChangeLog
1 2018-02-28 John Baldwin <jhb@FreeBSD.org>
2
3 * fbsd-nat.c (fbsd_resume): Use PT_SETSTEP for stepping and a
4 wildcard process pid for super_resume for kernels with a
5 specific bug.
6
7 2018-02-27 Phil Muldoon <pmuldoon@redhat.com>
8
9 * compile/compile.c (get_args): Add additional comments
10 explaining function.
11
12 2018-02-27 Simon Marchi <simon.marchi@polymtl.ca>
13 Tom Tromey <tom@tromey.com>
14
15 * target.h (memory_write_request_s): Remove typedef. Don't define
16 VEC.
17 (target_write_memory_blocks): Change argument to std::vector.
18 (struct memory_write_request): Add constructor.
19 * target-memory.c (compare_block_starting_address): Return bool.
20 Change argument types.
21 (claim_memory): Change arguments to use std::vector.
22 (split_regular_and_flash_blocks, blocks_to_erase)
23 (compute_garbled_blocks): Likewise.
24 (cleanup_request_data, cleanup_write_requests_vector): Remove.
25 (target_write_memory_blocks): Change argument to std::vector.
26 * symfile.c (struct load_section_data): Add constructor and
27 destructor. Use std::vector for "requests".
28 (struct load_progress_data): Add initializers.
29 (load_section_callback): Update. Use "new".
30 (clear_memory_write_data): Remove.
31 (generic_load): Update.
32
33 2018-02-27 Alan Hayward <alan.hayward@arm.com>
34
35 * arch/aarch64.h: Use common/tdesc.h.
36
37 2018-02-26 Maciej W. Rozycki <macro@mips.com>
38
39 * mips-tdep.c (mips_gdbarch_init): Don't use a 32-bit BFD
40 architecture with a 64-bit ABI.
41
42 2018-02-26 Maciej W. Rozycki <macro@mips.com>
43
44 * gdb/mips-tdep.c (mips_gdbarch_init): Reorder ABI determination
45 ahead of target description loading.
46
47 2018-02-26 Tom Tromey <tom@tromey.com>
48
49 * stack.c (backtrace_command_1): Update.
50 * python/python-internal.h (gdbpy_apply_frame_filter): Change type
51 of "flags".
52 * python/py-framefilter.c (py_print_frame)
53 (gdbpy_apply_frame_filter): Change type of "flags".
54 * mi/mi-cmd-stack.c (mi_apply_ext_lang_frame_filter): Change type
55 of "flags".
56 (mi_cmd_stack_list_frames, mi_cmd_stack_list_locals)
57 (mi_cmd_stack_list_args, mi_cmd_stack_list_variables): Update.
58 * extension.h (enum frame_filter_flag): Rename from
59 frame_filter_flags.
60 (frame_filter_flags): Define using DEF_ENUM_FLAGS_TYPE.
61 (apply_ext_lang_frame_filter): Change type of "flags".
62 * extension.c (apply_ext_lang_frame_filter): Change type of
63 "flags".
64 * extension-priv.h (struct extension_language_ops)
65 <apply_frame_filter>: Change type of "flags".
66
67 2018-02-26 Tom Tromey <tom@tromey.com>
68
69 PR python/16497:
70 * stack.c (backtrace_command_1): Set PRINT_MORE_FRAMES flag. Fix
71 off-by-one in py_end computation.
72 * python/py-framefilter.c (gdbpy_apply_frame_filter): Handle
73 PRINT_MORE_FRAMES.
74 * extension.h (enum frame_filter_flags) <PRINT_MORE_FRAMES>: New
75 constant.
76
77 2018-02-26 Tom Tromey <tom@tromey.com>
78
79 * dwarf2read.c (struct variant_field): New.
80 (struct nextfield) <variant>: New field.
81 (dwarf2_add_field): Handle DW_TAG_variant_part.
82 (dwarf2_attach_fields_to_type): Attach a discriminant_info to a
83 discriminated union.
84 (read_structure_type): Handle DW_TAG_variant_part.
85 (handle_struct_member_die): New function, extracted from
86 process_structure_scope. Handle DW_TAG_variant.
87 (process_structure_scope): Handle discriminated unions. Call
88 handle_struct_member_die.
89
90 2018-02-26 Tom Tromey <tom@tromey.com>
91
92 * rust-lang.h (rust_last_path_segment): Declare.
93 * rust-lang.c (rust_last_path_segment): Now public. Change
94 contract.
95 (struct disr_info): Remove.
96 (RUST_ENUM_PREFIX, RUST_ENCODED_ENUM_REAL)
97 (RUST_ENCODED_ENUM_HIDDEN, rust_union_is_untagged)
98 (rust_get_disr_info, rust_tuple_variant_type_p): Remove.
99 (rust_enum_p, rust_enum_variant): New function.
100 (rust_underscore_fields): Remove "offset" parameter.
101 (rust_print_enum): New function.
102 (rust_val_print) <TYPE_CODE_UNION>: Remove enum code.
103 <TYPE_CODE_STRUCT>: Call rust_print_enum when appropriate.
104 (rust_print_struct_def): Add "for_rust_enum" parameter. Handle
105 enums.
106 (rust_internal_print_type): New function, from rust_print_type.
107 Remove enum code.
108 (rust_print_type): Call rust_internal_print_type.
109 (rust_evaluate_subexp) <STRUCTOP_ANONYMOUS, STRUCTOP_STRUCT>:
110 Update enum handling.
111 * dwarf2read.c (struct dwarf2_cu) <rust_unions>: New field.
112 (rust_fully_qualify, alloc_discriminant_info, quirk_rust_enum)
113 (rust_union_quirks): New functions.
114 (process_full_comp_unit, process_full_type_unit): Call
115 rust_union_quirks.
116 (process_structure_scope): Update rust_unions if necessary.
117
118 2018-02-26 Tom Tromey <tom@tromey.com>
119
120 * value.h (value_union_variant): Declare.
121 * valops.c (value_union_variant): New function.
122 * gdbtypes.h (TYPE_FLAG_DISCRIMINATED_UNION): New macro.
123 (struct discriminant_info): New.
124 (enum dynamic_prop_node_kind) <DYN_PROP_DISCRIMINATED>: New
125 enumerator.
126 (struct main_type) <flag_discriminated_union>: New field.
127
128 2018-02-26 Tom Tromey <tom@tromey.com>
129
130 * Makefile.in (SUBDIR_UNITTESTS_SRCS): Add
131 unittests/unpack-selftests.c.
132 * unittests/unpack-selftests.c: New file.
133 * value.c (unpack_bits_as_long): Fix bugs in non-bitfield cases.
134
135 2018-02-26 Yao Qi <yao.qi@linaro.org>
136
137 * dwarf2read.c (struct partial_die_info) <read>: New method.
138 (read_partial_die): Remove the declaration.
139 (load_partial_dies): Update.
140 (partial_die_info::partial_die_info):
141 (read_partial_die): Change it to partial_die_info::read.
142
143 2018-02-26 Yao Qi <yao.qi@linaro.org>
144
145 * dwarf2read.c (struct partial_die_info) <fixup>: New method.
146 (fixup_partial_die): Remove declaration.
147 (scan_partial_symbols): Update.
148 (partial_die_parent_scope): Likewise.
149 (partial_die_full_name): Likewise.
150 (fixup_partial_die): Change it to partial_die_info::fixup.
151
152 2018-02-26 Yao Qi <yao.qi@linaro.org>
153
154 * dwarf2read.c (read_partial_die): Update the declaration.
155 (load_partial_dies): Caller update.
156 (read_partial_die): Remove one argument abbrev_len.
157
158 2018-02-26 Yao Qi <yao.qi@linaro.org>
159
160 * dwarf2read.c (struct partial_die_info): Add ctor, delete
161 assignment operator.
162 (load_partial_dies): Use ctor and copy ctor.
163 (read_partial_die): Update.
164 (dwarf2_cu::find_partial_die): Use ctor.
165
166 2018-02-26 Yao Qi <yao.qi@linaro.org>
167
168 * dwarf2read.c (struct dwarf2_cu) <find_partial_die>: New method.
169 (find_partial_die_in_comp_unit): Change it to
170 dwarf2_cu::find_partial_die.
171 (find_partial_die): Update.
172
173 2018-02-26 Yao Qi <yao.qi@linaro.org>
174
175 * dwarf2read.c (read_partial_die): Remove the code checking abbrev
176 is NULL.
177
178 2018-02-26 Yao Qi <yao.qi@linaro.org>
179
180 * dwarf2read.c (load_partial_dies): Move the location of XOBNEW.
181
182 2018-02-26 Alan Hayward <alan.hayward@arm.com>
183
184 * arch/amd64.h: Use common/tdesc.h.
185 * arch/i386.c: Likewise.
186 * arch/i386.h: Likewise.
187 * arch/tic6x.c: Likewise.
188 * arch/tdesc.h: Move file from here...
189 * common/tdesc.h: ...to here.
190 * features/aarch64-core.c: Regenerate.
191 * features/aarch64-fpu.c: Regenerate.
192 * features/i386/32bit-avx.c: Regenerate.
193 * features/i386/32bit-avx512.c: Regenerate.
194 * features/i386/32bit-core.c: Regenerate.
195 * features/i386/32bit-linux.c: Regenerate.
196 * features/i386/32bit-mpx.c: Regenerate.
197 * features/i386/32bit-pkeys.c: Regenerate.
198 * features/i386/32bit-sse.c: Regenerate.
199 * features/i386/64bit-avx.c: Regenerate.
200 * features/i386/64bit-avx512.c: Regenerate.
201 * features/i386/64bit-core.c: Regenerate.
202 * features/i386/64bit-linux.c: Regenerate.
203 * features/i386/64bit-mpx.c: Regenerate.
204 * features/i386/64bit-pkeys.c: Regenerate.
205 * features/i386/64bit-segments.c: Regenerate.
206 * features/i386/64bit-sse.c: Regenerate.
207 * features/i386/x32-core.c: Regenerate.
208 * features/tic6x-c6xp.c: Regenerate.
209 * features/tic6x-core.c: Regenerate.
210 * features/tic6x-gp.c: Regenerate.
211 * target-descriptions.c: Use common/tdesc.h.
212 * target-descriptions.h: Likewise.
213
214 2018-02-24 Tom Tromey <tom@tromey.com>
215
216 * linux-thread-db.c (try_thread_db_load_from_pdir_1)
217 (try_thread_db_load_from_dir, thread_db_load_search): Use
218 std::string.
219 (info_auto_load_libthread_db_compare): Return bool. Change
220 argument types.
221 (info_auto_load_libthread_db): Use std::vector, std::string.
222 Remove cleanups.
223
224 2018-02-24 Tom Tromey <tom@tromey.com>
225
226 * i386-tdep.c (i386_fast_tracepoint_valid_at): "msg" now a
227 std::string.
228 * gdbarch.sh (fast_tracepoint_valid_at): Change "msg" to a
229 std::string*.
230 * gdbarch.c: Rebuild.
231 * gdbarch.h: Rebuild.
232 * breakpoint.c (check_fast_tracepoint_sals): Use std::string.
233 * arch-utils.h (default_fast_tracepoint_valid_at): Update.
234 * arch-utils.c (default_fast_tracepoint_valid_at): "msg" now a
235 std::string*.
236
237 2018-02-23 Simon Marchi <simon.marchi@polymtl.ca>
238
239 * gdbtypes.h (sect_offset): Change type to uint64_t.
240 (sect_offset_str): New function.
241 * dwarf2read.c (create_addrmap_from_aranges): Use
242 sect_offset_str.
243 (error_check_comp_unit_head): Likewise.
244 (create_debug_type_hash_table): Likewise.
245 (read_cutu_die_from_dwo): Likewise.
246 (init_cutu_and_read_dies): Likewise.
247 (init_cutu_and_read_dies_no_follow): Likewise.
248 (process_psymtab_comp_unit_reader): Likewise.
249 (partial_die_parent_scope): Likewise.
250 (peek_die_abbrev): Likewise.
251 (process_queue): Likewise.
252 (dwarf2_physname): Likewise.
253 (read_namespace_alias): Likewise.
254 (read_import_statement): Likewise.
255 (create_dwo_cu_reader): Likewise.
256 (create_cus_hash_table): Likewise.
257 (lookup_dwo_cutu): Likewise.
258 (inherit_abstract_dies): Likewise.
259 (read_func_scope): Likewise.
260 (read_call_site_scope): Likewise.
261 (dwarf2_add_member_fn): Likewise.
262 (read_common_block): Likewise.
263 (read_module_type): Likewise.
264 (read_typedef): Likewise.
265 (read_subrange_type): Likewise.
266 (load_partial_dies): Likewise.
267 (read_partial_die): Likewise.
268 (find_partial_die): Likewise.
269 (read_str_index): Likewise.
270 (dwarf2_string_attr): Likewise.
271 (build_error_marker_type): Likewise.
272 (lookup_die_type): Likewise.
273 (dump_die_shallow): Likewise.
274 (follow_die_ref): Likewise.
275 (dwarf2_fetch_die_loc_sect_off): Likewise.
276 (dwarf2_fetch_constant_bytes): Likewise.
277 (follow_die_sig): Likewise.
278 (get_signatured_type): Likewise.
279 (get_DW_AT_signature_type): Likewise.
280 (dwarf2_find_containing_comp_unit): Likewise.
281 (set_die_type): Likewise.
282
283 2018-02-21 John Baldwin <jhb@FreeBSD.org>
284
285 * arch/aarch64.c: Include "common-defs.h".
286 * arch/amd64.c: Likewise.
287 * arch/i386.c: Likewise.
288
289 2018-02-21 Tom Tromey <tom@tromey.com>
290
291 * value.h: (extract_field_op): Update.
292 * eval.c (extract_field_op): Return a const char *.
293 * expression.h (parse_expression_for_completion): Update.
294 * completer.c (complete_expression): Update.
295 (add_struct_fields): Make fieldname const.
296 * parse.c (expout_completion_name): Now a unique_xmalloc_ptr.
297 (mark_completion_tag, parse_exp_in_context_1): Update.
298 (parse_expression_for_completion): Change "name" to
299 unique_xmalloc_ptr*.
300
301 2018-02-21 Tom Tromey <tom@tromey.com>
302
303 * infcall.c (call_function_by_hand_dummy): Use std::vector.
304
305 2018-02-21 Yao Qi <yao.qi@linaro.org>
306
307 * avr-tdep.c (avr_read_pc): Change parameter type to
308 readable_regcache.
309 * gdbarch.sh (read_pc): Likewise.
310 * gdbarch.c: Re-generated.
311 * gdbarch.h: Re-generated.
312 * hppa-tdep.c (hppa_read_pc): Change parameter type to
313 readable_regcache.
314 * ia64-tdep.c (ia64_read_pc): Likewise.
315 * mips-tdep.c (mips_read_pc): Likewise.
316 * spu-tdep.c (spu_read_pc): Likewise.
317
318 2018-02-21 Yao Qi <yao.qi@linaro.org>
319
320 * Makefile.in (COMMON_SFILES): Add regcache-dump.c
321 * regcache-dump.c: New file.
322 * regcache.c: Move register_dump to regcache-dump.c.
323 (maintenance_print_registers): Likewise.
324 (maintenance_print_raw_registers): Likewise.
325 (maintenance_print_cooked_registers): Likewise.
326 (maintenance_print_register_groups): Likewise.
327 (maintenance_print_remote_registers): Likewise.
328 (_initialize_regcache): Likewise.
329 * regcache.h (register_dump): Moved from regcache.c.
330
331 2018-02-21 Yao Qi <yao.qi@linaro.org>
332
333 * regcache.c (regcache::regcache): Update.
334 (regcache::invalidate): Move it to detached_regcache::invalidate.
335 (get_thread_arch_aspace_regcache): Update.
336 (regcache::raw_update): Update.
337 (regcache::cooked_read): Remove some code.
338 (regcache::cooked_read_value): Likewise.
339 (regcache::raw_write): Remove assert on m_readonly_p.
340 (regcache::raw_supply_integer): Move it to
341 detached_regcache::raw_supply_integer.
342 (regcache::raw_supply_zeroed): Likewise.
343 * regcache.h (detached_regcache) <raw_supply_integer>: New
344 declaration.
345 <raw_supply_zeroed, invalidate>: Likewise.
346 (regcache) <raw_supply_integer, raw_supply_zeroed>: Removed.
347 <invalidate>: Likewise.
348 <m_readonly_p>: Removed.
349
350 2018-02-21 Yao Qi <yao.qi@linaro.org>
351
352 * infcmd.c (get_return_value): Let stop_regs point to
353 get_current_regcache.
354 * regcache.c (regcache::regcache): Remove.
355 (register_dump_reg_buffer): New class.
356 (regcache_print): Adjust.
357 * regcache.h (regcache): Remove constructors.
358
359 2018-02-21 Yao Qi <yao.qi@linaro.org>
360
361 * regcache.c (class register_dump): New class.
362 (register_dump_regcache, register_dump_none): New class.
363 (register_dump_remote, register_dump_groups): New class.
364 (regcache_print): Update.
365 * regcache.h (regcache_dump_what): Move it to regcache.c.
366 (regcache) <dump>: Remove.
367
368 2018-02-21 Yao Qi <yao.qi@linaro.org>
369
370 * jit.c (struct jit_unwind_private) <regcache>: Change its type to
371 reg_buffer_rw *.
372 (jit_unwind_reg_set_impl): Call raw_supply.
373 (jit_frame_sniffer): Use reg_buffer_rw.
374 * record-full.c (record_full_core_regbuf): Change its type.
375 (record_full_core_open_1): Use reg_buffer_rw.
376 (record_full_close): Likewise.
377 (record_full_core_fetch_registers): Use regcache->raw_supply.
378 (record_full_core_store_registers): Likewise.
379 * regcache.c (regcache::get_register_status): Move it to
380 reg_buffer.
381 (regcache_raw_set_cached_value): Remove.
382 (regcache::raw_set_cached_value): Remove.
383 (regcache::raw_write): Call raw_supply.
384 (regcache::raw_supply): Move it to reg_buffer_rw.
385 * regcache.h (regcache_raw_set_cached_value): Remove.
386 (reg_buffer_rw): New class.
387
388 2018-02-21 Yao Qi <yao.qi@linaro.org>
389
390 * dummy-frame.c (dummy_frame_cache) <prev_regcache>: Use
391 readonly_detached_regcache.
392 (dummy_frame_prev_register): Use regcache->cooked_read.
393 * frame.c (frame_save_as_regcache): Change return type.
394 (frame_pop): Update.
395 * frame.h (frame_save_as_regcache): Update declaration.
396 * inferior.h (get_infcall_suspend_state_regcache): Update
397 declaration.
398 * infrun.c (infcall_suspend_state) <registers>: use
399 readonly_detached_regcache.
400 (save_infcall_suspend_state): Don't use regcache_dup.
401 (get_infcall_suspend_state_regcache): Change return type.
402 * linux-fork.c (struct fork_info) <savedregs>: Change to
403 readonly_detached_regcache.
404 <pc>: New field.
405 (fork_save_infrun_state): Don't use regcache_dup.
406 (info_checkpoints_command): Adjust.
407 * mi/mi-main.c (register_changed_p): Update declaration.
408 (mi_cmd_data_list_changed_registers): Use
409 readonly_detached_regcache.
410 (register_changed_p): Change parameter type to
411 readonly_detached_regcache.
412 * ppc-linux-tdep.c (ppu2spu_cache) <regcache>: Use
413 readonly_detached_regcache.
414 (ppu2spu_sniffer): Construct a new readonly_detached_regcache.
415 * regcache.c (readonly_detached_regcache::readonly_detached_regcache):
416 New.
417 (regcache::save): Move it to reg_buffer.
418 (regcache::restore): Change parameter type.
419 (regcache_dup): Remove.
420 * regcache.h (reg_buffer) <save>: New method.
421 (readonly_detached_regcache): New class.
422 * spu-tdep.c (spu2ppu_cache) <regcache>: Use
423 readonly_detached_regcache.
424 (spu2ppu_sniffer): Construct a new readonly_detached_regcache.
425
426 2018-02-21 Yao Qi <yao.qi@linaro.org>
427
428 * frame.c (frame_save_as_regcache): Use regcache method save.
429 (frame_pop): Use regcache method restore.
430 * infrun.c (restore_infcall_suspend_state): Likewise.
431 * linux-fork.c (fork_load_infrun_state): Likewise.
432 * ppc-linux-tdep.c (ppu2spu_sniffer): User regcache method
433 save.
434 * regcache.c (regcache_save): Remove.
435 (regcache::restore): More asserts.
436 (regcache_cpy): Remove.
437 * regcache.h (regcache_save): Remove the declaration.
438 (regcache::restore): Move from private to public.
439 Remove the friend declaration of regcache_cpy.
440 (regcache_cpy): Remove declaration.
441
442 2018-02-21 Yao Qi <yao.qi@linaro.org>
443
444 * aarch64-tdep.c (aarch64_pseudo_register_read_value): Change
445 parameter type to 'readable_regcache *'.
446 * amd64-tdep.c (amd64_pseudo_register_read_value): Likewise.
447 * arm-tdep.c (arm_neon_quad_read): Likewise.
448 (arm_pseudo_read): Likewise.
449 * avr-tdep.c (avr_pseudo_register_read): Likewise.
450 * bfin-tdep.c (bfin_pseudo_register_read): Likewise.
451 * frv-tdep.c (frv_pseudo_register_read): Likewise.
452 * gdbarch.c: Re-generated.
453 * gdbarch.h: Re-generated.
454 * gdbarch.sh (pseudo_register_read): Change parameter type to
455 'readable_regcache *'.
456 (pseudo_register_read_value): Likewise.
457 * h8300-tdep.c (pseudo_from_raw_register): Likewise.
458 (h8300_pseudo_register_read): Likewise.
459 * hppa-tdep.c (hppa_pseudo_register_read): Likewise.
460 * i386-tdep.c (i386_mmx_regnum_to_fp_regnum): Likewise.
461 (i386_pseudo_register_read_into_value): Likewise.
462 (i386_pseudo_register_read_value): Likewise.
463 * i386-tdep.h (i386_pseudo_register_read_into_value): Update
464 declaration.
465 * ia64-tdep.c (ia64_pseudo_register_read): Likewise.
466 * m32c-tdep.c (m32c_raw_read): Likewise.
467 (m32c_read_flg): Likewise.
468 (m32c_banked_register): Likewise.
469 (m32c_banked_read): Likewise.
470 (m32c_sb_read): Likewise.
471 (m32c_part_read): Likewise.
472 (m32c_cat_read): Likewise.
473 (m32c_r3r2r1r0_read): Likewise.
474 (m32c_pseudo_register_read): Likewise.
475 * m68hc11-tdep.c (m68hc11_pseudo_register_read): Likewise.
476 * mep-tdep.c (mep_pseudo_cr32_read): Likewise.
477 (mep_pseudo_cr64_read): Likewise.
478 (mep_pseudo_register_read): Likewise.
479 * mips-tdep.c (mips_pseudo_register_read): Likewise.
480 * msp430-tdep.c (msp430_pseudo_register_read): Likewise.
481 * nds32-tdep.c (nds32_pseudo_register_read): Likewise.
482 * regcache.c (regcache::raw_read): Move it to readable_regcache.
483 (regcache::cooked_read): Likewise.
484 (regcache::cooked_read_value): Likewise.
485 (regcache_cooked_read_signed):
486 (regcache::cooked_read): Likewise.
487 * regcache.h (readable_regcache): New class.
488 (regcache): Inherit readable_regcache. Move some methods to
489 readable_regcache.
490 * rl78-tdep.c (rl78_pseudo_register_read): Change
491 parameter type to 'readable_regcache *'.
492 * rs6000-tdep.c (do_regcache_raw_read): Remove.
493 (e500_pseudo_register_read): Change parameter type to
494 'readable_regcache *'.
495 (dfp_pseudo_register_read): Likewise.
496 (vsx_pseudo_register_read): Likewise.
497 (efpr_pseudo_register_read): Likewise.
498 * s390-tdep.c (s390_pseudo_register_read): Likewise.
499 * sh-tdep.c (sh_pseudo_register_read): Likewise.
500 * sh64-tdep.c (pseudo_register_read_portions): Likewise.
501 (sh64_pseudo_register_read): Likewise.
502 * sparc-tdep.c (sparc32_pseudo_register_read): Likewise.
503 * sparc64-tdep.c (sparc64_pseudo_register_read): Likewise.
504 * spu-tdep.c (spu_pseudo_register_read_spu): Likewise.
505 (spu_pseudo_register_read): Likewise.
506 * xtensa-tdep.c (xtensa_register_read_masked): Likewise.
507 (xtensa_pseudo_register_read): Likewise.
508
509 2018-02-21 Yao Qi <yao.qi@linaro.org>
510
511 * regcache.c (regcache::regcache): Call reg_buffer ctor.
512 (regcache::arch): Move it to reg_buffer::arch.
513 (regcache::register_buffer): Likewise.
514 (regcache::assert_regnum): Likewise.
515 (regcache::num_raw_registers): Likewise.
516 * regcache.h (reg_buffer): New class.
517 (regcache): Inherit reg_buffer.
518
519 2018-02-20 Simon Marchi <simon.marchi@ericsson.com>
520
521 * remote-sim.c (gdb_os_printf_filtered, gdb_os_vprintf_filtered,
522 gdb_os_evprintf_filtered, gdb_os_error): Add ATTRIBUTE_PRINTF.
523
524 2018-02-20 Markus Metzger <markus.t.metzger@intel.com>
525
526 * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add mkstemp.
527
528 2018-02-19 Alan Hayward <alan.hayward@arm.com>
529
530 * Makefile.in: (COMMON_SFILES): Add common/*.c files.
531 (SFILES): Remove common/*.c files.
532 (COMMON_OBS): Remove some *.o files built from common/*.c files.
533 * common/common.host: Add common reference.
534 * configure.ac: Likewise.
535 * configure: Regenerate.
536
537 2018-02-16 Yao Qi <yao.qi@linaro.org>
538
539 * block.c (block_namespace_info): Inherit allocate_on_obstack.
540 (block_initialize_namespace): Use new.
541 * dwarf2read.c (dwarf2_per_objfile): Inherit allocate_on_obstack.
542 (dwarf2_free_objfile): Use delete.
543 * gdbtypes.c (type_pair): Inherit allocate_on_obstack.
544 (copy_type_recursive): Use new.
545 * gdb_obstack.h (allocate_on_obstack): New.
546
547 2018-02-15 Yao Qi <yao.qi@linaro.org>
548
549 PR gdb/22849
550 * inferior.c (exit_inferior_1): Reset inf->control.
551
552 2018-02-15 Joel Brobecker <brobecker@adacore.com>
553
554 * ada-lang.c (ada_to_fixed_value_create): Delete advance
555 declaration.
556
557 2018-02-14 Pedro Alves <palves@redhat.com>
558
559 * frame-unwind.c (frame_unwind_try_unwinder): Always call
560 frame_cleanup_after_sniffer on exception.
561
562 2018-02-14 Tom Tromey <tom@tromey.com>
563
564 * solist.h (struct target_so_ops) <bfd_open>: Make pathname
565 const.
566 (solib_bfd_open): Make pathname const.
567 * solib.c (solib_bfd_open): Make pathname const.
568 * solib-spu.c (spu_bfd_fopen): Make name const.
569 (spu_bfd_open): Make pathname const.
570 * solib-darwin.c (darwin_bfd_open): Make pathname const.
571 * solib-aix.c (solib_aix_bfd_open): Make pathname const.
572
573 2018-02-14 Tom Tromey <tom@tromey.com>
574
575 * symfile.c (symfile_bfd_open): Update.
576 * source.h (openp, source_full_path_of, find_and_open_source):
577 Change argument type to unique_xmalloc_ptr.
578 * source.c (openp): Take a unique_xmalloc_ptr.
579 (source_full_path_of, find_and_open_source): Likewise.
580 (open_source_file, symtab_to_fullname): Update.
581 * solist.h (struct target_so_ops) <find_and_open_solib>: Take a
582 unique_xmalloc_ptr.
583 * solib.c (solib_find_1): Use unique_xmalloc_ptr.
584 (exec_file_find): Update.
585 * psymtab.c (psymtab_to_fullname): Update.
586 * nto-tdep.h (nto_find_and_open_solib): Update.
587 * nto-tdep.c (nto_find_and_open_solib): Change temp_path to a
588 unique_xmalloc_ptr.
589 * exec.c (exec_file_attach): Update.
590 * dwarf2read.c (try_open_dwop_file): Use unique_xmalloc_ptr.
591 * cli/cli-cmds.c (find_and_open_script): Use unique_xmalloc_ptr.
592
593 2018-02-14 Tom Tromey <tom@tromey.com>
594
595 * solib.c: Include source.h.
596 * nto-tdep.c: Include source.h.
597 * mi/mi-cmd-env.c: Include source.h.
598 * infcmd.c: Include source.h.
599 * exec.c: Include source.h.
600 * defs.h (enum openp_flag, openp, source_full_path_of, mod_path)
601 (add_path, directory_switch, source_path, init_source_path): Move
602 declarations...
603 * source.h (enum openp_flag, openp, source_full_path_of, mod_path)
604 (add_path, directory_switch, source_path, init_source_path):
605 ...here.
606
607 2018-02-14 Tom Tromey <tom@tromey.com>
608
609 * solist.h (exec_file_find, solib_find): Return
610 unique_xmalloc_ptr.
611 (solib_bfd_fopen): Take a const char *.
612 * solib.c (solib_find_1): Return unique_xmalloc_ptr.
613 (exec_file_find, solib_find): Likewise.
614 (solib_bfd_fopen): Do not take ownership of "pathname".
615 (solib_bfd_open): Use unique_xmalloc_ptr.
616 * solib-darwin.c (darwin_bfd_open): Use unique_xmalloc_ptr.
617 * solib-aix.c (solib_aix_bfd_open): Use unique_xmalloc_ptr.
618 * infrun.c (follow_exec): Use unique_xmalloc_ptr.
619 * exec.c (exec_file_locate_attach): Use unique_xmalloc_ptr.
620
621 2018-02-14 Joel Brobecker <brobecker@adacore.com>
622
623 * ada-lang.c (name_match_type_from_name): Remove reference to
624 ada_name_for_lookup in function's documentation.
625 * ada-lang.h (ada_name_for_lookup): Delete declaration.
626
627 2018-02-13 Simon Marchi <simon.marchi@polymtl.ca>
628
629 * defs.h (enum openp_flags): New enum.
630 (OPF_TRY_CWD_FIRST, OPF_SEARCH_IN_PATH, OPF_RETURN_REALPATH):
631 Move to enum openp_flags.
632 (openp_flags): New enum flags.
633 (openp): Change parameter type to openp_flags.
634 * source.c (openp): Change parameter type to openp_flags.
635 * cli/cli-cmds.c (find_and_open_script): Use openp_flags.
636 * dwarf2read.c (try_open_dwop_file): Use openp_flags.
637
638 2018-02-13 Simon Marchi <simon.marchi@polymtl.ca>
639
640 * maint.c (_initialize_maint_cmds): Fix prefix of maint set/show
641 per-command.
642
643 2018-02-12 Andrew Burgess <andrew.burgess@embecosm.com>
644
645 * dwarf2read.c (dwarf2_release_queue): Delete function, move body
646 into...
647 (class dwarf2_queue_guard): ...the destructor of this new class.
648 (dw2_do_instantiate_symtab): Create instance of the new class
649 dwarf2_queue_guard, remove cleanup.
650
651 2018-02-09 Tom Tromey <tom@tromey.com>
652
653 * source.c (find_source_lines): Don't reference past the end of
654 the vector.
655
656 2018-02-09 Markus Metzger <markus.t.metzger@intel.com>
657
658 * remote.c (remote_btrace_maybe_reopen): Change error message.
659 * btrace.c (btrace_enable): Likewise.
660 (parse_xml_btrace): Likewise.
661 (parse_xml_btrace_conf): Likewise.
662
663 2018-02-09 Markus Metzger <markus.t.metzger@intel.com>
664
665 * nat/linux-btrace.c (diagnose_perf_event_open_fail): New.
666 (linux_enable_pt, linux_enable_bts): Call
667 diagnose_perf_event_open_fail.
668
669 2018-02-09 Markus Metzger <markus.t.metzger@intel.com>
670
671 * nat/linux-btrace.c (perf_event_pt_event_type): Improve error message.
672 Remove parameter and change return type. Update callers. Move it.
673 (linux_enable_bts, linux_enable_pt): Improve error message.
674 (linux_enable_pt): Remove zero buffer size check.
675 (linux_enable_btrace): Improve error messages. Remove NULL return
676 check.
677
678 2018-02-09 Markus Metzger <markus.t.metzger@intel.com>
679
680 * btrace.c (btrace_enable): Remove target_supports_btrace call.
681 * nat/linux-btrace.c (perf_event_pt_event_type): Move.
682 (kernel_supports_bts, kernel_supports_pt, linux_supports_bts)
683 (linux_supports_pt, linux_supports_btrace): Remove.
684 (linux_enable_bts): Call cpu_supports_bts.
685 * nat/linux-btrace.h (linux_supports_btrace): Remove.
686 * remote.c (remote_supports_btrace): Remove.
687 (init_remote_ops): Remove remote_supports_btrace.
688 * target-delegates.c: Regenerated.
689 * target.c (target_supports_btrace): Remove.
690 * target.h (target_ops) <to_supports_btrace>: Remove
691 (target_supports_btrace): Remove.
692 * x86-linux-nat.c (x86_linux_create_target): Remove
693 linux_supports_btrace.
694
695 2018-02-09 Markus Metzger <markus.t.metzger@intel.com>
696
697 * nat/linux-btrace.c (linux_enable_btrace): Throw exception if enabling
698 btrace failed.
699 * x86-linux-nat.c (x86_linux_enable_btrace): Catch btrace enabling
700 exception and use message in own exception.
701
702 2018-02-09 Markus Metzger <markus.t.metzger@intel.com>
703
704 * nat/linux-btrace.c: Include scoped_fd.h and scoped_mmap.h.
705 (perf_event_pt_event_type): Use gdb_file_up.
706 (linux_enable_bts, linux_enable_pt): Use gdb::unique_xmalloc_ptr,
707 scoped_fd, and scoped_mmap.
708
709 2018-02-09 Markus Metzger <markus.t.metzger@intel.com>
710
711 * common/scoped_mmap.h: New.
712 * unittests/scoped_mmap-selftest.c: New.
713 * Makefile.in (SUBDIR_UNITTESTS_SRCS): Add
714 unittests/scoped_mmap-selftest.c.
715
716 2018-02-09 Markus Metzger <markus.t.metzger@intel.com>
717
718 * common/scoped_fd.h: New.
719 * unittests/scoped_fd-selftest.c: New.
720 * Makefile.in (SUBDIR_UNITTESTS_SRCS): Add
721 unittests/scoped_fd-selftest.c.
722
723 2018-02-09 Tom Tromey <tom@tromey.com>
724
725 * auto-load.c (auto_load_section_scripts): Use
726 gdb::unique_xmalloc_ptr.
727
728 2018-02-09 Tom Tromey <tom@tromey.com>
729
730 * auto-load.c (execute_script_contents): Use std::string.
731
732 2018-02-09 Joel Brobecker <brobecker@adacore.com>
733
734 * NEWS <Changes in GDB 8.1>: Clarify that "rbreak" is a new
735 Python function, rather than a new command.
736
737 2018-02-08 Tom Tromey <tom@tromey.com>
738
739 * solib.c (solib_find_1): Use std::string.
740 (solib_bfd_fopen): Use unique_xmalloc_ptr.
741
742 2018-02-08 Tom Tromey <tom@tromey.com>
743
744 * build-id.c (build_id_to_debug_bfd): Use unique_xmalloc_ptr.
745
746 2018-02-08 Tom Tromey <tom@tromey.com>
747
748 * source.c (find_source_lines): Use gdb::def_vector.
749
750 2018-02-08 Tom Tromey <tom@tromey.com>
751
752 * macrocmd.c (struct temporary_macro_definition): New.
753 (macro_define_command): Use temporary_macro_definition. Remove
754 cleanups.
755 (free_macro_definition_ptr): Remove.
756
757 2018-02-08 Tom Tromey <tom@tromey.com>
758
759 * macroexp.c (maybe_expand): Use std::string.
760
761 2018-02-08 Tom Tromey <tom@tromey.com>
762
763 * macroexp.c (struct macro_buffer): Add initializers for some
764 members.
765 (init_buffer, init_shared_buffer, free_buffer)
766 (free_buffer_return_text): Remove.
767 (macro_buffer): New constructors.
768 (~macro_buffer): New destructor.
769 (macro_buffer::set_shared): New method.
770 (macro_buffer::resize_buffer, macro_buffer::appendc)
771 (macro_buffer::appendmem): Now methods, not free functions.
772 (set_token, append_tokens_without_splicing, stringify)
773 (macro_stringify): Update.
774 (gather_arguments): Change return type. Remove argc_p argument,
775 add args_ptr argument. Use std::vector.
776 (substitute_args): Remove argc argument. Accept std::vector.
777 (expand): Update. Use std::vector.
778 (scan, macro_expand, macro_expand_next): Update.
779
780 2018-02-08 Tom Tromey <tom@tromey.com>
781
782 * symtab.c (default_collect_symbol_completion_matches_break_on):
783 Use unique_xmalloc_ptr.
784 * macroscope.h: (sal_macro_scope, user_macro_scope)
785 (default_macro_scope): Return unique_xmalloc_ptr.
786 * macroscope.c (sal_macro_scope, user_macro_scope)
787 (default_macro_scope): Return unique_xmalloc_ptr.
788 * macroexp.h (macro_expand, macro_expand_once): Return
789 unique_xmalloc_ptr.
790 * macroexp.c (macro_expand, macro_expand_once): Return
791 unique_xmalloc_ptr.
792 * macrocmd.c (macro_expand_command, macro_expand_once_command)
793 (info_macro_command, info_macros_command): Use
794 unique_xmalloc_ptr.
795 * compile/compile-c-support.c (write_macro_definitions): Use
796 unique_xmalloc_ptr.
797 * c-exp.y (c_parse): Use unique_xmalloc_ptr.
798
799 2018-02-07 Simon Marchi <simon.marchi@ericsson.com>
800
801 * value.c (value_static_field): Assign field type instead of
802 containing type when returning an optimized out value.
803
804 2018-02-06 Yao Qi <yao.qi@linaro.org>
805
806 * ft32-tdep.c (ft32_read_pc): Remove.
807 (ft32_write_pc): Remove.
808 (ft32_gdbarch_init): Update.
809 * m32r-tdep.c (m32r_read_pc): Remove.
810 (m32r_gdbarch_init): Update.
811 * mep-tdep.c (mep_read_pc): Remove.
812 (mep_gdbarch_init): Update.
813 * microblaze-tdep.c (microblaze_write_pc): Remove.
814 (microblaze_gdbarch_init): Update.
815 * mn10300-tdep.c (mn10300_read_pc): Remove.
816 (mn10300_write_pc): Remove.
817 (mn10300_gdbarch_init): Update.
818 * moxie-tdep.c (moxie_read_pc): Remove.
819 (moxie_write_pc): Remove.
820 (moxie_gdbarch_init): Update.
821
822 2018-02-06 Yao Qi <yao.qi@linaro.org>
823
824 * expprint.c (print_subexp_standard): Handle
825 OP_F77_UNDETERMINED_ARGLIST.
826 (dump_subexp_body_standard): Likewise.
827
828 2018-02-05 Alan Hayward <alan.hayward@arm.com>
829
830 * target-descriptions.c (tdesc_element_visitor) Add empty
831 implementations.
832 (tdesc_type): Move make_gdb_type from here.
833 (tdesc_type_builtin): Likewise.
834 (tdesc_type_vector): Likewise.
835 (tdesc_type_with_fields): Move make_gdb_type_ functions from here.
836 (make_gdb_type_struct): Move from tdesc_type_with_fields.
837 (make_gdb_type_union): Likewise.
838 (make_gdb_type_flags): Likewise.
839 (make_gdb_type_enum): Likewise.
840 (make_gdb_type): New function.
841 (tdesc_register_type): Use static make_gdb_type.
842
843 2018-02-05 Ruslan Kabatsayev <b7.10110111@gmail.com>
844
845 * infcmd.c (default_print_one_register_info): Align natural-format
846 column values consistently one under another.
847 (pad_to_column): New function.
848
849 2018-02-05 Joel Brobecker <brobecker@adacore.com>
850
851 * dwarf2read.c (dwarf2_physname): Move commment.
852
853 2018-02-01 Leszek Swirski <leszeks@google.com>
854
855 * varobj.c (varobj_formatted_print_options): Allow recursive
856 pretty printing if pretty printing is enabled.
857
858 2018-02-01 Leszek Swirski <leszeks@google.com>
859
860 * c-exp.y (lex_one_token, classify_name, yylex): Don't classify
861 names after a structop as a filename.
862
863 2018-02-01 Yao Qi <yao.qi@linaro.org>
864
865 * arm-tdep.c (arm_record_data_proc_misc_ld_str): Rewrite it.
866 (arm_record_coproc_data_proc): Likewise.
867
868 2018-02-01 Yao Qi <yao.qi@linaro.org>
869
870 * arm-tdep.c (arm_record_extension_space): Change ret to signed.
871
872 2018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
873
874 * rs6000-tdep.c (skip_prologue): Remove shifting for lr_reg and
875 assign shifted lr_reg to fdata->lr_register when lr_reg is set.
876
877 2018-01-31 Pedro Alves <palves@redhat.com>
878
879 * darwin-nat.c (darwin_interrupt): Remove ptid_t parameter.
880 * inflow.c (child_terminal_save_inferior): Wrap reference to
881 tcgetpgrp in HAVE_TERMIOS_H.
882 (child_interrupt, child_pass_ctrlc): Wrap references to signal in
883 _WIN32.
884 * remote-sim.c (gdbsim_interrupt): Remove ptid_t parameter and
885 always iterate over all inferiors.
886 (gdbsim_cntrl_c): Adjust.
887 * windows-nat.c (windows_interrupt): Remove 'ptid_t' parameter.
888
889 2018-01-31 Joel Brobecker <brobecker@adacore.com>
890
891 * gdbtypes.c (lookup_array_range_type): Make sure the array's
892 index type is objfile-owned if the element type is as well.
893
894 2018-01-31 Joel Brobecker <brobecker@adacore.com>
895
896 GDB 8.1 released.
897
898 2018-01-30 Philipp Rudo <prudo@linux.vnet.ibm.com>
899
900 * s390-linux-tdep.c: Remove includes "features/s390-linux32.c" and
901 "features/s390x-linux64.c".
902 (_initialize_s390_linux_tdep): Remove initialization of tdescs
903 s390_linux32 and s390x_linux64.
904 (s390_linux_init_abi_31, s390_linux_init_abi_64): Don't set
905 default tdesc.
906 * s390-tdep.c: Include "features/s390-linux32.c" and
907 "features/s390x-linux64.c".
908 (s390_tdesc_valid): Add check for tdesc_has_registers.
909 (s390_gdbarch_init): Make sure there is always a valid tdesc.
910 (_initialize_s390_tdep): Initialize tdesc_s390_linux32 and
911 tdesc_s390x_linux64.
912 * s390-linux-tdep.h: Move export of tdesc_s390_linux32 and
913 tdesc_s390x_linux64 to...
914 * s390-tdep.h: ...here.
915
916 2018-01-30 Pedro Alves <palves@redhat.com>
917
918 PR gdb/13211
919 * config.in, configure: Regenerate.
920 * configure.ac: Check for getpgid.
921 * go32-nat.c (go32_pass_ctrlc): New.
922 (go32_target): Install it.
923 * inf-child.c (inf_child_target): Install
924 child_terminal_save_inferior, child_pass_ctrlc and
925 child_interrupt.
926 * inf-ptrace.c (inf_ptrace_interrupt): Delete.
927 (inf_ptrace_target): No longer install it.
928 * infcmd.c (interrupt_target_1): Adjust.
929 * inferior.h (child_terminal_save_inferior, child_pass_ctrlc)
930 (child_interrupt): Declare.
931 (inferior::terminal_state): New.
932 * inflow.c (struct terminal_info): Update comments.
933 (inferior_process_group): Delete.
934 (terminal_is_ours): Delete.
935 (gdb_tty_state): New.
936 (child_terminal_init): Adjust.
937 (is_gdb_terminal, sharing_input_terminal_1)
938 (sharing_input_terminal): New functions.
939 (child_terminal_inferior): Adjust. Use sharing_input_terminal.
940 Set the process's actual process group in the foreground if
941 possible. Handle is_ours_for_output/is_ours distinction. Don't
942 mark terminal as the inferior's if not sharing GDB's terminal.
943 Don't check attach_flag.
944 (child_terminal_ours_for_output, child_terminal_ours): Adjust to
945 pass down a target_terminal_state.
946 (child_terminal_save_inferior): New, factored out from ...
947 (child_terminal_ours_1): ... this. Handle
948 target_terminal_state::is_ours_for_output.
949 (child_interrupt, child_pass_ctrlc): New.
950 (inflow_inferior_exit): Clear the inferior's terminal_state.
951 (copy_terminal_info): Copy the inferior's terminal state.
952 (_initialize_inflow): Remove reference to terminal_is_ours.
953 * inflow.h (inferior_process_group): Delete.
954 * nto-procfs.c (nto_handle_sigint, procfs_interrupt): Adjust.
955 * procfs.c (procfs_target): Don't install procfs_interrupt.
956 (procfs_interrupt): Delete.
957 * remote.c (remote_serial_quit_handler): Adjust.
958 (remote_interrupt): Remove ptid parameter. Adjust.
959 * target-delegates.c: Regenerate.
960 * target.c: Include "terminal.h".
961 (target_terminal::terminal_state): Rename to ...
962 (target_terminal::m_terminal_state): ... this.
963 (target_terminal::init): Adjust.
964 (target_terminal::inferior): Adjust to per-inferior
965 terminal_state.
966 (target_terminal::restore_inferior, target_terminal_is_ours_kind): New.
967 (target_terminal::ours, target_terminal::ours_for_output): Use
968 target_terminal_is_ours_kind.
969 (target_interrupt): Remove ptid parameter. Adjust.
970 (default_target_pass_ctrlc): Adjust.
971 * target.h (target_ops::to_terminal_save_inferior): New field.
972 (target_ops::to_interrupt): Remove ptid_t parameter.
973 (target_interrupt): Remove ptid_t parameter. Update comment.
974 (target_pass_ctrlc): Update comment.
975 * target/target.h (target_terminal_state): New scoped enum,
976 factored out of ...
977 (target_terminal::terminal_state): ... here.
978 (target_terminal::inferior): Update comments.
979 (target_terminal::restore_inferior): New.
980 (target_terminal::is_inferior, target_terminal::is_ours)
981 (target_terminal::is_ours_for_output): Adjust.
982 (target_terminal::scoped_restore_terminal_state): Adjust to
983 rename, and call restore_inferior() instead of inferior().
984 (target_terminal::scoped_restore_terminal_state::m_state): Change
985 type.
986 (target_terminal::terminal_state): Rename to ...
987 (target_terminal::m_terminal_state): ... this and change type.
988
989 2018-01-30 Pedro Alves <palves@redhat.com>
990
991 * linux-nat.c (wait_for_signal): New function.
992 (wait_lwp, linux_nat_wait_1): Use it instead of calling sigsuspend
993 directly.
994 (async_terminal_is_ours)
995 (linux_nat_terminal_inferior, linux_nat_terminal_ours): Delete.
996 (linux_nat_add_target): Don't override
997 to_terminal_inferior/to_terminal_ours.
998
999 2018-01-29 Sergio Durigan Junior <sergiodj@redhat.com>
1000
1001 * remote.c (remote_follow_fork): Don't call "detach_inferior".
1002
1003 2018-01-28 Simon Marchi <simon.marchi@ericsson.com>
1004
1005 * dwarf2read.c (free_dwo_files): Add forward-declaration.
1006 (dwarf2_per_objfile::~dwarf2_per_objfile): Move content from
1007 dwarf2_per_objfile_free here.
1008 (dwarf2_per_objfile_free): Remove.
1009 (_initialize_dwarf2_read): Don't register
1010 dwarf2_per_objfile_free as a registry cleanup.
1011
1012 2018-01-27 Eli Zaretskii <eliz@gnu.org>
1013
1014 Avoid compilation errors in MinGW native builds
1015
1016 The error is triggered by including python-internal.h, and the
1017 error message is:
1018
1019 In file included from d:\usr\lib\gcc\mingw32\6.3.0\include\c++\math.h:36:0,
1020 from build-gnulib/import/math.h:27,
1021 from d:/usr/Python26/include/pyport.h:235,
1022 from d:/usr/Python26/include/Python.h:58,
1023 from python/python-internal.h:94,
1024 from python/py-arch.c:24:
1025 d:\usr\lib\gcc\mingw32\6.3.0\include\c++\cmath:1157:11: error: '::hypot' has not been declared
1026 using ::hypot;
1027 ^~~~~
1028
1029 This happens because Python headers define 'hypot' to expand t
1030 '_hypot' in the Windows builds.
1031 * python/python-internal.h (_hypot) [__MINGW32__]: Define back to
1032 'hypoth'. This avoids a compilation error.
1033
1034 2018-01-26 Alan Hayward <alan.hayward@arm.com>
1035
1036 * MAINTAINERS (Write After Approval): Fix ordering.
1037
1038 2018-01-26 Alan Hayward <alan.hayward@arm.com>
1039
1040 * MAINTAINERS (Write After Approval): Add Alan Hayward.
1041
1042 2018-01-26 Alan Modra <amodra@gmail.com>
1043
1044 * ppc-linux-tdep.c (powerpc32_plt_stub): Make const.
1045 (powerpc32_plt_stub_so_1): Rename from powerpc32_plt_stub_so.
1046 Remove nop. Make const. Comment.
1047 (powerpc32_plt_stub_so_2): New.
1048 (POWERPC32_PLT_CHECK_LEN): Rename from POWERPC32_PLT_STUB_LEN.
1049 Correct count. Update uses.
1050 (ppc_skip_trampoline_code): Match powerpc32_plt_stub_so_2 too.
1051 Move common code reading PLT entry word. Correct
1052 powerpc32_plt_stub PLT address calculation.
1053 * ppc64-tdep.c (ppc64_standard_linkage1): Make const.
1054 (ppc64_standard_linkage2, ppc64_standard_linkage3): Likewise.
1055 (ppc64_standard_linkage4, ppc64_standard_linkage5): Likewise.
1056 (ppc64_standard_linkage6, ppc64_standard_linkage7): Likewise.
1057 (ppc64_standard_linkage8): Likewise.
1058 * rs6000-tdep.c (ppc_insns_match_pattern): Make pattern const.
1059 Correct insns description.
1060 * ppc-tdep.h (ppc_insns_match_pattern): Update prototype.
1061
1062 2018-01-24 Pedro Alves <palves@redhat.com>
1063
1064 GCC PR libstdc++/83906
1065 * gdbtypes.c (operator==(const dynamic_prop &,
1066 const dynamic_prop &)): New.
1067 (operator==(const range_bounds &, const range_bounds &)): New.
1068 (check_types_equal): Use them instead of memcmp.
1069 * gdbtypes.h (operator==(const dynamic_prop &,
1070 const dynamic_prop &)): Declare.
1071 (operator!=(const dynamic_prop &, const dynamic_prop &)): Declare.
1072 (operator==(const range_bounds &, const range_bounds &)): Declare.
1073 (operator!=(const range_bounds &, const range_bounds &)): Declare.
1074
1075 2018-01-23 Philipp Rudo <prudo@linux.vnet.ibm.com>
1076
1077 * s390-linux-tdep.c (s390_record_address_mask)
1078 (s390_record_calc_disp_common, s390_record_calc_disp)
1079 (s390_record_calc_disp_vsce, s390_record_calc_rl, s390_popcnt)
1080 (s390_record_gpr_g, s390_record_gpr_h, s390_record_vr)
1081 (s390_process_record): Move to s390-tdep.c.
1082 (s390_linux_init_abi_any): Adjust.
1083 * s390-tdep.c (s390_record_address_mask)
1084 (s390_record_calc_disp_common, s390_record_calc_disp)
1085 (s390_record_calc_disp_vsce, s390_record_calc_rl, s390_popcnt)
1086 (s390_record_gpr_g, s390_record_gpr_h, s390_record_vr)
1087 (s390_process_record): Moved from s390-linux-tdep.c
1088 (s390_gdbarch_init): Adjust.
1089
1090 2018-01-23 Philipp Rudo <prudo@linux.vnet.ibm.com>
1091
1092 * s390-linux-nat.c (s390-tdep.h): New include.
1093 * Makefile.in (ALL_TARGET_OBS): Add s390-tdep.o.
1094 (HFILES_NO_SRCDIR): Add s390-tdep.h.
1095 (ALLDEPFILES): Add s390-tdep.c.
1096 * configure.tgt (s390*-*-linux*): Add s390-tdep.o.
1097 * s390-linux-tdep.h (HWCAP_S390_*, S390_*_REGNUM): Move to...
1098 * s390-tdep.h: ...this. New file.
1099 * s390-linux-tdep.c (s390-tdep.h): New include.
1100 (_initialize_s390_tdep): Rename to...
1101 (_initialize_s390_linux_tdep): ...this and adjust.
1102 (s390_abi_kind, s390_vector_abi_kind, gdbarch_tdep)
1103 (enum named opcodes, S390_NUM_GPRS, S390_NUM_FPRS): Move to
1104 s390-tdep.h.
1105 (s390_break_insn, s390_breakpoint, s390_readinstruction, is_ri)
1106 (is_ril, is_rr, is_rre, is_rs, is_rsy, is_rx, is_rxy)
1107 (s390_is_partial_instruction, s390_software_single_step)
1108 (is_non_branch_ril, s390_displaced_step_copy_insn)
1109 (s390_displaced_step_fixup, s390_displaced_step_hw_singlestep)
1110 (s390_prologue_data, s390_addr, s390_store, s390_load)
1111 (s390_check_for_saved, s390_analyze_prologue, s390_skip_prologue)
1112 (s390_register_call_saved, s390_guess_tracepoint_registers)
1113 (s390_register_name, s390_dwarf_regmap, s390_dwarf_reg_to_regnum)
1114 (regnum_is_gpr_full, regnum_is_vxr_full, s390_value_from_register)
1115 (s390_pseudo_register_name, s390_pseudo_register_type)
1116 (s390_pseudo_register_read, s390_pseudo_register_write)
1117 (s390_pseudo_register_reggroup_p, s390_ax_pseudo_register_collect)
1118 (s390_ax_pseudo_register_push_stack, s390_gen_return_address)
1119 (s390_addr_bits_remove, s390_address_class_type_flags)
1120 (s390_address_class_type_flags_to_name)
1121 (s390_address_class_name_to_type_flags, s390_effective_inner_type)
1122 (s390_function_arg_float, s390_function_arg_vector)
1123 (is_power_of_two, s390_function_arg_integer, s390_arg_state)
1124 (s390_handle_arg, s390_push_dummy_call, s390_dummy_id)
1125 (s390_frame_align, s390_register_return_value, s390_return_value)
1126 (s390_stack_frame_destroyed_p, s390_unwind_pc, s390_unwind_sp)
1127 (s390_unwind_pseudo_register, s390_adjust_frame_regnum)
1128 (s390_dwarf2_prev_register, s390_dwarf2_frame_init_reg)
1129 (s390_trad_frame_prev_register, s390_unwind_cache)
1130 (s390_prologue_frame_unwind_cache)
1131 (s390_backchain_frame_unwind_cache, s390_frame_unwind_cache)
1132 (s390_frame_this_id, s390_frame_prev_register, s390_frame_unwind)
1133 (s390_stub_unwind_cache, s390_stub_frame_unwind_cache)
1134 (s390_stub_frame_this_id, s390_stub_frame_prev_register)
1135 (s390_stub_frame_sniffer, s390_stub_frame_unwind)
1136 (s390_frame_base_address, s390_local_base_address)
1137 (s390_frame_base, s390_gcc_target_options)
1138 (s390_gnu_triplet_regexp, s390_stap_is_single_operand)
1139 (s390_validate_reg_range, s390_tdesc_valid)
1140 (s390_gdbarch_tdep_alloc, s390_gdbarch_init): Move to...
1141 * s390-tdep.c: ...this. New file.
1142
1143 2018-01-23 Philipp Rudo <prudo@linux.vnet.ibm.com>
1144
1145 * s390-linux-tdep.c (gdbarch_tdep.s390_syscall_record): New hook.
1146 (s390_process_record, s390_gdbarch_tdep_alloc)
1147 (s390_linux_init_abi_any): Use/set new hook.
1148
1149 2018-01-23 Philipp Rudo <prudo@linux.vnet.ibm.com>
1150
1151 * s390-linux-tdep.c (osabi.h): New include.
1152 (s390_linux_init_abi_31, s390_linux_init_abi_64)
1153 (s390_linux_init_abi_any): New functions.
1154 (s390_gdbarch_init, _initialize_s390_tdep): Adjust.
1155
1156 2018-01-23 Philipp Rudo <prudo@linux.vnet.ibm.com>
1157
1158 * s390-linux-tdep.c (s390_gdbarch_init): Use gdb_assert for
1159 tdesc_has_registers check
1160
1161 2018-01-23 Philipp Rudo <prudo@linux.vnet.ibm.com>
1162
1163 * s390-linux-tdep.c (s390_tdesc_valid): New function.
1164 (s390_validate_reg_range): New macro.
1165 (s390_gdbarch_init): Adjust.
1166
1167 2018-01-23 Philipp Rudo <prudo@linux.vnet.ibm.com>
1168
1169 * s390-linux-tdep.c (gdbarch_tdep) <tdesc>: New field.
1170 (s390_gdbarch_tdep_alloc): Adjust.
1171 (s390_gdbarch_init): Adjust.
1172
1173 2018-01-23 Philipp Rudo <prudo@linux.vnet.ibm.com>
1174
1175 * s390-linux-tdep.c (gdbarch_tdep) <have_linux_v1, have_linux_v2>
1176 <have_tdb>: Change type to bool.
1177 (s390_gdbarch_tdep_alloc): Adjust.
1178 (s390_gdbarch_init): Adjust.
1179
1180 2018-01-23 Philipp Rudo <prudo@linux.vnet.ibm.com>
1181
1182 * s390-linux-tdep (s390_abi_kind) <ABI_NONE>: New default field.
1183 (gdbarch_tdep) <have_upper, have_vx>: New fields.
1184 (s390_gdbarch_tdep_alloc): New function.
1185 (s390_gdbarch_init): Allocate tdep at start and use its fields
1186 instead of separate variables.
1187
1188 2018-01-23 Philipp Rudo <prudo@linux.vnet.ibm.com>
1189
1190 * s390-linux-tdep.c (s390_gdbarch_init): Remove duplicate checks
1191 when looking for cached gdbarch and add comment for remaining.
1192
1193 2018-01-22 Pedro Alves <palves@redhat.com>
1194 Sergio Durigan Junior <sergiodj@redhat.com>
1195
1196 * typeprint.c (whatis_exp): Initialize "val" in the "whatis type"
1197 case.
1198
1199 2018-01-22 Maciej W. Rozycki <macro@mips.com>
1200
1201 * MAINTAINERS: Update my company e-mail address.
1202
1203 2018-01-22 Yao Qi <yao.qi@linaro.org>
1204
1205 * regcache.c (cooked_write_test): New function.
1206 (_initialize_regcache): Register the test.
1207
1208 2018-01-22 Yao Qi <yao.qi@linaro.org>
1209
1210 * ia64-tdep.c (ia64_pseudo_register_read): Call
1211 regcache->cooked_read instead of regcache_cooked_read_unsigned.
1212 * m32c-tdep.c (m32c_cat_read): Likewise.
1213 (m32c_r3r2r1r0_read): Likewise.
1214 * m68hc11-tdep.c (m68hc11_pseudo_register_read): Likewise.
1215 * xtensa-tdep.c (xtensa_register_read_masked): Likewise.
1216
1217 2018-01-22 Yao Qi <yao.qi@linaro.org>
1218
1219 * aarch64-tdep.c (aarch64_pseudo_read_value): Call regcache
1220 method raw_read instead of regcache_raw_read.
1221 * amd64-tdep.c (amd64_pseudo_register_read_value): Likewise.
1222 * arm-tdep.c (arm_neon_quad_read): Likewise.
1223 * avr-tdep.c (avr_pseudo_register_read): Likewise.
1224 * bfin-tdep.c (bfin_pseudo_register_read): Likewise.
1225 * frv-tdep.c (frv_pseudo_register_read): Likewise.
1226 * h8300-tdep.c (h8300_pseudo_register_read): Likewise.
1227 * i386-tdep.c (i386_mmx_regnum_to_fp_regnum): Likewise.
1228 (i386_pseudo_register_read_into_value): Likewise.
1229 * mep-tdep.c (mep_pseudo_cr32_read): Likewise.
1230 * msp430-tdep.c (msp430_pseudo_register_read): Likewise.
1231 * nds32-tdep.c (nds32_pseudo_register_read): Likewise.
1232 * rl78-tdep.c (rl78_pseudo_register_read): Likewise.
1233 * s390-linux-tdep.c (s390_pseudo_register_read): Likewise.
1234 * sparc-tdep.c (sparc32_pseudo_register_read): Likewise.
1235 * sparc64-tdep.c (sparc64_pseudo_register_read): Likewise.
1236 * spu-tdep.c (spu_pseudo_register_read_spu): Likewise.
1237 * xtensa-tdep.c (xtensa_pseudo_register_read): Likewise.
1238
1239 2018-01-22 Yao Qi <yao.qi@linaro.org>
1240
1241 * Makefile.in (ALL_TARGET_OBS): Remove mt-tdep.o.
1242 * configure.tgt: Remove target mt.
1243 * mt-tdep.c: Remove.
1244 * regcache.c (cooked_read_test): Remove the check for mt.
1245
1246 2018-01-22 Yao Qi <yao.qi@linaro.org>
1247
1248 * jit.c (jit_frame_prev_register): Call regcache::cooked_read
1249 instead of gdbarch_pseudo_register_read_value.
1250
1251 2018-01-22 Joel Brobecker <brobecker@adacore.com>
1252
1253 * dwarf2read.c (need_gnat_info): Return nonzero if the cu's
1254 language is Ada.
1255
1256 2018-01-22 Joel Brobecker <brobecker@adacore.com>
1257
1258 * linespec.c (create_sals_line_offset): Remove code that preserved
1259 the symtab_and_line's line number.
1260
1261 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
1262
1263 * varobj.c (varobj_create): Don't set valid_block when creating a
1264 floating varobj.
1265
1266 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
1267
1268 * varobj.c (varobj_create): Remove out of date comment.
1269
1270 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
1271
1272 PR mi/20395
1273 * ada-exp.y (write_var_from_sym): Pass extra parameter when
1274 updating innermost block.
1275 * parse.c (innermost_block_tracker::update): Take extra type
1276 parameter, and check types match before updating innermost block.
1277 (write_dollar_variable): Update innermost block for registers.
1278 * parser-defs.h (enum innermost_block_tracker_type): New enum.
1279 (innermost_block_tracker::innermost_block_tracker): Initialise
1280 m_types member.
1281 (innermost_block_tracker::reset): Take type parameter.
1282 (innermost_block_tracker::update): Take type parameter, and pass
1283 type through as needed.
1284 (innermost_block_tracker::m_types): New member.
1285 * varobj.c (varobj_create): Pass type when reseting innermost
1286 block.
1287
1288 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
1289
1290 * ada-exp.y (write_var_from_sym): Switch to innermost_block API.
1291 * ada-lang.c (resolve_subexp): Likewise.
1292 * breakpoint.c (set_breakpoint_condition) Likewise.
1293 (watch_command_1) Likewise.
1294 * c-exp.y (variable): Likewise.
1295 * d-exp.y (PrimaryExpression): Likewise.
1296 * f-exp.y (variable): Likewise.
1297 * go-exp.y (variable): Likewise.
1298 * m2-exp.y (variable): Likewise.
1299 * objfiles.c (objfile::~objfile): Likewise.
1300 * p-exp.y (variable): Likewise.
1301 * parse.c (innermost_block): Change type.
1302 * parser-defs.h (class innermost_block_tracker): New.
1303 (innermost_block): Change to innermost_block_tracker.
1304 * printcmd.c (display_command): Switch to innermost_block API.
1305 (do_one_display): Likewise.
1306 * rust-exp.y (do_one_display): Likewise.
1307 * symfile.c (clear_symtab_users): Likewise.
1308 * varobj.c (varobj_create): Switch to innermost_block API, replace
1309 use of innermost_block with block stored on varobj object.
1310
1311 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
1312
1313 * expression.h (innermost_block): Remove declaration.
1314 * varobj.c: Add 'parser-defs.h' include.
1315
1316 2018-01-19 Tom Tromey <tom@tromey.com>
1317
1318 * rust-lang.c (rust_lookup_symbol_nonlocal): Look up qualified
1319 symbols in the static and global blocks.
1320
1321 2018-01-19 James Clarke <jrtc27@jrtc27.com>
1322
1323 * nat/linux-ptrace.c: Remove unnecessary reinclusion of
1324 gdb_ptrace.h, and move including gdb_wait.h ...
1325 * nat/linux-ptrace.h: ... to here.
1326
1327 2018-01-19 Simon Marchi <simon.marchi@ericsson.com>
1328
1329 * inf-ptrace.c (inf_ptrace_detach): Adjust call to
1330 inf_ptrace_detach_success.
1331 (inf_ptrace_detach_success): Add inferior parameter, use it
1332 instead of inferior_ptid, pass it to detach_inferior.
1333 * inf-ptrace.h (inf_ptrace_detach_success): Add inferior
1334 parameter.
1335 * inferior.c (detach_inferior): Add overload that takes an
1336 inferior object.
1337 * inferior.h (detach_inferior): Likewise.
1338 * linux-nat.c (linux_nat_detach): Use the inf parameter, don't
1339 use inferior_ptid, adjust call to inf_ptrace_detach_success.
1340 * linux-thread-db.c (thread_db_detach): Use inf parameter.
1341
1342 2018-01-19 Simon Marchi <simon.marchi@ericsson.com>
1343
1344 * target.h (struct target_ops) <to_detach>: Add inferior
1345 parameter.
1346 (target_detach): Likewise.
1347 * target.c (dispose_inferior): Pass inferior down.
1348 (target_detach): Pass inferior down. Assert that it is equal to
1349 the current inferior.
1350 * aix-thread.c (aix_thread_detach): Pass inferior down.
1351 * corefile.c (core_file_command): Pass current_inferior() down.
1352 * corelow.c (core_detach): Add inferior parameter.
1353 * darwin-nat.c (darwin_detach): Likewise.
1354 * gnu-nat.c (gnu_detach): Likewise.
1355 * inf-ptrace.c (inf_ptrace_detach): Likewise.
1356 * infcmd.c (detach_command): Pass current_inferior() down to
1357 target_detach.
1358 * infrun.c (follow_fork_inferior): Pass parent_inf to
1359 target_detach.
1360 (handle_vfork_child_exec_or_exit): Pass inf->vfork_parent to
1361 target_detach.
1362 * linux-nat.c (linux_nat_detach): Add inferior parameter.
1363 * linux-thread-db.c (thread_db_detach): Likewise.
1364 * nto-procfs.c (procfs_detach): Likewise.
1365 * procfs.c (procfs_detach): Likewise.
1366 * record.c (record_detach): Likewise.
1367 * record.h (struct inferior): Forward-declare.
1368 (record_detach): Add inferior parameter.
1369 * remote-sim.c (gdbsim_detach): Likewise.
1370 * remote.c (remote_detach_1): Likewise.
1371 (remote_detach): Likewise.
1372 (extended_remote_detach): Likewise.
1373 * sol-thread.c (sol_thread_detach): Likewise.
1374 * target-debug.h (target_debug_print_inferior_p): New macro.
1375 * target-delegates.c: Re-generate.
1376 * top.c (kill_or_detach): Pass inferior down to target_detach.
1377 * windows-nat.c (windows_detach): Add inferior parameter.
1378
1379 2018-01-19 Simon Marchi <simon.marchi@ericsson.com>
1380
1381 * target.h (struct target_ops) <to_detach>: Remove args
1382 parameter.
1383 (target_detach): Likewise.
1384 * target.c (dispose_inferior): Adjust.
1385 (target_detach): Remove args parameter, adjust.
1386 * aix-thread.c (aix_thread_detach): Adjust.
1387 * corefile.c (core_file_command): Adjust.
1388 * corelow.c (core_detach): Adjust.
1389 * darwin-nat.c (darwin_detach): Adjust.
1390 * gnu-nat.c (gnu_detach): Adjust.
1391 * inf-ptrace.c (inf_ptrace_detach): Adjust.
1392 * infcmd.c (detach_command): Adjust
1393 * infrun.c (follow_fork_inferior): Adjust.
1394 (handle_vfork_child_exec_or_exit): Adjust.
1395 * linux-fork.c (linux_fork_detach): Remove args parameter.
1396 * linux-fork.h (linux_fork_detach): Likewise.
1397 * linux-nat.c (linux_nat_detach): Likewise, and adjust.
1398 * linux-thread-db.c (thread_db_detach): Likewise.
1399 * nto-procfs.c (procfs_detach): Likewise.
1400 * procfs.c (procfs_detach): Likewise.
1401 (do_detach): Remove signo parameter.
1402 * record.c (record_detach): Remove args parameter.
1403 * record.h (record_detach): Likewise.
1404 * remote-sim.c (gdbsim_detach): Likewise.
1405 * remote.c (remote_detach_1): Likewise.
1406 (remote_detach): Likewise.
1407 (extended_remote_detach): Likewise.
1408 * sol-thread.c (sol_thread_detach): Likewise.
1409 * target-delegates.c: Re-generate.
1410 * top.c (struct qt_args) <args>: Remove field.
1411 (kill_or_detach): Don't pass args.
1412 (quit_force): Don't set args.
1413 * windows-nat.c (windows_detach): Remove args parameter.
1414
1415 2018-01-19 Yao Qi <yao.qi@linaro.org>
1416
1417 * arm-linux-tdep.c (arm_linux_gcc_target_options): New function.
1418 (arm_linux_init_abi): Install it.
1419
1420 2018-01-19 Yao Qi <yao.qi@linaro.org>
1421
1422 * osabi.c (gdb_osabi_names): Extend the regexp for
1423 arm-linux-gnueabihf.
1424
1425 2018-01-18 Yao Qi <yao.qi@linaro.org>
1426
1427 * dwarf2read.c (abbrev_table) <abbrevs>: Rename it to
1428 m_abbrevs.
1429 (abbrev_table::add_abbrev): Update.
1430 (abbrev_table::lookup_abbrev): Update.
1431
1432 2018-01-18 Yao Qi <yao.qi@linaro.org>
1433
1434 * ppc-linux-tdep.c (ppu2spu_prev_register): Call cooked_read.
1435
1436 2018-01-17 Sergio Durigan Junior <sergiodj@redhat.com>
1437
1438 * compile/compile.c (compile_to_object): Convert "triplet_rx"
1439 to "std::string".
1440
1441 2018-01-17 Tom Tromey <tom@tromey.com>
1442
1443 * dwarf2read.c (symbolp): Remove typedef. Don't instantiate VEC.
1444
1445 2018-01-17 Tom Tromey <tom@tromey.com>
1446
1447 * gdbtypes.h (add_dyn_prop): Remove objfile parameter.
1448 * gdbtypes.c (add_dyn_prop): Remove objfile parameter.
1449 (create_array_type_with_stride): Update.
1450 * dwarf2read.c (set_die_type): Update.
1451
1452 2018-01-17 Tom Tromey <tom@tromey.com>
1453
1454 * dwarf2read.c (delayed_method_info): Remove typedef.
1455 (dwarf2_cu::method_info): Now a std::vector.
1456 (add_to_method_list): Update.
1457 (free_delayed_list): Remove.
1458 (compute_delayed_physnames): Update.
1459 (process_full_comp_unit, process_full_type_unit): Clear the method
1460 list. Remove cleanups.
1461 (psymtab_include_file_name): Add name_holder parameter. Use
1462 unique_xmalloc_ptr.
1463 (dwarf_decode_lines): Update.
1464
1465 2018-01-17 Tom Tromey <tom@tromey.com>
1466 Simon Marchi <simon.marchi@ericsson.com>
1467
1468 * dwarf2read.c (struct dwarf2_cu): Add constructor, destructor.
1469 (dwarf2_per_objfile::free_cached_comp_units)
1470 (init_tu_and_read_dwo_dies, init_cutu_and_read_dies)
1471 (init_cutu_and_read_dies_no_follow): Update.
1472 (dwarf2_cu::dwarf2_cu): Rename from init_one_comp_unit.
1473 (dwarf2_cu::~dwarf2_cu): New.
1474 (free_heap_comp_unit, free_stack_comp_unit): Remove.
1475 (age_cached_comp_units, free_one_cached_comp_unit): Update.
1476
1477 2018-01-17 Tom Tromey <tom@tromey.com>
1478 Simon Marchi <simon.marchi@ericsson.com>
1479
1480 * dwarf2read.c (struct dwarf2_cu) <abbrev_table>: Remove.
1481 (struct die_reader_specs) <abbrev_table>: New member.
1482 (struct abbrev_table): Add constructor.
1483 <alloc_abbrev, add_abbrev, lookup_abbrev>: Declare.
1484 <abbrev_obstack>: Now an auto_obstack.
1485 (abbrev_table_up): New typedef.
1486 (init_cu_die_reader): Add abbrev_table parameter.
1487 (read_cutu_die_from_dwo): Remove abbrev_table_provided parameter.
1488 Add result_dwo_abbrev_table.
1489 (init_tu_and_read_dwo_dies, init_cutu_and_read_dies)
1490 (init_cutu_and_read_dies_no_follow, build_type_psymtabs_1):
1491 Update.
1492 (peek_die_abbrev): Take die_reader_specs, not dwarf_cu as
1493 parameter.
1494 (skip_children): Update.
1495 (abbrev_table::alloc_abbrev): Rename from
1496 abbrev_table_alloc_abbrev.
1497 (abbrev_table::add_abbrev): Rename from abbrev_table_add_abbrev.
1498 (abbrev_table::lookup_abbrev): Rename from
1499 abbrev_table_lookup_abbrev.
1500 (abbrev_table_read_table): Return abbrev_table_up.
1501 (abbrev_table_free, abbrev_table_free_cleanup)
1502 (dwarf2_read_abbrevs, dwarf2_free_abbrev_table): Remove.
1503 (load_partial_dies): Update.
1504
1505 2018-01-17 Tom Tromey <tom@tromey.com>
1506
1507 * dwarf2read.c (dwarf2_compute_name): Update comment.
1508 (read_func_scope, read_variable): Update.
1509 (new_symbol): Remove.
1510 (new_symbol_full): Rename to new_symbol.
1511
1512 2018-01-17 Mike Gulick <mgulick@mathworks.com>
1513
1514 PR gdb/16577
1515 * gdb_bfd.c (gdb_bfd_map_section): If unable to read object file, issue
1516 a warning instead of throwing an error, set section size to 0 and return
1517 NULL.
1518 * gdb_bfd.h (gdb_bfd_map_section): Update description.
1519
1520 2018-01-17 Simon Marchi <simon.marchi@ericsson.com>
1521
1522 * nat/linux-ptrace.h (linux_ptrace_attach_fail_reason): Return
1523 std::string.
1524 (linux_ptrace_attach_fail_reason_string): Likewise.
1525 * nat/linux-ptrace.c (linux_ptrace_attach_fail_reason):
1526 Likewise.
1527 (linux_ptrace_attach_fail_reason_string): Likewise.
1528 * linux-nat.c (attach_proc_task_lwp_callback): Adjust.
1529
1530 2018-01-17 Simon Marchi <simon.marchi@ericsson.com>
1531
1532 * linux-nat.c (linux_nat_attach): Remove xstrdup.
1533
1534 2018-01-17 Eldar Abusalimov <eldar.abusalimov@jetbrains.com>
1535
1536 PR gdb/21559
1537 * configure.ac: Include <sys/types.h> prior to <sys/user.h> when
1538 checking for fs_base/gs_base fields in struct user_regs_struct.
1539 * configure: Regenerate.
1540
1541 2018-01-17 Yao Qi <yao.qi@linaro.org>
1542
1543 * aarch64-linux-tdep.c (aarch64_linux_gcc_target_options): New
1544 function.
1545 (aarch64_linux_init_abi): Install it to gdbarch hook
1546 gcc_target_options.
1547
1548 2018-01-15 Pedro Alves <palves@redhat.com>
1549
1550 * common/signals-state-save-restore.c
1551 (save_original_signals_state): Fix typos.
1552
1553 2017-01-12 Tom Tromey <tom@tromey.com>
1554 Sergio Durigan Junior <sergiodj@redhat.com>
1555
1556 * Makefile.in (install-only): Install gdb-add-index.
1557
1558 2018-01-12 John Baldwin <jhb@FreeBSD.org>
1559
1560 * fbsd-tdep.c (KVE_PROTECTION): Correct value.
1561
1562 2018-01-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
1563
1564 * infrun.c (keep_going_pass_signal): Clear step-over info when
1565 insert_breakpoints fails.
1566
1567 2018-01-11 Pedro Alves <palves@redhat.com>
1568
1569 PR gdb/22583
1570 * infrun.c (resume): Rename to ...
1571 (resume_1): ... this.
1572 (resume): Reimplement as wrapper around resume_1.
1573
1574 2018-01-11 Pedro Alves <palves@redhat.com>
1575
1576 PR remote/22597
1577 * remote.c (remote_parse_stop_reply): Default to the last-set
1578 general thread instead of to 'magic_null_ptid'.
1579
1580 2018-01-10 Pedro Alves <palves@redhat.com>
1581
1582 * language.h (language_get_symbol_name_matcher): Rename ...
1583 (get_symbol_name_matcher): ... this.
1584 * language.c (language_get_symbol_name_matcher): Ditto.
1585 * dictionary.c, linespec.c, minsyms.c, psymtab.c, symtab.c: All
1586 callers adjusted.
1587
1588 2018-01-10 Pedro Alves <palves@redhat.com>
1589
1590 PR gdb/22670
1591 * dwarf2read.c
1592 (gdb_index_symbol_name_matcher::gdb_index_symbol_name_matcher):
1593 Adjust to use language_get_symbol_name_matcher instead of
1594 language_defn::la_get_symbol_name_matcher.
1595 * language.c (language_get_symbol_name_matcher): If in Ada mode
1596 and the lookup name is a verbatim match, return Ada's matcher.
1597 * language.h (language_get_symbol_name_matcher): Adjust comment.
1598 (ada_lookup_name_info::verbatim_p):: New method.
1599
1600 2018-01-10 Pedro Alves <palves@redhat.com>
1601
1602 PR gdb/22670
1603 * ada-lang.c (ada_collect_symbol_completion_matches): If the
1604 minsym's language is language_auto or language_cplus, pass down
1605 language_ada instead.
1606 * symtab.c (compare_symbol_name): Don't frob symbol language here.
1607
1608 2018-01-10 Pedro Alves <palves@redhat.com>
1609
1610 PR gdb/22670
1611 * minsyms.c (linkage_name_str): New function.
1612 (iterate_over_minimal_symbols): Use it.
1613
1614 2018-01-09 John Baldwin <jhb@FreeBSD.org>
1615
1616 * NEWS: Document that 'info proc' now works on FreeBSD.
1617
1618 2018-01-09 John Baldwin <jhb@FreeBSD.org>
1619
1620 * configure.ac: Check for kinfo_getfile in libutil.
1621 * configure: Regenerate.
1622 * config.in: Regenerate.
1623 * fbsd-nat.c: Include "fbsd-tdep.h".
1624 (fbsd_fetch_cmdline): New.
1625 (fbsd_fetch_kinfo_proc): Move earlier and change to return a bool
1626 rather than calling error.
1627 (fbsd_info_proc): New.
1628 (fbsd_thread_name): Report error if fbsd_fetch_kinfo_proc fails.
1629 (fbsd_wait): Report warning if fbsd_fetch_kinfo_proc fails.
1630 (fbsd_nat_add_target): Set "to_info_proc" to "fbsd_info_proc".
1631
1632 2018-01-09 John Baldwin <jhb@FreeBSD.org>
1633
1634 * fbsd-nat.c (struct free_deleter): Remove.
1635 (fbsd_find_memory_regions): Use gdb::unique_xmalloc_ptr<>.
1636
1637 2018-01-09 John Baldwin <jhb@FreeBSD.org>
1638
1639 * fbsd-nat.c (fbsd_pid_to_exec_file) [KERN_PROC_PATHNAME]: Return
1640 NULL for an empty pathname.
1641
1642 2018-01-09 John Baldwin <jhb@FreeBSD.org>
1643
1644 * fbsd-tdep.c (KVE_STRUCTSIZE, KVE_START, KVE_END, KVE_OFFSET)
1645 (KVE_FLAGS, KVE_PROTECTION, KVE_PATH, KINFO_VME_PROT_READ)
1646 (KINFO_VME_PROT_WRITE, KINFO_VME_PROT_EXEC, KINFO_VME_FLAG_COW)
1647 (KINFO_VME_FLAG_NEEDS_COPY, KINFO_VME_FLAG_NOCOREDUMP)
1648 (KINFO_VME_FLAG_SUPER, KINFO_VME_FLAG_GROWS_UP)
1649 (KINFO_VME_FLAG_GROWS_DOWN, KF_STRUCTSIZE, KF_TYPE, KF_FD)
1650 (KF_PATH, KINFO_FILE_TYPE_VNODE, KINFO_FILE_FD_TYPE_CWD)
1651 (KINFO_FILE_FD_TYPE_TEXT, SIG_WORDS, struct kinfo_proc_layout)
1652 (kinfo_proc_layout_32, kinfo_proc_layout_i386)
1653 (kinfo_proc_layout_64, fbsd_vm_map_entry_flags)
1654 (fbsd_core_info_proc_mappings, fbsd_core_vnode_path)
1655 (fbsd_core_fetch_timeval, fbsd_print_sigset)
1656 (fbsd_core_info_proc_status, fbsd_core_info_proc): New.
1657 (fbsd_init_abi): Install gdbarch "core_info_proc" method.
1658 * fbsd-tdep.h (fbsd_vm_map_entry_flags): New.
1659
1660 2018-01-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
1661
1662 * gdb/gnu-nat.c: Include <elf.h> and <link.h>.
1663 (gnu_xfer_auxv): New function.
1664 (gnu_xfer_partial): Call gnu_xfer_auxv when `object' is
1665 TARGET_OBJECT_AUXV.
1666
1667 2018-01-08 Yao Qi <yao.qi@linaro.org>
1668 Simon Marchi <simon.marchi@ericsson.com>
1669
1670 * Makefile.in (COMMON_SFILES): Remove selftest-arch.c and
1671 common/selftest.c.
1672 (COMMON_OBS): Remove selftest.o.
1673 * configure.ac: Append selftest-arch.c and common/selftest.c to
1674 CONFIG_SRCS. Append selftest-arch.o and selftest.o to COMMON_OBS.
1675 * configure: Re-generated.
1676 * maint.c (maintenance_selftest): Wrap selftests::run_tests with
1677 GDB_SELF_TEST.
1678 (maintenance_info_selftests): Likewise.
1679
1680 2018-01-08 Xavier Roirand <roirand@adacore.com>
1681
1682 * ada-valprint.c (val_print_packed_array_elements): Use
1683 proper number of elements when printing an array indexed
1684 by an enumeration type.
1685
1686 2018-01-07 Simon Marchi <simon.marchi@polymtl.ca>
1687
1688 * dwarf2read.c (struct dwarf2_cu) <dwarf2_per_objfile>: Remove.
1689 (dw2_get_file_names_reader): Adjust.
1690 (lookup_dwo_signatured_type): Adjust.
1691 (lookup_dwp_signatured_type): Adjust.
1692 (lookup_signatured_type): Adjust.
1693 (create_type_unit_group): Adjust.
1694 (get_type_unit_group): Adjust.
1695 (process_psymtab_comp_unit_reader): Adjust.
1696 (build_type_psymtabs_reader): Adjust.
1697 (scan_partial_symbols): Adjust.
1698 (add_partial_symbol): Adjust.
1699 (add_partial_subprogram): Adjust.
1700 (peek_die_abbrev): Adjust.
1701 (fixup_go_packaging): Adjust.
1702 (process_imported_unit_die): Adjust.
1703 (dwarf2_compute_name): Adjust.
1704 (dwarf2_physname): Adjust.
1705 (read_import_statement): Adjust.
1706 (handle_DW_AT_stmt_list): Adjust.
1707 (read_file_scope): Adjust.
1708 (read_func_scope): Adjust.
1709 (read_lexical_block_scope): Adjust.
1710 (read_call_site_scope): Adjust.
1711 (read_variable): Adjust.
1712 (dwarf2_rnglists_process): Adjust.
1713 (dwarf2_ranges_process): Adjust.
1714 (dwarf2_ranges_read): Adjust.
1715 (dwarf2_get_pc_bounds): Adjust.
1716 (dwarf2_record_block_ranges): Adjust.
1717 (dwarf2_add_field): Adjust.
1718 (dwarf2_add_member_fn): Adjust.
1719 (read_structure_type): Adjust.
1720 (process_structure_scope): Adjust.
1721 (read_enumeration_type): Adjust.
1722 (read_array_type): Adjust.
1723 (mark_common_block_symbol_computed): Adjust.
1724 (read_common_block): Adjust.
1725 (read_namespace_type): Adjust.
1726 (read_namespace): Adjust.
1727 (read_module_type): Adjust.
1728 (read_tag_pointer_type): Adjust.
1729 (read_tag_ptr_to_member_type): Adjust.
1730 (read_tag_string_type): Adjust.
1731 (read_subroutine_type): Adjust.
1732 (read_typedef): Adjust.
1733 (read_base_type): Adjust.
1734 (attr_to_dynamic_prop): Adjust.
1735 (read_subrange_type): Adjust.
1736 (read_unspecified_type): Adjust.
1737 (dwarf2_read_abbrevs): Adjust.
1738 (load_partial_dies): Adjust.
1739 (read_partial_die): Adjust.
1740 (find_partial_die): Adjust.
1741 (guess_partial_die_structure_name): Adjust.
1742 (fixup_partial_die): Adjust.
1743 (read_attribute_value): Adjust.
1744 (read_addr_index): Adjust.
1745 (read_addr_index_from_leb128): Adjust.
1746 (read_str_index): Adjust.
1747 (dwarf2_string_attr): Adjust.
1748 (get_debug_line_section): Adjust.
1749 (dwarf_decode_line_header): Adjust.
1750 (lnp_state_machine::check_line_address): Adjust.
1751 (dwarf_decode_lines_1): Adjust.
1752 (dwarf_decode_lines): Adjust.
1753 (dwarf2_start_symtab): Adjust.
1754 (var_decode_location): Adjust.
1755 (new_symbol_full): Adjust.
1756 (dwarf2_const_value_data): Adjust.
1757 (dwarf2_const_value_attr): Adjust.
1758 (dwarf2_const_value): Adjust.
1759 (die_type): Adjust.
1760 (die_containing_type): Adjust.
1761 (build_error_marker_type): Adjust.
1762 (lookup_die_type): Adjust.
1763 (guess_full_die_structure_name): Adjust.
1764 (anonymous_struct_prefix): Adjust.
1765 (determine_prefix): Adjust.
1766 (dwarf2_name): Adjust.
1767 (follow_die_ref_or_sig): Adjust.
1768 (follow_die_offset): Adjust.
1769 (follow_die_ref): Adjust.
1770 (follow_die_sig_1): Adjust.
1771 (follow_die_sig): Adjust.
1772 (get_signatured_type): Adjust.
1773 (get_DW_AT_signature_type): Adjust.
1774 (decode_locdesc): Adjust.
1775 (dwarf_decode_macros): Adjust.
1776 (cu_debug_loc_section): Adjust.
1777 (fill_in_loclist_baton): Adjust.
1778 (dwarf2_symbol_mark_computed): Adjust.
1779 (init_one_comp_unit): Don't assign
1780 dwarf2_cu::dwarf2_per_objfile.
1781 (set_die_type): Adjust.
1782
1783 2018-01-07 Simon Marchi <simon.marchi@ericsson.com>
1784
1785 * dwarf2read.c (struct mapped_debug_names): Add constructor.
1786 <dwarf2_per_objfile>: New field.
1787 (dwarf2_per_objfile): Remove global.
1788 (get_dwarf2_per_objfile): New function.
1789 (set_dwarf2_per_objfile): New function.
1790 (dwarf2_build_psymtabs_hard): Change objfile parameter to
1791 dwarf2_per_objfile.
1792 (abbrev_table_read_table): Add dwarf2_per_objfile parameter.
1793 (read_abbrev_offset): Likewise.
1794 (read_indirect_string): Likewise.
1795 (read_indirect_line_string): Likewise.
1796 (read_indirect_string_at_offset): Likewise.
1797 (read_indirect_string_from_dwz): Likewise.
1798 (dwarf2_find_containing_comp_unit): Change objfile parameter to
1799 dwarf2_per_objfile.
1800 (age_cached_comp_units): Add dwarf2_per_objfile parameter.
1801 (create_all_comp_units): Change objfile parameter to
1802 dwarf2_per_objfile.
1803 (create_all_type_units): Likewise.
1804 (process_queue): Add dwarf2_per_objfile parameter.
1805 (read_and_check_comp_unit_head): Likewise.
1806 (lookup_dwo_unit_in_dwp): Likewise.
1807 (get_dwp_file): Likewise.
1808 (process_cu_includes): Likewise.
1809 (struct free_dwo_file_cleanup_data): New struct.
1810 (dwarf2_has_info): Use get_dwarf2_per_objfile and
1811 set_dwarf2_per_objfile.
1812 (dwarf2_get_dwz_file): Add dwarf2_per_objfile parameter.
1813 (dw2_do_instantiate_symtab): Get dwarf2_per_objfile from
1814 context, adjust calls.
1815 (dw2_instantiate_symtab): Likewise.
1816 (dw2_get_cutu): Add dwarf2_per_objfile parameter.
1817 (dw2_get_cu): Likewise.
1818 (create_cu_from_index_list): Change objfile parameter to
1819 dwarf2_per_objfile.
1820 (create_cus_from_index_list): Get dwarf2_per_objfile from
1821 context, adjust calls.
1822 (create_cus_from_index): Likewise.
1823 (create_signatured_type_table_from_index): Change objfile
1824 parameter to dwarf2_per_objfile.
1825 (create_signatured_type_table_from_debug_names): Change objfile
1826 parameter to dwarf2_per_objfile.
1827 (create_addrmap_from_index): Likewise.
1828 (create_addrmap_from_aranges): Likewise.
1829 (dwarf2_read_index): Use get_dwarf2_per_objfile, adjust calls.
1830 (dw2_setup): Remove.
1831 (dw2_get_file_names_reader): Get dwarf2_per_objfile from
1832 context.
1833 (dw2_find_last_source_symtab): Get dwarf2_per_objfile using
1834 get_dwarf2_per_objfile.
1835 (dw2_forget_cached_source_info): Likewise.
1836 (dw2_map_symtabs_matching_filename): Likewise.
1837 (struct dw2_symtab_iterator) <index>: Remove.
1838 <dwarf2_per_objfile>: New field.
1839 (dw2_symtab_iter_init): Replace index parameter with
1840 dwarf2_per_objfile.
1841 (dw2_symtab_iter_next): Use dwarf2_per_objfile from iter.
1842 (dw2_lookup_symbol): Use get_dwarf2_per_objfile and adjust.
1843 (dw2_print_stats): Likewise.
1844 (dw2_dump): Likewise.
1845 (dw2_expand_symtabs_for_function): Likewise.
1846 (dw2_expand_all_symtabs): Likewise.
1847 (dw2_expand_symtabs_with_fullname): Likewise.
1848 (dw2_expand_marked_cus): Replace index and objfile parameters
1849 with dwarf2_per_objfile.
1850 (dw_expand_symtabs_matching_file_matcher): Add
1851 dwarf2_per_objfile parameter and adjust calls.
1852 (dw2_expand_symtabs_matching): Use get_dwarf2_per_objfile and
1853 adjust calls.
1854 (dw2_find_pc_sect_compunit_symtab): Don't call dw2_setup.
1855 (dw2_map_symbol_filenames): Use get_dwarf2_per_objfile and
1856 adjust calls.
1857 (create_cus_from_debug_names_list): Replace objfile parameter
1858 with dwarf2_per_objfile and adjust calls.
1859 (create_cus_from_debug_names): Likewise.
1860 (dwarf2_read_debug_names): Likewise.
1861 (mapped_debug_names::namei_to_name): Adjust call.
1862 (dw2_debug_names_iterator::next): Likewise.
1863 (dw2_debug_names_iterator::find_vec_in_debug_names): Likewise.
1864 (dw2_debug_names_lookup_symbol): Use get_dwarf2_per_objfile.
1865 (dw2_debug_names_dump): Likewise.
1866 (dw2_debug_names_expand_symtabs_for_function): Likewise.
1867 (dw2_debug_names_expand_symtabs_matching): Likewise.
1868 (dwarf2_initialize_objfile): Likewise.
1869 (dwarf2_build_psymtabs): Likewise.
1870 (get_abbrev_section_for_cu): Get dwarf2_per_objfile from
1871 this_cu.
1872 (error_check_comp_unit_head): Add dwarf2_per_objfile parameter.
1873 (read_and_check_comp_unit_head): Likewise.
1874 (read_abbrev_offset): Likewise.
1875 (create_debug_type_hash_table): Likewise.
1876 (create_debug_types_hash_table): Likewise.
1877 (create_all_type_units): Replace objfile parameter with
1878 dwarf2_per_objfile.
1879 (add_type_unit): Add dwarf2_per_objfile parameter.
1880 (fill_in_sig_entry_from_dwo_entry): Replace objfile parameter
1881 with dwarf2_per_objfile.
1882 (lookup_dwo_signatured_type): Get dwarf2_per_objfile from cu.
1883 (lookup_dwp_signatured_type): Likewise.
1884 (lookup_signatured_type): Likewise.
1885 (read_cutu_die_from_dwo): Likewise.
1886 (init_tu_and_read_dwo_dies): Likewise.
1887 (init_cutu_and_read_dies): Likewise.
1888 (init_cutu_and_read_dies_no_follow): Likewise.
1889 (allocate_type_unit_groups_table): Add objfile parameter.
1890 (create_type_unit_group): Use dwarf2_per_objfile from cu.
1891 (get_type_unit_group): Likewise.
1892 (process_psymtab_comp_unit): Update call.
1893 (build_type_psymtabs_reader): Use dwarf2_per_objfile from cu.
1894 (build_type_psymtabs_1): Add dwarf2_per_objfile parameter.
1895 (print_tu_stats): Likewise.
1896 (build_type_psymtab_dependencies): Use dwarf2_per_objfile passed
1897 in void* parameter.
1898 (build_type_psymtabs): Change objfile parameter to
1899 dwarf2_per_objfile.
1900 (process_skeletonless_type_unit): Use dwarf2_per_objfile
1901 passed in void* parameter.
1902 (process_skeletonless_type_units): Change objfile parameter to
1903 dwarf2_per_objfile.
1904 (set_partial_user): Likewise.
1905 (dwarf2_build_psymtabs_hard): Likewise.
1906 (read_comp_units_from_section): Likewise.
1907 (create_all_comp_units): Likewise.
1908 (scan_partial_symbols): Update calls.
1909 (add_partial_symbol): Likewise.
1910 (dwarf2_read_symtab): Use get_dwarf2_per_objfile.
1911 (maybe_queue_comp_unit): Use dwarf2_read_symtab from cu.
1912 (process_queue): Add dwarf2_per_objfile parameter.
1913 (get_compunit_symtab): Use dwarf2_per_objfile from cu.
1914 (compute_compunit_symtab_includes): Likewise.
1915 (process_cu_includes): Add dwarf2_per_objfile parameter.
1916 (process_full_comp_unit): Use dwarf2_per_objfile from cu.
1917 (process_full_type_unit): Likewise.
1918 (process_imported_unit_die): Update call.
1919 (handle_DW_AT_stmt_list): Use dwarf2_per_objfile from cu.
1920 (read_file_scope): Likewise.
1921 (allocate_dwo_file_hash_table): Add objfile parameter.
1922 (lookup_dwo_file_slot): Add dwarf2_per_objfile parameter.
1923 (create_cus_hash_table): Likewise.
1924 (create_dwp_hash_table): Likewise.
1925 (create_dwo_unit_in_dwp_v1): Likewise.
1926 (create_dwp_v2_section): Likewise.
1927 (create_dwo_unit_in_dwp_v2): Likewise.
1928 (lookup_dwo_unit_in_dwp): Likewise.
1929 (try_open_dwop_file): Likewise.
1930 (open_dwo_file): Likewise. Use dwarf2_per_objfile from cu.
1931 (open_and_init_dwo_file): Use dwarf2_per_objfile from cu, update
1932 cleanup to include a reference to dwarf2_per_objfile.
1933 (open_dwp_file): Add dwarf2_per_objfile parameter.
1934 (open_and_init_dwp_file): Likewise.
1935 (get_dwp_file): Likewise.
1936 (lookup_dwo_cutu): Use dwarf2_per_objfile from cu.
1937 (queue_and_load_all_dwo_tus): Update call.
1938 (free_dwo_file_cleanup): Use dwarf2_per_objfile from cleanup
1939 data.
1940 (dwarf2_rnglists_process): Use dwarf2_per_objfile from cu.
1941 (dwarf2_ranges_process): Likewise.
1942 (dwarf2_get_pc_bounds): Likewise.
1943 (mark_common_block_symbol_computed): Likewise.
1944 (abbrev_table_read_table): Add dwarf2_per_objfile parameter.
1945 (dwarf2_read_abbrevs): Update call.
1946 (read_partial_die): Use dwarf2_per_objfile from cu.
1947 (find_partial_die): Likewise.
1948 (fixup_partial_die): Likewise.
1949 (read_attribute_value): Likewise.
1950 (read_indirect_string_at_offset_from): Add objfile parameter.
1951 (read_indirect_string_at_offset): Add dwarf2_per_objfile
1952 parameter.
1953 (read_indirect_string_from_dwz): Add objfile parameter.
1954 (read_indirect_string): Add objfile parameter.
1955 (read_addr_index_1): Add dwarf2_per_objfile parameter.
1956 (read_addr_index): Use dwarf2_per_objfile from cu.
1957 (dwarf2_read_addr_index): Use dwarf2_per_objfile from cu, don't
1958 call dw2_setup.
1959 (read_str_index): Use dwarf2_per_objfile from cu.
1960 (get_debug_line_section): Likewise.
1961 (read_formatted_entries): Add dwarf2_per_objfile parameter.
1962 (dwarf_decode_line_header): Use dwarf2_per_objfile from cu.
1963 (new_symbol_full): Use dwarf2_per_objfile from cu.
1964 (build_error_marker_type): Likewise.
1965 (lookup_die_type): Likewise.
1966 (determine_prefix): Likewise.
1967 (follow_die_offset): Likewise.
1968 (dwarf2_fetch_die_loc_sect_off): Use get_dwarf2_per_objfile.
1969 (dwarf2_fetch_constant_bytes): Don't call dw2_setup.
1970 (dwarf2_fetch_die_type_sect_off): Likewise.
1971 (dwarf2_get_die_type): Likewise.
1972 (follow_die_sig_1): Use dwarf2_per_objfile from cu.
1973 (get_signatured_type): Likewise.
1974 (get_DW_AT_signature_type): Likewise.
1975 (dwarf_decode_macro_bytes): Add dwarf2_per_objfile parameter.
1976 (dwarf_decode_macros): Use dwarf2_per_objfile from cu.
1977 (cu_debug_loc_section): Likewise.
1978 (fill_in_loclist_baton): Likewise.
1979 (dwarf2_symbol_mark_computed): Likewise.
1980 (dwarf2_find_containing_comp_unit): Change objfile parameter to
1981 dwarf2_per_objfile.
1982 (free_cached_comp_units): Use dwarf2_per_objfile passed in void*
1983 parameter.
1984 (age_cached_comp_units): Add dwarf2_per_objfile parameter.
1985 (free_one_cached_comp_unit): Use dwarf2_per_objfile from cu.
1986 (dwarf2_free_objfile): Use get_dwarf2_per_objfile.
1987 (set_die_type): Use dwarf2_free_objfile from cu.
1988 (get_die_type_at_offset): Likewise.
1989 (dwarf2_per_objfile_free): Don't assign global variable.
1990 (debug_names) <constructor>: Add dwarf2_per_objfile
1991 parameter, update m_debugstrlookup construction.
1992 (debug_names::debug_str_lookup): Add dwarf2_per_objfile
1993 parameter.
1994 <m_dwarf2_per_objfile>: New field.
1995 <lookup>: Use m_dwarf2_per_objfile.
1996 (check_dwarf64_offsets): Add dwarf2_per_objfile parameter.
1997 (psyms_seen_size): Likewise.
1998 (write_gdbindex): Replace objfile parameter with
1999 dwarf2_per_objfile.
2000 (write_debug_names): Likewise.
2001 (write_psymtabs_to_index): Likewise.
2002 (save_gdb_index_command): Use get_dwarf2_per_objfile, update
2003 calls.
2004
2005 2018-01-07 Simon Marchi <simon.marchi@ericsson.com>
2006
2007 * dwarf2read.c (struct dwarf2_cu) <objfile>: Remove.
2008 <dwarf2_per_objfile>: New field.
2009 (struct dwarf2_per_cu_data) <objfile>: Remove.
2010 <dwarf2_per_objfile>: New field.
2011 (create_cu_from_index_list): Assign dwarf2_per_objfile instead
2012 of objfile.
2013 (create_signatured_type_table_from_index): Likewise.
2014 (create_debug_type_hash_table): Likewise.
2015 (fill_in_sig_entry_from_dwo_entry): Likewise.
2016 (lookup_dwo_unit): Access objfile through dwarf2_per_objfile.
2017 (create_type_unit_group): Assign dwarf2_per_objfile instead of
2018 objfile.
2019 (create_partial_symtab): Access objfile through
2020 dwarf2_per_objfile.
2021 (process_psymtab_comp_unit_reader): Likewise.
2022 (read_comp_units_from_section): Likewise.
2023 (scan_partial_symbols): Likewise.
2024 (add_partial_symbol): Likewise.
2025 (add_partial_subprogram): Likewise.
2026 (peek_die_abbrev): Likewise.
2027 (fixup_go_packaging): Likewise.
2028 (process_full_comp_unit): Likewise.
2029 (process_full_type_unit): Likewise.
2030 (process_imported_unit_die): Likewise.
2031 (dwarf2_compute_name): Likewise.
2032 (dwarf2_physname): Likewise.
2033 (read_import_statement): Likewise.
2034 (create_cus_hash_table): Assign dwarf2_physname instead of
2035 objfile.
2036 (read_func_scope): Access objfile through dwarf2_per_objfile.
2037 (read_lexical_block_scope): Likewise.
2038 (read_call_site_scope): Likewise.
2039 (read_variable): Likewise.
2040 (dwarf2_rnglists_process): Likewise.
2041 (dwarf2_ranges_process): Likewise.
2042 (dwarf2_ranges_read): Likewise.
2043 (dwarf2_record_block_ranges): Likewise.
2044 (dwarf2_add_field): Likewise.
2045 (dwarf2_add_member_fn): Likewise.
2046 (read_structure_type): Likewise.
2047 (process_structure_scope): Likewise.
2048 (read_enumeration_type): Likewise.
2049 (read_array_type): Likewise.
2050 (read_common_block): Likewise.
2051 (read_namespace_type): Likewise.
2052 (read_namespace): Likewise.
2053 (read_module_type): Likewise.
2054 (read_tag_pointer_type): Likewise.
2055 (read_tag_ptr_to_member_type): Likewise.
2056 (read_tag_string_type): Likewise.
2057 (read_subroutine_type): Likewise.
2058 (read_typedef): Likewise.
2059 (read_base_type): Likewise.
2060 (attr_to_dynamic_prop): Likewise.
2061 (read_subrange_type): Likewise.
2062 (read_unspecified_type): Likewise.
2063 (load_partial_dies): Likewise.
2064 (read_partial_die): Likewise.
2065 (find_partial_die): Likewise.
2066 (guess_partial_die_structure_name): Likewise.
2067 (fixup_partial_die): Likewise.
2068 (read_attribute_value): Likewise.
2069 (read_addr_index_from_leb128): Likewise.
2070 (dwarf2_read_addr_index): Likewise.
2071 (dwarf2_string_attr): Likewise.
2072 (lnp_state_machine::check_line_address): Likewise.
2073 (dwarf_decode_lines_1): Likewise.
2074 (dwarf_decode_lines): Likewise.
2075 (dwarf2_start_symtab): Likewise.
2076 (var_decode_location): Likewise.
2077 (new_symbol_full): Likewise.
2078 (dwarf2_const_value_data): Likewise.
2079 (dwarf2_const_value_attr): Likewise.
2080 (dwarf2_const_value): Likewise.
2081 (die_type): Likewise.
2082 (die_containing_type): Likewise.
2083 (lookup_die_type): Likewise.
2084 (guess_full_die_structure_name): Likewise.
2085 (anonymous_struct_prefix): Likewise.
2086 (dwarf2_name): Likewise.
2087 (follow_die_ref_or_sig): Likewise.
2088 (follow_die_offset): Likewise.
2089 (follow_die_ref): Likewise.
2090 (dwarf2_fetch_die_loc_sect_off): Likewise.
2091 (dwarf2_fetch_constant_bytes): Likewise.
2092 (dwarf2_fetch_die_type_sect_off): Likewise.
2093 (dwarf2_get_die_type): Likewise.
2094 (follow_die_sig): Likewise.
2095 (decode_locdesc): Likewise.
2096 (dwarf2_per_cu_objfile): Likewise.
2097 (dwarf2_per_cu_text_offset): Likewise.
2098 (init_one_comp_unit): Assign dwarf2_per_objfile instead of
2099 objfile.
2100 (set_die_type): Access objfile through
2101 dwarf2_per_objfile.
2102
2103 2018-01-07 Simon Marchi <simon.marchi@ericsson.com>
2104
2105 * valprint.c (converted_character_d): Remove typedef.
2106 (DEF_VEC_O (converted_character_d)): Remove.
2107 (count_next_character): Use std::vector.
2108 (print_converted_chars_to_obstack): Likewise.
2109 (generic_printstr): Likewise.
2110
2111 2018-01-07 Simon Marchi <simon.marchi@polymtl.ca>
2112
2113 * xml-support.h (struct gdb_xml_value): Add constructor.
2114 <value>: Change type to unique_xmalloc_ptr.
2115 (gdb_xml_value_s): Remove typedef.
2116 (DEF_VEC_O (gdb_xml_value_s)): Remove.
2117 (gdb_xml_element_start_handler): Change parameter type to
2118 std::vector.
2119 (xml_find_attribute): Likewise.
2120 * xml-support.c (xml_find_attribute): Change parameter type to
2121 std::vector and adjust.
2122 (gdb_xml_values_cleanup): Remove.
2123 (gdb_xml_parser::start_element): Adjust to std::vector.
2124 (xinclude_start_include): Change paraeter type to std::vector
2125 and adjust.
2126 * btrace.c (check_xml_btrace_version): Likewise.
2127 (parse_xml_btrace_block): Likewise.
2128 (parse_xml_btrace_pt_config_cpu): Likewise.
2129 (parse_xml_btrace_pt): Likewise.
2130 (parse_xml_btrace_conf_bts): Likewise.
2131 (parse_xml_btrace_conf_pt): Likewise.
2132 * memory-map.c (memory_map_start_memory): Likewise.
2133 (memory_map_start_property): Likewise.
2134 * osdata.c (osdata_start_osdata): Likewise.
2135 (osdata_start_item): Likewise.
2136 (osdata_start_column): Likewise.
2137 * remote.c (start_thread): Likewise.
2138 * solib-aix.c (library_list_start_library): Likewise.
2139 (library_list_start_list): Likewise.
2140 * solib-svr4.c (library_list_start_library): Likewise.
2141 (svr4_library_list_start_list): Likewise.
2142 * solib-target.c (library_list_start_segment): Likewise.
2143 (library_list_start_section): Likewise.
2144 (library_list_start_library): Likewise.
2145 (library_list_start_list): Likewise.
2146 * tracepoint.c (traceframe_info_start_memory): Likewise.
2147 (traceframe_info_start_tvar): Likewise.
2148 * xml-syscall.c (syscall_start_syscall): Likewise.
2149 * xml-tdesc.c (tdesc_start_target): Likewise.
2150 (tdesc_start_feature): Likewise.
2151 (tdesc_start_reg): Likewise.
2152 (tdesc_start_union): Likewise.
2153 (tdesc_start_struct): Likewise.
2154 (tdesc_start_flags): Likewise.
2155 (tdesc_start_enum): Likewise.
2156 (tdesc_start_field): Likewise.
2157 (tdesc_start_enum_value): Likewise.
2158 (tdesc_start_vector): Likewise.
2159
2160 2018-01-07 Simon Marchi <simon.marchi@polymtl.ca>
2161
2162 * extension.h (struct xmethod_worker) <clone>: Remove.
2163 * python/py-xmethods.c (struct python_xmethod_worker) <clone>:
2164 Remove.
2165 (python_xmethod_worker::clone): Remove.
2166 * valops.c (find_overload_match): Use std::move instead of
2167 clone.
2168
2169 2018-01-07 Simon Marchi <simon.marchi@polymtl.ca>
2170
2171 * extension-priv.h (enum ext_lang_rc): Remove, move to extension.h.
2172 (struct extension_language_ops) <clone_xmethod_worker_data>: Remove.
2173 <free_xmethod_worker_data>: Remove.
2174 <get_matching_xmethod_workers>: Chance VEC to std::vector.
2175 <get_xmethod_arg_types>: Remove.
2176 <get_xmethod_result_type>: Remove.
2177 <invoke_xmethod>: Remove.
2178 * extension.c (new_xmethod_worker): Remove.
2179 (clone_xmethod_worker): Remove.
2180 (get_matching_xmethod_workers): Return void, pass std::vector by
2181 pointer.
2182 (get_xmethod_arg_types): Rename to...
2183 (xmethod_worker::get_arg_types): ... this, and adjust.
2184 (get_xmethod_result_type): Rename to...
2185 (xmethod_worker::get_result_type): ... this, and adjust.
2186 (invoke_xmethod): Remove.
2187 (free_xmethod_worker): Remove.
2188 (free_xmethod_worker_vec): Remove.
2189 * extension.h (enum ext_lang_rc): Move here from
2190 extension-priv.h.
2191 (struct xmethod_worker): Add constructor and destructor.
2192 <data>: Remove.
2193 <value>: Remove.
2194 <invoke, clone, do_get_result_type, do_get_arg_types>: New
2195 virtual pure methods.
2196 <get_arg_types, get_result_type>: New methods.
2197 (xmethod_worker_ptr): Remove typedef.
2198 (DEF_VEC_P (xmethod_worker_ptr)): Remove.
2199 (xmethod_worker_vec): Remove typedef.
2200 (xmethod_worker_up): New typedef.
2201 (invoke_xmethod): Remove.
2202 (clone_xmethod_worker): Remove.
2203 (free_xmethod_worker): Remove.
2204 (free_xmethod_worker_vec): Remove.
2205 (get_xmethod_arg_types): Remove.
2206 (get_xmethod_result_type): Remove.
2207 * valops.c (find_method_list): Use std::vector, don't use
2208 intermediate vector.
2209 (value_find_oload_method_list): Use std::vector.
2210 (find_overload_match): Use std::vector.
2211 (find_oload_champ): Use std::vector.
2212 * value.c (value_free): Use operator delete.
2213 (value_of_xmethod): Rename to...
2214 (value_from_xmethod): ... this. Don't assign
2215 xmethod_worker::value, take rvalue-reference.
2216 (result_type_of_xmethod): Adjust.
2217 (call_xmethod): Adjust.
2218 * value.h: Include extension.h.
2219 (struct xmethod_worker): Don't forward-declare.
2220 (value_of_xmethod): Rename to...
2221 (value_from_xmethod): ... this, take rvalue-reference.
2222 * python/py-xmethods.c (struct gdbpy_worker_data): Rename to...
2223 (struct python_xmethod_worker): ... this, add constructor and
2224 destructor.
2225 <invoke, clone, do_get_arg_types, do_get_result_type>: Implement.
2226 (gdbpy_free_xmethod_worker_data): Rename to...
2227 (python_xmethod_worker::~python_xmethod_worker): ... this and
2228 adjust.
2229 (gdbpy_clone_xmethod_worker_data): Rename to...
2230 (python_xmethod_worker::clone): ... this and adjust.
2231 (gdbpy_get_matching_xmethod_workers): Use std::vector, don't use
2232 temporary vector.
2233 (gdbpy_get_xmethod_arg_types): Rename to...
2234 (python_xmethod_worker::do_get_arg_types): ... this and adjust.
2235 (gdbpy_get_xmethod_result_type): Rename to...
2236 (python_xmethod_worker::do_get_result_type): ... this and
2237 adjust.
2238 (gdbpy_invoke_xmethod): Rename to...
2239 (python_xmethod_worker::invoke): ... this and adjust.
2240 (new_python_xmethod_worker): Rename to...
2241 (python_xmethod_worker::python_xmethod_worker): ... this and
2242 adjust.
2243 * python/python-internal.h (gdbpy_clone_xmethod_worker_data):
2244 Remove.
2245 (gdbpy_free_xmethod_worker_data): Remove.
2246 (gdbpy_get_matching_xmethod_workers): Use std::vector.
2247 (gdbpy_get_xmethod_arg_types): Remove.
2248 (gdbpy_get_xmethod_result_type): Remove.
2249 (gdbpy_invoke_xmethod): Remove.
2250 * python/python.c (python_extension_ops): Remove obsolete
2251 callbacks.
2252
2253 2018-01-05 Pedro Alves <palves@redhat.com>
2254
2255 PR gdb/18653
2256 * common/signals-state-save-restore.c
2257 (save_original_signals_state): New parameter 'quiet'. Warn if we
2258 find a custom handler preinstalled, instead of internal erroring.
2259 But only warn if !quiet.
2260 * common/signals-state-save-restore.h
2261 (save_original_signals_state): New parameter 'quiet'.
2262 * main.c (captured_main_1): Move save_original_signals_state call
2263 after option handling, and pass QUIET.
2264
2265 2018-01-05 Pedro Alves <palves@redhat.com>
2266
2267 * spu-tdep.c (spu_catch_start): Pass
2268 symbol_name_match_type::SEARCH_NAME to block_lookup_symbol.
2269
2270 2018-01-05 Pedro Alves <palves@redhat.com>
2271
2272 PR gdb/22670
2273 * ada-lang.c (literal_symbol_name_matcher): New function.
2274 (ada_get_symbol_name_matcher): Use it for
2275 symbol_name_match_type::SEARCH_NAME.
2276 * block.c (block_lookup_symbol): New parameter 'match_type'. Pass
2277 it down instead of assuming symbol_name_match_type::FULL.
2278 * block.h (block_lookup_symbol): New parameter 'match_type'.
2279 * c-valprint.c (print_unpacked_pointer): Use
2280 lookup_symbol_search_name instead of lookup_symbol.
2281 * compile/compile-object-load.c (get_out_value_type): Pass down
2282 symbol_name_match_type::SEARCH_NAME.
2283 * cp-namespace.c (cp_basic_lookup_symbol): Pass down
2284 symbol_name_match_type::FULL.
2285 * cp-support.c (cp_get_symbol_name_matcher): Handle
2286 symbol_name_match_type::SEARCH_NAME.
2287 * infrun.c (insert_exception_resume_breakpoint): Use
2288 lookup_symbol_search_name.
2289 * p-valprint.c (pascal_val_print): Use lookup_symbol_search_name.
2290 * psymtab.c (maintenance_check_psymtabs): Use
2291 symbol_name_match_type::SEARCH_NAME and SYMBOL_SEARCH_NAME.
2292 * stack.c (print_frame_args): Use lookup_symbol_search_name and
2293 SYMBOL_SEARCH_NAME.
2294 * symtab.c (lookup_local_symbol): Don't demangle the lookup name
2295 if symbol_name_match_type::SEARCH_NAME.
2296 (lookup_symbol_in_language): Pass down
2297 symbol_name_match_type::FULL.
2298 (lookup_symbol_search_name): New.
2299 (lookup_language_this): Pass down
2300 symbol_name_match_type::SEARCH_NAME.
2301 (lookup_symbol_aux, lookup_local_symbol): New parameter
2302 'match_type'. Pass it down.
2303 * symtab.h (symbol_name_match_type::SEARCH_NAME): New enumerator.
2304 (lookup_symbol_search_name): New declaration.
2305 (lookup_symbol_in_block): New 'match_type' parameter.
2306
2307 2018-01-05 Pedro Alves <palves@redhat.com>
2308
2309 PR gdb/22670
2310 * ada-lang.c (ada_lookup_encoded_symbol): Reimplement in terms of
2311 ada_lookup_symbol.
2312 (ada_lookup_symbol): Reimplement in terms of
2313 ada_lookup_symbol_list, bits factored out from
2314 ada_lookup_encoded_symbol.
2315
2316 2018-01-05 Joel Brobecker <brobecker@adacore.com>
2317
2318 * ada-exp.y (write_object_renaming): When subscripting an array
2319 using a symbol as the index, pass the block in call to
2320 ada_lookup_encoded_symbol when looking that symbol up.
2321
2322 2018-01-05 Jerome Guitton <guitton@adacore.com>
2323
2324 * ada-lang.c (ada_array_length): Use ada_index_type instead of
2325 TYPE_INDEX_TYPE.
2326
2327 2018-01-05 Joel Brobecker <brobecker@adacore.com>
2328
2329 * ada-lang.c (ada_to_fixed_value_create): Add handling of
2330 the case where VALUE_LVAL (val0) is not lval_memory.
2331
2332 2018-01-05 Xavier Roirand <roirand@adacore.com>
2333
2334 * ada-valprint.c (print_optional_low_bound): Handle
2335 character-indexed array printing like boolean-indexed array
2336 printing.
2337
2338 2018-01-05 Joel Brobecker <brobecker@adacore.com>
2339
2340 * NEWS: Create a new section for the next release branch.
2341 Rename the section of the current branch, now that it has
2342 been cut.
2343
2344 2018-01-05 Joel Brobecker <brobecker@adacore.com>
2345
2346 GDB 8.1 branch created (5219ac6237c272b938c28517bf371429260c71e7):
2347 * version.in: Bump version to 8.1.50.DATE-git.
2348
2349 2018-01-03 Xavier Roirand <roirand@adacore.com>
2350
2351 * ada-lang.h (ada_exception_catchpoint_kind) <ada_catch_handlers>:
2352 Add field.
2353 * ada-lang.c (struct exception_support_info) <catch_handlers_sym>:
2354 Add field.
2355 (default_exception_support_info) <catch_handlers_sym>: Add field.
2356 (exception_support_info_fallback) <catch_handlers_sym>: Add field.
2357 (ada_exception_name_addr_1): Add "catch handlers" handling.
2358 (ada_exception_catchpoint_cond_string) <ex>: New parameter.
2359 Update all callers.
2360 (create_excep_cond_exprs) <ex>: Add parameter.
2361 (re_set_exception): Update create_excep_cond_exprs call.
2362 (print_it_exception, print_one_exception, print_mention_exception)
2363 (print_recreate_exception): Add "catch handler" handling.
2364 (allocate_location_catch_handlers, re_set_catch_handlers)
2365 (check_status_catch_handlers, print_it_catch_handlers)
2366 (print_one_catch_handlers, print_mention_catch_handlers)
2367 (print_recreate_catch_handlers): New function.
2368 (catch_handlers_breakpoint_ops): New variable.
2369 (catch_ada_exception_command_split) <is_catch_handlers_cmd>:
2370 Add parameter. Add "catch handler" handling.
2371 (ada_exception_sym_name, ada_exception_breakpoint_ops):
2372 Add "catch handler" handling.
2373 (ada_exception_catchpoint_cond_string): Add "catch handler"
2374 handling.
2375 (create_ada_exception_catchpoint): Update create_excep_cond_exprs
2376 call.
2377 (catch_ada_handlers_command): New function.
2378 (initialize_ada_catchpoint_ops): Initialize "catch handlers"
2379 operations structure.
2380 (_initialize_ada_language): Add "catch handlers" command entry.
2381 * NEWS: Document "catch handlers" feature.
2382
2383 2018-01-02 Joel Brobecker <brobecker@adacore.com>
2384
2385 * ada-lang.c (ada_value_slice_from_ptr): Take array stride into
2386 account when creating the array type of the slice.
2387 (ada_value_slice): Likewise.
2388
2389 2018-01-02 Joel Brobecker <brobecker@adacore.com>
2390
2391 * gdbtypes.h (enum dynamic_prop_node_kind) <DYN_PROP_BYTE_STRIDE>:
2392 New enum value.
2393 (create_array_type_with_stride): Add byte_stride_prop parameter.
2394 * gdbtypes.c (create_array_type_with_stride) <byte_stride_prop>:
2395 New parameter. Update all callers in this file.
2396 (array_type_has_dynamic_stride): New function.
2397 (is_dynamic_type_internal, resolve_dynamic_array): Add handling
2398 of arrays with dynamic byte strides.
2399 * dwarf2read.c (read_array_type): Add support for dynamic
2400 DW_AT_byte_stride attributes.
2401
2402 2018-01-02 Joel Brobecker <brobecker@adacore.com>
2403
2404 * dwarf2read.c (read_unspecified_type): Treat
2405 DW_TAG_enumeration_type DIEs from Ada units as stubs.
2406
2407 2018-01-01 Joel Brobecker <brobecker@adacore.com>
2408
2409 Update copyright year range in all GDB files.
2410
2411 2018-01-01 Joel Brobecker <brobecker@adacore.com>
2412
2413 * copyright.py (BY_HAND): Remove gdb/testsuite/gdb.base/step-line.inp
2414 and gdb/testsuite/gdb.base/step-line.c.
2415
2416 2018-01-01 Joel Brobecker <brobecker@adacore.com>
2417
2418 * copyright.py (main): Dump the contents of
2419 MULTIPLE_COPYRIGHT_HEADERS (separately) from BY_HAND,
2420 even if BY_HAND is empty.
2421
2422 2018-01-01 Joel Brobecker <brobecker@adacore.com>
2423
2424 * top.c (print_gdb_version): Update Copyright year in version
2425 message.
2426
2427 2018-01-01 Joel Brobecker <brobecker@adacore.com>
2428
2429 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2017.
2430
2431 For older changes see ChangeLog-2017.
2432 \f
2433 Local Variables:
2434 mode: change-log
2435 left-margin: 8
2436 fill-column: 74
2437 version-control: never
2438 coding: utf-8
2439 End:
This page took 0.079222 seconds and 5 git commands to generate.