07b5d627ea4ad8523d72db919556c96d216f04e3
[deliverable/binutils-gdb.git] / gdb / ChangeLog
1 2020-03-13 Tom Tromey <tom@tromey.com>
2
3 * p-valprint.c (pascal_value_print_inner): Rewrite.
4
5 2020-03-13 Tom Tromey <tom@tromey.com>
6
7 * f-valprint.c (f_value_print_innner): Rewrite.
8
9 2020-03-13 Tom Tromey <tom@tromey.com>
10
11 * m2-valprint.c (m2_print_unbounded_array): New overload.
12 (m2_print_unbounded_array): Update.
13 (m2_print_array_contents): Take a struct value.
14 (m2_value_print_inner): Rewrite.
15
16 2020-03-13 Tom Tromey <tom@tromey.com>
17
18 * d-valprint.c (dynamic_array_type): Call d_value_print_inner.
19 (d_value_print_inner): New function.
20 * d-lang.h (d_value_print_inner): Declare.
21 * d-lang.c (d_language_defn): Use d_value_print_inner.
22
23 2020-03-13 Tom Tromey <tom@tromey.com>
24
25 * go-valprint.c (go_value_print_inner): New function.
26 * go-lang.h (go_value_print_inner): Declare.
27 * go-lang.c (go_language_defn): Use go_value_print_inner.
28
29 2020-03-13 Tom Tromey <tom@tromey.com>
30
31 * rust-lang.c (val_print_struct, rust_print_enum): Use the value
32 API.
33 (rust_val_print): Rewrite.
34 (rust_value_print_inner): New function, from rust_val_print.
35 (rust_language_defn): Use rust_value_print_inner.
36
37 2020-03-13 Tom Tromey <tom@tromey.com>
38
39 * ada-valprint.c (ada_value_print_inner): New function.
40 * ada-lang.h (ada_value_print_inner): Declare.
41 * ada-lang.c (ada_language_defn): Use ada_value_print_inner.
42
43 2020-03-13 Tom Tromey <tom@tromey.com>
44
45 * f-valprint.c (f_value_print_innner): New function.
46 * f-lang.h (f_value_print_innner): Declare.
47 * f-lang.c (f_language_defn): Use f_value_print_innner.
48
49 2020-03-13 Tom Tromey <tom@tromey.com>
50
51 * p-valprint.c (pascal_value_print_inner): New function.
52 * p-lang.h (pascal_value_print_inner): Declare.
53 * p-lang.c (pascal_language_defn): Use pascal_value_print_inner.
54
55 2020-03-13 Tom Tromey <tom@tromey.com>
56
57 * m2-valprint.c (m2_value_print_inner): New function.
58 * m2-lang.h (m2_value_print_inner): Declare.
59 * m2-lang.c (m2_language_defn): Use m2_value_print_inner.
60
61 2020-03-13 Tom Tromey <tom@tromey.com>
62
63 * opencl-lang.c (opencl_language_defn): Use c_value_print_inner.
64 * objc-lang.c (objc_language_defn): Use c_value_print_inner.
65 * c-valprint.c (c_value_print_inner): New function.
66 * c-lang.h (c_value_print_inner): Declare.
67 * c-lang.c (c_language_defn, cplus_language_defn)
68 (asm_language_defn, minimal_language_defn): Use
69 c_value_print_inner.
70
71 2020-03-13 Tom Tromey <tom@tromey.com>
72
73 * p-valprint.c (pascal_object_print_value_fields): Now static.
74 * p-lang.h (pascal_object_print_value_fields): Don't declare.
75
76 2020-03-13 Tom Tromey <tom@tromey.com>
77
78 * c-valprint.c (c_val_print_array): Simplify.
79
80 2020-03-13 Tom Tromey <tom@tromey.com>
81
82 * valprint.c (value_print_array_elements): New function.
83 * valprint.h (value_print_array_elements): Declare.
84
85 2020-03-13 Tom Tromey <tom@tromey.com>
86
87 * printcmd.c (print_formatted): Use value_print_scalar_formatted.
88 * mips-tdep.c (mips_print_register): Use
89 value_print_scalar_formatted.
90
91 2020-03-13 Tom Tromey <tom@tromey.com>
92
93 * valprint.h (value_print_scalar_formatted): Declare.
94 * valprint.c (value_print_scalar_formatted): New function.
95
96 2020-03-13 Tom Tromey <tom@tromey.com>
97
98 * valprint.h (generic_value_print): Declare.
99 * valprint.c (generic_value_print): New function.
100
101 2020-03-13 Tom Tromey <tom@tromey.com>
102
103 * valprint.c (do_val_print): Call la_value_print_inner, if
104 available.
105 * rust-lang.c (rust_language_defn): Update.
106 * p-lang.c (pascal_language_defn): Update.
107 * opencl-lang.c (opencl_language_defn): Update.
108 * objc-lang.c (objc_language_defn): Update.
109 * m2-lang.c (m2_language_defn): Update.
110 * language.h (struct language_defn) <la_value_print_inner>: New
111 member.
112 * language.c (unknown_language_defn, auto_language_defn): Update.
113 * go-lang.c (go_language_defn): Update.
114 * f-lang.c (f_language_defn): Update.
115 * d-lang.c (d_language_defn): Update.
116 * c-lang.c (c_language_defn, cplus_language_defn)
117 (asm_language_defn, minimal_language_defn): Update.
118 * ada-lang.c (ada_language_defn): Update.
119
120 2020-03-13 Tom Tromey <tom@tromey.com>
121
122 * c-valprint.c (c_value_print): Use common_val_print.
123
124 2020-03-13 Tom Tromey <tom@tromey.com>
125
126 * cp-valprint.c (cp_print_static_field): Use common_val_print.
127
128 2020-03-13 Tom Tromey <tom@tromey.com>
129
130 * f-valprint.c (f77_print_array_1, f_val_print): Use
131 common_val_print.
132
133 2020-03-13 Tom Tromey <tom@tromey.com>
134
135 * riscv-tdep.c (riscv_print_one_register_info): Use
136 common_val_print.
137
138 2020-03-13 Tom Tromey <tom@tromey.com>
139
140 * mi/mi-main.c (output_register): Use common_val_print.
141
142 2020-03-13 Tom Tromey <tom@tromey.com>
143
144 * infcmd.c (default_print_one_register_info): Use
145 common_val_print.
146
147 2020-03-13 Tom Tromey <tom@tromey.com>
148
149 * valprint.h (common_val_print_checked): Declare.
150 * valprint.c (common_val_print_checked): New function.
151 * stack.c (print_frame_arg): Use common_val_print_checked.
152
153 2020-03-13 Tom Tromey <tom@tromey.com>
154
155 * valprint.c (do_val_print): New function, from val_print.
156 (val_print): Use do_val_print.
157 (common_val_print): Use do_val_print.
158
159 2020-03-13 Tom Tromey <tom@tromey.com>
160
161 * valprint.c (value_print): Use scoped_value_mark.
162
163 2020-03-13 Tom de Vries <tdevries@suse.de>
164
165 PR symtab/25646
166 * psymtab.c (partial_symtab::partial_symtab): Don't set
167 globals_offset and statics_offset. Push element onto
168 current_global_psymbols and current_static_psymbols stacks.
169 (concat): New function.
170 (end_psymtab_common): Set globals_offset and statics_offset. Pop
171 element from current_global_psymbols and current_static_psymbols
172 stacks. Concat popped elements to global_psymbols and
173 static_symbols.
174 (add_psymbol_to_list): Use current_global_psymbols and
175 current_static_psymbols stacks.
176 * psymtab.h (class psymtab_storage): Add current_global_psymbols and
177 current_static_psymbols fields.
178
179 2020-03-12 Christian Biesinger <cbiesinger@google.com>
180
181 * corelow.c (sniff_core_bfd): Remove.
182 (class core_target) <m_core_vec>: Remove.
183 (core_target::core_target): Update.
184 (core_file_fns): Remove.
185 (deprecated_add_core_fns): Remove.
186 (default_core_sniffer): Remove.
187 (sniff_core_bfd): Remove.
188 (default_check_format): Remove.
189 (gdb_check_format): Remove.
190 (core_target_open): Update.
191 (core_target::get_core_register_section): Update.
192 (get_core_registers_cb): Update.
193 (core_target::fetch_registers): Update.
194 * gdbcore.h (struct core_fns): Remove.
195 (deprecated_add_core_fns): Remove.
196 (default_core_sniffer): Remove.
197 (default_check_format): Remove.
198
199 2020-03-12 Tom Tromey <tom@tromey.com>
200
201 * arm-tdep.c (struct arm_mapping_symbol) <value>: Now a
202 CORE_ADDR.
203 (struct arm_exidx_entry) <addr>: Now a CORE_ADDR.
204
205 2020-03-12 Tom Tromey <tom@tromey.com>
206
207 * remote.c (remote_target::download_tracepoint)
208 (remote_target::enable_tracepoint)
209 (remote_target::disable_tracepoint): Use phex, not sprintf_vma.
210 * breakpoint.c (print_recreate_masked_watchpoint): Use phex, not
211 sprintf_vma.
212
213 2020-03-12 Tom Tromey <tom@tromey.com>
214
215 * symfile-mem.c: Update CORE_ADDR size assert.
216
217 2020-03-12 Simon Marchi <simon.marchi@efficios.com>
218
219 * selftest.m4: Move to gdbsupport/.
220 * acinclude.m4: Update path to selftest.m4.
221
222 2020-03-12 Simon Marchi <simon.marchi@efficios.com>
223
224 * Makefile.in (SUBDIR_UNITTESTS_SRCS): Rename to...
225 (SELFTESTS_SRCS): ... this. Add disasm-selftests.c,
226 gdbarch-selfselftests.c and selftest-arch.c.
227 (SUBDIR_UNITTESTS_OBS): Rename to...
228 (SELFTESTS_OBS): ... this.
229 (COMMON_SFILES): Remove disasm-selftests.c and
230 gdbarch-selftests.c.
231 * configure.ac: Don't add selftest-arch.{c,o} to
232 CONFIG_{SRCS,OBS}.
233 * disasm-selftests.c, gdbarch-selftests.c: Remove GDB_SELF_TEST
234 preprocessor conditions.
235
236 2020-03-12 Simon Marchi <simon.marchi@efficios.com>
237
238 * configure.ac: Don't source bfd/development.sh.
239 * selftest.m4: Modify comment.
240 * configure: Re-generate.
241
242 2020-03-12 Simon Marchi <simon.marchi@efficios.com>
243
244 * selftest.m4 (GDB_AC_SELFTEST): Error out if $development is
245 not "true" or "false".
246 * configure: Re-generate.
247
248 2020-03-12 Christian Biesinger <cbiesinger@google.com>
249
250 * Makefile.in (HFILES_NO_SRCDIR): Add new arm-nbsd-tdep.h file.
251 * arm-nbsd-nat.c (arm_supply_gregset): Moved to arm-nbsd-tdep and
252 renamed to arm_nbsd_supply_gregset.
253 (fetch_register): Update to call arm_nbsd_supply_gregset.
254 (fetch_regs): Remove in favor of fetch_register with a -1 regno.
255 (arm_netbsd_nat_target::fetch_registers): Update.
256 (fetch_elfcore_registers): Removed.
257 (_initialize_arm_netbsd_nat): Removed call to deprecated_add_core_fns.
258 * arm-nbsd-tdep.c (struct arm_nbsd_reg): New struct.
259 (arm_nbsd_supply_gregset): Moved from arm-nbsd-nat.c and updated to
260 not require NetBSD system headers.
261 (arm_nbsd_regset): New struct.
262 (arm_nbsd_iterate_over_regset_sections): New function.
263 (arm_netbsd_init_abi_common): Updated to call
264 set_gdbarch_iterate_over_regset_sections.
265 * arm-nbsd-tdep.h: New file.
266
267 2020-03-11 Kevin Buettner <kevinb@redhat.com>
268
269 * symtab.c (find_pc_sect_line): Add check which prevents infinite
270 recursion.
271
272 2020-03-11 Simon Marchi <simon.marchi@efficios.com>
273
274 * configure: Re-generate.
275
276 2020-03-11 Tom Tromey <tromey@adacore.com>
277
278 * ada-typeprint.c (print_choices): Fix comment.
279
280 2020-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
281
282 * buildsyms.c (buildsym_compunit::record_line): Avoid accessing
283 previous item in the list, when the list has no items.
284
285 2020-03-11 Tom de Vries <tdevries@suse.de>
286
287 * dwarf2/loc.c (dwarf2_evaluate_property): Handle NULL frame in
288 PROP_LOCLIST handling code.
289
290 2020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
291
292 * buildsym-legacy.c (record_line): Pass extra parameter to
293 record_line.
294 * buildsym.c (buildsym_compunit::record_line): Take an extra
295 parameter, reduce duplication in the line table, and record the
296 is_stmt flag in the line table.
297 * buildsym.h (buildsym_compunit::record_line): Add extra
298 parameter.
299 * disasm.c (do_mixed_source_and_assembly_deprecated): Ignore
300 non-statement lines.
301 * dwarf2/read.c (dwarf_record_line_1): Add extra parameter, pass
302 this to the symtab builder.
303 (dwarf_finish_line): Pass extra parameter to dwarf_record_line_1.
304 (lnp_state_machine::record_line): Pass a suitable is_stmt flag
305 through to dwarf_record_line_1.
306 * infrun.c (process_event_stop_test): When stepping, don't stop at
307 a non-statement instruction, and only refresh the step info when
308 we land in the middle of a line's range. Also add an extra
309 comment.
310 * jit.c (jit_symtab_line_mapping_add_impl): Initialise is_stmt
311 field.
312 * record-btrace.c (btrace_find_line_range): Only record lines
313 marked as is-statement.
314 * stack.c (frame_show_address): Show the frame address if we are
315 in a non-statement sal.
316 * symmisc.c (dump_symtab_1): Print the is_stmt flag.
317 (maintenance_print_one_line_table): Print a header for the is_stmt
318 column, and include is_stmt information in the output.
319 * symtab.c (find_pc_sect_line): Find lines marked as statements in
320 preference to non-statements.
321 (find_pcs_for_symtab_line): Prefer is-statement entries.
322 (find_line_common): Likewise.
323 * symtab.h (struct linetable_entry): Add is_stmt field.
324 (struct symtab_and_line): Likewise.
325 * xcoffread.c (arrange_linetable): Initialise is_stmt field when
326 arranging the line table.
327
328 2020-03-07 Tom de Vries <tdevries@suse.de>
329
330 * dwarf2/read.c (read_typedef): Treat anonymous typedef as forwarder
331 DIE.
332
333 2020-03-07 Tom Tromey <tom@tromey.com>
334
335 * valops.c (value_literal_complex): Remove obsolete comment.
336 * gdbtypes.h (enum type_code) <TYPE_CODE_FLT>: Remove obsolete
337 comment.
338
339 2020-03-06 Simon Marchi <simon.marchi@polymtl.ca>
340
341 * infrun.h: Forward-declare thread_info.
342 (set_step_info): Add thread_info parameter, add doc.
343 * infrun.c (set_step_info): Add thread_info parameter, move doc
344 to header.
345 * infrun.c (process_event_stop_test): Pass thread to
346 set_step_info call.
347 * infcmd.c (set_step_frame): Add thread_info pointer, pass it to
348 set_step_info.
349 (prepare_one_step): Add thread_info parameter, pass it to
350 set_step_frame and prepare_one_step (recursive) call.
351 (step_1): Pass thread to prepare_one_step call.
352 (step_command_fsm::should_stop): Pass thread to
353 prepare_one_step.
354 (until_next_fsm): Pass thread to set_step_frame call.
355 (finish_command): Pass thread to set_step_info call.
356
357 2020-03-06 Hannes Domani <ssbssa@yahoo.de>
358
359 * windows-tdep.c (windows_solib_create_inferior_hook):
360 Check if inferior is running.
361
362 2020-03-06 Tom de Vries <tdevries@suse.de>
363
364 * NEWS: Fix "the the".
365 * ctfread.c: Same.
366
367 2020-03-06 Tom de Vries <tdevries@suse.de>
368
369 * psymtab.c (psymtab_to_symtab): Don't print "done.".
370
371 2020-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
372
373 * .dir-locals.el: Add a comment referencing the other copies of
374 this file.
375
376 2020-03-05 John Baldwin <jhb@FreeBSD.org>
377
378 * fbsd-tdep.c (fbsd_make_corefile_notes): Use std::string for
379 psargs.
380
381 2020-03-05 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
382
383 * .gitattributes: New file.
384
385 2020-03-04 Tom Tromey <tom@tromey.com>
386
387 * symmisc.c (print_symbol_bcache_statistics)
388 (print_objfile_statistics): Update.
389 * symfile.c (allocate_symtab): Use intern.
390 * psymtab.c (partial_symtab::partial_symtab): Use intern.
391 * objfiles.h (struct objfile_per_bfd_storage) <filename_cache,
392 macro_cache>: Remove.
393 <string_cache>: New member.
394 (struct objfile) <intern>: New methods.
395 * elfread.c (elf_symtab_read): Use intern.
396 * dwarf2/read.c (fixup_go_packaging): Intern package name.
397 (dwarf2_compute_name, dwarf2_physname)
398 (create_dwo_unit_in_dwp_v1, create_dwo_unit_in_dwp_v2): Intern
399 names.
400 (guess_partial_die_structure_name): Update.
401 (partial_die_info::fixup): Intern name.
402 (dwarf2_canonicalize_name): Change parameter to objfile. Intern
403 name.
404 (dwarf2_name): Intern name. Update.
405 * buildsym.c (buildsym_compunit::get_macro_table): Use
406 string_cache.
407
408 2020-03-04 Tom Tromey <tom@tromey.com>
409
410 * jit.c (bfd_open_from_target_memory): Make "target" const.
411 * corefile.c (gnutarget): Now const.
412 * gdbcore.h (gnutarget): Now const.
413
414 2020-03-04 Hannes Domani <ssbssa@yahoo.de>
415
416 * NEWS: Mention support for WOW64 processes.
417 * amd64-windows-nat.c (amd64_mappings): Rename and remove static.
418 (amd64_windows_segment_register_p): Remove static.
419 (_initialize_amd64_windows_nat): Update.
420 * configure.nat <windows> (NATDEPFILES): Add i386-windows-nat.o.
421 * i386-windows-nat.c (context_offset): Update.
422 (i386_mappings): Rename and remove static.
423 (i386_windows_segment_register_p): Remove static.
424 (_initialize_i386_windows_nat): Update.
425 * windows-nat.c (STATUS_WX86_BREAKPOINT): New macro.
426 (STATUS_WX86_SINGLE_STEP): New macro.
427 (EnumProcessModulesEx): New macro.
428 (Wow64SuspendThread): New macro.
429 (Wow64GetThreadContext): New macro.
430 (Wow64SetThreadContext): New macro.
431 (Wow64GetThreadSelectorEntry): New macro.
432 (windows_set_context_register_offsets): Add static.
433 (windows_set_segment_register_p): Likewise.
434 (windows_add_thread): Adapt for WOW64 processes.
435 (windows_fetch_one_register): Likewise.
436 (windows_nat_target::fetch_registers): Likewise.
437 (windows_store_one_register): Likewise.
438 (display_selector): Likewise.
439 (display_selectors): Likewise.
440 (handle_exception): Likewise.
441 (windows_continue): Likewise.
442 (windows_nat_target::resume): Likewise.
443 (windows_add_all_dlls): Likewise.
444 (do_initial_windows_stuff): Likewise.
445 (windows_nat_target::attach): Likewise.
446 (windows_get_exec_module_filename): Likewise.
447 (windows_nat_target::create_inferior): Likewise.
448 (windows_xfer_siginfo): Likewise.
449 (_initialize_loadable): Initialize Wow64SuspendThread,
450 Wow64GetThreadContext, Wow64SetThreadContext,
451 Wow64GetThreadSelectorEntry and EnumProcessModulesEx.
452 * windows-nat.h (windows_set_context_register_offsets):
453 Remove declaration.
454 (windows_set_segment_register_p): Likewise.
455 (i386_windows_segment_register_p): Add declaration.
456 (amd64_windows_segment_register_p): Likewise.
457
458 2020-03-04 Luis Machado <luis.machado@linaro.org>
459
460 Revert aa66aac47b4dd38f9524ddb5546c08cc09930d37 due to regressions
461 in "info registers" for AArch64/ARM.
462
463 The change caused "info registers" to not print GPR's.
464
465 gdb/ChangeLog:
466
467 2020-02-01 Shahab Vahedi <shahab@synopsys.com>
468
469 * target-descriptions.c (tdesc_register_in_reggroup_p): Return 0
470 when reg->group is empty and reggroup is not.
471
472 2020-03-03 Tom Tromey <tromey@adacore.com>
473
474 * dwarf2/frame.c (struct dwarf2_frame_cache)
475 <checked_tailcall_bottom, entry_cfa_sp_offset,
476 entry_cfa_sp_offset_p>: Remove members.
477 (dwarf2_frame_cache): Call dwarf2_tailcall_sniffer_first.
478 (dwarf2_frame_prev_register): Don't call
479 dwarf2_tailcall_sniffer_first.
480 (dwarf2_append_unwinders): Don't append tailcall unwinder.
481 * frame-unwind.c (add_unwinder): New fuction.
482 (frame_unwind_init): Use it. Add tailcall unwinder.
483
484 2020-03-03 Andrew Burgess <andrew.burgess@embecosm.com>
485 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
486
487 * f-valprint.c (f_val_print): Handle TYPE_CODE_BOOL, any non-zero
488 value should be printed as true.
489
490 2020-03-03 Hannes Domani <ssbssa@yahoo.de>
491
492 * windows-tdep.c (windows_solib_create_inferior_hook): New function.
493 (windows_init_abi): Set and use windows_so_ops.
494
495 2020-03-03 Sergio Durigan Junior <sergiodj@redhat.com>
496
497 * printcmd.c (print_c_string): Check also for TYPE_CODE_PTR
498 when verifying if dealing with a convenience variable.
499
500 2020-03-03 Luis Machado <luis.machado@linaro.org>
501
502 * auxv.c (default_print_auxv_entry): Add new AUXV entries.
503
504 2020-03-02 Simon Marchi <simon.marchi@polymtl.ca>
505
506 * infrun.c (gdbarch_supports_displaced_stepping): New.
507 (use_displaced_stepping): Break up conditions in smaller pieces.
508 Use gdbarch_supports_displaced_stepping.
509 (displaced_step_prepare_throw): Use
510 gdbarch_supports_displaced_stepping.
511
512 2020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
513
514 * NEWS: Mention new behaviour of the history filename.
515 * top.c (write_history_p): Add comment.
516 (show_write_history_p): Add header comment, give a different
517 message when history writing is on, but the history filename is
518 empty.
519 (history_filename): Add comment.
520 (history_filename_empty): New function.
521 (show_history_filename): Add header comment, give a different
522 message when the filename is empty.
523 (init_history): Compare history_filename against nullptr, and only
524 read history if the filename is not empty.
525 (set_history_filename): Add header comment, and only make
526 non-empty filenames absolute.
527 (init_main): Make the filename argument to 'set history filename'
528 optional.
529
530 2020-03-02 Christian Biesinger <cbiesinger@google.com>
531
532 * arm-nbsd-nat.c (arm_supply_fparegset): Rename to...
533 (arm_supply_vfpregset): ...this, and update to use VFP registers.
534 (fetch_fp_register): Update.
535 (fetch_fp_regs): Update.
536 (store_fp_register): Update.
537 (store_fp_regs): Update.
538 (arm_netbsd_nat_target::read_description): New function.
539 (fetch_elfcore_registers): Update.
540
541 2020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
542
543 * remote.c (remote_target::remote_parse_stop_reply): Don't use the
544 general_thread if the stop reply is missing a thread-id.
545 (remote_target::process_stop_reply): Use the first non-exited
546 thread if the target didn't pass a thread-id.
547 * infrun.c (do_target_wait): Move call to
548 switch_to_inferior_no_thread to ....
549 (do_target_wait_1): ... here.
550
551 2020-02-29 Jon Turney <jon.turney@dronecode.org.uk>
552
553 * debuginfod-support.c: Include defs.h first.
554
555 2020-02-28 Tom de Vries <tdevries@suse.de>
556
557 * symfile.c (set_initial_language): Use default language for lookup.
558
559 2020-02-28 Simon Marchi <simon.marchi@efficios.com>
560
561 * dwarf2/read.c (cutu_reader::init_tu_and_read_dwo_dies): Remove
562 reader variable, pass `this` to read_cutu_die_from_dwo.
563
564 2020-02-27 Aaron Merey <amerey@redhat.com>
565
566 * source.c (open_source_file): Check for nullptr when computing
567 srcpath.
568
569 2020-02-27 Tom Tromey <tromey@adacore.com>
570
571 * dwarf2/read.c (struct field_info) <nfields>: Now a method, not a
572 member.
573 (dwarf2_add_field): Don't update nfields.
574 (dwarf2_attach_fields_to_type, process_structure_scope): Update.
575
576 2020-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
577
578 * gdbtypes.c (create_array_type_with_stride): Use std::abs not
579 abs.
580
581 2020-02-26 Tom Tromey <tom@tromey.com>
582
583 * dwarf2/read.c (struct dwarf2_include_psymtab): New.
584 (dwarf2_create_include_psymtab): Use dwarf2_include_psymtab.
585 (dwarf2_psymtab::expand_psymtab, dwarf2_psymtab::readin_p)
586 (dwarf2_psymtab::get_compunit_symtab): Remove null checks for
587 per_cu_data.
588
589 2020-02-26 Tom Tromey <tom@tromey.com>
590
591 * dwarf2/index-write.c (psym_index_map): Change type.
592 (add_address_entry_worker, write_one_signatured_type)
593 (recursively_count_psymbols, recursively_write_psymbols)
594 (class debug_names, psyms_seen_size, write_gdbindex)
595 (write_debug_names): Use partial_symtab, not dwarf2_psymtab.
596
597 2020-02-26 Aaron Merey <amerey@redhat.com>
598
599 * Makefile.in: Handle optional debuginfod support.
600 * NEWS: Update.
601 * README: Add --with-debuginfod summary.
602 * config.in: Regenerate.
603 * configure: Regenerate.
604 * configure.ac: Handle optional debuginfod support.
605 * debuginfod-support.c: debuginfod helper functions.
606 * debuginfod-support.h: Ditto.
607 * doc/gdb.texinfo: Add --with-debuginfod to configure options
608 summary.
609 * dwarf2/read.c (dwarf2_get_dwz_file): Query debuginfod servers
610 when a dwz file cannot be found.
611 * elfread.c (elf_symfile_read): Query debuginfod servers when a
612 debuginfo file cannot be found.
613 * source.c (open_source_file): Query debuginfod servers when a
614 source file cannot be found.
615 * top.c (print_gdb_configuration): Include
616 --{with,without}-debuginfod in the output.
617
618 2020-02-26 Jérémie Galarneau <jeremie.galarneau@efficios.com>
619
620 * thread.c (thr_try_catch_cmd): Print thread name.
621
622 2020-02-26 Simon Marchi <simon.marchi@efficios.com>
623
624 * dwarf2/loc.h (dwarf2_fetch_die_loc_sect_off,
625 dwarf2_fetch_die_loc_cu_off, dwarf2_fetch_constant_bytes,
626 dwarf2_fetch_die_type_sect_off): Move to...
627 * dwarf2/read.h (dwarf2_fetch_die_loc_sect_off,
628 dwarf2_fetch_die_loc_cu_off, dwarf2_fetch_constant_bytes,
629 dwarf2_fetch_die_type_sect_off): ... here.
630 * dwarf2/read.c (dwarf2_fetch_die_loc_sect_off,
631 dwarf2_fetch_die_loc_cu_off, dwarf2_fetch_constant_bytes,
632 dwarf2_fetch_die_type_sect_off): Move doc to header file.
633
634 2020-02-26 Tom de Vries <tdevries@suse.de>
635
636 PR gdb/25603
637 * symfile.c (set_initial_language): Exit-early if
638 language_mode == language_mode_manual.
639
640 2020-02-25 Simon Marchi <simon.marchi@polymtl.ca>
641
642 * dwarf2/loc.h (dwarf2_read_addr_index): Move...
643 * dwarf2/read.h (dwarf2_read_addr_index): ... here.
644 * dwarf2/read.c (dwarf2_read_addr_index): Move doc to header.
645
646 2020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
647
648 * gdbtypes.c (create_array_type_with_stride): Handle negative
649 array strides.
650 * valarith.c (value_subscripted_rvalue): Likewise.
651
652 2020-02-25 Luis Machado <luis.machado@linaro.org>
653
654 * aarch64-tdep.c (aarch64_vnv_type): Fix comment typo.
655
656 2020-02-25 Simon Marchi <simon.marchi@polymtl.ca>
657
658 * loc.h (dwarf2_get_die_type): Move to...
659 * read.h (dwarf2_get_die_type): ... here.
660 * read.c (dwarf2_get_die_type): Move doc to header.
661
662 2020-02-25 Joel Brobecker <brobecker@adacore.com>
663
664 * copypright.py (EXCLUDE_LIST): Add 'gnulib/config.in' and
665 'gnulib/Makefile.in' to the list.
666
667 2020-02-24 Tom Tromey <tom@tromey.com>
668
669 * dwarf2/read.h (struct type_unit_unshareable) <num_symtabs>:
670 Remove.
671 * dwarf2/read.c (dwarf2_cu::setup_type_unit_groups): Use
672 XOBNEWVEC.
673
674 2020-02-24 Tom Tromey <tom@tromey.com>
675
676 * dwarf2/read.h (struct dwarf2_per_cu_data) <type_unit_group_p>:
677 New method.
678 * dwarf2/read.c (IS_TYPE_UNIT_GROUP): Remove.
679 (dw2_do_instantiate_symtab, dw2_get_file_names)
680 (build_type_psymtab_dependencies, load_full_type_unit): Update.
681
682 2020-02-24 Tom Tromey <tom@tromey.com>
683
684 * dwarf2read.c (dwarf2_build_psymtabs_hard): Use
685 make_scoped_restore.
686 (dwarf2_psymtab::read_symtab): Don't clear
687 reading_partial_symbols.
688
689 2020-02-24 Tom de Vries <tdevries@suse.de>
690
691 PR gdb/25592
692 * stack.c (iterate_over_block_locals): Handle LOC_CONST.
693
694 2020-02-24 Tom de Vries <tdevries@suse.de>
695
696 * tui/tui-layout.c (_initialize_tui_layout): Fix help messages for
697 commands layout next/prev/regs.
698
699 2020-02-22 Tom Tromey <tom@tromey.com>
700
701 * dwarf2/loc.h (dwarf2_compile_expr_to_ax): Don't declare.
702 * dwarf2/loc.c (dwarf2_compile_expr_to_ax): Now static.
703
704 2020-02-22 Tom Tromey <tom@tromey.com>
705
706 * tui/tui-data.h (TUI_DISASM_WIN): Cast to tui_disasm_window.
707
708 2020-02-22 Tom Tromey <tom@tromey.com>
709
710 * tui/tui-win.c (_initialize_tui_win): Add usage text.
711 * tui/tui-stack.c (_initialize_tui_stack): Add usage text.
712 * tui/tui-regs.c (_initialize_tui_regs): Add usage text.
713 * tui/tui.c (_initialize_tui): Add usage text.
714
715 2020-02-22 Tom Tromey <tom@tromey.com>
716
717 * tui/tui-win.c (tui_set_focus_command)
718 (tui_set_win_height_command): Use error_no_arg.
719 (_initialize_tui_win): Update help text.
720 (FOCUS_USAGE, WIN_HEIGHT_USAGE): Don't define.
721
722 2020-02-22 Tom Tromey <tom@tromey.com>
723
724 * tui/tui-layout.c (extract_display_start_addr): Rewrite.
725 * tui/tui-disasm.h (struct tui_disasm_window)
726 <display_start_addr>: Declare.
727 * tui/tui-source.h (struct tui_source_window)
728 <display_start_addr>: Declare.
729 * tui/tui-winsource.h (struct tui_source_window_base)
730 <show_source_line, display_start_addr>: New methods.
731 <m_horizontal_offset, m_start_line_or_addr, m_gdbarch, m_content>:
732 Rename and move to protected section.
733 * tui/tui-winsource.c (tui_source_window_base::update_source_window)
734 (tui_source_window_base::do_erase_source_content): Update.
735 (tui_source_window_base::show_source_line): Now a method.
736 (tui_source_window_base::show_source_content)
737 (tui_source_window_base::tui_source_window_base)
738 (tui_source_window_base::rerender)
739 (tui_source_window_base::refill)
740 (tui_source_window_base::do_scroll_horizontal)
741 (tui_source_window_base::set_is_exec_point_at)
742 (tui_source_window_base::update_breakpoint_info)
743 (tui_source_window_base::update_exec_info): Update.
744 * tui/tui-source.c (tui_source_window::set_contents)
745 (tui_source_window::showing_source_p)
746 (tui_source_window::do_scroll_vertical)
747 (tui_source_window::location_matches_p)
748 (tui_source_window::line_is_displayed): Update.
749 (tui_source_window::display_start_addr): New method.
750 * tui/tui-disasm.c (tui_disasm_window::set_contents)
751 (tui_disasm_window::do_scroll_vertical)
752 (tui_disasm_window::location_matches_p): Update.
753 (tui_disasm_window::display_start_addr): New method.
754
755 2020-02-22 Tom Tromey <tom@tromey.com>
756
757 * NEWS: Add entry for gdb.register_window_type.
758 * tui/tui-layout.h (window_factory): New typedef.
759 (tui_register_window): Declare.
760 * tui/tui-layout.c (saved_tui_windows): New global.
761 (tui_apply_current_layout): Use it.
762 (tui_register_window): New function.
763 * python/python.c (do_start_initialization): Call
764 gdbpy_initialize_tui.
765 (python_GdbMethods): Add "register_window_type" function.
766 * python/python-internal.h (gdbpy_register_tui_window)
767 (gdbpy_initialize_tui): Declare.
768 * python/py-tui.c: New file.
769 * Makefile.in (SUBDIR_PYTHON_SRCS): Add py-tui.c.
770
771 2020-02-22 Tom Tromey <tom@tromey.com>
772
773 * tui/tui-io.c (do_tui_putc): Don't omit annotations.
774
775 2020-02-22 Tom Tromey <tom@tromey.com>
776
777 * tui/tui-win.c (tui_set_win_focus_to): Move to tui-data.c.
778 * tui/tui-data.h (tui_set_win_with_focus): Don't declare.
779 * tui/tui-data.c (tui_set_win_with_focus): Remove.
780 (tui_set_win_focus_to): Move from tui-win.c.
781
782 2020-02-22 Tom Tromey <tom@tromey.com>
783
784 * tui/tui-layout.c (make_standard_window, get_locator_window): New
785 functions.
786 (known_window_types): New global.
787 (tui_get_window_by_name): Reimplement.
788 (initialize_known_windows): New function.
789 (validate_window_name): Rewrite.
790 (_initialize_tui_layout): Call initialize_known_windows.
791
792 2020-02-22 Tom Tromey <tom@tromey.com>
793
794 * tui/tui.h (enum tui_win_type) <LOCATOR_WIN, DATA_ITEM_WIN>:
795 Remove constants.
796 * tui/tui-winsource.h (struct tui_source_window_base)
797 <tui_source_window_base>: Remove parameter.
798 * tui/tui-winsource.c
799 (tui_source_window_base::tui_source_window_base): Remove
800 parameter.
801 (tui_source_window_base::refill): Update.
802 * tui/tui-stack.h (struct tui_locator_window)
803 <tui_locator_window>: Update.
804 * tui/tui-source.h (struct tui_source_window) <tui_source_window>:
805 Default the constructor.
806 * tui/tui-regs.h (struct tui_data_item_window)
807 <tui_data_item_window>: Default the constructor.
808 (struct tui_data_window) <tui_data_window>: Likewise.
809 * tui/tui-disasm.h (struct tui_disasm_window) <tui_disasm_window>:
810 Default the constructor.
811 * tui/tui-data.h (struct tui_gen_win_info) <tui_gen_win_info>:
812 Default the constructor.
813 <type>: Remove.
814 (struct tui_win_info) <tui_win_info>: Default the constructor.
815 * tui/tui-data.c (tui_win_info::tui_win_info): Remove.
816 * tui/tui-command.h (struct tui_cmd_window) <tui_cmd_window>:
817 Default the constructor.
818
819 2020-02-22 Tom Tromey <tom@tromey.com>
820
821 * tui/tui-wingeneral.h (tui_make_all_invisible): Don't declare.
822 * tui/tui-wingeneral.c (tui_make_all_invisible): Remove.
823 * tui/tui-win.c (tui_resize_all): Don't call
824 tui_delete_invisible_windows.
825 * tui/tui-layout.c (tui_apply_current_layout): Delete windows when
826 done.
827 (tui_set_layout): Update.
828 (tui_add_win_to_layout): Don't call tui_delete_invisible_windows.
829 * tui/tui-data.h (tui_delete_invisible_windows): Don't declare.
830 * tui/tui-data.c (tui_delete_invisible_windows): Remove.
831
832 2020-02-22 Tom Tromey <tom@tromey.com>
833
834 * tui/tui-win.c (tui_partial_win_by_name): Handle ambiguity
835 correctly.
836
837 2020-02-22 Tom Tromey <tom@tromey.com>
838
839 * tui/tui-data.c (tui_next_win, tui_prev_win): Reimplement.
840
841 2020-02-22 Tom Tromey <tom@tromey.com>
842
843 * tui/tui-winsource.h (struct tui_source_window_iterator)
844 <inner_iterator>: New etytypedef.
845 <tui_source_window_iterator>: Take "end" parameter.
846 <tui_source_window_iterator>: Take iterator.
847 <operator*, advance>: Update.
848 <m_iter>: Change type.
849 <m_end>: New field.
850 (struct tui_source_windows) <begin, end>: Update.
851 * tui/tui-layout.c (tui_windows): New global.
852 (tui_apply_current_layout): Clear tui_windows.
853 (tui_layout_window::apply): Update tui_windows.
854 * tui/tui-data.h (tui_windows): Declare.
855 (all_tui_windows): Now inline function.
856 (class tui_window_iterator, struct all_tui_windows): Remove.
857
858 2020-02-22 Tom Tromey <tom@tromey.com>
859
860 PR tui/17850:
861 * tui/tui-win.c (tui_gen_win_info::max_width): New method.
862 * tui/tui-layout.h (class tui_layout_base) <get_sizes>: Add
863 "height" argument.
864 (class tui_layout_window) <get_sizes>: Likewise.
865 (class tui_layout_split) <tui_layout_split>: Add "vertical"
866 argument.
867 <get_sizes>: Add "height" argument.
868 <m_vertical>: New field.
869 * tui/tui-layout.c (tui_layout_split::clone): Update.
870 (tui_layout_split::get_sizes): Add "height" argument.
871 (tui_layout_split::adjust_size, tui_layout_split::apply): Update.
872 (tui_new_layout_command): Parse "-horizontal".
873 (_initialize_tui_layout): Update help string.
874 (tui_layout_split::specification): Add "-horizontal" when needed.
875 * tui/tui-layout.c (tui_layout_window::get_sizes): Add "height"
876 argument.
877 * tui/tui-data.h (struct tui_gen_win_info) <max_width, min_width>:
878 New methods.
879
880 2020-02-22 Tom Tromey <tom@tromey.com>
881
882 * tui/tui-layout.h (enum tui_adjust_result): New.
883 (class tui_layout_base) <adjust_size>: Return tui_adjust_result.
884 (class tui_layout_window) <adjust_size>: Return
885 tui_adjust_result. Rewrite.
886 (class tui_layout_split) <adjust_size>: Return tui_adjust_result.
887 * tui/tui-layout.c (tui_layout_split::adjust_size): Update.
888
889 2020-02-22 Tom Tromey <tom@tromey.com>
890
891 * tui/tui-layout.h (class tui_layout_split) <add_split>: Change
892 parameter and return types.
893 (class tui_layout_base) <specification>: Add "depth".
894 (class tui_layout_window) <specification>: Add "depth".
895 (class tui_layout_split) <specification>: Add "depth".
896 * tui/tui-layout.c (tui_layout_split::add_split): Change parameter
897 and return types.
898 (tui_new_layout_command): Parse sub-layouts.
899 (_initialize_tui_layout): Update help string.
900 (tui_layout_window::specification): Add "depth".
901 (add_layout_command): Update.
902
903 2020-02-22 Tom Tromey <tom@tromey.com>
904
905 * NEWS: Add "tui new-layout" item.
906 * tui/tui-layout.c (add_layout_command): Return cmd_list_element.
907 Add new-layout command to help text.
908 (validate_window_name): New function.
909 (tui_new_layout_command): New function.
910 (_initialize_tui_layout): Register "new-layout".
911 (tui_layout_window::specification): New method.
912 (tui_layout_window::specification): New method.
913 * tui/tui-layout.h (class tui_layout_base) <specification>: New
914 method.
915 (class tui_layout_window) <specification>: New method.
916 (class tui_layout_split) <specification>: New method.
917
918 2020-02-22 Tom Tromey <tom@tromey.com>
919
920 * tui/tui.c (tui_enable): Call tui_set_initial_layout.
921 * tui/tui-win.c (window_name_completer): Update comment.
922 * tui/tui-layout.h (class tui_layout_base) <replace_window>:
923 Declare method.
924 (class tui_layout_window) <replace_window>: Likewise.
925 (class tui_layout_split) <replace_window>: Likewise.
926 (tui_set_layout): Don't declare.
927 (tui_set_initial_layout): Declare function.
928 * tui/tui-layout.c (layouts, applied_skeleton, src_regs_layout)
929 (asm_regs_layout): New globals.
930 (tui_current_layout, show_layout): Remove.
931 (tui_set_layout, tui_add_win_to_layout): Rewrite.
932 (find_layout, tui_apply_layout): New function.
933 (layout_completer): Remove.
934 (tui_next_layout): Reimplement.
935 (tui_next_layout_command): New function.
936 (tui_set_initial_layout, tui_prev_layout_command): New functions.
937 (tui_regs_layout): Reimplement.
938 (tui_regs_layout_command): New function.
939 (extract_display_start_addr): Rewrite.
940 (next_layout, prev_layout): Remove.
941 (tui_layout_window::replace_window): New method.
942 (tui_layout_split::replace_window): New method.
943 (destroy_layout): New function.
944 (layout_list): New global.
945 (add_layout_command): New function.
946 (initialize_layouts): Update.
947 (tui_layout_command): New function.
948 (_initialize_tui_layout): Install "layout" commands.
949 * tui/tui-data.h (enum tui_layout_type): Remove.
950 (tui_current_layout): Don't declare.
951
952 2020-02-22 Tom Tromey <tom@tromey.com>
953
954 * tui/tui-regs.c (tui_reg_layout): Remove.
955 (tui_reg_command): Use tui_regs_layout.
956 * tui/tui-layout.h (tui_reg_command): Declare.
957 * tui/tui-layout.c (tui_reg_command): New function.
958
959 2020-02-22 Tom Tromey <tom@tromey.com>
960
961 * tui/tui.c (tui_rl_delete_other_windows): Call
962 tui_remove_some_windows.
963 * tui/tui-layout.h (class tui_layout_base) <remove_windows>:
964 Declare method.
965 (class tui_layout_window) <remove_windows>: New method.
966 (class tui_layout_split) <remove_windows>: Declare.
967 (tui_remove_some_windows): Declare.
968 * tui/tui-layout.c (tui_remove_some_windows): New function.
969 (tui_layout_split::remove_windows): New method.
970
971 2020-02-22 Tom Tromey <tom@tromey.com>
972
973 * tui/tui.c (tui_rl_change_windows): Call tui_next_layout.
974 * tui/tui-layout.h (tui_next_layout): Declare.
975 * tui/tui-layout.c (tui_next_layout): New function.
976
977 2020-02-22 Tom Tromey <tom@tromey.com>
978
979 * tui/tui-regs.c (tui_data_window::display_registers_from): Use
980 correct coordinates.
981
982 2020-02-22 Tom Tromey <tom@tromey.com>
983
984 * tui/tui-layout.h (tui_add_win_to_layout): Add comment.
985 * tui/tui-layout.c (tui_add_win_to_layout): Add assert. Remove
986 DATA_WIN case.
987
988 2020-02-22 Tom Tromey <tom@tromey.com>
989
990 * tui/tui-disasm.c (tui_get_low_disassembly_address): Use
991 TUI_DISASM_WIN, not tui_win_list.
992
993 2020-02-22 Tom Tromey <tom@tromey.com>
994
995 * valprint.c (generic_val_print_enum_1)
996 (val_print_type_code_flags): Style member names.
997 * rust-lang.c (val_print_struct, rust_print_enum)
998 (rust_print_struct_def, rust_internal_print_type): Style member
999 names.
1000 * p-valprint.c (pascal_object_print_value_fields): Style member
1001 names. Only call fprintf_symbol_filtered for static members.
1002 * m2-typeprint.c (m2_record_fields, m2_enum): Style member names.
1003 * f-valprint.c (f_val_print): Style member names.
1004 * f-typeprint.c (f_type_print_base): Style member names.
1005 * cp-valprint.c (cp_print_value_fields): Style member names. Only
1006 call fprintf_symbol_filtered for static members.
1007 (cp_print_class_member): Style member names.
1008 * c-typeprint.c (c_print_type_1, c_type_print_base_1): Style
1009 member names.
1010 * ada-valprint.c (ada_print_scalar): Style enum names.
1011 (ada_val_print_enum): Likewise.
1012 * ada-typeprint.c (print_enum_type): Style enum names.
1013
1014 2020-02-21 Tom Tromey <tom@tromey.com>
1015
1016 * psympriv.h (struct partial_symtab): Update comment.
1017
1018 2020-02-21 Tom Tromey <tromey@adacore.com>
1019
1020 * mips-tdep.h (mips_pc_is_mips16, mips_pc_is_micromips): Parameter
1021 type is CORE_ADDR.
1022
1023 2020-02-21 Tom de Vries <tdevries@suse.de>
1024
1025 PR gdb/25534
1026 * psymtab.c (partial_symtab::read_dependencies): Don't read dependency
1027 if dependencies[i]->user != NULL.
1028
1029 2020-02-21 Ali Tamur <tamur@google.com>
1030
1031 * dwarf2/read.c (dwarf2_name): Add null check.
1032
1033 2020-02-20 Tom Tromey <tom@tromey.com>
1034
1035 * dwarf2/read.c (dwarf2_find_containing_comp_unit): Use ">", not
1036 ">=", in binary search.
1037 (dwarf2_find_containing_comp_unit): New overload.
1038 (run_test): New self-test.
1039 (_initialize_dwarf2_read): Register new test.
1040
1041 2020-02-20 Nelson Chu <nelson.chu@sifive.com>
1042
1043 * riscv-tdep.c: Updated since the DECLARE_CSR is changed.
1044 * riscv-tdep.h: Likewise.
1045 * features/riscv/rebuild-csr-xml.sh: Generate the 64bit-csr.xml without
1046 rv32-only CSR.
1047 * features/riscv/64bit-csr.xml: Regenerated.
1048
1049 2020-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
1050 Tom Tromey <tom@tromey.com>
1051
1052 * utils.c (fputs_maybe_filtered): Call 'stream->puts' instead
1053 of 'fputc_unfiltered'.
1054 (putchar_unfiltered): Call 'fputc_unfiltered'.
1055 (fputc_unfiltered): Call 'fputs_unfiltered'.
1056
1057 2020-02-20 Andrew Burgess <andrew.burgess@embecosm.com>
1058
1059 * config.in: Regenerate.
1060 * configure: Regenerate.
1061 * configure.ac: Add --with-python-libdir option.
1062 * main.c: Use WITH_PYTHON_LIBDIR.
1063
1064 2020-02-19 Tom Tromey <tom@tromey.com>
1065
1066 * symtab.c (general_symbol_info::compute_and_set_names): Use
1067 obstack_strndup. Simplify call to symbol_set_demangled_name.
1068
1069 2020-02-19 Simon Marchi <simon.marchi@efficios.com>
1070
1071 * dwarf2/read.c (allocate_signatured_type_table,
1072 allocate_dwo_unit_table, allocate_type_unit_groups_table,
1073 allocate_dwo_file_hash_table, allocate_dwp_loaded_cutus_table):
1074 Remove objfile parameter, update all callers.
1075
1076 2020-02-19 Doug Evans <dje@google.com>
1077
1078 PR rust/25535
1079 * rust-lang.c (rust_print_enum): Apply embedded_offset to
1080 rust_enum_variant calculation.
1081
1082 2020-02-19 Tom Tromey <tromey@adacore.com>
1083
1084 * mips-tdep.h (mips_pc_is_mips): Parameter type is CORE_ADDR.
1085
1086 2020-02-19 Tom Tromey <tromey@adacore.com>
1087
1088 * ada-lang.c (cache_symbol): Use obstack_strdup.
1089
1090 2020-02-19 Andrew Burgess <andrew.burgess@embecosm.com>
1091
1092 * configure: Regenerate.
1093
1094 2020-02-19 Tom Tromey <tromey@adacore.com>
1095
1096 * python/python.c (do_start_initialization): Use XNEWVEC. Remove
1097 NULL check.
1098
1099 2020-02-19 Maciej W. Rozycki <macro@wdc.com>
1100
1101 * NEWS: Mention RISC-V GNU/Linux GDBserver support.
1102
1103 2020-02-19 Andrew Burgess <andrew.burgess@embecosm.com>
1104
1105 * arch/riscv.c (struct riscv_gdbarch_features_hasher): Only define
1106 if GDBSERVER is not defined.
1107 (riscv_tdesc_cache): Likewise, also store const target_desc.
1108 (STATIC_IN_GDB): Define.
1109 (riscv_create_target_description): Update declaration with
1110 STATIC_IN_GDB.
1111 (riscv_lookup_target_description): New function, only define if
1112 GDBSERVER is not defined.
1113 * arch/riscv.h (riscv_create_target_description): Declare only
1114 when GDBSERVER is defined.
1115 (riscv_lookup_target_description): New declaration when GDBSERVER
1116 is not defined.
1117 * nat/riscv-linux-tdesc.c (riscv_linux_read_description): Rename to...
1118 (riscv_linux_read_features): ...this, and return
1119 riscv_gdbarch_features instead of target_desc.
1120 * nat/riscv-linux-tdesc.h: Include 'arch/riscv.h'.
1121 (riscv_linux_read_description): Rename to...
1122 (riscv_linux_read_features): ...this.
1123 * riscv-linux-nat.c (riscv_linux_nat_target::read_description):
1124 Update to use riscv_gdbarch_features and
1125 riscv_lookup_target_description.
1126 * riscv-tdep.c (riscv_find_default_target_description): Use
1127 riscv_lookup_target_description instead of
1128 riscv_create_target_description.
1129
1130 2020-02-18 Simon Marchi <simon.marchi@efficios.com>
1131
1132 * valprint.c (generic_val_print_enum_1): When printing a flag
1133 enum with value 0 and there is no enumerator with value 0, print
1134 just "0" instead of "(unknown: 0x0)".
1135
1136 2020-02-18 Simon Marchi <simon.marchi@efficios.com>
1137
1138 * valprint.c (generic_val_print_enum_1): Print unknown part of
1139 flag enum in hex.
1140
1141 2020-02-18 Simon Marchi <simon.marchi@efficios.com>
1142
1143 * dwarf2/read.c (update_enumeration_type_from_children): Allow
1144 flag enums to contain duplicate enumerators.
1145 * valprint.c (generic_val_print_enum_1): Update comment.
1146
1147 2020-02-18 Simon Marchi <simon.marchi@efficios.com>
1148
1149 * dwarf2/read.c: Include "count-one-bits.h".
1150 (update_enumeration_type_from_children): If an enumerator has
1151 multiple bits set, don't treat the enumeration as a "flag enum".
1152 * valprint.c (generic_val_print_enum_1): Assert that enumerators
1153 of flag enums have 0 or 1 bit set.
1154
1155 2020-02-18 Bernd Edlinger <bernd.edlinger@hotmail.de>
1156
1157 * aarch64-tdep.c (aarch64_displaced_step_copy_insn): Use an explicit
1158 conversion.
1159 * amd64-tdep.c (amd64_displaced_step_copy_insn): Likewise.
1160 * arm-linux-tdep.c (arm_linux_displaced_step_copy_insn): Likewise.
1161 * i386-tdep.c (i386_displaced_step_copy_insn): Likewise.
1162 * rs6000-tdep.c (ppc_displaced_step_copy_insn): Likewise.
1163 * s390-tdep.c (s390_displaced_step_copy_insn): Likewise.
1164
1165 2020-02-18 Simon Marchi <simon.marchi@efficios.com>
1166
1167 * MAINTAINERS: Change palmer@sifive.com to palmer@dabbelt.com.
1168
1169 2020-02-14 Simon Marchi <simon.marchi@efficios.com>
1170
1171 * aarch64-tdep.c (aarch64_displaced_step_copy_insn): Use
1172 displaced_step_closure_up.
1173 * aarch64-tdep.h (aarch64_displaced_step_copy_insn): Likewise.
1174 (struct displaced_step_closure_up):
1175 * amd64-tdep.c (amd64_displaced_step_copy_insn): Likewise.
1176 * amd64-tdep.h (amd64_displaced_step_copy_insn): Likewise.
1177 * arm-linux-tdep.c (arm_linux_displaced_step_copy_insn):
1178 Likewise.
1179 * gdbarch.sh (displaced_step_copy_insn): Likewise.
1180 * gdbarch.c, gdbarch.h: Re-generate.
1181 * i386-linux-tdep.c (i386_linux_displaced_step_copy_insn): Use
1182 displaced_step_closure_up.
1183 * i386-tdep.c (i386_displaced_step_copy_insn): Likewise.
1184 * i386-tdep.h (i386_displaced_step_copy_insn): Likewise.
1185 * infrun.h (displaced_step_closure_up): New type alias.
1186 (struct displaced_step_inferior_state) <step_closure>: Change
1187 type to displaced_step_closure_up.
1188 * rs6000-tdep.c (ppc_displaced_step_copy_insn): Use
1189 displaced_step_closure_up.
1190 * s390-tdep.c (s390_displaced_step_copy_insn): Likewise.
1191
1192 2020-02-14 Tom Tromey <tom@tromey.com>
1193
1194 * minidebug.c (gnu_debug_key): New global.
1195 (find_separate_debug_file_in_section): Use it.
1196
1197 2020-02-14 Simon Marchi <simon.marchi@efficios.com>
1198
1199 * gdbarch.sh (displaced_step_copy_insn): Change return type to an
1200 std::unique_ptr.
1201 * gdbarch.c: Re-generate.
1202 * gdbarch.h: Re-generate.
1203 * infrun.c (displaced_step_prepare_throw): Adjust to std::unique_ptr
1204 change.
1205 * aarch64-tdep.c (aarch64_displaced_step_copy_insn): Change return
1206 type to std::unique_ptr.
1207 * aarch64-tdep.h (aarch64_displaced_step_copy_insn): Likewise.
1208 * amd64-tdep.c (amd64_displaced_step_copy_insn): Likewise.
1209 * amd64-tdep.h (amd64_displaced_step_copy_insn): Likewise.
1210 * arm-linux-tdep.c (arm_linux_displaced_step_copy_insn): Likewise.
1211 * i386-linux-tdep.c (i386_linux_displaced_step_copy_insn): Likewise.
1212 * i386-tdep.c (i386_displaced_step_copy_insn): Likewise.
1213 * i386-tdep.h (i386_displaced_step_copy_insn): Likewise.
1214 * rs6000-tdep.c (ppc_displaced_step_copy_insn): Likewise.
1215 * s390-tdep.c (s390_displaced_step_copy_insn): Likewise.
1216
1217 2020-02-14 Simon Marchi <simon.marchi@efficios.com>
1218
1219 * infrun.c (get_displaced_step_closure_by_addr): Adjust to
1220 std::unique_ptr.
1221 (displaced_step_clear): Rename to...
1222 (displaced_step_reset): ... this. Just call displaced->reset ().
1223 (displaced_step_clear_cleanup): Rename to...
1224 (displaced_step_reset_cleanup): ... this.
1225 (displaced_step_prepare_throw): Adjust to std::unique_ptr.
1226 (displaced_step_fixup): Likewise.
1227 (resume_1): Likewise.
1228 (handle_inferior_event): Restore child's memory before calling
1229 displaced_step_fixup on the parent.
1230 * infrun.h (displaced_step_inferior_state) <reset>: Adjust
1231 to std::unique_ptr.
1232 <step_closure>: Change type to std::unique_ptr.
1233
1234 2020-02-14 Simon Marchi <simon.marchi@efficios.com>
1235
1236 * arm-tdep.c: Include count-one-bits.h.
1237 (cleanup_block_store_pc): Use count_one_bits.
1238 (cleanup_block_load_pc): Use count_one_bits.
1239 (arm_copy_block_xfer): Use count_one_bits.
1240 (thumb2_copy_block_xfer): Use count_one_bits.
1241 (thumb_copy_pop_pc_16bit): Use count_one_bits.
1242 * arch/arm-get-next-pcs.c: Include count-one-bits.h.
1243 (thumb_get_next_pcs_raw): Use count_one_bits.
1244 (arm_get_next_pcs_raw): Use count_one_bits_l.
1245 * arch/arm.c (bitcount): Remove.
1246 * arch/arm.h (bitcount): Remove.
1247
1248 2020-02-14 Tom Tromey <tromey@adacore.com>
1249
1250 * dwarf2/frame-tailcall.c (dwarf2_tailcall_sniffer_first):
1251 Update.
1252 * dwarf2/loc.h (call_site_find_chain): Return unique_xmalloc_ptr.
1253 * dwarf2/loc.c (call_site_find_chain_1): Return
1254 unique_xmalloc_ptr.
1255 (call_site_find_chain): Likewise.
1256
1257 2020-02-14 Richard Biener <rguenther@suse.de>
1258
1259 * dwarf2/read.c (lnp_state_machine::handle_special_opcode): Apply CSE
1260 on expression with division operators.
1261
1262 2020-02-13 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
1263
1264 * MAINTAINERS (Write After Approval): Adding myself.
1265
1266 2020-02-12 Tom Tromey <tom@tromey.com>
1267
1268 * event-loop.c (event_data, gdb_event, event_handler_func):
1269 Remove.
1270
1271 2020-02-12 Tom Tromey <tom@tromey.com>
1272
1273 * dwarf2/frame.c (dwarf2_frame_bfd_data): New global.
1274 (dwarf2_frame_objfile_data): Add comment.
1275 (find_comp_unit, set_comp_unit): New functions.
1276 (dwarf2_frame_find_fde): Use find_comp_unit.
1277 (dwarf2_build_frame_info): Use set_comp_unit.
1278
1279 2020-02-12 Tom Tromey <tom@tromey.com>
1280
1281 * dwarf2/frame.c (struct comp_unit) <objfile>: Remove.
1282 (comp_unit): Don't initialize objfile.
1283 (execute_cfa_program): Add text_offset parameter.
1284 (execute_cfa_program_test, dwarf2_fetch_cfa_info)
1285 (dwarf2_frame_cache): Update.
1286 (dwarf2_build_frame_info): Don't set "objfile" member.
1287
1288 2020-02-12 Tom Tromey <tom@tromey.com>
1289
1290 * dwarf2/frame.c (decode_frame_entry_1): Add gdbarch parameter.
1291 (decode_frame_entry): Likewise.
1292 (dwarf2_build_frame_info): Update.
1293
1294 2020-02-12 Tom Tromey <tom@tromey.com>
1295
1296 * dwarf2/frame.c (struct comp_unit) <obstack>: New member.
1297 (decode_frame_entry_1): Use the comp_unit obstack.
1298
1299 2020-02-12 Tom Tromey <tom@tromey.com>
1300
1301 * dwarf2/frame.c (struct comp_unit): Add initializers and
1302 constructor.
1303 (dwarf2_frame_objfile_data): Store a comp_unit.
1304 (dwarf2_frame_find_fde): Update.
1305 (dwarf2_build_frame_info): Use "new".
1306
1307 2020-02-12 Tom Tromey <tom@tromey.com>
1308
1309 * dwarf2/frame.c (struct dwarf2_fde_table): Remove.
1310 (dwarf2_fde_table): Typedef for std::vector.
1311 (dwarf2_frame_objfile_data): Remove the deleter. Now static.
1312 (dwarf2_frame_find_fde, add_fde, decode_frame_entry_1)
1313 (decode_frame_entry): Update.
1314 (dwarf2_build_frame_info): Use "new".
1315
1316 2020-02-12 Christian Biesinger <cbiesinger@google.com>
1317
1318 * arm-tdep.c (arm_gdbarch_init): Update.
1319 * arm-tdep.h (struct gdbarch_tdep) <have_fpa_registers,
1320 have_wmmx_registers, have_vfp_pseudos, have_neon_pseudos,
1321 have_neon, is_m>: Change to bool.
1322
1323 2020-02-12 Christian Biesinger <cbiesinger@google.com>
1324
1325 * arm-tdep.c (arm_dump_tdep): Print more fields of tdep.
1326
1327 2020-02-12 Tom Tromey <tom@tromey.com>
1328
1329 * dwarf2/loc.c (struct dwarf_expr_baton): Remove.
1330
1331 2020-02-12 Hannes Domani <ssbssa@yahoo.de>
1332
1333 * windows-tdep.c (struct windows_gdbarch_data): Add tib_ptr_type.
1334 (windows_get_tlb_type): Use windows_gdbarch_data->tib_ptr_type.
1335
1336 2020-02-11 Tom Tromey <tom@tromey.com>
1337
1338 * psymtab.h: Update comment.
1339
1340 2020-02-11 Tom Tromey <tom@tromey.com>
1341
1342 * gdb_obstack.h (struct auto_obstack): Use
1343 DISABLE_COPY_AND_ASSIGN.
1344
1345 2020-02-11 Tom Tromey <tom@tromey.com>
1346
1347 * dwarf2/frame.h (struct objfile): Don't forward declare.
1348
1349 2020-02-11 Christian Biesinger <cbiesinger@google.com>
1350
1351 * cris-tdep.c (cris_supply_gregset): Change signature to match
1352 what struct regset expects.
1353 (cris_regset): New struct.
1354 (fetch_core_registers): Remove.
1355 (cris_iterate_over_regset_sections): New function.
1356 (_initialize_cris_tdep): Don't call deprecated_add_core_fns.
1357 (cris_gdbarch_init): Call set_gdbarch_iterate_over_regset_sections.
1358
1359 2020-02-11 Christian Biesinger <cbiesinger@google.com>
1360
1361 * arch/arm.h (enum gdb_regnum): Add comment for the FP0..7
1362 registers.
1363
1364 2020-02-11 Christian Biesinger <cbiesinger@google.com>
1365
1366 * arm-tdep.c (arm_dump_tdep): Add \n in fprintf.
1367
1368 2020-02-11 Simon Marchi <simon.marchi@efficios.com>
1369
1370 * configure: Re-generate.
1371
1372 2020-02-11 Simon Marchi <simon.marchi@efficios.com>
1373
1374 * configure: Re-generate.
1375
1376 2020-02-11 Simon Marchi <simon.marchi@efficios.com>
1377
1378 * acinclude: Update warning.m4 path.
1379 * warning.m4: Move to gdbsupport.
1380
1381 2020-02-11 Tom Tromey <tromey@adacore.com>
1382
1383 * remote.c (remote_console_output): Update.
1384 * printcmd.c (printf_command): Update.
1385 * event-loop.c (gdb_wait_for_event): Update.
1386 * linux-nat.c (sigchld_handler): Update.
1387 * remote-sim.c (gdb_os_write_stdout): Update.
1388 (gdb_os_flush_stdout): Update.
1389 (gdb_os_flush_stderr): Update.
1390 (gdb_os_write_stderr): Update.
1391 * exceptions.c (print_exception): Update.
1392 * remote-fileio.c (remote_fileio_func_read): Update.
1393 (remote_fileio_func_write): Update.
1394 * tui/tui.c (tui_enable): Update.
1395 * tui/tui-interp.c (tui_interp::init): Update.
1396 * utils.c (init_page_info): Update.
1397 (putchar_unfiltered, fputc_unfiltered): Update.
1398 (gdb_flush): Update.
1399 (emit_style_escape): Update.
1400 (flush_wrap_buffer, fputs_maybe_filtered): Update.
1401 * ui-file.c (ui_file_isatty, ui_file_read, ui_file_write)
1402 (ui_file_write_async_safe, ui_file_flush, ui_file_puts): Remove.
1403 (stderr_file::write): Update.
1404 (stderr_file::puts): Update.
1405 * ui-file.h (ui_file_isatty, ui_file_write)
1406 (ui_file_write_async_safe, ui_file_read, ui_file_flush)
1407 (ui_file_puts): Don't declare.
1408
1409 2020-02-10 Tom de Vries <tdevries@suse.de>
1410
1411 * dwarf2/read.c (process_psymtab_comp_unit_reader): Cast concat NULL
1412 sentinel to char *.
1413
1414 2020-02-09 Tom de Vries <tdevries@suse.de>
1415
1416 * dwarf2read.c (process_psymtab_comp_unit_reader): Append CU offset to
1417 filename if it matches "<artificial>".
1418
1419 2020-02-09 Hannes Domani <ssbssa@yahoo.de>
1420
1421 * windows-tdep.c (struct enum_value_name): New struct.
1422 (create_enum): New function.
1423 (windows_get_siginfo_type): Create and use enum types.
1424
1425 2020-02-09 Hannes Domani <ssbssa@yahoo.de>
1426
1427 * NEWS: Mention $_siginfo support for Windows.
1428 * windows-nat.c (handle_exception): Set siginfo_er.
1429 (windows_nat_target::mourn_inferior): Reset siginfo_er.
1430 (windows_xfer_siginfo): New function.
1431 (windows_nat_target::xfer_partial): Call windows_xfer_siginfo.
1432 * windows-tdep.c (struct windows_gdbarch_data): New struct.
1433 (init_windows_gdbarch_data): New function.
1434 (get_windows_gdbarch_data): New function.
1435 (windows_get_siginfo_type): New function.
1436 (windows_init_abi): Register windows_get_siginfo_type.
1437 (_initialize_windows_tdep): Register init_windows_gdbarch_data.
1438
1439 2020-02-08 Tom Tromey <tom@tromey.com>
1440
1441 * dwarf2/read.c (class cutu_reader) <cutu_reader,
1442 init_tu_and_read_dwo_dies>: Remove "keep" parameter.
1443 <keep>: Declare method.
1444 <m_keep>: Remove member.
1445 <~cutu_reader>: Remove.
1446 (cutu_reader::init_tu_and_read_dwo_dies): Update.
1447 (cutu_reader::cutu_reader): Update.
1448 (cutu_reader::keep): Rename from ~cutu_reader.
1449 (process_psymtab_comp_unit, build_type_psymtabs_1)
1450 (process_skeletonless_type_unit, load_partial_comp_unit)
1451 (load_full_comp_unit, dwarf2_read_addr_index)
1452 (read_signatured_type): Update.
1453
1454 2020-02-08 Tom Tromey <tom@tromey.com>
1455
1456 * dwarf2/read.c (process_psymtab_comp_unit_reader): Remove
1457 "want_partial_unit" parameter.
1458 (process_psymtab_comp_unit): Change want_partial_unit to bool.
1459 Inline check for DW_TAG_partial_unit.
1460 (dwarf2_build_psymtabs_hard, scan_partial_symbols): Update.
1461
1462 2020-02-08 Tom Tromey <tom@tromey.com>
1463
1464 * dwarf2/read.c (read_n_bytes, read_direct_string): Move to
1465 read.c.
1466 * dwarf2/leb.h (read_n_bytes, read_direct_string): Move from
1467 read.c.
1468
1469 2020-02-08 Tom Tromey <tom@tromey.com>
1470
1471 * dwarf2/read.c (read_address): Move to comp-unit.c.
1472 (dwarf2_rnglists_process, dwarf2_ranges_process)
1473 (read_attribute_value, dwarf_decode_lines_1)
1474 (var_decode_location, decode_locdesc): Update.
1475 * dwarf2/comp-unit.c (comp_unit_head::read_address): Move from
1476 read.c. Remove "cu" parameter.
1477 * dwarf2/comp-unit.h (struct comp_unit_head) <read_address>: New
1478 method.
1479
1480 2020-02-08 Tom Tromey <tom@tromey.com>
1481
1482 * dwarf2/read.c (read_attribute_value, read_indirect_string)
1483 (read_indirect_line_string): Update.
1484 * dwarf2/comp-unit.c (read_offset): Remove.
1485 (read_comp_unit_head): Update.
1486 * dwarf2/comp-unit.h (struct comp_unit_head) <read_offset>: New
1487 method.
1488 (read_offset): Don't declare.
1489
1490 2020-02-08 Tom Tromey <tom@tromey.com>
1491
1492 * Makefile.in (COMMON_SFILES): Add dwarf2/comp-unit.c.
1493 * dwarf2/read.c (struct comp_unit_head): Move to
1494 dwarf2/comp-unit.h.
1495 (enum class rcuh_kind): Move to comp-unit.h.
1496 (get_cu_length, offset_in_cu_p): Now methods on comp_unit_head.
1497 (read_comp_unit_head, error_check_comp_unit_head)
1498 (read_and_check_comp_unit_head): Move to comp-unit.c.
1499 (read_offset, dwarf_unit_type_name): Likewise.
1500 (create_debug_type_hash_table, read_cutu_die_from_dwo)
1501 (cutu_reader::cutu_reader, read_call_site_scope)
1502 (find_partial_die, follow_die_offset): Update.
1503 * dwarf2/comp-unit.h: New file, from dwarf2read.c.
1504
1505 2020-02-08 Tom Tromey <tom@tromey.com>
1506
1507 * dwarf2/read.c (read_offset_1): Move to leb.c.
1508 (read_abbrev_offset, read_offset, dwarf_decode_line_header)
1509 (dwarf_decode_macro_bytes): Update.
1510 * dwarf2/leb.c (read_offset): Rename; move from read.c.
1511 * dwarf2/leb.h (read_offset): Declare.
1512
1513 2020-02-08 Tom Tromey <tom@tromey.com>
1514
1515 * dwarf2/read.c (dwarf2_section_size): Remove.
1516 (error_check_comp_unit_head, dwarf2_symbol_mark_computed):
1517 Update.
1518 * dwarf2/section.h (struct dwarf2_section_info) <get_size>: New method.
1519
1520 2020-02-08 Tom Tromey <tom@tromey.com>
1521
1522 * dwarf2/read.c (read_initial_length): Move to leb.c.
1523 * dwarf2/leb.h (read_initial_length): Declare.
1524 * dwarf2/leb.c (read_initial_length): Move from read.c. Add
1525 handle_nonstd parameter.
1526 * dwarf2/frame.c (read_initial_length): Remove.
1527 (decode_frame_entry_1): Update.
1528
1529 2020-02-08 Tom Tromey <tom@tromey.com>
1530
1531 * dwarf2/loc.c (dwarf2_find_location_expression)
1532 (dwarf_evaluate_loc_desc::get_tls_address)
1533 (dwarf_evaluate_loc_desc::push_dwarf_reg_entry_value)
1534 (rw_pieced_value, dwarf2_evaluate_loc_desc_full)
1535 (dwarf2_locexpr_baton_eval, dwarf2_evaluate_property)
1536 (dwarf2_compile_property_to_c)
1537 (dwarf2_loc_desc_get_symbol_read_needs)
1538 (dwarf2_compile_expr_to_ax, locexpr_describe_location)
1539 (locexpr_tracepoint_var_ref, locexpr_generate_c_location)
1540 (loclist_describe_location, loclist_tracepoint_var_ref)
1541 (loclist_generate_c_location): Update.
1542 * compile/compile-loc2c.c (do_compile_dwarf_expr_to_c): Update.
1543 * dwarf2/loc.h (dwarf2_per_cu_objfile, dwarf2_per_cu_addr_size)
1544 (dwarf2_per_cu_ref_addr_size, dwarf2_per_cu_offset_size)
1545 (dwarf2_per_cu_text_offset, dwarf2_version): Don't declare.
1546 * dwarf2/read.c (dwarf2_per_cu_data::objfile)
1547 (dwarf2_per_cu_data::addr_size)
1548 (dwarf2_per_cu_data::ref_addr_size)
1549 (dwarf2_per_cu_data::text_offset)
1550 (dwarf2_per_cu_data::addr_type): Now methods.
1551 (per_cu_header_read_in): Make per_cu "const".
1552 (dwarf2_version): Remove.
1553 (dwarf2_per_cu_data::int_type): Now a method.
1554 (dwarf2_per_cu_data::_addr_sized_int_type): Likewise.
1555 (set_die_type, read_array_type, read_subrange_index_type)
1556 (read_tag_string_type, read_subrange_type): Update.
1557 * dwarf2/read.h (struct dwarf2_per_cu_data) <addr_size,
1558 offset_size, ref_addr_size, text_offset, addr_type, version,
1559 objfile, int_type, addr_sized_int_type>: Declare methods.
1560
1561 2020-02-08 Tom Tromey <tom@tromey.com>
1562
1563 * dwarf2/read.h (struct dwarf2_per_cu_data) <imported_symtabs>:
1564 Move earlier.
1565
1566 2020-02-08 Tom Tromey <tom@tromey.com>
1567
1568 * dwarf2/read.h (dwarf_line_debug): Declare.
1569 * Makefile.in (COMMON_SFILES): Add dwarf2/line-header.c.
1570 * dwarf2/read.c: Move line_header code to new files.
1571 (dwarf_line_debug): No longer static.
1572 * dwarf2/line-header.c: New file.
1573 * dwarf2/line-header.h: New file.
1574
1575 2020-02-08 Tom Tromey <tom@tromey.com>
1576
1577 * dwarf2/read.c (struct line_header) <file_full_name,
1578 file_file_name>: Return unique_xmalloc_ptr.
1579 (line_header::file_file_name): Update.
1580 (line_header::file_full_name): Update.
1581 (dw2_get_file_names_reader): Update.
1582 (macro_start_file): Update.
1583
1584 2020-02-08 Tom Tromey <tom@tromey.com>
1585
1586 * dwarf2/read.c (struct line_header) <file_full_name,
1587 file_file_name>: Declare methods.
1588 (dw2_get_file_names_reader): Update.
1589 (file_file_name): Now a method.
1590 (file_full_name): Likewise.
1591 (macro_start_file): Update.
1592
1593 2020-02-08 Tom Tromey <tom@tromey.com>
1594
1595 * dwarf2/read.c (dwarf_always_disassemble)
1596 (show_dwarf_always_disassemble): Move to loc.c.
1597 (_initialize_dwarf2_read): Move "always-disassemble" registration
1598 to loc.c.
1599 * dwarf2/read.h (dwarf_always_disassemble): Don't declare.
1600 * dwarf2/loc.c (dwarf_always_disassemble): Move from read.c. Now
1601 static.
1602 (show_dwarf_always_disassemble): Move from read.c.
1603 (_initialize_dwarf2loc): Move always-disassemble from read.c.
1604
1605 2020-02-08 Tom Tromey <tom@tromey.com>
1606
1607 * dwarf2/read.c (~dwarf2_per_objfile): Update.
1608 (create_quick_file_names_table): Return htab_up.
1609 (dw2_get_file_names_reader, dw2_forget_cached_source_info):
1610 Update.
1611 * dwarf2/read.h (struct dwarf2_per_objfile)
1612 <quick_file_names_table>: Now htab_up.
1613
1614 2020-02-08 Tom Tromey <tom@tromey.com>
1615
1616 * dwarf2/abbrev.c (abbrev_table::read): Simplify.
1617
1618 2020-02-08 Tom Tromey <tom@tromey.com>
1619
1620 * dwarf2/abbrev.c (abbrev_table): Move constructor from header.
1621 Rewrite.
1622 (abbrev_table::add_abbrev, abbrev_table::lookup_abbrev): Rewrite.
1623 * dwarf2/abbrev.h (struct abbrev_info) <next>: Remove.
1624 (abbrev_table::abbrev_table): No longer inline.
1625 (ABBREV_HASH_SIZE): Remove.
1626 (abbrev_table::m_abbrevs): Now an htab_up.
1627
1628 2020-02-08 Tom Tromey <tom@tromey.com>
1629
1630 * dwarf2/read.c (read_cutu_die_from_dwo): Update.
1631 (cutu_reader): Update.
1632 (build_type_psymtabs_1): Update.
1633 * dwarf2/abbrev.c (abbrev_table::read): Rename.
1634 (abbrev_table::alloc_abbrev): Update.
1635 * dwarf2/abbrev.h (abbrev_table_up): Move earlier.
1636 (abbrev_table::read): New static method, renamed from
1637 abbrev_table_read_table.
1638 (abbrev_table::alloc_abbrev)
1639 (abbrev_table::add_abbrev): Now private.
1640 (abbrev_table::abbrev_table): Now private.
1641 (abbrev_table::m_abbrev_obstack): Now private. Rename.
1642
1643 2020-02-08 Tom Tromey <tom@tromey.com>
1644
1645 * dwarf2/read.c (set_die_type, get_die_type_at_offset): Update.
1646 * dwarf2/read.h (struct dwarf2_per_objfile) <die_type_hash>: Now
1647 htab_up.
1648
1649 2020-02-08 Tom Tromey <tom@tromey.com>
1650
1651 * dwarf2/read.c (struct dwp_file) <loaded_cus, loaded_tus>: Now
1652 htab_up.
1653 (lookup_dwo_unit_in_dwp): Update.
1654 (allocate_dwp_loaded_cutus_table): Return htab_up. Don't allocate
1655 on obstack.
1656
1657 2020-02-08 Tom Tromey <tom@tromey.com>
1658
1659 * dwarf2/read.c (allocate_dwo_file_hash_table): Don't allocate on
1660 obstack.
1661
1662 2020-02-08 Tom Tromey <tom@tromey.com>
1663
1664 * dwarf2/read.c (~dwarf2_per_objfile): Don't delete
1665 line_header_hash.
1666 (handle_DW_AT_stmt_list): Update. Don't allocate on obstack.
1667 * dwarf2/read.h (struct dwarf2_per_objfile) <line_header_hash>:
1668 Change type to htab_up.
1669
1670 2020-02-08 Tom Tromey <tom@tromey.com>
1671
1672 * dwarf2/read.c (allocate_type_unit_groups_table): Return
1673 htab_up. Don't allocate on obstack.
1674 (get_type_unit_group, dwarf2_build_psymtabs_hard): Update.
1675 * dwarf2/read.h (struct dwarf2_per_objfile) <type_unit_groups>:
1676 Change type to htab_up.
1677
1678 2020-02-08 Tom Tromey <tom@tromey.com>
1679
1680 * dwarf2/read.h (struct dwarf2_per_objfile) <signatured_types>:
1681 Change type to htab_up.
1682 * dwarf2/read.c (create_signatured_type_table_from_index)
1683 (create_signatured_type_table_from_debug_names)
1684 (create_all_type_units, add_type_unit)
1685 (lookup_dwo_signatured_type, lookup_signatured_type)
1686 (process_skeletonless_type_unit): Update.
1687 (create_debug_type_hash_table, create_debug_types_hash_table):
1688 Change type of types_htab.
1689 (allocate_signatured_type_table, allocate_dwo_unit_table): Return
1690 htab_up. Don't allocate on obstack.
1691 (create_cus_hash_table): Change type of cus_htab parameter.
1692 (struct dwo_file) <cus, tus>: Now htab_up.
1693 (lookup_dwo_signatured_type, lookup_dwo_cutu)
1694 (process_dwo_file_for_skeletonless_type_units, lookup_dwo_cutu)
1695 (queue_and_load_all_dwo_tus): Update.
1696 * dwarf2/index-write.c (write_gdbindex): Update.
1697 (write_debug_names): Update.
1698
1699 2020-02-08 Tom Tromey <tom@tromey.com>
1700
1701 * dwarf2/read.h (struct dwarf2_queue_item): Move from
1702 dwarf2/read.c. Remove "next" member. Add constructor ntad
1703 destructor.
1704 (struct dwarf2_per_objfile) <queue>: New member.
1705 * dwarf2/read.c (struct dwarf2_queue_item): Move to
1706 dwarf2/read.h.
1707 (dwarf2_queue, dwarf2_queue_tail): Remove.
1708 (class dwarf2_queue_guard): Add parameter to constructor. Use
1709 DISABLE_COPY_AND_ASSIGN.
1710 <m_per_objfile>: New member.
1711 <~dwarf2_queue_guard>: Rewrite.
1712 (dw2_do_instantiate_symtab, queue_comp_unit, process_queue):
1713 Update.
1714 (~dwarf2_queue_item): New.
1715
1716 2020-02-08 Tom Tromey <tom@tromey.com>
1717
1718 * dwarf2/read.c (struct die_info) <has_children>: New member.
1719 (dw2_get_file_names_reader): Remove has_children.
1720 (dw2_get_file_names): Update.
1721 (read_cutu_die_from_dwo): Remove has_children.
1722 (cutu_reader::init_tu_and_read_dwo_dies)
1723 (cutu_reader::cutu_reader): Update.
1724 (process_psymtab_comp_unit_reader, build_type_psymtabs_reader):
1725 Remove has_children.
1726 (build_type_psymtabs_1, process_skeletonless_type_unit)
1727 (load_partial_comp_unit, load_full_comp_unit): Update.
1728 (create_dwo_cu_reader): Remove has_children.
1729 (create_cus_hash_table, read_die_and_children): Update.
1730 (read_full_die_1,read_full_die): Remove has_children.
1731 (read_signatured_type): Update.
1732 (class cutu_reader) <has_children>: Remove.
1733
1734 2020-02-08 Tom Tromey <tom@tromey.com>
1735
1736 * dwarf2/expr.c: Rename from dwarf2expr.c.
1737 * dwarf2/expr.h: Rename from dwarf2expr.h.
1738 * dwarf2/frame-tailcall.c: Rename from dwarf2-frame-tailcall.c.
1739 * dwarf2/frame-tailcall.h: Rename from dwarf2-frame-tailcall.h.
1740 * dwarf2/frame.c: Rename from dwarf2-frame.c.
1741 * dwarf2/frame.h: Rename from dwarf2-frame.h.
1742 * dwarf2/index-cache.c: Rename from dwarf-index-cache.c.
1743 * dwarf2/index-cache.h: Rename from dwarf-index-cache.h.
1744 * dwarf2/index-common.c: Rename from dwarf-index-common.c.
1745 * dwarf2/index-common.h: Rename from dwarf-index-common.h.
1746 * dwarf2/index-write.c: Rename from dwarf-index-write.c.
1747 * dwarf2/index-write.h: Rename from dwarf-index-write.h.
1748 * dwarf2/loc.c: Rename from dwarf2loc.c.
1749 * dwarf2/loc.h: Rename from dwarf2loc.h.
1750 * dwarf2/read.c: Rename from dwarf2read.c.
1751 * dwarf2/read.h: Rename from dwarf2read.h.
1752 * dwarf2/abbrev.c, aarch64-tdep.c, alpha-tdep.c,
1753 amd64-darwin-tdep.c, arc-tdep.c, arm-tdep.c, bfin-tdep.c,
1754 compile/compile-c-symbols.c, compile/compile-cplus-symbols.c,
1755 compile/compile-loc2c.c, cris-tdep.c, csky-tdep.c, findvar.c,
1756 gdbtypes.c, guile/scm-type.c, h8300-tdep.c, hppa-bsd-tdep.c,
1757 hppa-linux-tdep.c, i386-darwin-tdep.c, i386-linux-tdep.c,
1758 i386-tdep.c, iq2000-tdep.c, m32c-tdep.c, m68hc11-tdep.c,
1759 m68k-tdep.c, microblaze-tdep.c, mips-tdep.c, mn10300-tdep.c,
1760 msp430-tdep.c, nds32-tdep.c, nios2-tdep.c, or1k-tdep.c,
1761 riscv-tdep.c, rl78-tdep.c, rs6000-tdep.c, rx-tdep.c, s12z-tdep.c,
1762 s390-tdep.c, score-tdep.c, sh-tdep.c, sparc-linux-tdep.c,
1763 sparc-tdep.c, sparc64-linux-tdep.c, sparc64-tdep.c, tic6x-tdep.c,
1764 tilegx-tdep.c, v850-tdep.c, xstormy16-tdep.c, xtensa-tdep.c:
1765 Update.
1766 * Makefile.in (COMMON_SFILES): Update.
1767 (HFILES_NO_SRCDIR): Update.
1768
1769 2020-02-08 Tom Tromey <tom@tromey.com>
1770
1771 * dwarf2read.c (struct die_reader_specs) <comp_dir>: Remove.
1772 (init_cu_die_reader, read_cutu_die_from_dwo): Update.
1773
1774 2020-02-08 Tom Tromey <tom@tromey.com>
1775
1776 * dwarf2read.h (struct die_info): Don't declare.
1777
1778 2020-02-08 Tom Tromey <tom@tromey.com>
1779
1780 * dwarf2read.h (die_info_ptr): Remove typedef.
1781
1782 2020-02-08 Tom Tromey <tom@tromey.com>
1783
1784 * dwarf2read.c (read_call_site_scope)
1785 (handle_data_member_location, dwarf2_add_member_fn)
1786 (mark_common_block_symbol_computed, read_common_block)
1787 (attr_to_dynamic_prop, partial_die_info::read)
1788 (var_decode_location, dwarf2_fetch_die_loc_sect_off)
1789 (dwarf2_symbol_mark_computed, set_die_type): Update.
1790 * dwarf2/attribute.h (struct attribute) <form_is_block>: Declare
1791 method.
1792 (attr_form_is_block): Don't declare.
1793 * dwarf2/attribute.c (attribute::form_is_block): Now a method.
1794
1795 2020-02-08 Tom Tromey <tom@tromey.com>
1796
1797 * dwarf2read.c (dwarf2_find_base_address, )
1798 (read_call_site_scope, rust_containing_type)
1799 (dwarf2_get_pc_bounds, dwarf2_record_block_ranges)
1800 (handle_data_member_location, dwarf2_add_member_fn)
1801 (get_alignment, read_structure_type, process_structure_scope)
1802 (mark_common_block_symbol_computed, read_common_block)
1803 (read_tag_string_type, attr_to_dynamic_prop, read_subrange_type)
1804 (partial_die_info::read, read_attribute_value, new_symbol)
1805 (lookup_die_type, dwarf2_get_ref_die_offset)
1806 (dwarf2_get_attr_constant_value, follow_die_ref_or_sig)
1807 (dwarf2_fetch_die_loc_sect_off, get_DW_AT_signature_type)
1808 (dwarf2_symbol_mark_computed): Update.
1809 * dwarf2/attribute.h (struct attribute) <value_as_address,
1810 form_is_section_offset, form_is_constant, form_is_ref>: Declare
1811 methods.
1812 (value_as_address, attr_form_is_section_offset)
1813 (attr_form_is_constant, attr_form_is_ref): Don't declare.
1814 * dwarf2/attribute.c (attribute::value_as_address)
1815 (attribute::form_is_section_offset, attribute::form_is_constant)
1816 (attribute::form_is_ref): Now methods.
1817
1818 2020-02-08 Tom Tromey <tom@tromey.com>
1819
1820 * dwarf2read.c (struct attribute, DW_STRING)
1821 (DW_STRING_IS_CANONICAL, DW_UNSND, DW_BLOCK, DW_SND, DW_ADDR)
1822 (DW_SIGNATURE, struct dwarf_block, attr_value_as_address)
1823 (attr_form_is_block, attr_form_is_section_offset)
1824 (attr_form_is_constant, attr_form_is_ref): Move.
1825 * dwarf2/attribute.h: New file.
1826 * dwarf2/attribute.c: New file, from dwarf2read.c.
1827 * Makefile.in (COMMON_SFILES): Add dwarf2/attribute.c.
1828
1829 2020-02-08 Tom Tromey <tom@tromey.com>
1830
1831 * dwarf2read.c (abbrev_table_up, struct abbrev_info)
1832 (struct attr_abbrev, ABBREV_HASH_SIZE, struct abbrev_table):
1833 Move.
1834 (read_cutu_die_from_dwo, build_type_psymtabs_1): Update.
1835 (abbrev_table::alloc_abbrev, abbrev_table::add_abbrev)
1836 (abbrev_table::lookup_abbrev, abbrev_table_read_table): Move to
1837 abbrev.c.
1838 * dwarf2/abbrev.h: New file.
1839 * dwarf2/abbrev.c: New file, from dwarf2read.c.
1840 * Makefile.in (COMMON_SFILES): Add dwarf2/abbrev.c.
1841
1842 2020-02-08 Tom Tromey <tom@tromey.com>
1843
1844 * dwarf2read.c (dwarf2_section_buffer_overflow_complaint)
1845 (dwarf2_section_size, dwarf2_get_section_info)
1846 (create_signatured_type_table_from_debug_names)
1847 (create_addrmap_from_aranges, read_debug_names_from_section)
1848 (get_gdb_index_contents_from_section, read_comp_unit_head)
1849 (error_check_comp_unit_head, read_abbrev_offset)
1850 (create_debug_type_hash_table, init_cu_die_reader)
1851 (read_cutu_die_from_dwo, dwarf2_build_psymtabs_hard)
1852 (read_comp_units_from_section, create_cus_hash_table)
1853 (create_dwp_hash_table, create_dwo_unit_in_dwp_v1)
1854 (create_dwp_v2_section, dwarf2_rnglists_process)
1855 (dwarf2_ranges_process, read_die_and_siblings, read_full_die)
1856 (abbrev_table_read_table, read_indirect_string_at_offset_from)
1857 (read_indirect_string_from_dwz, read_addr_index_1)
1858 (read_str_index, dwarf_decode_line_header, skip_form_bytes)
1859 (dwarf_decode_macro_bytes, dwarf_decode_macros)
1860 (fill_in_loclist_baton): Update.
1861 * dwarf2/section.h (struct dwarf2_section_info) <get_name,
1862 get_containing_section, get_bfd_owner, get_bfd_section,
1863 get_file_name, get_id, get_flags, empty, read>: Declare methods.
1864 (dwarf2_read_section, get_section_name, get_section_file_name)
1865 (get_containing_section, get_section_bfd_owner)
1866 (get_section_bfd_section, get_section_name, get_section_file_name)
1867 (get_section_id, get_section_flags, dwarf2_section_empty_p): Don't
1868 declare.
1869 * dwarf2/section.c (dwarf2_section_info::get_containing_section)
1870 (dwarf2_section_info::get_bfd_owner)
1871 (dwarf2_section_info::get_bfd_section)
1872 (dwarf2_section_info::get_name)
1873 (dwarf2_section_info::get_file_name, dwarf2_section_info::get_id)
1874 (dwarf2_section_info::get_flags, dwarf2_section_info::empty)
1875 (dwarf2_section_info::read): Now methods.
1876 * dwarf-index-write.c (class debug_names): Update.
1877
1878 2020-02-08 Tom Tromey <tom@tromey.com>
1879
1880 * dwarf2read.h (struct dwarf2_section_info, dwarf2_read_section):
1881 Move to dwarf2/section.h.
1882 * dwarf2read.c (get_containing_section, get_section_bfd_owner)
1883 (get_section_bfd_section, get_section_name)
1884 (get_section_file_name, get_section_id, get_section_flags)
1885 (dwarf2_section_empty_p, dwarf2_read_section): Moe to
1886 dwarf2/section.c.
1887 * dwarf2/section.h: New file.
1888 * dwarf2/section.c: New file, from dwarf2read.c.
1889 * Makefile.in (COMMON_SFILES): Add dwarf2/section.c.
1890
1891 2020-02-08 Tom Tromey <tom@tromey.com>
1892
1893 * dwarf2read.h (read_unsigned_leb128): Don't declare.
1894 * dwarf2read.c (read_1_byte, read_1_signed_byte, read_2_bytes)
1895 (read_2_signed_bytes, read_3_bytes, read_4_bytes)
1896 (read_4_signed_bytes, read_8_bytes): Move to dwarf2/leb.h.
1897 (read_unsigned_leb128, read_signed_leb128): Move to dwarf2/leb.c.
1898 * dwarf2/leb.h: New file, from dwarf2read.c.
1899 * dwarf2/leb.c: New file, from dwarf2read.c.
1900 * dwarf2-frame.c (read_1_byte, read_4_bytes, read_8_bytes):
1901 Remove.
1902 * Makefile.in (CONFIG_SRC_SUBDIR): Add dwarf2.
1903 (COMMON_SFILES): Add dwarf2/leb.c.
1904
1905 2020-02-08 Joel Brobecker <brobecker@adacore.com>
1906
1907 GDB 9.1 released.
1908
1909 2020-02-05 Iain Buclaw <ibuclaw@gdcproject.org>
1910
1911 PR gdb/25190:
1912 * gdb/remote-sim.c (gdb_os_write_stderr): Update.
1913 * gdb/remote.c (remote_console_output): Update.
1914 * gdb/ui-file.c (fputs_unfiltered): Rename to...
1915 (ui_file_puts): ...this.
1916 * gdb/ui-file.h (ui_file_puts): Add declaration.
1917 * gdb/utils.c (emit_style_escape): Update.
1918 (flush_wrap_buffer): Update.
1919 (fputs_maybe_filtered): Update.
1920 (fputs_unfiltered): Add function.
1921
1922 2020-02-05 Iain Buclaw <ibuclaw@gdcproject.org>
1923
1924 * gdb/event-loop.c (gdb_wait_for_event): Update.
1925 * gdb/printcmd.c (printf_command): Update.
1926 * gdb/remote-fileio.c (remote_fileio_func_write): Update.
1927 * gdb/remote-sim.c (gdb_os_flush_stdout): Update.
1928 (gdb_os_flush_stderr): Update.
1929 * gdb/remote.c (remote_console_output): Update.
1930 * gdb/ui-file.c (gdb_flush): Rename to...
1931 (ui_file_flush): ...this.
1932 (stderr_file::write): Update.
1933 (stderr_file::puts): Update.
1934 * gdb/ui-file.h (gdb_flush): Rename to...
1935 (ui_file_flush): ...this.
1936 * gdb/utils.c (gdb_flush): Add function.
1937 * gdb/utils.h (gdb_flush): Add declaration.
1938
1939 2020-02-07 Tom Tromey <tromey@adacore.com>
1940
1941 PR breakpoints/24915:
1942 * source.c (find_and_open_source): Do not check basenames_may_differ.
1943
1944 2020-02-07 Tom Tromey <tom@tromey.com>
1945
1946 * README: Update gdbserver documentation.
1947 * gdbserver: Move to top level.
1948 * configure.tgt (build_gdbserver): Remove.
1949 * configure.ac: Remove --enable-gdbserver.
1950 * configure: Rebuild.
1951 * Makefile.in (distclean): Don't mention gdbserver.
1952
1953 2020-02-06 Shahab Vahedi <shahab@synopsys.com>
1954
1955 * source-cache.c (source_cache::ensure): Surround
1956 get_plain_source_lines with a try/catch.
1957 (source_cache::get_line_charpos): Get rid of try/catch
1958 and only check for the return value of "ensure".
1959 * tui/tui-source.c (tui_source_window::set_contents):
1960 Simplify "nlines" calculation.
1961
1962 2020-02-06 Shahab Vahedi <shahab@synopsys.com>
1963
1964 * MAINTAINERS (Write After Approval): Add myself.
1965
1966 2020-02-05 Christian Biesinger <cbiesinger@google.com>
1967
1968 * sparc-nat.h (struct sparc_target) <xfer_partial>: Fix base class
1969 function call.
1970
1971 2020-02-05 Christian Biesinger <cbiesinger@google.com>
1972
1973 * ppc-nbsd-tdep.h: Fix macro name in #endif comment.
1974
1975 2020-02-05 Maciej W. Rozycki <macro@wdc.com>
1976
1977 * nat/riscv-linux-tdesc.h: New file.
1978 * nat/riscv-linux-tdesc.c: New file, taking code from...
1979 * riscv-linux-nat.c (riscv_linux_nat_target::read_description):
1980 ... here.
1981 * configure.nat <linux> <riscv*>: Add nat/riscv-linux-tdesc.o to
1982 NATDEPFILES.
1983
1984 2020-02-04 Andrew Burgess <andrew.burgess@embecosm.com>
1985
1986 * remote-sim.c (sim_inferior_data::sim_inferior_data): Assert that
1987 we don't set the fake simulator ptid to the null_ptid.
1988
1989 2020-02-03 Simon Marchi <simon.marchi@efficios.com>
1990
1991 * fork-child.c (gdb_startup_inferior): Use bool instead of int.
1992 * gdbthread.h (class thread_info) <resumed>: Likewise.
1993 * infrun.c (resume_1): Likewise.
1994 (proceed): Likewise.
1995 (infrun_thread_stop_requested): Likewise.
1996 (stop_all_threads): Likewise.
1997 (handle_inferior_event): Likewise.
1998 (restart_threads): Likewise.
1999 (finish_step_over): Likewise.
2000 (keep_going_stepped_thread): Likewise.
2001 * linux-nat.c (attach_proc_task_lwp_callback): Likewise.
2002 (linux_handle_extended_wait): Likewise.
2003 * record-btrace.c (get_thread_current_frame_id): Likewise.
2004 * record-full.c (record_full_wait_1): Likewise.
2005 * remote.c (remote_target::process_initial_stop_replies): Likewise.
2006 * target.c (target_resume): Likewise.
2007 * thread.c (set_running_thread): Likewise.
2008
2009 2020-02-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
2010
2011 * f-valprint.c (f77_print_array_1): Changed datatype of index
2012 variable to LONGEST from int to enable it to contain bound
2013 values correctly.
2014
2015 2020-02-03 Maciej W. Rozycki <macro@wdc.com>
2016
2017 * riscv-linux-nat.c [!NFPREG] (NFPREG): New macro.
2018 (supply_fpregset_regnum, fill_fpregset): Handle regset buffer
2019 offsets according to FLEN determined.
2020 (riscv_linux_nat_target::read_description): Determine FLEN
2021 dynamically.
2022 (riscv_linux_nat_target::fetch_registers): Size regset buffer
2023 according to FLEN determined.
2024 (riscv_linux_nat_target::store_registers): Likewise.
2025
2026 2020-02-01 Shahab Vahedi <shahab@synopsys.com>
2027
2028 * target-descriptions.c (tdesc_register_in_reggroup_p): Return 0
2029 when reg->group is empty and reggroup is not.
2030
2031 2020-01-31 Tom Tromey <tromey@adacore.com>
2032
2033 * ravenscar-thread.c (ravenscar_thread_target::mourn_inferior):
2034 Call beneath target's mourn_inferior after unpushing.
2035
2036 2020-01-31 Andrew Burgess <andrew.burgess@embecosm.com>
2037
2038 PR tui/9765
2039 * tui/tui-disasm.c (tui_find_disassembly_address): If we don't
2040 have enough lines to fill the screen, still return the lowest
2041 address we found.
2042
2043 2020-01-31 Andrew Burgess <andrew.burgess@embecosm.com>
2044
2045 * tui/tui-win.c (_initialize_tui_win): Update help text for '+',
2046 '-', '<', and '>' commands.
2047
2048 2020-01-29 Pedro Alves <palves@redhat.com>
2049 Sergio Durigan Junior <sergiodj@redhat.com>
2050
2051 * infcmd.c (construct_inferior_arguments): Assert that
2052 'argc' is greater than 0.
2053
2054 2020-01-29 Luis Machado <luis.machado@linaro.org>
2055
2056 * aarch64-tdep.c (BRK_INSN_MASK): Define to 0xffe0001f.
2057 (BRK_INSN_MASK): Define to 0xd4200000.
2058 (aarch64_program_breakpoint_here_p): New function.
2059 (aarch64_gdbarch_init): Set gdbarch_program_breakpoint_here_p hook.
2060 * arch-utils.c (default_program_breakpoint_here_p): Moved from
2061 breakpoint.c.
2062 * arch-utils.h (default_program_breakpoint_here_p): Moved from
2063 breakpoint.h
2064 * breakpoint.c (bp_loc_is_permanent): Changed return type to bool and
2065 call gdbarch_program_breakpoint_here_p.
2066 (program_breakpoint_here): Moved to arch-utils.c, renamed to
2067 default_program_breakpoint_here_p, changed return type to bool and
2068 simplified.
2069 * breakpoint.h (program_breakpoint_here): Moved prototype to
2070 arch-utils.h, renamed to default_program_breakpoint_here_p and changed
2071 return type to bool.
2072 * gdbarch.c: Regenerate.
2073 * gdbarch.h: Regenerate.
2074 * gdbarch.sh (program_breakpoint_here_p): New method.
2075 * infrun.c (handle_signal_stop): Call
2076 gdbarch_program_breakpoint_here_p.
2077
2078 2020-01-26 Tom Tromey <tom@tromey.com>
2079
2080 * ctfread.c (struct ctf_fp_info): Reindent.
2081 (_initialize_ctfread): Remove.
2082
2083 2020-01-26 Tom Tromey <tom@tromey.com>
2084
2085 * psymtab.c (partial_map_expand_apply)
2086 (psym_find_pc_sect_compunit_symtab, psym_lookup_symbol)
2087 (psymtab_to_symtab, psym_find_last_source_symtab, dump_psymtab)
2088 (psym_print_stats, psym_expand_symtabs_for_function)
2089 (psym_map_symbol_filenames, psym_map_matching_symbols)
2090 (psym_expand_symtabs_matching)
2091 (partial_symtab::read_dependencies, maintenance_info_psymtabs)
2092 (maintenance_check_psymtabs): Use new methods.
2093 * psympriv.h (struct partial_symtab) <readin_p,
2094 get_compunit_symtab>: New methods.
2095 <readin, compunit_symtab>: Remove members.
2096 (struct standard_psymtab): New.
2097 (struct legacy_psymtab): Derive from standard_psymtab.
2098 * dwarf2read.h (struct dwarf2_psymtab): Derive from
2099 standard_psymtab.
2100 * ctfread.c (struct ctf_psymtab): Derive from standard_psymtab.
2101
2102 2020-01-26 Tom Tromey <tom@tromey.com>
2103
2104 * xcoffread.c (xcoff_psymtab_to_symtab_1): Call
2105 read_dependencies. Add assert.
2106 * psymtab.c (partial_symtab::read_dependencies): New method.
2107 * psympriv.h (struct partial_symtab) <read_dependencies>: New
2108 method.
2109 * mdebugread.c (psymtab_to_symtab_1): Call read_dependencies.
2110 * dwarf2read.c (dwarf2_psymtab::expand_psymtab): Call
2111 read_dependencies.
2112 * dbxread.c (dbx_psymtab_to_symtab_1): Call read_dependencies.
2113 Add assert.
2114
2115 2020-01-26 Tom Tromey <tom@tromey.com>
2116
2117 * xcoffread.c (xcoff_psymtab_to_symtab_1): Change argument order.
2118 Call expand_psymtab.
2119 (xcoff_read_symtab): Call expand_psymtab.
2120 (xcoff_start_psymtab, xcoff_end_psymtab): Set
2121 legacy_expand_psymtab.
2122 * psympriv.h (struct partial_symtab) <expand_psymtab>: New
2123 method.
2124 (struct legacy_psymtab) <expand_psymtab>: Implement.
2125 <legacy_expand_psymtab>: New member.
2126 * mdebugread.c (mdebug_read_symtab): Call expand_psymtab.
2127 (parse_partial_symbols): Set legacy_expand_psymtab.
2128 (psymtab_to_symtab_1): Change argument order. Call
2129 expand_psymtab.
2130 (new_psymtab): Set legacy_expand_psymtab.
2131 * dwarf2read.h (struct dwarf2_psymtab) <expand_psymtab>: Declare.
2132 * dwarf2read.c (dwarf2_psymtab::read_symtab): Call
2133 expand_psymtab.
2134 (dwarf2_psymtab::expand_psymtab): Rename from
2135 psymtab_to_symtab_1. Call expand_psymtab.
2136 * dbxread.c (start_psymtab): Set legacy_expand_psymtab.
2137 (dbx_end_psymtab): Likewise.
2138 (dbx_psymtab_to_symtab_1): Change argument order. Call
2139 expand_psymtab.
2140 (dbx_read_symtab): Call expand_psymtab.
2141 * ctfread.c (struct ctf_psymtab) <expand_psymtab>: Declare.
2142 (ctf_psymtab::expand_psymtab): Rename from psymtab_to_symtab.
2143 (ctf_psymtab::read_symtab): Call expand_psymtab.
2144
2145 2020-01-26 Tom Tromey <tom@tromey.com>
2146
2147 * xcoffread.c (xcoff_read_symtab): Remove prints. Add assert.
2148 * psymtab.c (psymtab_to_symtab): Print verbose "Reading"
2149 messages.
2150 * mdebugread.c (mdebug_read_symtab): Remove prints.
2151 * dwarf2read.c (dwarf2_psymtab::read_symtab): Remove prints. Add
2152 assert.
2153 * dbxread.c (dbx_read_symtab): Remove prints. Add assert.
2154
2155 2020-01-26 Tom Tromey <tom@tromey.com>
2156
2157 * xcoffread.c (this_symtab_psymtab, read_xcoff_symtab)
2158 (xcoff_psymtab_to_symtab_1, xcoff_read_symtab)
2159 (xcoff_start_psymtab, xcoff_end_psymtab, scan_xcoff_symtab): Use
2160 legacy_symtab.
2161 * stabsread.h (dbx_end_psymtab): Use legacy_symtab.
2162 * psymtab.c (psymtab_to_symtab): Call method.
2163 (dump_psymtab): Update.
2164 * psympriv.h (struct partial_symtab): Add virtual destructor.
2165 <read_symtab>: New method.
2166 (struct legacy_symtab): New.
2167 * mdebugread.c (mdebug_read_symtab): Use legacy_psymtab.
2168 (struct pst_map) <pst>: Now a legacy_psymtab.
2169 (parse_procedure, parse_partial_symbols, psymtab_to_symtab_1)
2170 (new_psymtab): Use legacy_psymtab.
2171 * dwarf2read.h (struct dwarf2_psymtab): New.
2172 (struct dwarf2_per_cu_data) <psymtab>: Use it.
2173 * dwarf2read.c (dwarf2_create_include_psymtab)
2174 (dwarf2_build_include_psymtabs, create_type_unit_group)
2175 (create_partial_symtab, process_psymtab_comp_unit_reader)
2176 (build_type_psymtabs_reader, build_type_psymtab_dependencies)
2177 (set_partial_user): Use dwarf2_psymtab.
2178 (dwarf2_psymtab::read_symtab): Rename from dwarf2_read_symtab.
2179 (psymtab_to_symtab_1, process_full_comp_unit)
2180 (process_full_type_unit, dwarf2_ranges_read)
2181 (dwarf2_get_pc_bounds, psymtab_include_file_name)
2182 (dwarf_decode_lines): Use dwarf2_psymtab.
2183 * dwarf-index-write.c (psym_index_map): Use dwarf2_psymtab.
2184 (add_address_entry_worker, write_one_signatured_type)
2185 (recursively_count_psymbols, recursively_write_psymbols)
2186 (write_one_signatured_type, psyms_seen_size, write_gdbindex)
2187 (write_debug_names): Likewise.
2188 * dbxread.c (struct header_file_location): Take a legacy_psymtab.
2189 <pst>: Now a legacy_psymtab.
2190 (find_corresponding_bincl_psymtab): Return a legacy_psymtab.
2191 (read_dbx_symtab, start_psymtab, dbx_end_psymtab)
2192 (dbx_psymtab_to_symtab_1, read_ofile_symtab): Use legacy_psymtab.
2193 * ctfread.c (struct ctf_psymtab): New.
2194 (ctf_start_symtab, ctf_end_symtab, psymtab_to_symtab): Take a
2195 ctf_psymtab.
2196 (ctf_psymtab::read_symtab): Rename from ctf_read_symtab.
2197 (create_partial_symtab): Return a ctf_psymtab.
2198 (scan_partial_symbols): Update.
2199
2200 2020-01-26 Tom Tromey <tom@tromey.com>
2201
2202 * xcoffread.c (xcoff_start_psymtab): Use new.
2203 * psymtab.c (partial_symtab::partial_symtab): New constructor,
2204 renamed from start_psymtab_common.
2205 * psympriv.h (struct partial_symtab): Add new constructor.
2206 (start_psymtab_common): Don't declare.
2207 * mdebugread.c (parse_partial_symbols): Use new.
2208 * dwarf2read.c (create_partial_symtab): Use new.
2209 * dbxread.c (start_psymtab): Use new.
2210 * ctfread.c (create_partial_symtab): Use new.
2211
2212 2020-01-26 Tom Tromey <tom@tromey.com>
2213
2214 * xcoffread.c (xcoff_end_psymtab): Use new.
2215 * psymtab.c (start_psymtab_common): Use new.
2216 (partial_symtab::partial_symtab): Rename from allocate_psymtab.
2217 Update.
2218 * psympriv.h (struct partial_symtab): Add parameters to
2219 constructor. Don't inline.
2220 (allocate_psymtab): Don't declare.
2221 * mdebugread.c (new_psymtab): Use new.
2222 * dwarf2read.c (dwarf2_create_include_psymtab): Use new.
2223 * dbxread.c (dbx_end_psymtab): Use new.
2224
2225 2020-01-26 Tom Tromey <tom@tromey.com>
2226
2227 * psymtab.h (class psymtab_storage) <install_psymtab>: Rename from
2228 allocate_psymtab. Update documentation.
2229 * psymtab.c (psymtab_storage::install_psymtab): Rename from
2230 allocate_psymtab. Do not use new.
2231 (allocate_psymtab): Use new. Update.
2232
2233 2020-01-26 Tom Tromey <tom@tromey.com>
2234
2235 * xcoffread.c (xcoff_psymtab_to_symtab_1): Update.
2236 * psymtab.c (psym_print_stats): Update.
2237 * psympriv.h (struct partial_symtab) <readin,
2238 psymtabs_addrmap_supported, anonymous>: Now bool.
2239 * mdebugread.c (psymtab_to_symtab_1): Update.
2240 * dwarf2read.c (create_type_unit_group, create_partial_symtab)
2241 (build_type_psymtabs_reader, psymtab_to_symtab_1)
2242 (process_full_comp_unit, process_full_type_unit): Update.
2243 * dbxread.c (dbx_psymtab_to_symtab_1): Update.
2244 * ctfread.c (psymtab_to_symtab): Update.
2245
2246 2020-01-26 Tom Tromey <tom@tromey.com>
2247
2248 * mdebugread.c (parse_partial_symbols): Use discard_psymtab.
2249 * psymtab.h (class psymtab_storage) <free_psymtabs>: Remove.
2250 * psymtab.c (psymtab_storage): Delete psymtabs.
2251 (psymtab_storage::allocate_psymtab): Use new.
2252 (psymtab_storage::discard_psymtab): Use delete.
2253 * psympriv.h (struct partial_symtab): Add constructor and
2254 initializers.
2255
2256 2020-01-26 Tom Tromey <tom@tromey.com>
2257
2258 * machoread.c: Do not include psympriv.h.
2259
2260 2020-01-25 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2261
2262 * NEWS: Mention the new option and the set/show commands.
2263
2264 2020-01-25 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2265
2266 * exec.c (exec_file_mismatch_names, exec_file_mismatch_mode)
2267 (show_exec_file_mismatch_command, set_exec_file_mismatch_command)
2268 (validate_exec_file): New variables, enums, functions.
2269 (exec_file_locate_attach, print_section_info): Style the filenames.
2270 (_initialize_exec): Install show_exec_file_mismatch_command and
2271 set_exec_file_mismatch_command.
2272 * gdbcore.h (validate_exec_file): Declare.
2273 * infcmd.c (attach_command): Call validate_exec_file.
2274 * remote.c ( remote_target::remote_add_inferior): Likewise.
2275
2276 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
2277
2278 * frame.c (find_frame_sal): Move call to get_next_frame into more
2279 inner scope.
2280 * inline-frame.c (inilne_state) <inline_state>: Update argument
2281 types.
2282 (inilne_state) <skipped_symbol>: Rename to...
2283 (inilne_state) <skipped_symbols>: ...this, and change to a vector.
2284 (skip_inline_frames): Build vector of skipped symbols and use this
2285 to reate the inline_state.
2286 (inline_skipped_symbol): Add a comment and some assertions, fetch
2287 skipped symbol from the list.
2288
2289 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
2290
2291 * buildsym.c (lte_is_less_than): Delete.
2292 (buildsym_compunit::end_symtab_with_blockvector): Create local
2293 lambda function to sort line table entries, and use
2294 std::stable_sort instead of std::sort.
2295 * symtab.c (find_pc_sect_line): Skip backward over end of sequence
2296 markers when looking for a previous line.
2297
2298 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
2299
2300 * dwarf2read.c (lnp_state_machine::record_line): Include
2301 end_sequence parameter in debug print out. Record the line if we
2302 are at an end_sequence marker even if it's not the start of a
2303 statement.
2304 * symmisc.c (maintenance_print_one_line_table): Print end of
2305 sequence markers with 'END' not '0'.
2306
2307 2020-01-24 Pedro Alves <palves@redhat.com>
2308
2309 PR gdb/25410
2310 * thread.c (scoped_restore_current_thread::restore): Use
2311 switch_to_inferior_no_thread.
2312 * exec.c: Include "progspace-and-thread.h".
2313 (add_target_sections, remove_target_sections):
2314 scoped_restore_current_pspace_and_thread instead of
2315 scoped_restore_current_thread.
2316 * infrun.c (handle_vfork_child_exec_or_exit): Assign the pspace
2317 and aspace to the inferior before calling clone_program_space.
2318 Remove stale comment.
2319
2320 2020-01-24 Christian Biesinger <cbiesinger@google.com>
2321
2322 * arm-nbsd-nat.c (arm_nbsd_nat_target::fetch_registers): Rename to...
2323 (arm_netbsd_nat_target::fetch_registers): ...this.
2324 (arm_nbsd_nat_target::store_registers): Rename to...
2325 (arm_netbsd_nat_target::store_registers): ...this.
2326
2327 2020-01-24 Christian Biesinger <cbiesinger@google.com>
2328
2329 * arm-nbsd-nat.c: Define _KERNTYPES to get the declaration of
2330 register_t.
2331
2332 2020-01-24 Christian Biesinger <cbiesinger@google.com>
2333
2334 * aarch64-fbsd-tdep.c (aarch64_fbsd_iterate_over_regset_sections):
2335 Update comment.
2336 * aarch64-linux-tdep.c (aarch64_linux_iterate_over_regset_sections):
2337 Likewise.
2338 * arm-fbsd-tdep.c (arm_fbsd_iterate_over_regset_sections): Likewise.
2339 * gdbcore.h (deprecated_add_core_fns): Update comment to point to
2340 the correct replacement (iterate_over_regset_sections).
2341 * riscv-fbsd-tdep.c (riscv_fbsd_iterate_over_regset_sections):
2342 Update comment.
2343
2344 2020-01-24 Graham Markall <graham.markall@embecosm.com>
2345
2346 PR gdb/23718
2347 * gdb/python/python.c (execute_gdb_command): Call
2348 async_enable_stdin in catch block.
2349
2350 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
2351
2352 * event-loop.c (start_event_loop): Wrap async_enable_stdin with
2353 SWITCH_THRU_ALL_UIS.
2354
2355 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
2356
2357 PR tui/9765
2358 * minsyms.c (lookup_minimal_symbol_by_pc_section): Update header
2359 comment, add extra parameter, and update to store previous symbol
2360 when appropriate.
2361 * minsyms.h (lookup_minimal_symbol_by_pc_section): Update comment,
2362 add extra parameter.
2363 * tui/tui-disasm.c (tui_disassemble): Update header comment,
2364 remove unneeded parameter, add try/catch around gdb_print_insn,
2365 rewrite to add items to asm_lines vector.
2366 (tui_find_backward_disassembly_start_address): New function.
2367 (tui_find_disassembly_address): Updated throughout.
2368 (tui_disasm_window::set_contents): Update for changes to
2369 tui_disassemble.
2370 (tui_disasm_window::do_scroll_vertical): No need to adjust the
2371 number of lines to scroll.
2372
2373 2020-01-23 Simon Marchi <simon.marchi@polymtl.ca>
2374
2375 * objfiles.h (ALL_OBJFILE_OSECTIONS): Move up.
2376 (SECT_OFF_DATA): Likewise.
2377 (SECT_OFF_RODATA): Likewise.
2378 (SECT_OFF_TEXT): Likewise.
2379 (SECT_OFF_BSS): Likewise.
2380 (struct objfile) <text_section_offset, data_section_offset>: New
2381 methods.
2382 * amd64-windows-tdep.c (amd64_windows_find_unwind_info): Use
2383 objfile::text_section_offset.
2384 * coff-pe-read.c (add_pe_forwarded_sym): Likewise.
2385 * coffread.c (coff_symtab_read): Likewise.
2386 (enter_linenos): Likewise.
2387 (process_coff_symbol): Likewise.
2388 * ctfread.c (get_objfile_text_range): Likewise.
2389 * dtrace-probe.c (dtrace_probe::get_relocated_address):
2390 Use objfile::data_section_offset.
2391 * dwarf2-frame.c (execute_cfa_program): Use
2392 objfile::text_section_offset.
2393 (dwarf2_frame_find_fde): Likewise.
2394 * dwarf2read.c (create_addrmap_from_index): Likewise.
2395 (create_addrmap_from_aranges): Likewise.
2396 (dw2_find_pc_sect_compunit_symtab): Likewise.
2397 (process_psymtab_comp_unit_reader): Likewise.
2398 (add_partial_symbol): Likewise.
2399 (add_partial_subprogram): Likewise.
2400 (process_full_comp_unit): Likewise.
2401 (read_file_scope): Likewise.
2402 (read_func_scope): Likewise.
2403 (read_lexical_block_scope): Likewise.
2404 (read_call_site_scope): Likewise.
2405 (dwarf2_rnglists_process): Likewise.
2406 (dwarf2_ranges_process): Likewise.
2407 (dwarf2_ranges_read): Likewise.
2408 (dwarf_decode_lines_1): Likewise.
2409 (new_symbol): Likewise.
2410 (dwarf2_fetch_die_loc_sect_off): Likewise.
2411 (dwarf2_per_cu_text_offset): Likewise.
2412 * hppa-bsd-tdep.c (hppabsd_find_global_pointer): Likewise.
2413 * hppa-tdep.c (read_unwind_info): Likewise.
2414 * ia64-tdep.c (ia64_find_unwind_table): Likewise.
2415 * psympriv.h (struct partial_symtab): Likewise.
2416 * psymtab.c (find_pc_sect_psymtab): Likewise.
2417 * solib-svr4.c (enable_break): Likewise.
2418 * stap-probe.c (relocate_address): Use
2419 objfile::data_section_offset.
2420 * xcoffread.c (enter_line_range): Use
2421 objfile::text_section_offset.
2422 (read_xcoff_symtab): Likewise.
2423
2424 2020-01-23 Simon Marchi <simon.marchi@efficios.com>
2425
2426 * darwin-nat.c (darwin_nat_target::wait_1): Move `inf`
2427 declaration to narrower scopes.
2428
2429 2020-01-23 Simon Marchi <simon.marchi@efficios.com>
2430
2431 * darwin-nat.h (struct darwin_exception_msg, enum
2432 darwin_msg_state, struct darwin_thread_info, darwin_thread_t):
2433 Move up.
2434 (class darwin_nat_target) <wait_1, check_new_threads,
2435 decode_exception_message, decode_message, stop_inferior,
2436 init_thread_list, ptrace_him, cancel_breakpoint>: Declare.
2437 * darwin-nat.c (darwin_check_new_threads): Rename to...
2438 (darwin_nat_target::check_new_threads): ... this.
2439 (darwin_suspend_inferior_it): Remove.
2440 (darwin_decode_exception_message): Rename to...
2441 (darwin_nat_target::decode_exception_message): ... this.
2442 (darwin_nat_target::resume): Pass target to find_inferior_ptid.
2443 (darwin_decode_message): Rename to...
2444 (darwin_nat_target::decode_message): ... this.
2445 (cancel_breakpoint): Rename to...
2446 (darwin_nat_target::cancel_breakpoint): ... this.
2447 (darwin_wait): Rename to...
2448 (darwin_nat_target::wait_1): ... this. Use range-based for loop
2449 instead of iterate_over_inferiors.
2450 (darwin_nat_target::wait): Call wait_1 instead of darwin_wait.
2451 (darwin_stop_inferior): Rename to...
2452 (darwin_nat_target::stop_inferior): ... this.
2453 (darwin_nat_target::kill): Call wait_1 instead of darwin_wait.
2454 (darwin_init_thread_list): Rename to...
2455 (darwin_nat_target::init_thread_list): ... this.
2456 (darwin_ptrace_him): Rename to...
2457 (darwin_nat_target::ptrace_him): ... this.
2458 (darwin_nat_target::create_inferior): Pass lambda function to
2459 fork_inferior.
2460 (darwin_nat_target::detach): Call stop_inferior instead of
2461 darwin_stop_inferior.
2462 * fork-inferior.h (fork_inferior): Change init_trace_fun
2463 parameter to gdb::function_view.
2464 * fork-inferior.c (fork_inferior): Likewise.
2465
2466 2020-01-23 Hannes Domani <ssbssa@yahoo.de>
2467
2468 * i386-cygwin-tdep.c (core_process_module_section): Update.
2469 * windows-nat.c (struct lm_info_windows): Add text_offset.
2470 (windows_xfer_shared_libraries): Update.
2471 * windows-tdep.c (windows_xfer_shared_library):
2472 Add text_offset_cached argument.
2473 * windows-tdep.h (windows_xfer_shared_library): Update.
2474
2475 2020-01-21 Simon Marchi <simon.marchi@efficios.com>
2476
2477 * gdbarch.sh: Add declaration for _initialize_gdbarch.
2478
2479 2020-01-21 Simon Marchi <simon.marchi@efficios.com>
2480
2481 * remote-sim.c (check_for_duplicate_sim_descriptor): Remove.
2482 (get_sim_inferior_data): Remove use of iterate_over_inferiors,
2483 replace with range-based for.
2484 (gdbsim_interrupt_inferior): Remove.
2485 (gdbsim_target::interrupt): Replace iterate_over_inferiors use
2486 with a range-based for. Inline code from
2487 gdbsim_interrupt_inferior.
2488
2489 2020-01-21 Simon Marchi <simon.marchi@efficios.com>
2490
2491 * infrun.c (proceed): Fix indentation.
2492
2493 2020-01-21 Tom Tromey <tromey@adacore.com>
2494
2495 * source-cache.c (source_cache::ensure): Call ext_lang_colorize.
2496 * python/python.c (python_extension_ops): Update.
2497 (gdbpy_colorize): New function.
2498 * python/lib/gdb/__init__.py (colorize): New function.
2499 * extension.h (ext_lang_colorize): Declare.
2500 * extension.c (ext_lang_colorize): New function.
2501 * extension-priv.h (struct extension_language_ops) <colorize>: New
2502 member.
2503 * cli/cli-style.c (_initialize_cli_style): Update help text.
2504
2505 2020-01-21 Luis Machado <luis.machado@linaro.org>
2506
2507 * aarch64-tdep.c (struct aarch64_displaced_step_closure)
2508 <cond>: Change type to bool.
2509 (aarch64_displaced_step_b_cond): Update cond to use bool type.
2510 (aarch64_displaced_step_cb): Likewise.
2511 (aarch64_displaced_step_tb): Likewise.
2512
2513 2020-01-21 Luis Machado <luis.machado@linaro.org>
2514
2515 * aarch64-tdep.c (aarch64_displaced_step_fixup): Add more debugging
2516 output.
2517
2518 2020-01-21 Luis Machado <luis.machado@linaro.org>
2519
2520 * aarch64-tdep.c (struct aarch64_displaced_step_closure )
2521 <pc_adjust>: Adjust the documentation.
2522 (aarch64_displaced_step_fixup): Check if PC really moved before
2523 adjusting it.
2524
2525 2020-01-19 Tom Tromey <tom@tromey.com>
2526
2527 * disasm.c (~gdb_disassembler): New destructor.
2528 (gdb_buffered_insn_length): Call disassemble_free_target.
2529 * disasm.h (class gdb_disassembler): Declare destructor. Use
2530 DISABLE_COPY_AND_ASSIGN.
2531
2532 2020-01-19 Tom Tromey <tom@tromey.com>
2533
2534 * dwarf2read.c (abbrev_table_up): Move typedef earlier.
2535 (die_reader_func_ftype): Remove.
2536 (cutu_reader): New class.
2537 (dw2_get_file_names_reader): Remove "data" parameter.
2538 (dw2_get_file_names): Use cutu_reader.
2539 (create_debug_type_hash_table): Update.
2540 (read_cutu_die_from_dwo): Update comment.
2541 (lookup_dwo_unit): Add dwo_name parameter.
2542 (cutu_reader::init_tu_and_read_dwo_dies): Now a method. Remove
2543 die_reader_func_ftype and data parameters.
2544 (cutu_reader::cutu_reader): Rename from init_cutu_and_read_dies.
2545 Remove die_reader_func_ftype and data parameters.
2546 (~cutu_reader): New; from init_cutu_and_read_dies.
2547 (cutu_reader::cutu_reader): Rename from
2548 init_cutu_and_read_dies_no_follow. Remove die_reader_func_ftype
2549 and data parameters.
2550 (init_cutu_and_read_dies_simple): Remove.
2551 (struct process_psymtab_comp_unit_data): Remove.
2552 (process_psymtab_comp_unit_reader): Remove data parameter; add
2553 want_partial_unit and pretend_language parameters.
2554 (process_psymtab_comp_unit): Use cutu_reader.
2555 (build_type_psymtabs_reader): Remove data parameter.
2556 (build_type_psymtabs_1): Use cutu_reader.
2557 (process_skeletonless_type_unit): Likewise.
2558 (load_partial_comp_unit_reader): Remove.
2559 (load_partial_comp_unit): Use cutu_reader.
2560 (load_full_comp_unit_reader): Remove.
2561 (load_full_comp_unit): Use cutu_reader.
2562 (struct create_dwo_cu_data): Remove.
2563 (create_dwo_cu_reader): Remove datap parameter; add dwo_file and
2564 dwo_unit parameters.
2565 (create_cus_hash_table): Use cutu_reader.
2566 (struct dwarf2_read_addr_index_data): Remove.
2567 (dwarf2_read_addr_index_reader): Remove.
2568 (dwarf2_read_addr_index): Use cutu_reader.
2569 (read_signatured_type_reader): Remove.
2570 (read_signatured_type): Use cutu_reader.
2571
2572 2020-01-19 Tom Tromey <tom@tromey.com>
2573
2574 * tui/tui.c (tui_show_assembly): Use tui_suppress_output.
2575 * tui/tui-wingeneral.h (class tui_suppress_output): New.
2576 (tui_wrefresh): Declare.
2577 * tui/tui-wingeneral.c (suppress_output): New global.
2578 (tui_suppress_output, ~tui_suppress_output): New constructor and
2579 destructor.
2580 (tui_wrefresh): New function.
2581 (tui_gen_win_info::refresh_window): Use tui_wrefresh.
2582 (tui_gen_win_info::make_window): Call wnoutrefresh when needed.
2583 * tui/tui-regs.h (struct tui_data_window) <no_refresh>: Declare
2584 method.
2585 * tui/tui-regs.c (tui_data_window::erase_data_content): Call
2586 tui_wrefresh.
2587 (tui_data_window::no_refresh): New method.
2588 (tui_data_item_window::refresh_window): Call tui_wrefresh.
2589 (tui_reg_command): Use tui_suppress_output
2590 * tui/tui-layout.c (tui_set_layout): Use tui_suppress_output.
2591 * tui/tui-data.h (struct tui_gen_win_info) <no_refresh>: New
2592 method.
2593 * tui/tui-command.c (tui_refresh_cmd_win): Call tui_wrefresh.
2594
2595 2020-01-19 Tom Tromey <tom@tromey.com>
2596
2597 * tui/tui-winsource.c (tui_update_source_windows_with_line):
2598 Handle case where symtab is null.
2599
2600 2020-01-19 Simon Marchi <simon.marchi@polymtl.ca>
2601
2602 * linux-fork.c (one_fork_p): Simplify.
2603
2604 2020-01-17 Simon Marchi <simon.marchi@efficios.com>
2605
2606 * top.c (struct qt_args): Remove.
2607 (kill_or_detach): Change return type to void, replace `void *`
2608 parameter with a proper one.
2609 (print_inferior_quit_action): Likewise.
2610 (quit_confirm): Use range-based for loop to iterate over inferiors.
2611 (quit_force): Likewise.
2612
2613 2020-01-17 Simon Marchi <simon.marchi@efficios.com>
2614
2615 * mi/mi-main.c (run_one_inferior): Change return type to void, replace
2616 `void *` parameter with proper parameters.
2617 (mi_cmd_exec_run): Use range-based loop to iterate over inferiors.
2618 (print_one_inferior): Change return type to void, replace `void *`
2619 parameter with proper parameters.
2620 (mi_cmd_list_thread_groups): Use range-based loop to iterate over
2621 inferiors.
2622 (get_other_inferior): Remove.
2623 (mi_cmd_remove_inferior): Use range-based loop to iterate over
2624 inferiors.
2625
2626 2020-01-17 Simon Marchi <simon.marchi@efficios.com>
2627
2628 * mi/mi-interp.c (report_initial_inferior): Remove.
2629 (mi_interp::init): Use range-based for to iterate over inferiors.
2630
2631 2020-01-17 Simon Marchi <simon.marchi@efficios.com>
2632
2633 * python/py-inferior.c (build_inferior_list): Remove.
2634 (gdbpy_ref): Use range-based for loop to iterate over inferiors.
2635
2636 2020-01-16 Christian Biesinger <cbiesinger@google.com>
2637
2638 * btrace.c (btrace_compute_ftrace_1): Fix spelling error (Unkown).
2639 (btrace_stitch_trace): Likewise.
2640 * charset.c (intermediate_encoding): Likewise (vaild).
2641 * nat/linux-btrace.c (linux_read_pt): Likewise (Unkown).
2642 * python/py-record-btrace.c (struct PyMethodDef): Likewise (occurences).
2643 * record-btrace.c (record_btrace_print_conf): Likewise (unkown).
2644
2645 2020-01-16 Hannes Domani <ssbssa@yahoo.de>
2646
2647 * windows-tdep.c (windows_get_tlb_type):
2648 Add rtl_user_process_parameters type.
2649
2650 2020-01-16 Pedro Alves <palves@redhat.com>
2651 Norbert Lange <nolange79@gmail.com>
2652
2653 PR build/24805
2654 * gdbsupport/gdb_proc_service.h (PS_EXPORT): New.
2655 (ps_get_thread_area, ps_getpid, ps_lcontinue, ps_lgetfpregs)
2656 (ps_lgetregs, ps_lsetfpregs, ps_lsetregs, ps_lstop, ps_pcontinue)
2657 (ps_pdread, ps_pdwrite, ps_pglobal_lookup, ps_pstop, ps_ptread)
2658 (ps_ptwrite, ps_lgetxregs, ps_lgetxregsize, ps_lsetxregs)
2659 (ps_plog): Redeclare exported functions with default visibility.
2660
2661 2020-01-16 Nitika Achra <Nitika.Achra@amd.com>
2662
2663 * dwarf2loc.c (decode_debug_loclists_addresses): Handle
2664 DW_LLE_base_addressx, DW_LLE_startx_length, DW_LLE_start_length.
2665
2666 2020-01-15 Simon Marchi <simon.marchi@efficios.com>
2667
2668 * infcmd.c (post_create_inferior): Use get_thread_regcache
2669 instead of get_current_regcache.
2670
2671 2020-01-14 Tom Tromey <tom@tromey.com>
2672
2673 PR symtab/12535:
2674 * python/python.c (gdbpy_decode_line): Treat empty string the same
2675 as no argument.
2676
2677 2020-01-14 Tom Tromey <tom@tromey.com>
2678
2679 * Makefile.in (CLIBS): Remove second use of $(LIBIBERTY).
2680
2681 2020-01-14 Tom Tromey <tom@tromey.com>
2682
2683 * nat/linux-btrace.c: Don't include <config.h>.
2684 * nat/linux-ptrace.c: Don't include <config.h>.
2685 * nat/x86-linux-dregs.c: Don't include <config.h>.
2686
2687 2020-01-14 Tom Tromey <tom@tromey.com>
2688
2689 * configure: Rebuild.
2690 * configure.ac: Move many checks to ../gdbsupport/common.m4.
2691
2692 2020-01-14 Tom Tromey <tom@tromey.com>
2693
2694 * nat/x86-linux-dregs.c: Include configh.h.
2695 * nat/linux-ptrace.c: Include configh.h.
2696 * nat/linux-btrace.c: Include configh.h.
2697 * defs.h: Include config.h, bfd.h.
2698 * configure.ac: Don't source common.host.
2699 (CONFIG_OBS, CONFIG_SRCS): Remove gdbsupport files.
2700 * configure: Rebuild.
2701 * acinclude.m4: Update path.
2702 * Makefile.in (SUPPORT, LIBSUPPORT, INCSUPPORT): New variables.
2703 (CONFIG_SRC_SUBDIR): Remove gdbsupport.
2704 (INTERNAL_CFLAGS_BASE): Add INCSUPPORT.
2705 (CLIBS): Add LIBSUPPORT.
2706 (CDEPS): Likewise.
2707 (COMMON_SFILES): Remove gdbsupport files.
2708 (HFILES_NO_SRCDIR): Likewise.
2709 (stamp-version): Update path to create-version.sh.
2710 (ALLDEPFILES): Remove gdbsupport files.
2711
2712 2020-01-14 Tom Tromey <tom@tromey.com>
2713
2714 * gdbsupport/common.m4 (GDB_AC_COMMON): Define WIN32APILIBS and
2715 USE_WIN32API when needed.
2716 * configure.ac (USE_WIN32API): Don't define.
2717 (WIN32LIBS): Use WIN32APILIBS.
2718 * configure: Rebuild.
2719
2720 2020-01-14 Tom Tromey <tom@tromey.com>
2721
2722 * configure: Rebuild.
2723 * gdbsupport/common.m4 (GDB_AC_COMMON): Fix indentation.
2724
2725 2020-01-14 Bernd Edlinger <bernd.edlinger@hotmail.de>
2726
2727 * skip.c (skip_function_command): Make skip w/o arguments use the
2728 name of the inlined function if pc is inside any inlined function.
2729
2730 2020-01-14 Luis Machado <luis.machado@linaro.org>
2731
2732 * inf-ptrace.c (inf_ptrace_target::resume): Update comments.
2733 * infrun.c (resume_1): Likewise.
2734 (handle_inferior_event): Remove stale comment.
2735 * linux-nat.c (linux_nat_target::resume): Update comments.
2736 (save_stop_reason): Likewise.
2737 (linux_nat_filter_event): Likewise.
2738 * linux-nat.h (struct lwp_info) <stop_pc>, <stop_reason>: Likewise.
2739
2740 2020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
2741
2742 * elfread.c (record_minimal_symbol): Set section index to 0 for
2743 non-allocatable sections.
2744
2745
2746 2020-01-13 Ali Tamur <tamur@google.com>
2747
2748 * dwarf2read.c (dwarf2_debug_sections): Add debug_str_offsets sections.
2749 (dwarf2_cu): Add str_offsets_base field. Change the type of addr_base
2750 to gdb::optional. Update comments.
2751 (dwo_file): Update comments.
2752 (read_attribute): Update API to take an additional out parameter,
2753 need_reprocess. This is used to mark attributes that need other
2754 attributes (e.g. str_offsets_base) for correct computation which may not
2755 have been read yet.
2756 (read_attribute_reprocess): New function declaration.
2757 (read_addr_index): Likewise.
2758 (read_dwo_str_index): Likewise.
2759 (read_stub_str_index): Likewise.
2760 (dwarf2_per_objfile::locate_sections): Handle debug_str_offsets section.
2761 (lookup_addr_base): New function definition.
2762 (lookup_ranges_base): Likewise.
2763 (read_cutu_die_from_dwo): Use the new functions: lookup_addr_base,
2764 lookup_ranges_base.
2765 (init_cutu_and_read_dies): Update comments.
2766 (init_cutu_and_read_dies_no_follow): Change API to take parent compile
2767 unit. This is used to inherit parent's str_offsets_base and addr_base.
2768 Update comments.
2769 (init_cutu_and_read_dies_simple): Reflect API changes.
2770 (skip_one_die): Reflect API changes. Handle DW_FORM_rnglistx.
2771 (create_cus_hash_table): Change API to take parent compile unit.
2772 Reflect API changes.
2773 (open_and_init_dwo_file): Reflect API changes.
2774 (dwarf2_get_pc_bounds): Update comments.
2775 (dwarf2_record_block_ranges): Likewise.
2776 (read_full_die_1): Change implementation to reprocess attributes that
2777 need str_offsets_base and addr_base.
2778 (partial_die_info::read): Likewise.
2779 (read_attribute_reprocess): New function definition.
2780 (read_attribute_value): Change API to take an additional out parameter,
2781 need_reprocess. Handle DW_FORM_rnglistx. No longer trigger an error
2782 when a non-dwo compile unit has index based attributes.
2783 (read_attribute): Reflect API changes.
2784 (read_addr_index_1): Reflect API changes. Update comments.
2785 (dwarf2_read_addr_index_data): Reflect API changes.
2786 (dwarf2_read_addr_index): Likewise.
2787 (read_str_index): Change API and implementation. This becomes a helper
2788 to be used by the new string index related methods. Update error
2789 message and comments.
2790 (read_dwo_str_index): New function definition.
2791 (read_stub_str_index): Likewise.
2792 * dwarf2read.h (dwarf2_per_objfile): Add str_offsets field.
2793 * symfile.h (dwarf2_debug_sections): Likewise.
2794 * xcoffread.c (dwarf2_debug_sections): Likewise.
2795
2796 2020-01-13 Simon Marchi <simon.marchi@efficios.com>
2797
2798 * gdbcore.h (struct core_fns) <core_read_registers>: Change
2799 core_reg_sect type to gdb_byte *.
2800 * arm-nbsd-nat.c (fetch_elfcore_registers): Likewise.
2801 * cris-tdep.c (fetch_core_registers): Likewise.
2802 * corelow.c (core_target::get_core_register_section): Change
2803 type of `contents` to gdb::byte_vector.
2804
2805 2020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
2806
2807 * tui/tui-wingeneral.c (box_win): Position the title in the center
2808 of the border.
2809
2810 2020-01-13 Simon Marchi <simon.marchi@polymtl.ca>
2811
2812 * corelow.c (core_target::get_core_register_section): Use
2813 std::vector instead of alloca.
2814
2815 2020-01-13 Simon Marchi <simon.marchi@efficios.com>
2816
2817 * warning.m4: Add -Wmissing-declarations to build_warnings.
2818 * configure: Re-generate.
2819
2820 2020-01-13 Simon Marchi <simon.marchi@efficios.com>
2821
2822 * python/python.c (init__gdb_module): Add declaration.
2823
2824 2020-01-13 Simon Marchi <simon.marchi@efficios.com>
2825
2826 * aarch64-fbsd-nat.c (_initialize_aarch64_fbsd_nat): Add declaration.
2827 * aarch64-fbsd-tdep.c (_initialize_aarch64_fbsd_tdep): Add declaration.
2828 * aarch64-linux-nat.c (_initialize_aarch64_linux_nat): Add declaration.
2829 * aarch64-linux-tdep.c (_initialize_aarch64_linux_tdep): Add declaration.
2830 * aarch64-newlib-tdep.c (_initialize_aarch64_newlib_tdep): Add declaration.
2831 * aarch64-tdep.c (_initialize_aarch64_tdep): Add declaration.
2832 * ada-exp.y (_initialize_ada_exp): Add declaration.
2833 * ada-lang.c (_initialize_ada_language): Add declaration.
2834 * ada-tasks.c (_initialize_tasks): Add declaration.
2835 * agent.c (_initialize_agent): Add declaration.
2836 * aix-thread.c (_initialize_aix_thread): Add declaration.
2837 * alpha-bsd-nat.c (_initialize_alphabsd_nat): Add declaration.
2838 * alpha-linux-nat.c (_initialize_alpha_linux_nat): Add declaration.
2839 * alpha-linux-tdep.c (_initialize_alpha_linux_tdep): Add declaration.
2840 * alpha-nbsd-tdep.c (_initialize_alphanbsd_tdep): Add declaration.
2841 * alpha-obsd-tdep.c (_initialize_alphaobsd_tdep): Add declaration.
2842 * alpha-tdep.c (_initialize_alpha_tdep): Add declaration.
2843 * amd64-darwin-tdep.c (_initialize_amd64_darwin_tdep): Add declaration.
2844 * amd64-dicos-tdep.c (_initialize_amd64_dicos_tdep): Add declaration.
2845 * amd64-fbsd-nat.c (_initialize_amd64fbsd_nat): Add declaration.
2846 * amd64-fbsd-tdep.c (_initialize_amd64fbsd_tdep): Add declaration.
2847 * amd64-linux-nat.c (_initialize_amd64_linux_nat): Add declaration.
2848 * amd64-linux-tdep.c (_initialize_amd64_linux_tdep): Add declaration.
2849 * amd64-nbsd-nat.c (_initialize_amd64nbsd_nat): Add declaration.
2850 * amd64-nbsd-tdep.c (_initialize_amd64nbsd_tdep): Add declaration.
2851 * amd64-obsd-nat.c (_initialize_amd64obsd_nat): Add declaration.
2852 * amd64-obsd-tdep.c (_initialize_amd64obsd_tdep): Add declaration.
2853 * amd64-sol2-tdep.c (_initialize_amd64_sol2_tdep): Add declaration.
2854 * amd64-tdep.c (_initialize_amd64_tdep): Add declaration.
2855 * amd64-windows-nat.c (_initialize_amd64_windows_nat): Add declaration.
2856 * amd64-windows-tdep.c (_initialize_amd64_windows_tdep): Add declaration.
2857 * annotate.c (_initialize_annotate): Add declaration.
2858 * arc-newlib-tdep.c (_initialize_arc_newlib_tdep): Add declaration.
2859 * arc-tdep.c (_initialize_arc_tdep): Add declaration.
2860 * arch-utils.c (_initialize_gdbarch_utils): Add declaration.
2861 * arm-fbsd-nat.c (_initialize_arm_fbsd_nat): Add declaration.
2862 * arm-fbsd-tdep.c (_initialize_arm_fbsd_tdep): Add declaration.
2863 * arm-linux-nat.c (_initialize_arm_linux_nat): Add declaration.
2864 * arm-linux-tdep.c (_initialize_arm_linux_tdep): Add declaration.
2865 * arm-nbsd-nat.c (_initialize_arm_netbsd_nat): Add declaration.
2866 * arm-nbsd-tdep.c (_initialize_arm_netbsd_tdep): Add declaration.
2867 * arm-obsd-tdep.c (_initialize_armobsd_tdep): Add declaration.
2868 * arm-pikeos-tdep.c (_initialize_arm_pikeos_tdep): Add declaration.
2869 * arm-symbian-tdep.c (_initialize_arm_symbian_tdep): Add declaration.
2870 * arm-tdep.c (_initialize_arm_tdep): Add declaration.
2871 * arm-wince-tdep.c (_initialize_arm_wince_tdep): Add declaration.
2872 * auto-load.c (_initialize_auto_load): Add declaration.
2873 * auxv.c (_initialize_auxv): Add declaration.
2874 * avr-tdep.c (_initialize_avr_tdep): Add declaration.
2875 * ax-gdb.c (_initialize_ax_gdb): Add declaration.
2876 * bfin-linux-tdep.c (_initialize_bfin_linux_tdep): Add declaration.
2877 * bfin-tdep.c (_initialize_bfin_tdep): Add declaration.
2878 * break-catch-sig.c (_initialize_break_catch_sig): Add declaration.
2879 * break-catch-syscall.c (_initialize_break_catch_syscall): Add declaration.
2880 * break-catch-throw.c (_initialize_break_catch_throw): Add declaration.
2881 * breakpoint.c (_initialize_breakpoint): Add declaration.
2882 * bsd-uthread.c (_initialize_bsd_uthread): Add declaration.
2883 * btrace.c (_initialize_btrace): Add declaration.
2884 * charset.c (_initialize_charset): Add declaration.
2885 * cli/cli-cmds.c (_initialize_cli_cmds): Add declaration.
2886 * cli/cli-dump.c (_initialize_cli_dump): Add declaration.
2887 * cli/cli-interp.c (_initialize_cli_interp): Add declaration.
2888 * cli/cli-logging.c (_initialize_cli_logging): Add declaration.
2889 * cli/cli-script.c (_initialize_cli_script): Add declaration.
2890 * cli/cli-style.c (_initialize_cli_style): Add declaration.
2891 * coff-pe-read.c (_initialize_coff_pe_read): Add declaration.
2892 * coffread.c (_initialize_coffread): Add declaration.
2893 * compile/compile-cplus-types.c (_initialize_compile_cplus_types): Add declaration.
2894 * compile/compile.c (_initialize_compile): Add declaration.
2895 * complaints.c (_initialize_complaints): Add declaration.
2896 * completer.c (_initialize_completer): Add declaration.
2897 * copying.c (_initialize_copying): Add declaration.
2898 * corefile.c (_initialize_core): Add declaration.
2899 * corelow.c (_initialize_corelow): Add declaration.
2900 * cp-abi.c (_initialize_cp_abi): Add declaration.
2901 * cp-namespace.c (_initialize_cp_namespace): Add declaration.
2902 * cp-support.c (_initialize_cp_support): Add declaration.
2903 * cp-valprint.c (_initialize_cp_valprint): Add declaration.
2904 * cris-linux-tdep.c (_initialize_cris_linux_tdep): Add declaration.
2905 * cris-tdep.c (_initialize_cris_tdep): Add declaration.
2906 * csky-linux-tdep.c (_initialize_csky_linux_tdep): Add declaration.
2907 * csky-tdep.c (_initialize_csky_tdep): Add declaration.
2908 * ctfread.c (_initialize_ctfread): Add declaration.
2909 * d-lang.c (_initialize_d_language): Add declaration.
2910 * darwin-nat-info.c (_initialize_darwin_info_commands): Add declaration.
2911 * darwin-nat.c (_initialize_darwin_nat): Add declaration.
2912 * dbxread.c (_initialize_dbxread): Add declaration.
2913 * dcache.c (_initialize_dcache): Add declaration.
2914 * disasm-selftests.c (_initialize_disasm_selftests): Add declaration.
2915 * disasm.c (_initialize_disasm): Add declaration.
2916 * dtrace-probe.c (_initialize_dtrace_probe): Add declaration.
2917 * dummy-frame.c (_initialize_dummy_frame): Add declaration.
2918 * dwarf-index-cache.c (_initialize_index_cache): Add declaration.
2919 * dwarf-index-write.c (_initialize_dwarf_index_write): Add declaration.
2920 * dwarf2-frame-tailcall.c (_initialize_tailcall_frame): Add declaration.
2921 * dwarf2-frame.c (_initialize_dwarf2_frame): Add declaration.
2922 * dwarf2expr.c (_initialize_dwarf2expr): Add declaration.
2923 * dwarf2loc.c (_initialize_dwarf2loc): Add declaration.
2924 * dwarf2read.c (_initialize_dwarf2_read): Add declaration.
2925 * elfread.c (_initialize_elfread): Add declaration.
2926 * exec.c (_initialize_exec): Add declaration.
2927 * extension.c (_initialize_extension): Add declaration.
2928 * f-lang.c (_initialize_f_language): Add declaration.
2929 * f-valprint.c (_initialize_f_valprint): Add declaration.
2930 * fbsd-nat.c (_initialize_fbsd_nat): Add declaration.
2931 * fbsd-tdep.c (_initialize_fbsd_tdep): Add declaration.
2932 * filesystem.c (_initialize_filesystem): Add declaration.
2933 * findcmd.c (_initialize_mem_search): Add declaration.
2934 * findvar.c (_initialize_findvar): Add declaration.
2935 * fork-child.c (_initialize_fork_child): Add declaration.
2936 * frame-base.c (_initialize_frame_base): Add declaration.
2937 * frame-unwind.c (_initialize_frame_unwind): Add declaration.
2938 * frame.c (_initialize_frame): Add declaration.
2939 * frv-linux-tdep.c (_initialize_frv_linux_tdep): Add declaration.
2940 * frv-tdep.c (_initialize_frv_tdep): Add declaration.
2941 * ft32-tdep.c (_initialize_ft32_tdep): Add declaration.
2942 * gcore.c (_initialize_gcore): Add declaration.
2943 * gdb-demangle.c (_initialize_gdb_demangle): Add declaration.
2944 * gdb_bfd.c (_initialize_gdb_bfd): Add declaration.
2945 * gdbarch-selftests.c (_initialize_gdbarch_selftests): Add declaration.
2946 * gdbarch.c (_initialize_gdbarch): Add declaration.
2947 * gdbtypes.c (_initialize_gdbtypes): Add declaration.
2948 * gnu-nat.c (_initialize_gnu_nat): Add declaration.
2949 * gnu-v2-abi.c (_initialize_gnu_v2_abi): Add declaration.
2950 * gnu-v3-abi.c (_initialize_gnu_v3_abi): Add declaration.
2951 * go-lang.c (_initialize_go_language): Add declaration.
2952 * go32-nat.c (_initialize_go32_nat): Add declaration.
2953 * guile/guile.c (_initialize_guile): Add declaration.
2954 * h8300-tdep.c (_initialize_h8300_tdep): Add declaration.
2955 * hppa-linux-nat.c (_initialize_hppa_linux_nat): Add declaration.
2956 * hppa-linux-tdep.c (_initialize_hppa_linux_tdep): Add declaration.
2957 * hppa-nbsd-nat.c (_initialize_hppanbsd_nat): Add declaration.
2958 * hppa-nbsd-tdep.c (_initialize_hppanbsd_tdep): Add declaration.
2959 * hppa-obsd-nat.c (_initialize_hppaobsd_nat): Add declaration.
2960 * hppa-obsd-tdep.c (_initialize_hppabsd_tdep): Add declaration.
2961 * hppa-tdep.c (_initialize_hppa_tdep): Add declaration.
2962 * i386-bsd-nat.c (_initialize_i386bsd_nat): Add declaration.
2963 * i386-cygwin-tdep.c (_initialize_i386_cygwin_tdep): Add declaration.
2964 * i386-darwin-nat.c (_initialize_i386_darwin_nat): Add declaration.
2965 * i386-darwin-tdep.c (_initialize_i386_darwin_tdep): Add declaration.
2966 * i386-dicos-tdep.c (_initialize_i386_dicos_tdep): Add declaration.
2967 * i386-fbsd-nat.c (_initialize_i386fbsd_nat): Add declaration.
2968 * i386-fbsd-tdep.c (_initialize_i386fbsd_tdep): Add declaration.
2969 * i386-gnu-nat.c (_initialize_i386gnu_nat): Add declaration.
2970 * i386-gnu-tdep.c (_initialize_i386gnu_tdep): Add declaration.
2971 * i386-go32-tdep.c (_initialize_i386_go32_tdep): Add declaration.
2972 * i386-linux-nat.c (_initialize_i386_linux_nat): Add declaration.
2973 * i386-linux-tdep.c (_initialize_i386_linux_tdep): Add declaration.
2974 * i386-nbsd-nat.c (_initialize_i386nbsd_nat): Add declaration.
2975 * i386-nbsd-tdep.c (_initialize_i386nbsd_tdep): Add declaration.
2976 * i386-nto-tdep.c (_initialize_i386nto_tdep): Add declaration.
2977 * i386-obsd-nat.c (_initialize_i386obsd_nat): Add declaration.
2978 * i386-obsd-tdep.c (_initialize_i386obsd_tdep): Add declaration.
2979 * i386-sol2-nat.c (_initialize_amd64_sol2_nat): Add declaration.
2980 * i386-sol2-tdep.c (_initialize_i386_sol2_tdep): Add declaration.
2981 * i386-tdep.c (_initialize_i386_tdep): Add declaration.
2982 * i386-windows-nat.c (_initialize_i386_windows_nat): Add declaration.
2983 * ia64-libunwind-tdep.c (_initialize_libunwind_frame): Add declaration.
2984 * ia64-linux-nat.c (_initialize_ia64_linux_nat): Add declaration.
2985 * ia64-linux-tdep.c (_initialize_ia64_linux_tdep): Add declaration.
2986 * ia64-tdep.c (_initialize_ia64_tdep): Add declaration.
2987 * ia64-vms-tdep.c (_initialize_ia64_vms_tdep): Add declaration.
2988 * infcall.c (_initialize_infcall): Add declaration.
2989 * infcmd.c (_initialize_infcmd): Add declaration.
2990 * inflow.c (_initialize_inflow): Add declaration.
2991 * infrun.c (_initialize_infrun): Add declaration.
2992 * interps.c (_initialize_interpreter): Add declaration.
2993 * iq2000-tdep.c (_initialize_iq2000_tdep): Add declaration.
2994 * jit.c (_initialize_jit): Add declaration.
2995 * language.c (_initialize_language): Add declaration.
2996 * linux-fork.c (_initialize_linux_fork): Add declaration.
2997 * linux-nat.c (_initialize_linux_nat): Add declaration.
2998 * linux-tdep.c (_initialize_linux_tdep): Add declaration.
2999 * linux-thread-db.c (_initialize_thread_db): Add declaration.
3000 * lm32-tdep.c (_initialize_lm32_tdep): Add declaration.
3001 * m2-lang.c (_initialize_m2_language): Add declaration.
3002 * m32c-tdep.c (_initialize_m32c_tdep): Add declaration.
3003 * m32r-linux-nat.c (_initialize_m32r_linux_nat): Add declaration.
3004 * m32r-linux-tdep.c (_initialize_m32r_linux_tdep): Add declaration.
3005 * m32r-tdep.c (_initialize_m32r_tdep): Add declaration.
3006 * m68hc11-tdep.c (_initialize_m68hc11_tdep): Add declaration.
3007 * m68k-bsd-nat.c (_initialize_m68kbsd_nat): Add declaration.
3008 * m68k-bsd-tdep.c (_initialize_m68kbsd_tdep): Add declaration.
3009 * m68k-linux-nat.c (_initialize_m68k_linux_nat): Add declaration.
3010 * m68k-linux-tdep.c (_initialize_m68k_linux_tdep): Add declaration.
3011 * m68k-tdep.c (_initialize_m68k_tdep): Add declaration.
3012 * machoread.c (_initialize_machoread): Add declaration.
3013 * macrocmd.c (_initialize_macrocmd): Add declaration.
3014 * macroscope.c (_initialize_macroscope): Add declaration.
3015 * maint-test-options.c (_initialize_maint_test_options): Add declaration.
3016 * maint-test-settings.c (_initialize_maint_test_settings): Add declaration.
3017 * maint.c (_initialize_maint_cmds): Add declaration.
3018 * mdebugread.c (_initialize_mdebugread): Add declaration.
3019 * memattr.c (_initialize_mem): Add declaration.
3020 * mep-tdep.c (_initialize_mep_tdep): Add declaration.
3021 * mi/mi-cmd-env.c (_initialize_mi_cmd_env): Add declaration.
3022 * mi/mi-cmds.c (_initialize_mi_cmds): Add declaration.
3023 * mi/mi-interp.c (_initialize_mi_interp): Add declaration.
3024 * mi/mi-main.c (_initialize_mi_main): Add declaration.
3025 * microblaze-linux-tdep.c (_initialize_microblaze_linux_tdep): Add declaration.
3026 * microblaze-tdep.c (_initialize_microblaze_tdep): Add declaration.
3027 * mips-fbsd-nat.c (_initialize_mips_fbsd_nat): Add declaration.
3028 * mips-fbsd-tdep.c (_initialize_mips_fbsd_tdep): Add declaration.
3029 * mips-linux-nat.c (_initialize_mips_linux_nat): Add declaration.
3030 * mips-linux-tdep.c (_initialize_mips_linux_tdep): Add declaration.
3031 * mips-nbsd-nat.c (_initialize_mipsnbsd_nat): Add declaration.
3032 * mips-nbsd-tdep.c (_initialize_mipsnbsd_tdep): Add declaration.
3033 * mips-sde-tdep.c (_initialize_mips_sde_tdep): Add declaration.
3034 * mips-tdep.c (_initialize_mips_tdep): Add declaration.
3035 * mips64-obsd-nat.c (_initialize_mips64obsd_nat): Add declaration.
3036 * mips64-obsd-tdep.c (_initialize_mips64obsd_tdep): Add declaration.
3037 * mipsread.c (_initialize_mipsread): Add declaration.
3038 * mn10300-linux-tdep.c (_initialize_mn10300_linux_tdep): Add declaration.
3039 * mn10300-tdep.c (_initialize_mn10300_tdep): Add declaration.
3040 * moxie-tdep.c (_initialize_moxie_tdep): Add declaration.
3041 * msp430-tdep.c (_initialize_msp430_tdep): Add declaration.
3042 * nds32-tdep.c (_initialize_nds32_tdep): Add declaration.
3043 * nios2-linux-tdep.c (_initialize_nios2_linux_tdep): Add declaration.
3044 * nios2-tdep.c (_initialize_nios2_tdep): Add declaration.
3045 * nto-procfs.c (_initialize_procfs): Add declaration.
3046 * objc-lang.c (_initialize_objc_language): Add declaration.
3047 * observable.c (_initialize_observer): Add declaration.
3048 * opencl-lang.c (_initialize_opencl_language): Add declaration.
3049 * or1k-linux-tdep.c (_initialize_or1k_linux_tdep): Add declaration.
3050 * or1k-tdep.c (_initialize_or1k_tdep): Add declaration.
3051 * osabi.c (_initialize_gdb_osabi): Add declaration.
3052 * osdata.c (_initialize_osdata): Add declaration.
3053 * p-valprint.c (_initialize_pascal_valprint): Add declaration.
3054 * parse.c (_initialize_parse): Add declaration.
3055 * ppc-fbsd-nat.c (_initialize_ppcfbsd_nat): Add declaration.
3056 * ppc-fbsd-tdep.c (_initialize_ppcfbsd_tdep): Add declaration.
3057 * ppc-linux-nat.c (_initialize_ppc_linux_nat): Add declaration.
3058 * ppc-linux-tdep.c (_initialize_ppc_linux_tdep): Add declaration.
3059 * ppc-nbsd-nat.c (_initialize_ppcnbsd_nat): Add declaration.
3060 * ppc-nbsd-tdep.c (_initialize_ppcnbsd_tdep): Add declaration.
3061 * ppc-obsd-nat.c (_initialize_ppcobsd_nat): Add declaration.
3062 * ppc-obsd-tdep.c (_initialize_ppcobsd_tdep): Add declaration.
3063 * printcmd.c (_initialize_printcmd): Add declaration.
3064 * probe.c (_initialize_probe): Add declaration.
3065 * proc-api.c (_initialize_proc_api): Add declaration.
3066 * proc-events.c (_initialize_proc_events): Add declaration.
3067 * proc-service.c (_initialize_proc_service): Add declaration.
3068 * procfs.c (_initialize_procfs): Add declaration.
3069 * producer.c (_initialize_producer): Add declaration.
3070 * psymtab.c (_initialize_psymtab): Add declaration.
3071 * python/python.c (_initialize_python): Add declaration.
3072 * ravenscar-thread.c (_initialize_ravenscar): Add declaration.
3073 * record-btrace.c (_initialize_record_btrace): Add declaration.
3074 * record-full.c (_initialize_record_full): Add declaration.
3075 * record.c (_initialize_record): Add declaration.
3076 * regcache-dump.c (_initialize_regcache_dump): Add declaration.
3077 * regcache.c (_initialize_regcache): Add declaration.
3078 * reggroups.c (_initialize_reggroup): Add declaration.
3079 * remote-notif.c (_initialize_notif): Add declaration.
3080 * remote-sim.c (_initialize_remote_sim): Add declaration.
3081 * remote.c (_initialize_remote): Add declaration.
3082 * reverse.c (_initialize_reverse): Add declaration.
3083 * riscv-fbsd-nat.c (_initialize_riscv_fbsd_nat): Add declaration.
3084 * riscv-fbsd-tdep.c (_initialize_riscv_fbsd_tdep): Add declaration.
3085 * riscv-linux-nat.c (_initialize_riscv_linux_nat): Add declaration.
3086 * riscv-linux-tdep.c (_initialize_riscv_linux_tdep): Add declaration.
3087 * riscv-tdep.c (_initialize_riscv_tdep): Add declaration.
3088 * rl78-tdep.c (_initialize_rl78_tdep): Add declaration.
3089 * rs6000-aix-tdep.c (_initialize_rs6000_aix_tdep): Add declaration.
3090 * rs6000-lynx178-tdep.c (_initialize_rs6000_lynx178_tdep):
3091 Add declaration.
3092 * rs6000-nat.c (_initialize_rs6000_nat): Add declaration.
3093 * rs6000-tdep.c (_initialize_rs6000_tdep): Add declaration.
3094 * run-on-main-thread.c (_initialize_run_on_main_thread): Add declaration.
3095 * rust-exp.y (_initialize_rust_exp): Add declaration.
3096 * rx-tdep.c (_initialize_rx_tdep): Add declaration.
3097 * s12z-tdep.c (_initialize_s12z_tdep): Add declaration.
3098 * s390-linux-nat.c (_initialize_s390_nat): Add declaration.
3099 * s390-linux-tdep.c (_initialize_s390_linux_tdep): Add declaration.
3100 * s390-tdep.c (_initialize_s390_tdep): Add declaration.
3101 * score-tdep.c (_initialize_score_tdep): Add declaration.
3102 * ser-go32.c (_initialize_ser_dos): Add declaration.
3103 * ser-mingw.c (_initialize_ser_windows): Add declaration.
3104 * ser-pipe.c (_initialize_ser_pipe): Add declaration.
3105 * ser-tcp.c (_initialize_ser_tcp): Add declaration.
3106 * ser-uds.c (_initialize_ser_socket): Add declaration.
3107 * ser-unix.c (_initialize_ser_hardwire): Add declaration.
3108 * serial.c (_initialize_serial): Add declaration.
3109 * sh-linux-tdep.c (_initialize_sh_linux_tdep): Add declaration.
3110 * sh-nbsd-nat.c (_initialize_shnbsd_nat): Add declaration.
3111 * sh-nbsd-tdep.c (_initialize_shnbsd_tdep): Add declaration.
3112 * sh-tdep.c (_initialize_sh_tdep): Add declaration.
3113 * skip.c (_initialize_step_skip): Add declaration.
3114 * sol-thread.c (_initialize_sol_thread): Add declaration.
3115 * solib-aix.c (_initialize_solib_aix): Add declaration.
3116 * solib-darwin.c (_initialize_darwin_solib): Add declaration.
3117 * solib-dsbt.c (_initialize_dsbt_solib): Add declaration.
3118 * solib-frv.c (_initialize_frv_solib): Add declaration.
3119 * solib-svr4.c (_initialize_svr4_solib): Add declaration.
3120 * solib-target.c (_initialize_solib_target): Add declaration.
3121 * solib.c (_initialize_solib): Add declaration.
3122 * source-cache.c (_initialize_source_cache): Add declaration.
3123 * source.c (_initialize_source): Add declaration.
3124 * sparc-linux-nat.c (_initialize_sparc_linux_nat): Add declaration.
3125 * sparc-linux-tdep.c (_initialize_sparc_linux_tdep): Add declaration.
3126 * sparc-nat.c (_initialize_sparc_nat): Add declaration.
3127 * sparc-nbsd-nat.c (_initialize_sparcnbsd_nat): Add declaration.
3128 * sparc-nbsd-tdep.c (_initialize_sparcnbsd_tdep): Add declaration.
3129 * sparc-obsd-tdep.c (_initialize_sparc32obsd_tdep): Add declaration.
3130 * sparc-sol2-tdep.c (_initialize_sparc_sol2_tdep): Add declaration.
3131 * sparc-tdep.c (_initialize_sparc_tdep): Add declaration.
3132 * sparc64-fbsd-nat.c (_initialize_sparc64fbsd_nat): Add declaration.
3133 * sparc64-fbsd-tdep.c (_initialize_sparc64fbsd_tdep): Add declaration.
3134 * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Add declaration.
3135 * sparc64-linux-tdep.c (_initialize_sparc64_linux_tdep): Add declaration.
3136 * sparc64-nat.c (_initialize_sparc64_nat): Add declaration.
3137 * sparc64-nbsd-nat.c (_initialize_sparc64nbsd_nat): Add declaration.
3138 * sparc64-nbsd-tdep.c (_initialize_sparc64nbsd_tdep): Add declaration.
3139 * sparc64-obsd-nat.c (_initialize_sparc64obsd_nat): Add declaration.
3140 * sparc64-obsd-tdep.c (_initialize_sparc64obsd_tdep): Add declaration.
3141 * sparc64-sol2-tdep.c (_initialize_sparc64_sol2_tdep): Add declaration.
3142 * sparc64-tdep.c (_initialize_sparc64_adi_tdep): Add declaration.
3143 * stabsread.c (_initialize_stabsread): Add declaration.
3144 * stack.c (_initialize_stack): Add declaration.
3145 * stap-probe.c (_initialize_stap_probe): Add declaration.
3146 * std-regs.c (_initialize_frame_reg): Add declaration.
3147 * symfile-debug.c (_initialize_symfile_debug): Add declaration.
3148 * symfile-mem.c (_initialize_symfile_mem): Add declaration.
3149 * symfile.c (_initialize_symfile): Add declaration.
3150 * symmisc.c (_initialize_symmisc): Add declaration.
3151 * symtab.c (_initialize_symtab): Add declaration.
3152 * target.c (_initialize_target): Add declaration.
3153 * target-connection.c (_initialize_target_connection): Add
3154 declaration.
3155 * target-dcache.c (_initialize_target_dcache): Add declaration.
3156 * target-descriptions.c (_initialize_target_descriptions): Add declaration.
3157 * thread.c (_initialize_thread): Add declaration.
3158 * tic6x-linux-tdep.c (_initialize_tic6x_linux_tdep): Add declaration.
3159 * tic6x-tdep.c (_initialize_tic6x_tdep): Add declaration.
3160 * tilegx-linux-nat.c (_initialize_tile_linux_nat): Add declaration.
3161 * tilegx-linux-tdep.c (_initialize_tilegx_linux_tdep): Add declaration.
3162 * tilegx-tdep.c (_initialize_tilegx_tdep): Add declaration.
3163 * tracectf.c (_initialize_ctf): Add declaration.
3164 * tracefile-tfile.c (_initialize_tracefile_tfile): Add declaration.
3165 * tracefile.c (_initialize_tracefile): Add declaration.
3166 * tracepoint.c (_initialize_tracepoint): Add declaration.
3167 * tui/tui-hooks.c (_initialize_tui_hooks): Add declaration.
3168 * tui/tui-interp.c (_initialize_tui_interp): Add declaration.
3169 * tui/tui-layout.c (_initialize_tui_layout): Add declaration.
3170 * tui/tui-regs.c (_initialize_tui_regs): Add declaration.
3171 * tui/tui-stack.c (_initialize_tui_stack): Add declaration.
3172 * tui/tui-win.c (_initialize_tui_win): Add declaration.
3173 * tui/tui.c (_initialize_tui): Add declaration.
3174 * typeprint.c (_initialize_typeprint): Add declaration.
3175 * ui-style.c (_initialize_ui_style): Add declaration.
3176 * unittests/array-view-selftests.c (_initialize_array_view_selftests): Add declaration.
3177 * unittests/child-path-selftests.c (_initialize_child_path_selftests): Add declaration.
3178 * unittests/cli-utils-selftests.c (_initialize_cli_utils_selftests): Add declaration.
3179 * unittests/common-utils-selftests.c (_initialize_common_utils_selftests): Add declaration.
3180 * unittests/copy_bitwise-selftests.c (_initialize_copy_bitwise_utils_selftests): Add declaration.
3181 * unittests/environ-selftests.c (_initialize_environ_selftests): Add declaration.
3182 * unittests/filtered_iterator-selftests.c
3183 (_initialize_filtered_iterator_selftests): Add declaration.
3184 * unittests/format_pieces-selftests.c (_initialize_format_pieces_selftests): Add declaration.
3185 * unittests/function-view-selftests.c (_initialize_function_view_selftests): Add declaration.
3186 * unittests/help-doc-selftests.c (_initialize_help_doc_selftests): Add declaration.
3187 * unittests/lookup_name_info-selftests.c (_initialize_lookup_name_info_selftests): Add declaration.
3188 * unittests/main-thread-selftests.c
3189 (_initialize_main_thread_selftests): Add declaration.
3190 * unittests/memory-map-selftests.c (_initialize_memory_map_selftests): Add declaration.
3191 * unittests/memrange-selftests.c (_initialize_memrange_selftests): Add declaration.
3192 * unittests/mkdir-recursive-selftests.c (_initialize_mkdir_recursive_selftests): Add declaration.
3193 * unittests/observable-selftests.c (_initialize_observer_selftest): Add declaration.
3194 * unittests/offset-type-selftests.c (_initialize_offset_type_selftests): Add declaration.
3195 * unittests/optional-selftests.c (_initialize_optional_selftests): Add declaration.
3196 * unittests/parse-connection-spec-selftests.c (_initialize_parse_connection_spec_selftests): Add declaration.
3197 * unittests/rsp-low-selftests.c (_initialize_rsp_low_selftests): Add declaration.
3198 * unittests/scoped_fd-selftests.c (_initialize_scoped_fd_selftests): Add declaration.
3199 * unittests/scoped_mmap-selftests.c (_initialize_scoped_mmap_selftests): Add declaration.
3200 * unittests/scoped_restore-selftests.c (_initialize_scoped_restore_selftests): Add declaration.
3201 * unittests/string_view-selftests.c (_initialize_string_view_selftests): Add declaration.
3202 * unittests/style-selftests.c (_initialize_style_selftest): Add declaration.
3203 * unittests/tracepoint-selftests.c (_initialize_tracepoint_selftests): Add declaration.
3204 * unittests/tui-selftests.c (_initialize_tui_selftest): Add
3205 declaration.
3206 * unittests/unpack-selftests.c (_initialize_unpack_selftests): Add declaration.
3207 * unittests/utils-selftests.c (_initialize_utils_selftests): Add declaration.
3208 * unittests/vec-utils-selftests.c (_initialize_vec_utils_selftests): Add declaration.
3209 * unittests/xml-utils-selftests.c (_initialize_xml_utils): Add declaration.
3210 * user-regs.c (_initialize_user_regs): Add declaration.
3211 * utils.c (_initialize_utils): Add declaration.
3212 * v850-tdep.c (_initialize_v850_tdep): Add declaration.
3213 * valops.c (_initialize_valops): Add declaration.
3214 * valprint.c (_initialize_valprint): Add declaration.
3215 * value.c (_initialize_values): Add declaration.
3216 * varobj.c (_initialize_varobj): Add declaration.
3217 * vax-bsd-nat.c (_initialize_vaxbsd_nat): Add declaration.
3218 * vax-nbsd-tdep.c (_initialize_vaxnbsd_tdep): Add declaration.
3219 * vax-tdep.c (_initialize_vax_tdep): Add declaration.
3220 * windows-nat.c (_initialize_windows_nat): Add declaration.
3221 (_initialize_check_for_gdb_ini): Add declaration.
3222 (_initialize_loadable): Add declaration.
3223 * windows-tdep.c (_initialize_windows_tdep): Add declaration.
3224 * x86-bsd-nat.c (_initialize_x86_bsd_nat): Add declaration.
3225 * x86-linux-nat.c (_initialize_x86_linux_nat): Add declaration.
3226 * xcoffread.c (_initialize_xcoffread): Add declaration.
3227 * xml-support.c (_initialize_xml_support): Add declaration.
3228 * xstormy16-tdep.c (_initialize_xstormy16_tdep): Add declaration.
3229 * xtensa-linux-nat.c (_initialize_xtensa_linux_nat): Add declaration.
3230 * xtensa-linux-tdep.c (_initialize_xtensa_linux_tdep): Add declaration.
3231 * xtensa-tdep.c (_initialize_xtensa_tdep): Add declaration.
3232
3233 2020-01-13 Simon Marchi <simon.marchi@polymtl.ca>
3234
3235 * regformats/regdat.sh: Generate declaration for init function.
3236
3237 2020-01-13 Simon Marchi <simon.marchi@polymtl.ca>
3238
3239 * remote-sim.c (next_pid, INITIAL_PID, sim_inferior_data): Move
3240 up.
3241 (gdbsim_target) <get_inferior_data_by_ptid, resume_one_inferior,
3242 close_one_inferior>: New methods.
3243 (get_sim_inferior_data_by_ptid): Move to gdbsim_target,
3244 pass down target to find_inferior_pid.
3245 (gdbsim_target::fetch_registers, gdbsim_target::store_registers):
3246 Pass down target to find_inferior_ptid.
3247 (gdbsim_target::create_inferior): Pass down target to
3248 add_thread_silent.
3249 (gdbsim_close_inferior): Move to gdbsim_close_inferior, pass
3250 target down to find_inferior_ptid and switch_to_thread.
3251 (gdbsim_target::close): Update to call close_one_inferior.
3252 (struct resume_data): Remove.
3253 (gdbsim_resume_inferior): Move to gdbsim_target. Take arguments
3254 directly, rather than through a void pointer.
3255 (gdbsim_target::resume): Update to call resume_one_inferior.
3256
3257 2020-01-12 Simon Marchi <simon.marchi@polymtl.ca>
3258
3259 * gdbsupport/gdb_wait.c: Include gdb_wait.h.
3260
3261 2020-01-12 Pedro Alves <palves@redhat.com>
3262
3263 * bsd-kvm.c (bsd_kvm_target::close): Call exit_inferior_silent
3264 directly for the current inferior instead of
3265 discard_all_inferiors.
3266 (discard_all_inferiors): Delete.
3267
3268 2020-01-11 Tom Tromey <tom@tromey.com>
3269
3270 * tui/tui-wingeneral.c (box_win): Check cli_styling.
3271 * tui/tui-winsource.c (tui_source_window_base::refill): Use
3272 deprecated_safe_get_selected_frame.
3273
3274 2020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3275
3276 * inferior.c (print_inferior): Switch inferior before printing it.
3277
3278 2020-01-10 Aleksandar Paunovic <aleksandar.paunovic@intel.com>
3279 Pedro Alves <palves@redhat.com>
3280
3281 * progspace-and-thread.c (switch_to_program_space_and_thread):
3282 Assert there's an inferior for PSPACE. Use
3283 switch_to_inferior_no_thread to switch the inferior too.
3284 * progspace.c (program_space::~program_space): Call
3285 clear_symtab_users here, with SYMFILE_DEFER_BP_RESET.
3286 (program_space::free_all_objfiles): Don't call clear_symtab_users
3287 here.
3288 * symfile.c (symbol_file_clear): Call clear_symtab_users here.
3289
3290 2020-01-10 Pedro Alves <palves@redhat.com>
3291
3292 * NEWS: Mention multi-target debugging, "info connections", and
3293 "add-inferior -no-connection".
3294
3295 2020-01-10 Pedro Alves <palves@redhat.com>
3296
3297 * infrun.c: Include "target-connection.h".
3298 (check_multi_target_resumption): New.
3299 (proceed): Call it.
3300 * target-connection.c (make_target_connection_string): Make
3301 extern.
3302 * target-connection.h (make_target_connection_string): Declare.
3303
3304 2020-01-10 Pedro Alves <palves@redhat.com>
3305
3306 * Makefile.in (COMMON_SFILES): Add target-connection.c.
3307 * inferior.c (uiout_field_connection): New function.
3308 (print_inferior): Add new "connection-id" column.
3309 (add_inferior_command): Show connection number/string of added
3310 inferior.
3311 * process-stratum-target.h
3312 (process_stratum_target::connection_string): New virtual method.
3313 (process_stratum_target::connection_number): New field.
3314 * remote.c (remote_target::connection_string): New override.
3315 * target-connection.c: New file.
3316 * target-connection.h: New file.
3317 * target.c (decref_target): Remove process_stratum targets from
3318 the connection list.
3319 (target_stack::push): Add process_stratum targets to the
3320 connection list.
3321
3322 2020-01-10 Pedro Alves <palves@redhat.com>
3323
3324 Revert:
3325 2016-04-12 Pedro Alves <palves@redhat.com>
3326 * serial.c (serial_open, serial_fdopen_ops, do_serial_close):
3327 Remove references to name.
3328 * serial.h (struct serial) <name>: Delete.
3329
3330 2020-01-10 Pedro Alves <palves@redhat.com>
3331
3332 * gdbarch-selftests.c (register_to_value_test): Remove "target
3333 already pushed" check.
3334
3335 2020-01-10 Pedro Alves <palves@redhat.com>
3336 John Baldwin <jhb@FreeBSD.org>
3337
3338 * aarch64-linux-nat.c
3339 (aarch64_linux_nat_target::thread_architecture): Adjust.
3340 * ada-tasks.c (print_ada_task_info): Adjust find_thread_ptid call.
3341 (task_command_1): Likewise.
3342 * aix-thread.c (sync_threadlists, aix_thread_target::resume)
3343 (aix_thread_target::wait, aix_thread_target::fetch_registers)
3344 (aix_thread_target::store_registers)
3345 (aix_thread_target::thread_alive): Adjust.
3346 * amd64-fbsd-tdep.c: Include "inferior.h".
3347 (amd64fbsd_get_thread_local_address): Pass down target.
3348 * amd64-linux-nat.c (ps_get_thread_area): Use ps_prochandle
3349 thread's gdbarch instead of target_gdbarch.
3350 * break-catch-sig.c (signal_catchpoint_print_it): Adjust call to
3351 get_last_target_status.
3352 * break-catch-syscall.c (print_it_catch_syscall): Likewise.
3353 * breakpoint.c (breakpoints_should_be_inserted_now): Consider all
3354 inferiors.
3355 (update_inserted_breakpoint_locations): Skip if inferiors with no
3356 execution.
3357 (update_global_location_list): When handling moribund locations,
3358 find representative inferior for location's pspace, and use thread
3359 count of its process_stratum target.
3360 * bsd-kvm.c (bsd_kvm_target_open): Pass target down.
3361 * bsd-uthread.c (bsd_uthread_target::wait): Use
3362 as_process_stratum_target and adjust thread_change_ptid and
3363 add_thread calls.
3364 (bsd_uthread_target::update_thread_list): Use
3365 as_process_stratum_target and adjust find_thread_ptid,
3366 thread_change_ptid and add_thread calls.
3367 * btrace.c (maint_btrace_packet_history_cmd): Adjust
3368 find_thread_ptid call.
3369 * corelow.c (add_to_thread_list): Adjust add_thread call.
3370 (core_target_open): Adjust add_thread_silent and thread_count
3371 calls.
3372 (core_target::pid_to_str): Adjust find_inferior_ptid call.
3373 * ctf.c (ctf_target_open): Adjust add_thread_silent call.
3374 * event-top.c (async_disconnect): Pop targets from all inferiors.
3375 * exec.c (add_target_sections): Push exec target on all inferiors
3376 sharing the program space.
3377 (remove_target_sections): Remove the exec target from all
3378 inferiors sharing the program space.
3379 (exec_on_vfork): New.
3380 * exec.h (exec_on_vfork): Declare.
3381 * fbsd-nat.c (fbsd_add_threads): Add fbsd_nat_target parameter.
3382 Pass it down.
3383 (fbsd_nat_target::update_thread_list): Adjust.
3384 (fbsd_nat_target::resume): Adjust.
3385 (fbsd_handle_debug_trap): Add fbsd_nat_target parameter. Pass it
3386 down.
3387 (fbsd_nat_target::wait, fbsd_nat_target::post_attach): Adjust.
3388 * fbsd-tdep.c (fbsd_corefile_thread): Adjust
3389 get_thread_arch_regcache call.
3390 * fork-child.c (gdb_startup_inferior): Pass target down to
3391 startup_inferior and set_executing.
3392 * gdbthread.h (struct process_stratum_target): Forward declare.
3393 (add_thread, add_thread_silent, add_thread_with_info)
3394 (in_thread_list): Add process_stratum_target parameter.
3395 (find_thread_ptid(inferior*, ptid_t)): New overload.
3396 (find_thread_ptid, thread_change_ptid): Add process_stratum_target
3397 parameter.
3398 (all_threads()): Delete overload.
3399 (all_threads, all_non_exited_threads): Add process_stratum_target
3400 parameter.
3401 (all_threads_safe): Use brace initialization.
3402 (thread_count): Add process_stratum_target parameter.
3403 (set_resumed, set_running, set_stop_requested, set_executing)
3404 (threads_are_executing, finish_thread_state): Add
3405 process_stratum_target parameter.
3406 (switch_to_thread): Use is_current_thread.
3407 * i386-fbsd-tdep.c: Include "inferior.h".
3408 (i386fbsd_get_thread_local_address): Pass down target.
3409 * i386-linux-nat.c (i386_linux_nat_target::low_resume): Adjust.
3410 * inf-child.c (inf_child_target::maybe_unpush_target): Remove
3411 have_inferiors check.
3412 * inf-ptrace.c (inf_ptrace_target::create_inferior)
3413 (inf_ptrace_target::attach): Adjust.
3414 * infcall.c (run_inferior_call): Adjust.
3415 * infcmd.c (run_command_1): Pass target to
3416 scoped_finish_thread_state.
3417 (proceed_thread_callback): Skip inferiors with no execution.
3418 (continue_command): Rename 'all_threads' local to avoid hiding
3419 'all_threads' function. Adjust get_last_target_status call.
3420 (prepare_one_step): Adjust set_running call.
3421 (signal_command): Use user_visible_resume_target. Compare thread
3422 pointers instead of inferior_ptid.
3423 (info_program_command): Adjust to pass down target.
3424 (attach_command): Mark target's 'thread_executing' flag.
3425 (stop_current_target_threads_ns): New, factored out from ...
3426 (interrupt_target_1): ... this. Switch inferior before making
3427 target calls.
3428 * inferior-iter.h
3429 (struct all_inferiors_iterator, struct all_inferiors_range)
3430 (struct all_inferiors_safe_range)
3431 (struct all_non_exited_inferiors_range): Filter on
3432 process_stratum_target too. Remove explicit.
3433 * inferior.c (inferior::inferior): Push dummy target on target
3434 stack.
3435 (find_inferior_pid, find_inferior_ptid, number_of_live_inferiors):
3436 Add process_stratum_target parameter, and pass it down.
3437 (have_live_inferiors): Adjust.
3438 (switch_to_inferior_and_push_target): New.
3439 (add_inferior_command, clone_inferior_command): Handle
3440 "-no-connection" parameter. Use
3441 switch_to_inferior_and_push_target.
3442 (_initialize_inferior): Mention "-no-connection" option in
3443 the help of "add-inferior" and "clone-inferior" commands.
3444 * inferior.h: Include "process-stratum-target.h".
3445 (interrupt_target_1): Use bool.
3446 (struct inferior) <push_target, unpush_target, target_is_pushed,
3447 find_target_beneath, top_target, process_target, target_at,
3448 m_stack>: New.
3449 (discard_all_inferiors): Delete.
3450 (find_inferior_pid, find_inferior_ptid, number_of_live_inferiors)
3451 (all_inferiors, all_non_exited_inferiors): Add
3452 process_stratum_target parameter.
3453 * infrun.c: Include "gdb_select.h" and <unordered_map>.
3454 (target_last_proc_target): New global.
3455 (follow_fork_inferior): Push target on new inferior. Pass target
3456 to add_thread_silent. Call exec_on_vfork. Handle target's
3457 reference count.
3458 (follow_fork): Adjust get_last_target_status call. Also consider
3459 target.
3460 (follow_exec): Push target on new inferior.
3461 (struct execution_control_state) <target>: New field.
3462 (user_visible_resume_target): New.
3463 (do_target_resume): Call target_async.
3464 (resume_1): Set target's threads_executing flag. Consider resume
3465 target.
3466 (commit_resume_all_targets): New.
3467 (proceed): Also consider resume target. Skip threads of inferiors
3468 with no execution. Commit resumtion in all targets.
3469 (start_remote): Pass current inferior to wait_for_inferior.
3470 (infrun_thread_stop_requested): Consider target as well. Pass
3471 thread_info pointer to clear_inline_frame_state instead of ptid.
3472 (infrun_thread_thread_exit): Consider target as well.
3473 (random_pending_event_thread): New inferior parameter. Use it.
3474 (do_target_wait): Rename to ...
3475 (do_target_wait_1): ... this. Add inferior parameter, and pass it
3476 down.
3477 (threads_are_resumed_pending_p, do_target_wait): New.
3478 (prepare_for_detach): Adjust calls.
3479 (wait_for_inferior): New inferior parameter. Handle it. Use
3480 do_target_wait_1 instead of do_target_wait.
3481 (fetch_inferior_event): Adjust. Switch to representative
3482 inferior. Pass target down.
3483 (set_last_target_status): Add process_stratum_target parameter.
3484 Save target in global.
3485 (get_last_target_status): Add process_stratum_target parameter and
3486 handle it.
3487 (nullify_last_target_wait_ptid): Clear 'target_last_proc_target'.
3488 (context_switch): Check inferior_ptid == null_ptid before calling
3489 inferior_thread().
3490 (get_inferior_stop_soon): Pass down target.
3491 (wait_one): Rename to ...
3492 (poll_one_curr_target): ... this.
3493 (struct wait_one_event): New.
3494 (wait_one): New.
3495 (stop_all_threads): Adjust.
3496 (handle_no_resumed, handle_inferior_event): Adjust to consider the
3497 event's target.
3498 (switch_back_to_stepped_thread): Also consider target.
3499 (print_stop_event): Update.
3500 (normal_stop): Update. Also consider the resume target.
3501 * infrun.h (wait_for_inferior): Remove declaration.
3502 (user_visible_resume_target): New declaration.
3503 (get_last_target_status, set_last_target_status): New
3504 process_stratum_target parameter.
3505 * inline-frame.c (clear_inline_frame_state(ptid_t)): Add
3506 process_stratum_target parameter, and use it.
3507 (clear_inline_frame_state (thread_info*)): New.
3508 * inline-frame.c (clear_inline_frame_state(ptid_t)): Add
3509 process_stratum_target parameter.
3510 (clear_inline_frame_state (thread_info*)): Declare.
3511 * linux-fork.c (delete_checkpoint_command): Pass target down to
3512 find_thread_ptid.
3513 (checkpoint_command): Adjust.
3514 * linux-nat.c (linux_nat_target::follow_fork): Switch to thread
3515 instead of just tweaking inferior_ptid.
3516 (linux_nat_switch_fork): Pass target down to thread_change_ptid.
3517 (exit_lwp): Pass target down to find_thread_ptid.
3518 (attach_proc_task_lwp_callback): Pass target down to
3519 add_thread/set_running/set_executing.
3520 (linux_nat_target::attach): Pass target down to
3521 thread_change_ptid.
3522 (get_detach_signal): Pass target down to find_thread_ptid.
3523 Consider last target status's target.
3524 (linux_resume_one_lwp_throw, resume_lwp)
3525 (linux_handle_syscall_trap, linux_handle_extended_wait, wait_lwp)
3526 (stop_wait_callback, save_stop_reason, linux_nat_filter_event)
3527 (linux_nat_wait_1, resume_stopped_resumed_lwps): Pass target down.
3528 (linux_nat_target::async_wait_fd): New.
3529 (linux_nat_stop_lwp, linux_nat_target::thread_address_space): Pass
3530 target down.
3531 * linux-nat.h (linux_nat_target::async_wait_fd): Declare.
3532 * linux-tdep.c (get_thread_arch_regcache): Pass target down.
3533 * linux-thread-db.c (struct thread_db_info::process_target): New
3534 field.
3535 (add_thread_db_info): Save target.
3536 (get_thread_db_info): New process_stratum_target parameter. Also
3537 match target.
3538 (delete_thread_db_info): New process_stratum_target parameter.
3539 Also match target.
3540 (thread_from_lwp): Adjust to pass down target.
3541 (thread_db_notice_clone): Pass down target.
3542 (check_thread_db_callback): Pass down target.
3543 (try_thread_db_load_1): Always push the thread_db target.
3544 (try_thread_db_load, record_thread): Pass target down.
3545 (thread_db_target::detach): Pass target down. Always unpush the
3546 thread_db target.
3547 (thread_db_target::wait, thread_db_target::mourn_inferior): Pass
3548 target down. Always unpush the thread_db target.
3549 (find_new_threads_callback, thread_db_find_new_threads_2)
3550 (thread_db_target::update_thread_list): Pass target down.
3551 (thread_db_target::pid_to_str): Pass current inferior down.
3552 (thread_db_target::get_thread_local_address): Pass target down.
3553 (thread_db_target::resume, maintenance_check_libthread_db): Pass
3554 target down.
3555 * nto-procfs.c (nto_procfs_target::update_thread_list): Adjust.
3556 * procfs.c (procfs_target::procfs_init_inferior): Declare.
3557 (proc_set_current_signal, do_attach, procfs_target::wait): Adjust.
3558 (procfs_init_inferior): Rename to ...
3559 (procfs_target::procfs_init_inferior): ... this and adjust.
3560 (procfs_target::create_inferior, procfs_notice_thread)
3561 (procfs_do_thread_registers): Adjust.
3562 * ppc-fbsd-tdep.c: Include "inferior.h".
3563 (ppcfbsd_get_thread_local_address): Pass down target.
3564 * proc-service.c (ps_xfer_memory): Switch current inferior and
3565 program space as well.
3566 (get_ps_regcache): Pass target down.
3567 * process-stratum-target.c
3568 (process_stratum_target::thread_address_space)
3569 (process_stratum_target::thread_architecture): Pass target down.
3570 * process-stratum-target.h
3571 (process_stratum_target::threads_executing): New field.
3572 (as_process_stratum_target): New.
3573 * ravenscar-thread.c
3574 (ravenscar_thread_target::update_inferior_ptid): Pass target down.
3575 (ravenscar_thread_target::wait, ravenscar_add_thread): Pass target
3576 down.
3577 * record-btrace.c (record_btrace_target::info_record): Adjust.
3578 (record_btrace_target::record_method)
3579 (record_btrace_target::record_is_replaying)
3580 (record_btrace_target::fetch_registers)
3581 (get_thread_current_frame_id, record_btrace_target::resume)
3582 (record_btrace_target::wait, record_btrace_target::stop): Pass
3583 target down.
3584 * record-full.c (record_full_wait_1): Switch to event thread.
3585 Pass target down.
3586 * regcache.c (regcache::regcache)
3587 (get_thread_arch_aspace_regcache, get_thread_arch_regcache): Add
3588 process_stratum_target parameter and handle it.
3589 (current_thread_target): New global.
3590 (get_thread_regcache): Add process_stratum_target parameter and
3591 handle it. Switch inferior before calling target method.
3592 (get_thread_regcache): Pass target down.
3593 (get_thread_regcache_for_ptid): Pass target down.
3594 (registers_changed_ptid): Add process_stratum_target parameter and
3595 handle it.
3596 (registers_changed_thread, registers_changed): Pass target down.
3597 (test_get_thread_arch_aspace_regcache): New.
3598 (current_regcache_test): Define a couple local test_target_ops
3599 instances and use them for testing.
3600 (readwrite_regcache): Pass process_stratum_target parameter.
3601 (cooked_read_test, cooked_write_test): Pass mock_target down.
3602 * regcache.h (get_thread_regcache, get_thread_arch_regcache)
3603 (get_thread_arch_aspace_regcache): Add process_stratum_target
3604 parameter.
3605 (regcache::target): New method.
3606 (regcache::regcache, regcache::get_thread_arch_aspace_regcache)
3607 (regcache::registers_changed_ptid): Add process_stratum_target
3608 parameter.
3609 (regcache::m_target): New field.
3610 (registers_changed_ptid): Add process_stratum_target parameter.
3611 * remote.c (remote_state::supports_vCont_probed): New field.
3612 (remote_target::async_wait_fd): New method.
3613 (remote_unpush_and_throw): Add remote_target parameter.
3614 (get_current_remote_target): Adjust.
3615 (remote_target::remote_add_inferior): Push target.
3616 (remote_target::remote_add_thread)
3617 (remote_target::remote_notice_new_inferior)
3618 (get_remote_thread_info): Pass target down.
3619 (remote_target::update_thread_list): Skip threads of inferiors
3620 bound to other targets. (remote_target::close): Don't discard
3621 inferiors. (remote_target::add_current_inferior_and_thread)
3622 (remote_target::process_initial_stop_replies)
3623 (remote_target::start_remote)
3624 (remote_target::remote_serial_quit_handler): Pass down target.
3625 (remote_target::remote_unpush_target): New remote_target
3626 parameter. Unpush the target from all inferiors.
3627 (remote_target::remote_unpush_and_throw): New remote_target
3628 parameter. Pass it down.
3629 (remote_target::open_1): Check whether the current inferior has
3630 execution instead of checking whether any inferior is live. Pass
3631 target down.
3632 (remote_target::remote_detach_1): Pass down target. Use
3633 remote_unpush_target.
3634 (extended_remote_target::attach): Pass down target.
3635 (remote_target::remote_vcont_probe): Set supports_vCont_probed.
3636 (remote_target::append_resumption): Pass down target.
3637 (remote_target::append_pending_thread_resumptions)
3638 (remote_target::remote_resume_with_hc, remote_target::resume)
3639 (remote_target::commit_resume): Pass down target.
3640 (remote_target::remote_stop_ns): Check supports_vCont_probed.
3641 (remote_target::interrupt_query)
3642 (remote_target::remove_new_fork_children)
3643 (remote_target::check_pending_events_prevent_wildcard_vcont)
3644 (remote_target::remote_parse_stop_reply)
3645 (remote_target::process_stop_reply): Pass down target.
3646 (first_remote_resumed_thread): New remote_target parameter. Pass
3647 it down.
3648 (remote_target::wait_as): Pass down target.
3649 (unpush_and_perror): New remote_target parameter. Pass it down.
3650 (remote_target::readchar, remote_target::remote_serial_write)
3651 (remote_target::getpkt_or_notif_sane_1)
3652 (remote_target::kill_new_fork_children, remote_target::kill): Pass
3653 down target.
3654 (remote_target::mourn_inferior): Pass down target. Use
3655 remote_unpush_target.
3656 (remote_target::core_of_thread)
3657 (remote_target::remote_btrace_maybe_reopen): Pass down target.
3658 (remote_target::pid_to_exec_file)
3659 (remote_target::thread_handle_to_thread_info): Pass down target.
3660 (remote_target::async_wait_fd): New.
3661 * riscv-fbsd-tdep.c: Include "inferior.h".
3662 (riscv_fbsd_get_thread_local_address): Pass down target.
3663 * sol2-tdep.c (sol2_core_pid_to_str): Pass down target.
3664 * sol-thread.c (sol_thread_target::wait, ps_lgetregs, ps_lsetregs)
3665 (ps_lgetfpregs, ps_lsetfpregs, sol_update_thread_list_callback):
3666 Adjust.
3667 * solib-spu.c (spu_skip_standalone_loader): Pass down target.
3668 * solib-svr4.c (enable_break): Pass down target.
3669 * spu-multiarch.c (parse_spufs_run): Pass down target.
3670 * spu-tdep.c (spu2ppu_sniffer): Pass down target.
3671 * target-delegates.c: Regenerate.
3672 * target.c (g_target_stack): Delete.
3673 (current_top_target): Return the current inferior's top target.
3674 (target_has_execution_1): Refer to the passed-in inferior's top
3675 target.
3676 (target_supports_terminal_ours): Check whether the initial
3677 inferior was already created.
3678 (decref_target): New.
3679 (target_stack::push): Incref/decref the target.
3680 (push_target, push_target, unpush_target): Adjust.
3681 (target_stack::unpush): Defref target.
3682 (target_is_pushed): Return bool. Adjust to refer to the current
3683 inferior's target stack.
3684 (dispose_inferior): Delete, and inline parts ...
3685 (target_preopen): ... here. Only dispose of the current inferior.
3686 (target_detach): Hold strong target reference while detaching.
3687 Pass target down.
3688 (target_thread_name): Add assertion.
3689 (target_resume): Pass down target.
3690 (target_ops::beneath, find_target_at): Adjust to refer to the
3691 current inferior's target stack.
3692 (get_dummy_target): New.
3693 (target_pass_ctrlc): Pass the Ctrl-C to the first inferior that
3694 has a thread running.
3695 (initialize_targets): Rename to ...
3696 (_initialize_target): ... this.
3697 * target.h: Include "gdbsupport/refcounted-object.h".
3698 (struct target_ops): Inherit refcounted_object.
3699 (target_ops::shortname, target_ops::longname): Make const.
3700 (target_ops::async_wait_fd): New method.
3701 (decref_target): Declare.
3702 (struct target_ops_ref_policy): New.
3703 (target_ops_ref): New typedef.
3704 (get_dummy_target): Declare function.
3705 (target_is_pushed): Return bool.
3706 * thread-iter.c (all_matching_threads_iterator::m_inf_matches)
3707 (all_matching_threads_iterator::all_matching_threads_iterator):
3708 Handle filter target.
3709 * thread-iter.h (struct all_matching_threads_iterator, struct
3710 all_matching_threads_range, class all_non_exited_threads_range):
3711 Filter by target too. Remove explicit.
3712 * thread.c (threads_executing): Delete.
3713 (inferior_thread): Pass down current inferior.
3714 (clear_thread_inferior_resources): Pass down thread pointer
3715 instead of ptid_t.
3716 (add_thread_silent, add_thread_with_info, add_thread): Add
3717 process_stratum_target parameter. Use it for thread and inferior
3718 searches.
3719 (is_current_thread): New.
3720 (thread_info::deletable): Use it.
3721 (find_thread_ptid, thread_count, in_thread_list)
3722 (thread_change_ptid, set_resumed, set_running): New
3723 process_stratum_target parameter. Pass it down.
3724 (set_executing): New process_stratum_target parameter. Pass it
3725 down. Adjust reference to 'threads_executing'.
3726 (threads_are_executing): New process_stratum_target parameter.
3727 Adjust reference to 'threads_executing'.
3728 (set_stop_requested, finish_thread_state): New
3729 process_stratum_target parameter. Pass it down.
3730 (switch_to_thread): Also match inferior.
3731 (switch_to_thread): New process_stratum_target parameter. Pass it
3732 down.
3733 (update_threads_executing): Reimplement.
3734 * top.c (quit_force): Pop targets from all inferior.
3735 (gdb_init): Don't call initialize_targets.
3736 * windows-nat.c (windows_nat_target) <get_windows_debug_event>:
3737 Declare.
3738 (windows_add_thread, windows_delete_thread): Adjust.
3739 (get_windows_debug_event): Rename to ...
3740 (windows_nat_target::get_windows_debug_event): ... this. Adjust.
3741 * tracefile-tfile.c (tfile_target_open): Pass down target.
3742 * gdbsupport/common-gdbthread.h (struct process_stratum_target):
3743 Forward declare.
3744 (switch_to_thread): Add process_stratum_target parameter.
3745 * mi/mi-interp.c (mi_on_resume_1): Add process_stratum_target
3746 parameter. Use it.
3747 (mi_on_resume): Pass target down.
3748 * nat/fork-inferior.c (startup_inferior): Add
3749 process_stratum_target parameter. Pass it down.
3750 * nat/fork-inferior.h (startup_inferior): Add
3751 process_stratum_target parameter.
3752 * python/py-threadevent.c (py_get_event_thread): Pass target down.
3753
3754 2020-01-10 Pedro Alves <palves@redhat.com>
3755
3756 * remote.c (remote_target::start_remote): Don't set inferior_ptid
3757 directly. Instead find the first thread in the thread list and
3758 use switch_to_thread.
3759
3760 2020-01-10 Pedro Alves <palves@redhat.com>
3761
3762 * remote.c (remote_target::remote_add_inferior): Don't bind a
3763 process to the current inferior if the current inferior is already
3764 bound to a process.
3765
3766 2020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3767 Pedro Alves <palves@redhat.com>
3768
3769 * remote.c (remote_target::remote_parse_stop_reply) <W/X packets>:
3770 If no process is specified, return null_ptid instead of
3771 inferior_ptid.
3772 (remote_target::wait_as): Handle TARGET_WAITKIND_EXITED /
3773 TARGET_WAITKIND_SIGNALLED with no pid.
3774
3775 2020-01-10 Pedro Alves <palves@redhat.com>
3776
3777 * remote.c (first_remote_resumed_thread): New.
3778 (remote_target::wait_as): Use it as default event_ptid instead of
3779 inferior_ptid.
3780
3781 2020-01-10 Pedro Alves <palves@redhat.com>
3782
3783 * infrun.c (handle_no_resumed): Use all_non_exited_inferiors.
3784
3785 2020-01-10 Pedro Alves <palves@redhat.com>
3786
3787 * tracefile-tfile.c (tfile_target::close): Assert that trace_fd is
3788 not -1.
3789
3790 2020-01-10 Pedro Alves <palves@redhat.com>
3791
3792 * break-catch-sig.c (signal_catchpoint_print_it): Don't pass a
3793 ptid to get_last_target_status.
3794 * break-catch-syscall.c (print_it_catch_syscall): Don't pass a
3795 ptid to get_last_target_status.
3796 * infcmd.c (continue_command): Don't pass a target_waitstatus to
3797 get_last_target_status.
3798 (info_program_command): Don't pass a target_waitstatus to
3799 get_last_target_status.
3800 * infrun.c (init_wait_for_inferior): Use
3801 nullify_last_target_wait_ptid.
3802 (get_last_target_status): Handle nullptr arguments.
3803 (nullify_last_target_wait_ptid): Clear target_last_waitstatus.
3804 (print_stop_event): Don't pass a ptid to get_last_target_status.
3805 (normal_stop): Don't pass a ptid to get_last_target_status.
3806 * infrun.h (get_last_target_status, set_last_target_status): Move
3807 comments here and update.
3808 (nullify_last_target_wait_ptid): Declare.
3809 * linux-fork.c (fork_load_infrun_state): Remove local extern
3810 declaration of nullify_last_target_wait_ptid.
3811 * linux-nat.c (get_detach_signal): Don't pass a target_waitstatus
3812 to get_last_target_status.
3813
3814 2020-01-10 Pedro Alves <palves@redhat.com>
3815
3816 * gdbthread.h (scoped_restore_current_thread)
3817 <dont_restore, restore, m_dont_restore>: Declare.
3818 * thread.c (thread_alive): Add assertion. Return bool.
3819 (switch_to_thread_if_alive): New.
3820 (prune_threads): Switch inferior/thread.
3821 (print_thread_info_1): Switch thread before calling target methods.
3822 (scoped_restore_current_thread::restore): New, factored out from
3823 ...
3824 (scoped_restore_current_thread::~scoped_restore_current_thread):
3825 ... this.
3826 (scoped_restore_current_thread::scoped_restore_current_thread):
3827 Add assertion.
3828 (thread_apply_all_command, thread_select): Use
3829 switch_to_thread_if_alive.
3830 * infrun.c (proceed, restart_threads, handle_signal_stop)
3831 (switch_back_to_stepped_thread): Switch current thread before
3832 calling target methods.
3833
3834 2020-01-10 Pedro Alves <palves@redhat.com>
3835
3836 * inferior.c (switch_to_inferior_no_thread): New function,
3837 factored out from ...
3838 (inferior_command): ... here.
3839 * inferior.h (switch_to_inferior_no_thread): Declare.
3840 * mi/mi-main.c (run_one_inferior): Use
3841 switch_to_inferior_no_thread.
3842
3843 2020-01-10 Pedro Alves <palves@redhat.com>
3844
3845 * infcmd.c (kill_command): Remove dead code.
3846
3847 2020-01-10 Pedro Alves <palves@redhat.com>
3848
3849 * remote.c (remote_target::mourn_inferior): No longer check
3850 whether the target is running.
3851
3852 2020-01-10 Pedro Alves <palves@redhat.com>
3853
3854 * corelow.c (core_target::has_execution): Change parameter type to
3855 inferior pointer.
3856 * inferior.c (number_of_live_inferiors): Use
3857 inferior::has_execution instead of target_has_execution_1.
3858 * inferior.h (inferior::has_execution): New.
3859 * linux-thread-db.c (thread_db_target::update_thread_list): Use
3860 inferior::has_execution instead of target_has_execution_1.
3861 * process-stratum-target.c
3862 (process_stratum_target::has_execution): Change parameter type to
3863 inferior pointer. Check the inferior's PID instead of
3864 inferior_ptid.
3865 * process-stratum-target.h
3866 (process_stratum_target::has_execution): Change parameter type to
3867 inferior pointer.
3868 * record-full.c (record_full_core_target::has_execution): Change
3869 parameter type to inferior pointer.
3870 * target.c (target_has_execution_1): Change parameter type to
3871 inferior pointer.
3872 (target_has_execution_current): Adjust.
3873 * target.h (target_ops::has_execution): Change parameter type to
3874 inferior pointer.
3875 (target_has_execution_1): Change parameter type to inferior
3876 pointer. Change return type to bool.
3877 * tracefile.h (tracefile_target::has_execution): Change parameter
3878 type to inferior pointer.
3879
3880 2020-01-10 Pedro Alves <palves@redhat.com>
3881
3882 * exceptions.c (print_flush): Remove current_top_target() check.
3883
3884 2020-01-10 Pedro Alves <palves@redhat.com>
3885
3886 * remote.c (show_remote_exec_file): Show the current inferior's
3887 exec-file instead of the command variable's value.
3888
3889 2020-01-10 Pedro Alves <palves@redhat.com>
3890
3891 * record-full.c (record_full_resume_ptid): New global.
3892 (record_full_target::resume): Set it.
3893 (record_full_wait_1): Use record_full_resume_ptid instead of
3894 inferior_ptid.
3895
3896 2020-01-10 Pedro Alves <palves@redhat.com>
3897
3898 * gdbthread.h (scoped_restore_current_thread)
3899 <dont_restore, restore, m_dont_restore>: Declare.
3900 * thread.c (thread_alive): Add assertion. Return bool.
3901 (switch_to_thread_if_alive): New.
3902 (prune_threads): Switch inferior/thread.
3903 (print_thread_info_1): Switch thread before calling target methods.
3904 (scoped_restore_current_thread::restore): New, factored out from
3905 ...
3906 (scoped_restore_current_thread::~scoped_restore_current_thread):
3907 ... this.
3908 (scoped_restore_current_thread::scoped_restore_current_thread):
3909 Add assertion.
3910 (thread_apply_all_command, thread_select): Use
3911 switch_to_thread_if_alive.
3912
3913 2020-01-10 George Barrett <bob@bob131.so>
3914
3915 * stap-probe.c (stap_modify_semaphore): Don't check for null
3916 semaphores.
3917 (stap_probe::set_semaphore, stap_probe::clear_semaphore): Check
3918 for null semaphores.
3919
3920 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
3921
3922 * tui/tui-source.c (tui_source_window::do_scroll_vertical): Update
3923 all source windows, and maintain horizontal scroll status while
3924 doing so.
3925
3926 2020-01-09 Tom Tromey <tom@tromey.com>
3927
3928 PR tui/18932:
3929 * tui/tui-source.c (tui_source_window::do_scroll_vertical): Call
3930 update_source_window, not print_source_lines.
3931
3932 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
3933
3934 * tui/tui.c (tui_enable): Register tui hooks after calling
3935 tui_display_main.
3936
3937 2020-01-09 Christian Biesinger <cbiesinger@google.com>
3938
3939 * gdbsupport/common-defs.h: Don't define _FORTIFY_SOURCE on MinGW.
3940
3941 2020-01-08 Simon Marchi <simon.marchi@efficios.com>
3942
3943 * thread.c (print_thread_info_1): Fix indentation.
3944
3945 2020-01-09 Christian Biesinger <cbiesinger@google.com>
3946
3947 * symtab.c (general_symbol_info::compute_and_set_names): Move the
3948 unique_xmalloc_ptr outside the if to always free the demangled name.
3949
3950 2020-01-08 Tom Tromey <tromey@adacore.com>
3951
3952 * xcoffread.c (enter_line_range, read_xcoff_symtab)
3953 (process_xcoff_symbol, xcoff_symfile_offsets): Update.
3954 * symtab.h (MSYMBOL_VALUE_ADDRESS): Update.
3955 (struct section_offsets, ANOFFSET, SIZEOF_N_SECTION_OFFSETS):
3956 Remove.
3957 (section_offsets): New typedef.
3958 * symtab.c (fixup_section, get_msymbol_address): Update.
3959 * symmisc.c (dump_msymbols): Update.
3960 * symfile.h (relative_addr_info_to_section_offsets)
3961 (symfile_map_offsets_to_segments): Update.
3962 * symfile.c (build_section_addr_info_from_objfile)
3963 (init_objfile_sect_indices): Update.
3964 (struct place_section_arg): Change type of "offsets".
3965 (place_section): Update.
3966 (relative_addr_info_to_section_offsets): Change type of
3967 "section_offsets". Remove "num_sections" parameter.
3968 (default_symfile_offsets, syms_from_objfile_1)
3969 (set_objfile_default_section_offset): Update.
3970 (reread_symbols): No need to preserve section offsets by hand.
3971 (symfile_map_offsets_to_segments): Change type of "offsets".
3972 * stap-probe.c (relocate_address): Update.
3973 * stabsread.h (process_one_symbol): Update.
3974 * solib-target.c (struct lm_info_target) <offsets>: Change type.
3975 (solib_target_relocate_section_addresses): Update.
3976 * solib-svr4.c (enable_break, svr4_relocate_main_executable):
3977 Update.
3978 * solib-frv.c (frv_relocate_main_executable): Update.
3979 * solib-dsbt.c (dsbt_relocate_main_executable): Update.
3980 * solib-aix.c (solib_aix_get_section_offsets): Change return
3981 type.
3982 (solib_aix_solib_create_inferior_hook): Update.
3983 * remote.c (remote_target::get_offsets): Update.
3984 * psymtab.c (find_pc_sect_psymtab): Update.
3985 * psympriv.h (struct partial_symbol) <address, text_low,
3986 text_high>: Update.
3987 * objfiles.h (obj_section_offset): Update.
3988 (struct objfile) <section_offsets>: Change type.
3989 <num_sections>: Remove.
3990 (objfile_relocate): Update.
3991 * objfiles.c (entry_point_address_query): Update
3992 (relocate_one_symbol): Change type of "section_offsets".
3993 (objfile_relocate1, objfile_relocate1): Change type of
3994 "new_offsets".
3995 (objfile_rebase1): Update.
3996 * mipsread.c (mipscoff_symfile_read): Update.
3997 (read_alphacoff_dynamic_symtab): Remove "section_offsets"
3998 parameter.
3999 * mdebugread.c (parse_symbol): Change type of "section_offsets".
4000 (parse_external, psymtab_to_symtab_1): Update.
4001 * machoread.c (macho_symfile_offsets): Update.
4002 * ia64-tdep.c (ia64_find_unwind_table): Update.
4003 * hppa-tdep.c (read_unwind_info): Update.
4004 * hppa-bsd-tdep.c (hppabsd_find_global_pointer): Update.
4005 * dwarf2read.c (create_addrmap_from_index)
4006 (create_addrmap_from_aranges, dw2_find_pc_sect_compunit_symtab)
4007 (process_psymtab_comp_unit_reader, add_partial_symbol)
4008 (add_partial_subprogram, process_full_comp_unit)
4009 (read_file_scope, read_func_scope, read_lexical_block_scope)
4010 (read_call_site_scope, dwarf2_rnglists_process)
4011 (dwarf2_ranges_process, dwarf2_ranges_read)
4012 (dwarf_decode_lines_1, var_decode_location, new_symbol)
4013 (dwarf2_fetch_die_loc_sect_off, dwarf2_per_cu_text_offset):
4014 Update.
4015 * dwarf2-frame.c (execute_cfa_program, dwarf2_frame_find_fde):
4016 Update.
4017 * dtrace-probe.c (dtrace_probe::get_relocated_address): Update.
4018 * dbxread.c (read_dbx_symtab, read_ofile_symtab): Update.
4019 (process_one_symbol): Change type of "section_offsets".
4020 * ctfread.c (get_objfile_text_range): Update.
4021 * coffread.c (coff_symtab_read, enter_linenos)
4022 (process_coff_symbol): Update.
4023 * coff-pe-read.c (add_pe_forwarded_sym): Update.
4024 * amd64-windows-tdep.c (amd64_windows_find_unwind_info): Update.
4025
4026 2020-01-08 Tom Tromey <tromey@adacore.com>
4027
4028 * dwarf2read.c (parse_macro_definition): Use std::string.
4029 (parse_macro_definition): Likewise.
4030
4031 2020-01-08 Tom Tromey <tromey@adacore.com>
4032
4033 * dwarf2read.c (abbrev_table_read_table): Use std::vector.
4034 (ATTR_ALLOC_CHUNK): Remove.
4035
4036 2020-01-08 Tom Tromey <tromey@adacore.com>
4037
4038 * dwarf2read.c (fixup_go_packaging): Use unique_xmalloc_ptr.
4039
4040 2020-01-08 Tom Tromey <tromey@adacore.com>
4041
4042 * dwarf2read.c (add_partial_symbol): Use unique_xmalloc_ptr.
4043 (dwarf2_compute_name, open_dwo_file): Likewise.
4044 (process_enumeration_scope): Use std::vector.
4045 (guess_partial_die_structure_name): Use unique_xmalloc_ptr.
4046 (partial_die_info::fixup, dwarf2_start_subfile)
4047 (guess_full_die_structure_name, dwarf2_name): Likewise.
4048 (determine_prefix): Update.
4049 (guess_full_die_structure_name): Make return type const.
4050 (partial_die_full_name): Return unique_xmalloc_ptr.
4051 (DW_FIELD_ALLOC_CHUNK): Remove.
4052
4053 2020-01-07 Tom Tromey <tromey@adacore.com>
4054
4055 PR build/24937:
4056 * stap-probe.c (class stap_static_probe_ops): Add constructor.
4057
4058 2020-01-02 Jon Turney <jon.turney@dronecode.org.uk>
4059
4060 * cli/cli-style.c: Set cli_styling to 'true' in the Cygwin build.
4061
4062 2020-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
4063
4064 * stack.c (print_frame_info): Move disassemble_next_line code
4065 inside source_print block.
4066
4067 2020-01-06 Eli Zaretskii <eliz@gnu.org>
4068
4069 * gdbsupport/gdb_wait.c: Include <signal.h> instead of
4070 gdb/signals.h, as we are now using native signal symbols.
4071
4072 2020-01-06 Shahab Vahedi <shahab@synopsys.com>
4073
4074 * tui/tui-disasm.c (tui_disasm_window::addr_is_displayed): Avoid
4075 overflow by an early check of content vs threshold.
4076 * tui/tui-source.c (tui_source_window::line_is_displayed):
4077 Likewise.
4078
4079 2020-01-06 Eli Zaretskii <eliz@gnu.org>
4080
4081 * NEWS: Mention the recent fix of $_exitsignal on MS-Windows.
4082
4083 2020-01-02 Jon Turney <jon.turney@dronecode.org.uk>
4084
4085 * coff-pe-read.c (read_pe_exported_syms): Don't try to read the
4086 export table if no section contains it's RVA.
4087
4088 2020-01-06 Eli Zaretskii <eliz@gnu.org>
4089
4090 * windows-tdep.c: Fix a typo in WINDOWS_SIGABRT.
4091
4092 2020-01-06 Hannes Domani <ssbssa@yahoo.de>
4093
4094 * source.c (print_source_lines_base): Set last_line_listed.
4095
4096 2020-01-06 Shahab Vahedi <shahab@synopsys.com>
4097
4098 * tui/tui-disasm.c: Remove trailing spaces.
4099
4100 2020-01-06 Eli Zaretskii <eliz@gnu.org>
4101 Pedro Alves <palves@redhat.com>
4102
4103 * Makefile.in (COMMON_SFILES): Add gdbsupport/gdb_wait.c.
4104 * windows-tdep.c: New enumeration of WINDOWS_SIG* signals.
4105 (windows_gdb_signal_to_target): New function, uses the above
4106 enumeration to convert GDB internal signal codes to equivalent
4107 Windows codes.
4108 (windows_init_abi): Call set_gdbarch_gdb_signal_to_target.
4109 * windows-nat.c: Include "gdb_wait.h".
4110 (get_windows_debug_event): Extract the fatal exception from the
4111 exit status and convert to the equivalent Posix signal number.
4112 * cli/cli-cmds.c (exit_status_set_internal_vars): Account for the
4113 possibility that WTERMSIG returns GDB_SIGNAL_UNKNOWN.
4114 * gdbsupport/gdb_wait.c: New file, implements
4115 windows_status_to_termsig.
4116 * gdbsupport/gdb_wait.h (WIFEXITED, WIFSIGNALED, WEXITSTATUS)
4117 (WTERMSIG) [__MINGW32__]: Separate definitions for MinGW.
4118
4119 2020-01-05 Andrew Burgess <andrew.burgess@embecosm.com>
4120
4121 * tui/tui-layout.c (tui_add_win_to_layout): Use tui_set_layout not
4122 show_layout.
4123
4124 2020-01-05 Luis Machado <luis.machado@linaro.org>
4125
4126 * aarch64-linux-nat.c
4127 (aarch64_linux_nat_target::thread_architecture): Use bfd_arch_aarch64
4128 and bfd_mach_aarch64.
4129
4130 2020-01-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4131
4132 * ui-file.c (stdio_file::can_emit_style_escape)
4133 (tee_file::can_emit_style_escape): Ensure style is used also on
4134 gdb_stderr when gdb_stderr is a tty supporting styling, similarly
4135 to gdb_stdout.
4136 * main.c (set_gdb_data_directory): Use file style to output the
4137 warning that the given pathname is not a directory.
4138 * top.c (show_history_filename, gdb_safe_append_history)
4139 (show_gdb_datadir): Use file style.
4140
4141 2020-01-03 Hannes Domani <ssbssa@yahoo.de>
4142
4143 * solib-target.c (struct lm_info_target):
4144 Change offsets to be a unique_xmalloc_ptr.
4145 (solib_target_relocate_section_addresses): Update.
4146
4147 2020-01-03 Hannes Domani <ssbssa@yahoo.de>
4148
4149 * windows-nat.c (windows_clear_solib): Free so_list linked list.
4150
4151 2020-01-03 Bernd Edlinger <bernd.edlinger@hotmail.de>
4152
4153 * MAINTAINERS (Write After Approval): Add myself.
4154
4155 2020-01-02 Luis Machado <luis.machado@linaro.org>
4156
4157 * proc-service.c (get_ps_regcache): Remove reference to obsolete
4158 Cell BE architecture.
4159 * target.h (struct target_ops) <thread_architecture>: Likewise.
4160
4161 2020-01-01 Hannes Domani <ssbssa@yahoo.de>
4162
4163 * Makefile.in: Use INSTALL_PROGRAM_ENV.
4164
4165 2020-01-01 Hannes Domani <ssbssa@yahoo.de>
4166
4167 * MAINTAINERS (Write After Approval): Add myself.
4168
4169 2020-01-01 Joel Brobecker <brobecker@adacore.com>
4170
4171 * gdbarch.sh: Update copyright year range of generated files.
4172
4173 2020-01-01 Joel Brobecker <brobecker@adacore.com>
4174
4175 Update copyright year range in all GDB files.
4176
4177 2020-01-01 Joel Brobecker <brobecker@adacore.com>
4178
4179 * copyright.py: Convert to Python 3.
4180
4181 2020-01-01 Joel Brobecker <brobecker@adacore.com>
4182
4183 * copyright.py: Adapt after move of gnulib directory from gdb
4184 directory to toplevel directory.
4185
4186 2020-01-01 Joel Brobecker <brobecker@adacore.com>
4187
4188 * copyright.py (main): Exit if run from the wrong directory.
4189
4190 2020-01-01 Joel Brobecker <brobecker@adacore.com>
4191
4192 * top.c (print_gdb_version): Change copyright year to 2020.
4193
4194 2020-01-01 Joel Brobecker <brobecker@adacore.com>
4195
4196 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2019.
4197
4198 For older changes see ChangeLog-2019.
4199 \f
4200 Local Variables:
4201 mode: change-log
4202 left-margin: 8
4203 fill-column: 74
4204 version-control: never
4205 coding: utf-8
4206 End:
This page took 0.111473 seconds and 3 git commands to generate.