]> Git Repo - binutils.git/blob - gdb/ChangeLog
63b8095d99366ef50954f9a2d2432770ab3c9bc1
[binutils.git] / gdb / ChangeLog
1 2019-03-08  Simon Marchi  <[email protected]>
2
3         * gdbtypes.c (rank_one_type): Remove unnecessary cases from switch.
4
5 2019-03-08  Simon Marchi  <[email protected]>
6
7         * gdbtypes.c (rank_one_type_parm_set): New function extracted
8         from...
9         (rank_one_type): ... this.
10
11 2019-03-08  Simon Marchi  <[email protected]>
12
13         * gdbtypes.c (rank_one_type_parm_struct): New function extracted
14         from...
15         (rank_one_type): ... this.
16
17 2019-03-08  Simon Marchi  <[email protected]>
18
19         * gdbtypes.c (rank_one_type_parm_complex): New function extracted
20         from...
21         (rank_one_type): ... this.
22
23 2019-03-08  Simon Marchi  <[email protected]>
24
25         * gdbtypes.c (rank_one_type_parm_float): New function extracted
26         from...
27         (rank_one_type): ... this.
28
29 2019-03-08  Simon Marchi  <[email protected]>
30
31         * gdbtypes.c (rank_one_type_parm_bool): New function extracted
32         from...
33         (rank_one_type): ... this.
34
35 2019-03-08  Simon Marchi  <[email protected]>
36
37         * gdbtypes.c (rank_one_type_parm_range): New function extracted
38         from...
39         (rank_one_type): ... this.
40
41 2019-03-08  Simon Marchi  <[email protected]>
42
43         * gdbtypes.c (rank_one_type_parm_char): New function extracted
44         from...
45         (rank_one_type): ... this.
46
47 2019-03-08  Simon Marchi  <[email protected]>
48
49         * gdbtypes.c (rank_one_type_parm_enum): New function extracted
50         from...
51         (rank_one_type): ... this.
52
53 2019-03-08  Simon Marchi  <[email protected]>
54
55         * gdbtypes.c (rank_one_type_parm_int): New function extracted
56         from...
57         (rank_one_type): ... this.
58
59 2019-03-08  Simon Marchi  <[email protected]>
60
61         * gdbtypes.c (rank_one_type_parm_func): New function extracted
62         from...
63         (rank_one_type): ... this.
64
65 2019-03-08  Simon Marchi  <[email protected]>
66
67         * gdbtypes.c (rank_one_type_parm_array): New function extracted
68         from...
69         (rank_one_type): ... this.
70
71 2019-03-08  Simon Marchi  <[email protected]>
72
73         * gdbtypes.c (rank_one_type_parm_ptr): New function extracted
74         from...
75         (rank_one_type): ... this.
76
77 2019-02-27  Philippe Waroquiers  <[email protected]>
78
79         * inferior.c (initialize_inferiors): Ensure 'help set/show print
80         inferior-events' shows the example events.
81
82 2019-03-08  Eli Zaretskii  <[email protected]>
83
84         Support styling on native MS-Windows console
85
86         PR/24315
87         * utils.c (can_emit_style_escape) [_WIN32]: Don't disable styling
88         on MS-Windows if $TERM is not defined.
89
90         * cli/cli-style.c: Set cli_styling to 1 in the MinGW build.
91
92         * posix-hdep.c (gdb_console_fputs):
93         * mingw-hdep.c (rgb_to_16colors, gdb_console_fputs): New
94         functions.
95         * ui-file.h (gdb_console_fputs): Add prototype.
96
97         * ui-file.c (stdio_file::puts): Call gdb_console_fputs, and fall
98         back to fputs only if the former returns zero.
99
100 2019-03-07  Tom Tromey  <[email protected]>
101
102         * symmisc.c (print_symbol_bcache_statistics): Update.
103         (print_objfile_statistics): Update.
104         * symfile.c (allocate_symtab): Update.
105         * stabsread.c: Don't include bcache.h.
106         * psymtab.h (struct psymbol_bcache): Don't declare.
107         (class psymtab_storage) <psymbol_cache>: Now a bcache.
108         (psymbol_bcache_init, psymbol_bcache_free)
109         (psymbol_bcache_get_bcache): Don't declare.
110         * psymtab.c (struct psymbol_bcache): Remove.
111         (psymtab_storage::psymtab_storage): Update.
112         (psymtab_storage::~psymtab_storage): Update.
113         (psymbol_bcache_init, psymbol_bcache_free)
114         (psymbol_bcache_get_bcache, psymbol_bcache_full): Remove.
115         (add_psymbol_to_bcache): Update.
116         (allocate_psymtab): Update.
117         * objfiles.h (struct objfile_per_bfd_storage) <filename_cache,
118         macro_cache>: No longer pointers.
119         * objfiles.c (get_objfile_bfd_data): Don't call bcache_xmalloc.
120         (free_objfile_per_bfd_storage): Don't call bcache_xfree.
121         * macrotab.c (macro_bcache): Update.
122         * macroexp.c: Don't include bcache.h.
123         * gdbtypes.c (check_types_worklist): Update.
124         (types_deeply_equal): Remove TRY/CATCH.  Update.
125         * elfread.c (elf_symtab_read): Update.
126         * dwarf2read.c: Don't include bcache.h.
127         * buildsym.c (buildsym_compunit::get_macro_table): Update.
128         * bcache.h (bcache, bcache_full, bcache_xffree, bcache_xmalloc)
129         (print_bcache_statistics, bcache_memory_used): Don't declare.
130         (struct bcache): Move from bcache.c.  Add constructor, destructor,
131         methods.  Rename all data members.
132         * bcache.c (struct bcache): Move to bcache.h.
133         (bcache::expand_hash_table): Rename from expand_hash_table.
134         (bcache): Remove.
135         (bcache::insert): Rename from bcache_full.
136         (bcache::compare): Rename from bcache_compare.
137         (bcache_xmalloc): Remove.
138         (bcache::~bcache): Rename from bcache_xfree.
139         (bcache::print_statistics): Rename from print_bcache_statistics.
140         (bcache::memory_used): Rename from bcache_memory_used.
141
142 2019-03-07  Pedro Alves  <[email protected]>
143
144         * infrun.c (normal_stop): Also check for
145         TARGET_WAITKIND_NO_RESUMED before referring to inferior_thread().
146
147 2019-03-07  Andrew Burgess  <[email protected]>
148
149         * f-lang.c (value_from_host_double): Moved to...
150         * value.c (value_from_host_double): ...here.
151         * value.h (value_from_host_double): Declare.
152         * guile/scm-math.c (vlscm_convert_typed_number): Use
153         value_from_host_double.
154         (vlscm_convert_number): Likewise.
155         * guile/scm-value.c (gdbscm_value_to_real): Likewise.
156         * python/py-value.c (convert_value_from_python): Likewise.
157
158 2019-03-06  Tom Tromey  <[email protected]>
159
160         * gcore.c (write_gcore_file): Use SCOPE_EXIT.
161
162 2019-03-06  Tom Tromey  <[email protected]>
163
164         * utils.h (free_current_contents): Don't declare.
165         * utils.c (free_current_contents): Remove.
166
167 2019-03-06  Tom Tromey  <[email protected]>
168
169         * top.c (quit_force): Update.
170         * main.c (captured_command_loop): Update.
171         * common/new-op.c (operator new): Update.
172         * common/common-exceptions.c (struct catcher)
173         <save_cleanup_chain>: Remove member.
174         (exceptions_state_mc_init): Update.
175         (exception_try_scope_entry): Return nullptr.
176         (exception_try_scope_exit, exception_rethrow)
177         (throw_exception_sjlj, throw_exception_cxx): Update.
178         * common/cleanups.h (make_cleanup, make_cleanup_dtor)
179         (all_cleanups, do_cleanups, discard_cleanups)
180         (discard_final_cleanups, save_cleanups, save_final_cleanups)
181         (restore_cleanups, restore_final_cleanups): Don't declare.
182         (do_final_cleanups): Remove parameter.
183         * common/cleanups.c (cleanup_chain, make_cleanup)
184         (make_cleanup_dtor, all_cleanups, do_cleanups)
185         (discard_my_cleanups, discard_cleanups)
186         (discard_final_cleanups, save_my_cleanups, save_cleanups)
187         (save_final_cleanups, restore_my_cleanups, restore_cleanups)
188         (null_cleanup): Remove.
189         (do_final_cleanups): Remove parameter.
190
191 2019-03-06  Tom Tromey  <[email protected]>
192
193         * remote.c (remote_target::remote_parse_stop_reply): Use
194         unique_xmalloc_ptr.
195
196 2019-03-06  Tom Tromey  <[email protected]>
197
198         * stabsread.c (struct stabs_field_info): Rename from field_info.
199         <list, fnlist>: Add initializers.
200         <obstack>: New member.
201         (read_member_functions, read_struct_fields, read_baseclasses):
202         Allocate on obstack.  Don't use cleanups.
203         (read_one_struct_field, read_member_functions, read_struct_fields)
204         (read_baseclasses, read_tilde_fields, attach_fn_fields_to_type)
205         (attach_fields_to_type, read_cpp_abbrev, read_member_functions)
206         (read_struct_type): Update.
207
208 2019-03-06  Tom Tromey  <[email protected]>
209
210         * nat/linux-namespaces.c (linux_mntns_access_fs): Use SCOPE_EXIT.
211         * common/filestuff.h (make_cleanup_close): Don't declare.
212         * common/filestuff.c (do_close_cleanup, make_cleanup_close):
213         Remove.
214
215 2019-03-06  Tom Tromey  <[email protected]>
216
217         * solib-aix.c: Use make_scope_exit.
218
219 2019-03-06  Tom Tromey  <[email protected]>
220
221         * solib-svr4.c (svr4_parse_libraries, svr4_current_sos_direct):
222         Use make_scope_exit.
223
224 2019-03-06  Tom Tromey  <[email protected]>
225
226         * solib-svr4.c (disable_probes_interface): Remove parameter.
227         (svr4_handle_solib_event): Use make_scope_exit.
228
229 2019-03-06  Tom Tromey  <[email protected]>
230
231         * remote.c (struct stop_reply_deleter): Remove.
232         (stop_reply_up): Update.
233         (struct stop_reply): Derive from notif_event.  Don't typedef.
234         <regcache>: Now a std::vector.
235         (stop_reply_xfree): Remove.
236         (stop_reply::~stop_reply): Rename from stop_reply_dtr.
237         (remote_notif_stop_alloc_reply): Return a unique_ptr.  Use new.
238         (remote_target::discard_pending_stop_replies): Use delete.
239         (remote_target::remote_parse_stop_reply): Update.
240         (remote_target::process_stop_reply): Update.
241         * remote-notif.h (struct notif_event): Add virtual destructor.
242         Remove "dtr" member.
243         (struct notif_client) <alloc_event>: Return a unique_ptr.
244         (notif_event_xfree): Don't declare.
245         (notif_event_up): New typedef.
246         * remote-notif.c (remote_notif_ack, remote_notif_parse): Update.
247         (notif_event_xfree, do_notif_event_xfree): Remove.
248         (remote_notif_state_xfree): Update.
249
250 2019-03-06  Tom Tromey  <[email protected]>
251
252         * infrun.c (displaced_step_clear_cleanup): Now a
253         forward_scope_exit type.
254         (displaced_step_prepare_throw): Update.
255         (displaced_step_fixup): Update.
256
257 2019-03-06  Tom Tromey  <[email protected]>
258
259         * inferior.h (class inferior): Update comment.
260         * gdbthread.h (class thread_info): Update comment.
261
262 2019-03-06  Joel Brobecker  <[email protected]>
263             Tom Tromey  <[email protected]>
264
265         * stabsread.h (struct stab_section_list): Remove.
266         (coffstab_build_psymtabs): Update.
267         * dbxread.c (symbuf_sections): Now a std::vector.
268         (sect_idx): New global.
269         (fill_symbuf): Update.
270         (coffstab_build_psymtabs): Change type of stabsects parameter.
271         Update.
272         * coffread.c (struct coff_symfile_info) <stabsects>: Now a
273         std::vector.
274         (linetab, linetab_offset, linetab_size, stringtab): Move earlier.
275         (coff_locate_sections): Update.
276         (coff_symfile_read): Remove cleanups.  Update.
277         (init_stringtab): Add storage parameter.
278         (free_stringtab, free_stringtab_cleanup): Remove.
279         (init_lineno): Add storage parameter.
280         (free_linetab, free_linetab_cleanup): Remove.
281
282 2019-03-06  Pedro Alves  <[email protected]>
283
284         * linux-fork.c (fork_info::clobber_regs): Delete.
285         (fork_load_infrun_state): Remove reference to 'clobber_regs'.
286         (fork_save_infrun_state): Remove 'clobber_regs' parameter.  Update
287         comment.  Adjust.
288         (scoped_switch_fork_info::scoped_switch_fork_info)
289         (checkpoint_command, linux_fork_context): Adjust
290         fork_save_infrun_state calls.
291
292 2019-03-06  Pedro Alves  <[email protected]>
293
294         * linux-fork.c (inf_has_multiple_thread_cb): Delete.
295         (inf_has_multiple_threads): Return 'bool' and rewrite using
296         inferior_info::threads().
297
298 2019-03-06  Pedro Alves  <[email protected]>
299
300         * linux-fork.c: Include <list>.
301         (fork_list): Now a std::list instance.
302         (fork_info): Add ctor, dtor, and in-class initialize all fields.
303         (forks_exist_p, find_last_fork): Adjust.
304         (new_fork): Delete.
305         (one_fork_p): New.
306         (add_fork): Adjust.
307         (free_fork): Delete, folded into fork_info::~fork_info().
308         (delete_fork, find_fork_ptid, find_fork_id, find_fork_pid):
309         Adjust.
310         (init_fork_list): Delete.
311         (linux_fork_killall, linux_fork_mourn_inferior)
312         (linux_fork_detach, info_checkpoints_command): Adjust.
313         (_initialize_linux_fork): No longer call init_fork_list.
314
315 2019-03-06  Pedro Alves  <[email protected]>
316
317         * linux-fork.c (new_fork): New, split out of ...
318         (add_fork): ... this.  Return void.  Move "first fork" special
319         case from here, to ...
320         (checkpoint_command): ... here.
321         * linux-linux.h (add_fork): Return void.
322
323 2019-03-06  Andrew Burgess  <[email protected]>
324
325         * f-exp.y (direct_abs_decl): Handle TYPE*SIZE type names.
326
327 2019-03-06  Andrew Burgess  <[email protected]>
328             Chris January  <[email protected]>
329             David Lecomber  <[email protected]>
330
331         * f-exp.y: New token, UNOP_INTRINSIC.
332         (exp): New pattern using UNOP_INTRINSIC token.
333         (f77_keywords): Add 'abs' keyword.
334         * f-lang.c: Add 'target-float.h' and 'math.h' includes.
335         (value_from_host_double): New function.
336         (evaluate_subexp_f): Support UNOP_ABS.
337
338 2019-03-06  Andrew Burgess  <[email protected]>
339
340         * f-lang.c (build_fortran_types): Use TYPE_CODE_CHAR for character
341         types.
342
343 2019-03-06  Andrew Burgess  <[email protected]>
344
345         * f-exp.y (convert_to_kind_type): Handle integer (kind=8).
346         * f-lang.c (build_fortran_types): Setup builtin_integer_s8.
347         * f-lang.h (struct builtin_f_type): Add builtin_integer_s8 field.
348
349 2019-03-06  Andrew Burgess  <[email protected]>
350
351         * f-exp.y (convert_to_kind_type): Handle more type kinds.
352
353 2019-03-06  Andrew Burgess  <[email protected]>
354             Chris January  <[email protected]>
355
356         * expprint.c (dump_subexp_body_standard): Support UNOP_KIND.
357         * f-exp.y: Define 'KIND' token.
358         (exp): New pattern for KIND expressions.
359         (ptype): Handle types with a kind extension.
360         (direct_abs_decl): Extend to spot kind extensions.
361         (f77_keywords): Add 'kind' to the list.
362         (push_kind_type): New function.
363         (convert_to_kind_type): New function.
364         * f-lang.c (evaluate_subexp_f): Support UNOP_KIND.
365         * parse.c (operator_length_standard): Likewise.
366         * parser-defs.h (enum type_pieces): Add tp_kind.
367         * std-operator.def: Add UNOP_KIND.
368
369 2019-03-06  Andrew Burgess  <[email protected]>
370
371         * f-exp.y (f_parse): Set yydebug.
372
373 2019-03-06  Andrew Burgess  <[email protected]>
374
375         * f-lang.c (evaluate_subexp_f): New function.
376         (exp_descriptor_f): New global.
377         (f_language_defn): Use exp_descriptor_f instead of
378         exp_descriptor_standard.
379
380 2019-03-06  Andrew Burgess  <[email protected]>
381
382         * f-exp.y (struct token): Add comments.
383         (dot_ops): Remove uppercase versions and the end marker.
384         (f77_keywords): Likewise.
385         (yylex): Use ARRAY_SIZE to iterate over dot_ops, assert all
386         entries in the dot_ops array are case insensitive, and use
387         strncasecmp to compare strings.  Also some whitespace cleanup in
388         this area.  Similar for the f77_keywords array, except entries in
389         this list might be case sensitive.
390
391 2019-03-06  Andrew Burgess  <[email protected]>
392
393         * f-exp.y (struct f77_boolean_val): Add comments.
394         (boolean_values): Remove uppercase versions, and end marker.
395         (yylex): Use ARRAY_SIZE for iterating over boolean_values array,
396         and use strncasecmp to achieve case insensitivity.  Additionally,
397         perform whitespace cleanup around this code.
398
399 2019-03-06  Tom Tromey  <[email protected]>
400
401         * remote-sim.c (gdbsim_target_open): Use result of
402         gdb_argv::release.
403
404 2019-03-06  Richard Bunt  <[email protected]>
405         Dirk Schubert  <[email protected]>
406         Chris January  <[email protected]>
407
408         * eval.c (evaluate_subexp_standard): Call Fortran argument
409         wrapping logic.
410         * f-lang.c (struct value): A value which can be passed into a
411         Fortran function call.
412         (fortran_argument_convert): Wrap Fortran arguments in a pointer
413         where appropriate.
414         (struct type): Value ready for a Fortran function call.
415         (fortran_preserve_arg_pointer): Undo check_typedef, the pointer
416         is needed.
417         * f-lang.h (fortran_argument_convert): Declaration.
418         (fortran_preserve_arg_pointer): Declaration.
419         * infcall.c (value_arg_coerce): Call Fortran argument logic.
420
421 2019-03-05  Tom Tromey  <[email protected]>
422
423         * python/py-prettyprint.c (print_string_repr): Remove #if.
424         * python/py-utils.c (unicode_to_encoded_string): Remove #if.
425
426 2019-03-05  Tom Tromey  <[email protected]>
427
428         * target.c (the_dummy_target): Move later.  Change type to
429         "dummy_target".
430         (initialize_targets): Don't initialize the_dummy_target.
431
432 2019-03-05  Tom Tromey  <[email protected]>
433
434         * gdb_bfd.c (gdb_bfd_fdopenr): Remove.
435         * gdb_bfd.h (gdb_bfd_fdopenr): Don't declare.
436
437 2019-03-05  Tom Tromey  <[email protected]>
438
439         * windows-nat.c (windows_nat_target::attach)
440         (windows_nat_target::detach): Don't call gdb_flush.
441         * valprint.c (generic_val_print, val_print, val_print_string):
442         Don't call gdb_flush.
443         * utils.c (defaulted_query): Don't call gdb_flush.
444         * typeprint.c (print_type_scalar): Don't call gdb_flush.
445         * target.c (target_announce_detach): Don't call gdb_flush.
446         * sparc64-tdep.c (adi_print_versions): Don't call gdb_flush.
447         * remote.c (extended_remote_target::attach): Don't call
448         gdb_flush.
449         * procfs.c (procfs_target::detach): Don't call gdb_flush.
450         * printcmd.c (do_examine): Don't call gdb_flush.
451         (info_display_command): Don't call gdb_flush.
452         * p-valprint.c (pascal_val_print): Don't call gdb_flush.
453         * nto-procfs.c (nto_procfs_target::attach): Don't call gdb_flush.
454         * memattr.c (info_mem_command): Don't call gdb_flush.
455         * mdebugread.c (mdebug_build_psymtabs): Don't call gdb_flush.
456         * m2-valprint.c (m2_val_print): Don't call gdb_flush.
457         * infrun.c (follow_exec, handle_command): Don't call gdb_flush.
458         * inf-ptrace.c (inf_ptrace_target::attach): Don't call gdb_flush.
459         * hppa-tdep.c (unwind_command): Don't call gdb_flush.
460         * gnu-nat.c (gnu_nat_target::attach): Don't call gdb_flush.
461         (gnu_nat_target::detach): Don't call gdb_flush.
462         * f-valprint.c (f_val_print): Don't call gdb_flush.
463         * darwin-nat.c (darwin_nat_target::attach): Don't call gdb_flush.
464         * cli/cli-script.c (read_command_lines): Don't call gdb_flush.
465         * cli/cli-cmds.c (shell_escape, print_disassembly): Don't call
466         gdb_flush.
467         * c-valprint.c (c_val_print): Don't call gdb_flush.
468         * ada-valprint.c (ada_print_scalar): Don't call gdb_flush.
469
470 2019-03-05  Tom Tromey  <[email protected]>
471
472         * varobj.c (update_dynamic_varobj_children): Update.
473         (install_default_visualizer): Use reset, not release.
474         * value.c (set_internalvar): Update.
475         * dwarf2loc.c (value_of_dwarf_reg_entry): Update.
476         * common/gdb_ref_ptr.h (class ref_ptr) <release>: Add
477         ATTRIBUTE_UNUSED_RESULT.
478
479 2019-03-05  Tom Tromey  <[email protected]>
480
481         * remote.c (class scoped_remote_fd) <release>: Add
482         ATTRIBUTE_UNUSED_RESULT.
483
484 2019-03-05  Tom Tromey  <[email protected]>
485
486         * macroexp.c (struct macro_buffer) <release>: Add
487         ATTRIBUTE_UNUSED_RESULT.
488
489 2019-03-05  Tom Tromey  <[email protected]>
490
491         * nat/linux-btrace.c (linux_enable_bts, linux_enable_pt): Update.
492         * common/scoped_mmap.h (class scoped_mmap) <release>: Add
493         ATTRIBUTE_UNUSED_RESULT.
494
495 2019-03-05  Tom Tromey  <[email protected]>
496
497         * common/scoped_fd.h (class scoped_fd) <release>: Add
498         ATTRIBUTE_UNUSED_RESULT.
499
500 2019-03-05  Tom Tromey  <[email protected]>
501
502         * parser-defs.h (struct parser_state) <release>: Add
503         ATTRIBUTE_UNUSED_RESULT.
504
505 2019-03-05  Tom Tromey  <[email protected]>
506
507         * utils.h (class gdb_argv) <release>: Add
508         ATTRIBUTE_UNUSED_RESULT.
509         * common/common-defs.h (ATTRIBUTE_UNUSED_RESULT): Define.
510
511 2019-03-02  Eli Zaretskii  <[email protected]>
512
513         * xml-syscall.c (xml_list_syscalls_by_group): Drop 'struct' from
514         for-loop range, to avoid compiler warnings.
515
516         * tui/tui.c (tui_enable) [__MINGW32__]: Don't declare 'cap', to
517         avoid compiler warnings about unused variables.
518
519         * NEWS: Mention end of support for native debugging on MS-Windows
520         before XP.
521
522         PR gdb/24292
523         * common/netstuff.c:
524         * gdbserver/gdbreplay.c
525         * gdbserver/remote-utils.c:
526         * ser-tcp.c:
527         * unittests/parse-connection-spec-selftests.c [USE_WIN32API]:
528         Include ws2tcpip.h instead of wsiapi.h and winsock2.h.  Redefine
529         _WIN32_WINNT to 0x0501 if defined to a smaller value, as
530         'getaddrinfo' and 'freeaddrinfo' were not available before
531         Windows XP, and mingw.org's MinGW headers by default define
532         _WIN32_WINNT to 0x500.
533
534 2019-03-01  Gary Benson <[email protected]>
535
536         * coffread.c (coff_start_symtab): Remove unnecessary xstrdup.
537
538 2019-02-28  Brian Vandenberg  <[email protected]>
539             Rainer Orth  <[email protected]>
540
541         PR gdb/8527
542         * procfs.c (proc_wait_for_stop): Wrap write of PCWSTOP in
543         set_sigint_trap, clear_sigint_trap.
544
545 2019-02-27  Philippe Waroquiers  <[email protected]>
546
547         * target.c (target_detach): Clear the regcache and the
548         frame cache.
549
550 2019-02-27  Pedro Alves  <[email protected]>
551
552         * utils.c (set_screen_size): When we cap the height/width sizes,
553         tweak the corresponding command variable to show "unlimited":
554
555 2019-02-27  Saagar Jha  <[email protected]>
556             Pedro Alves  <[email protected]>
557
558         * utils.c (set_screen_size): Reduce "infinite" rows and columns
559         before calling rl_set_screen_size.
560
561 2019-02-27  Tom Tromey  <[email protected]>
562
563         * configure.ac (HAVE_LIBPYTHON2_4, HAVE_LIBPYTHON2_5): Never
564         define.
565         * python/py-value.c: Remove Python 2.4 workaround.
566         * python/py-utils.c (gdb_pymodule_addobject): Remove Python 2.4
567         workaround.
568         * python/py-type.c (convert_field, gdbpy_initialize_types): Remove
569         Python 2.4 workaround.
570         * python/python-internal.h: Remove Python 2.4 comment.
571         (Py_ssize_t): Don't define.
572         (PyVarObject_HEAD_INIT, Py_TYPE): Don't define.
573         (gdb_Py_DECREF): Remove Python 2.4 workaround.
574         (gdb_PyObject_GetAttrString, PyObject_GetAttrString): Remove.
575         (gdb_PyObject_HasAttrString, PyObject_HasAttrString): Remove.
576         * python/python.c (do_start_initialization): Remove Python 2.4
577         workaround.
578         * python/py-prettyprint.c (class dummy_python_frame): Remove.
579         (print_children): Remove Python 2.4 workaround.
580         * python/py-inferior.c (buffer_procs): Remove Python 2.4
581         workaround.
582         (CHARBUFFERPROC_NAME): Remove.
583         * python/py-breakpoint.c (gdbpy_initialize_breakpoints): Remove
584         Python 2.4 workaround.
585
586 2019-02-27  Kevin Buettner  <[email protected]>
587
588         * NEWS: Note minimum Python version.
589
590 2019-02-27  Kevin Buettner  <[email protected]>
591
592         * python/py-inferior.c (infpy_write_memory): Remove non-IS_PY3K
593         code from these functions.  Remove corresponding ifdefs.  Use
594         Py_buffer_up instead of explicit calls to PyBuffer_Release.
595         Remove gotos and target of gotos.
596         (infpy_search_memory): Likewise.
597
598 2019-02-27  Andrew Burgess  <[email protected]>
599
600         * gdb/hppa-tdep.c (hppa_dummy_id): Delete.
601         (hppa_gdbarch_init): Don't register deleted functions with
602         gdbarch.
603
604 2019-02-27  Andrew Burgess  <[email protected]>
605
606         * gdb/h8300-tdep.c (h8300_unwind_pc): Delete.
607         (h8300_unwind_sp): Delete.
608         (h8300_dummy_id): Delete.
609         (h8300_gdbarch_init): Don't register deleted functions with
610         gdbarch.
611
612 2019-02-27  Andrew Burgess  <[email protected]>
613
614         * gdb/ft32-tdep.c (ft32_dummy_id): Delete.
615         (ft32_unwind_pc): Delete.
616         (ft32_unwind_sp): Delete.
617         (ft32_gdbarch_init): Don't register deleted functions with
618         gdbarch.
619
620 2019-02-27  Andrew Burgess  <[email protected]>
621
622         * gdb/frv-tdep.c (frv_dummy_id): Delete.
623         (frv_unwind_pc): Delete.
624         (frv_unwind_sp): Delete.
625         (frv_gdbarch_init): Don't register deleted functions with
626         gdbarch.
627
628 2019-02-27  Andrew Burgess  <[email protected]>
629
630         * gdb/riscv-tdep.c (riscv_dummy_id): Delete.
631         (riscv_unwind_pc): Delete.
632         (riscv_unwind_sp): Delete.
633         (riscv_gdbarch_init): Don't register deleted functions with
634         gdbarch.
635
636 2019-02-27  Andrew Burgess  <[email protected]>
637
638         * gdb/csky-tdep.c (csky_dummy_id): Delete.
639         (csky_unwind_pc): Delete.
640         (csky_unwind_sp): Delete.
641         (csky_gdbarch_init): Don't register deleted functions with
642         gdbarch.
643
644 2019-02-27  Andrew Burgess  <[email protected]>
645
646         * gdb/cris-tdep.c (cris_dummy_id): Delete.
647         (cris_unwind_pc): Delete.
648         (cris_unwind_sp): Delete.
649         (cris_gdbarch_init): Don't register deleted functions with
650         gdbarch.
651
652 2019-02-27  Andrew Burgess  <[email protected]>
653
654         * gdb/bfin-tdep.c (bfin_dummy_id): Delete.
655         (bfin_unwind_pc): Delete.
656         (bfin_gdbarch_init): Don't register deleted functions with gdbarch.
657
658 2019-02-27  Andrew Burgess  <[email protected]>
659
660         * gdb/arm-tdep.c (arm_dummy_id): Delete.
661         (arm_unwind_pc): Delete.
662         (arm_unwind_sp): Delete.
663         (arm_gdbarch_init): Don't register deleted functions with gdbarch.
664
665 2019-02-27  Andrew Burgess  <[email protected]>
666
667         * gdb/arc-tdep.c (arc_dummy_id): Delete.
668         (arc_unwind_pc): Delete.
669         (arc_unwind_sp): Delete.
670         (arc_gdbarch_init): Don't register deleted functions with gdbarch.
671
672 2019-02-27  Andrew Burgess  <[email protected]>
673
674         * gdb/alpha-tdep.c (alpha_dummy_id): Delete.
675         (alpha_unwind_pc): Delete.
676         (alpha_gdbarch_init): Don't register deleted functions with
677         gdbarch.
678
679 2019-02-27  Andrew Burgess  <[email protected]>
680
681         * gdb/aarch64-tdep.c (aarch64_dummy_id): Delete.
682         (aarch64_unwind_pc): Delete.
683         (aarch64_unwind_sp): Delete.
684         (aarch64_gdbarch_init): Don't register deleted functions with
685         gdbarch.
686
687 2019-02-27  Andrew Burgess  <[email protected]>
688
689         * gdbtypes.c (type_align): Don't consider static members when
690         computing structure alignment.
691
692 2019-02-27  Andrew Burgess  <[email protected]>
693
694         * arc-tdep.c (arc_type_align): Provide alignment for basic types,
695         return 0 for other types.
696         * arch-utils.c (default_type_align): Always return 0.
697         * gdbarch.h: Regenerate.
698         * gdbarch.sh (type_align): Extend comment.
699         * gdbtypes.c (type_align): Add additional comments, always call
700         gdbarch_type_align before applying the default rules.
701         * i386-tdep.c (i386_type_align): Return 0 as the default rule,
702         generic code will then apply a suitable default.
703         * nios2-tdep.c (nios2_type_align): Provide alignment for basic
704         types, return 0 for other types.
705
706 2019-02-27  Joel Brobecker  <[email protected]>
707
708         * NEWS: Create a new section for the next release branch.
709         Rename the section of the current branch, now that it has
710         been cut.
711
712 2019-02-27  Joel Brobecker  <[email protected]>
713
714         GDB 8.3 branch created (143420fb0d5ae54323ba9953f0818c194635228d):
715         * version.in: Bump version to 8.3.50.DATE-git.
716
717 2019-02-26  Simon Marchi  <[email protected]>
718
719         * aix-thread.c (ptid_cmp): Remove unused variable.
720         (get_signaled_thread): Likewise.
721         (store_regs_user_thread): Likewise.
722         (store_regs_kernel_thread): Likewise.
723         (fetch_regs_kernel_thread): Remove shadowed variable.
724
725 2019-02-26  Andrew Burgess  <[email protected]>
726
727         * features/riscv/32bit-cpu.xml: Add register numbers.
728         * features/riscv/32bit-fpu.c: Regenerate.
729         * features/riscv/32bit-fpu.xml: Add register numbers.
730         * features/riscv/64bit-cpu.xml: Add register numbers.
731         * features/riscv/64bit-fpu.c: Regenerate.
732         * features/riscv/64bit-fpu.xml: Add register numbers.
733
734 2019-02-26  Kevin Buettner  <[email protected]>
735
736         * NEWS: Mention two argument form of gdb.Value constructor.
737         * python/py-value.c (convert_buffer_and_type_to_value): New
738         function.
739         (valpy_new): Parse arguments via gdb_PyArg_ParseTupleAndKeywords.
740         Add support for handling an optional second argument.  Call
741         convert_buffer_and_type_to_value as appropriate.
742         * python/python-internal.h (Py_buffer_deleter): New struct.
743         (Py_buffer_up): New typedef.
744
745 2019-02-25  John Baldwin  <[email protected]>
746
747         * dwarf2read.c (dwarf2_get_dwz_file): Reset dwz_bfd to nullptr
748         instead of releasing ownership.
749
750 2019-02-25  Jordan Rupprecht  <[email protected]>
751
752         * dwarf2read.c (open_and_init_dwp_file): Call
753         elf_numsections instead of bfd_count_sections to initialize
754         dwp_file->num_sections.
755
756 2019-02-25  Tom Tromey  <[email protected]>
757
758         * solib-darwin.c (darwin_get_dyld_bfd): Don't release dyld_bfd.
759
760 2019-02-23  Sergio Durigan Junior  <[email protected]>
761
762         * gcore.in: Add '--readnever' option when invoking GDB.
763
764 2019-02-22  Simon Marchi  <[email protected]>
765
766         * MAINTAINERS: Update my email address.
767
768 2019-02-22  Simon Marchi  <[email protected]>
769
770         * build-id.c (build_id_to_debug_bfd_1): New function.
771         (build_id_to_debug_bfd): Look for separate debug file in
772         sysroot.
773
774 2019-02-22  Andrew Burgess  <[email protected]>
775
776         * gdbarch.sh: Update the copyright year range that is placed into
777         generated files.
778
779 2019-02-22  Keith Seitz  <[email protected]>
780
781         PR symtab/23853
782         * linespec.c (create_sals_line_offset): Search for the default
783         symtab's filename instead of its fullname.
784
785 2019-02-21  Alan Hayward  <[email protected]>
786
787         * NEWS: Update style defaults.
788
789 2019-02-21  Alan Hayward  <[email protected]>
790
791         * main.c (captured_main_1): Disable styling in batch mode.
792
793 2019-02-20  Tom Tromey  <[email protected]>
794
795         * symtab.c (symtab_symbol_info): Fix typos.
796
797 2019-02-20  Tom Tromey  <[email protected]>
798
799         * findcmd.c (_initialize_mem_search): Use upper case for
800         metasyntactic variables.
801
802 2019-02-20  Alan Hayward  <[email protected]>
803
804         * aarch64-tdep.c (aarch64_add_reggroups): New function.
805         (aarch64_gdbarch_init): Call aarch64_add_reggroups.
806
807 2019-02-19  Simon Marchi  <[email protected]>
808
809         * top.h (source_file_name): Change to std::string.
810         * top.c (source_file_name): Likewise.
811         (command_line_input): Adjust.
812         * cli/cli-script.c (script_from_file): Adjust.
813
814 2019-02-19  Tom Tromey  <[email protected]>
815
816         * ravenscar-thread.c
817         (ravenscar_thread_target::update_thread_list): Don't call
818         ada_build_task_list.
819         * ada-lang.h (ada_build_task_list): Don't declare.
820         * ada-tasks.c (struct ada_tasks_inferior_data)
821         <task_list_valid_p>: Now bool.
822         (read_known_tasks, ada_task_list_changed)
823         (ada_tasks_invalidate_inferior_data): Update.
824         (read_known_tasks_array): Return bool.
825         (read_known_tasks_list): Likewise.
826         (read_known_tasks): Return void.
827         (ada_build_task_list): Now static.
828
829 2019-02-18  Andrew Burgess  <[email protected]>
830
831         * gdbtypes.c (type_align): Allow alignment of TYPE_CODE_METHODPTR
832         and TYPE_CODE_MEMBERPTR to be overridden by the gdbarch.
833
834 2019-02-18  Philippe Waroquiers  <[email protected]>
835
836         * ada-task.c (_initialize_tasks): Use 'with_cleanup' register
837         variant for ada_tasks_pspace_data_handle and
838         ada_tasks_inferior_data_handle.
839         (ada_tasks_pspace_data_cleanup): New function.
840         (ada_tasks_inferior_data_cleanup): New function.
841
842 2019-02-17  Tom Tromey  <[email protected]>
843
844         * macrotab.h (macro_source_fullname): Return a std::string.
845         * macrotab.c (macro_include, check_for_redefinition)
846         (macro_undef, macro_lookup_definition, foreach_macro)
847         (foreach_macro_in_scope): Update.
848         (macro_source_fullname): Return a std::string.
849         * macrocmd.c (show_pp_source_pos): Update.
850
851 2019-02-17  Tom Tromey  <[email protected]>
852
853         * macrocmd.c (show_pp_source_pos): Style the file names.
854
855 2019-02-17  Tom Tromey  <[email protected]>
856
857         PR tui/24197:
858         * tui/tui-source.c (tui_set_source_content_nil): Rewrite.
859
860 2019-02-17  Tom Tromey  <[email protected]>
861
862         * ada-lang.c (user_select_syms): Use filtered printing.
863         * utils.c (wrap_style): New global.
864         (desired_style): Remove.
865         (emit_style_escape): Add stream parameter.
866         (set_output_style, reset_terminal_style, prompt_for_continue):
867         Update.
868         (flush_wrap_buffer): Only flush gdb_stdout.
869         (wrap_here): Set wrap_style.
870         (fputs_maybe_filtered): Clear the wrap buffer on exception.  Don't
871         treat escape sequences as a character.  Change when wrap buffer is
872         flushed.
873         (fputs_styled): Do not set the output style when the default is
874         requested.
875         * ui-style.h (struct ui_file_style) <is_default>: New method.
876         * source.c (print_source_lines_base): Emit escape sequences in one
877         piece.
878
879 2019-02-17  Joel Brobecker  <[email protected]>
880
881         * gdbtypes.c (type_align): Handle TYPE_CODE_RANGE the same as
882         integers and enumeration types.
883
884 2019-02-17  Joel Brobecker  <[email protected]>
885
886         * ada-lang.c (standard_lookup): Use ada_lookup_encoded_symbol
887         instead of lookup_symbol_in_language
888         (do_exact_match): New function.
889         (ada_get_symbol_name_matcher): Return do_exact_match when
890         doing a verbatim match.
891
892 2019-02-15  Tom Tromey  <[email protected]>
893
894         * ravenscar-thread.c (ravenscar_thread_target::resume)
895         (ravenscar_thread_target::wait): Special case wildcard requests.
896
897 2019-02-15  Tom Tromey  <[email protected]>
898
899         * ravenscar-thread.c (base_ptid): Remove.
900         (struct ravenscar_thread_target) <close>: New method.
901         <m_base_ptid>: New member.
902         <update_inferior_ptid, active_task, task_is_currently_active,
903         runtime_initialized>: Declare methods.
904         <ravenscar_thread_target>: Add constructor.
905         (ravenscar_thread_target::task_is_currently_active)
906         (ravenscar_thread_target::update_inferior_ptid)
907         (ravenscar_runtime_initialized): Rename.  Now methods.
908         (ravenscar_thread_target::resume, ravenscar_thread_target::wait)
909         (ravenscar_thread_target::update_thread_list): Update.
910         (ravenscar_thread_target::active_task): Now method.
911         (ravenscar_thread_target::store_registers)
912         (ravenscar_thread_target::prepare_to_store)
913         (ravenscar_thread_target::prepare_to_store)
914         (ravenscar_thread_target::mourn_inferior): Update.
915         (ravenscar_inferior_created): Use "new" to create target.
916         (ravenscar_thread_target::get_ada_task_ptid): Update.
917         (_initialize_ravenscar): Don't initialize base_ptid.
918         (ravenscar_ops): Remove global.
919
920 2019-02-15  Tom Tromey  <[email protected]>
921
922         * target.h (push_target): Declare new overload.
923         * target.c (push_target): New overload, taking an rvalue reference.
924         * remote.c (remote_target::open_1): Use push_target overload.
925         * corelow.c (core_target_open): Use push_target overload.
926
927 2019-02-15  Tom Tromey  <[email protected]>
928
929         * ravenscar-thread.c (is_ravenscar_task)
930         (ravenscar_task_is_currently_active): Return bool.
931         (ravenscar_update_inferior_ptid, get_running_thread_msymbol)
932         (_initialize_ravenscar): Remove "(void)".
933         (has_ravenscar_runtime, ravenscar_runtime_initialized): Likewise.
934         Return bool.
935
936 2019-02-15  Tom Tromey  <[email protected]>
937
938         * ravenscar-thread.c (ravenscar_runtime_initializer)
939         (has_ravenscar_runtime, get_running_thread_id)
940         (ravenscar_thread_target::resume): Fix indentation.
941
942 2019-02-15  Tom Tromey  <[email protected]>
943
944         * sparc-ravenscar-thread.c (struct sparc_ravenscar_ops): Derive
945         from ravenscar_arch_ops.
946         (sparc_ravenscar_ops::fetch_registers)
947         (sparc_ravenscar_ops::store_registers): Now methods.
948         (sparc_ravenscar_prepare_to_store): Remove.
949         (sparc_ravenscar_ops): Redefine.
950         * ravenscar-thread.h (struct ravenscar_arch_ops): Add virtual
951         methods and destructor.  Remove members.
952         * ravenscar-thread.c (ravenscar_thread_target::fetch_registers)
953         (ravenscar_thread_target::store_registers)
954         (ravenscar_thread_target::prepare_to_store): Update.
955         * ppc-ravenscar-thread.c (ppc_ravenscar_generic_prepare_to_store):
956         Remove.
957         (struct ppc_ravenscar_powerpc_ops): Derive from
958         ravenscar_arch_ops.
959         (ppc_ravenscar_powerpc_ops::fetch_registers)
960         (ppc_ravenscar_powerpc_ops::store_registers): Now methods.
961         (ppc_ravenscar_powerpc_ops): Redefine.
962         (struct ppc_ravenscar_e500_ops): Derive from ravenscar_arch_ops.
963         (ppc_ravenscar_e500_ops::fetch_registers)
964         (ppc_ravenscar_e500_ops::store_registers): Now methods.
965         (ppc_ravenscar_e500_ops): Redefine.
966         * aarch64-ravenscar-thread.c
967         (aarch64_ravenscar_generic_prepare_to_store): Remove.
968         (struct aarch64_ravenscar_ops): Derive from ravenscar_arch_ops.
969         (aarch64_ravenscar_fetch_registers)
970         (aarch64_ravenscar_store_registers): Now methods.
971         (aarch64_ravenscar_ops): Redefine.
972
973 2019-02-15  Tom Tromey  <[email protected]>
974
975         * ravenscar-thread.c (ravenscar_thread_target::stopped_by_sw_breakpoint)
976         (ravenscar_thread_target::stopped_by_hw_breakpoint)
977         (ravenscar_thread_target::stopped_by_watchpoint)
978         (ravenscar_thread_target::stopped_data_address)
979         (ravenscar_thread_target::core_of_thread): Use scoped_restore.
980
981 2019-02-15  Tom Tromey  <[email protected]>
982
983         * ravenscar-thread.c: Fix some typos.
984
985 2019-02-15  Philippe Waroquiers  <[email protected]>
986             Tom Tromey  <[email protected]>
987
988         * ada-lang.c (ada_exception_sal): Change addr_string to a
989         std::string.
990         (create_ada_exception_catchpoint): Update.
991
992 2019-02-15  Philippe Waroquiers  <[email protected]>
993             Tom Tromey  <[email protected]>
994
995         * breakpoint.c (~bp_location): Rename from bp_location_dtor.
996         (bp_location_ops): Remove.
997         (base_breakpoint_allocate_location): Update.
998         (free_bp_location): Update.
999         * ada-lang.c (class ada_catchpoint_location)
1000         <ada_catchpoint_location>: Remove ops parameter.
1001         (ada_catchpoint_location_dtor): Remove.
1002         (ada_catchpoint_location_ops): Remove.
1003         (allocate_location_exception): Update.
1004         * breakpoint.h (struct bp_location_ops): Remove.
1005         (class bp_location) <bp_location>: Remove bp_location_ops
1006         parameter.
1007         <~bp_location>: Add destructor.
1008         <ops>: Remove.
1009
1010 2019-02-14  Thomas Schwinge  <[email protected]>
1011             Pedro Alves  <[email protected]>
1012
1013         * remote.c (remote_target::remote_parse_stop_reply): Avoid using
1014         'PATH_MAX'.
1015
1016 2019-02-14  David Michael  <[email protected]>
1017             Samuel Thibault  <[email protected]>
1018             Thomas Schwinge  <[email protected]>
1019
1020         * gnu-nat.c (S_proc_getmsgport_reply, S_proc_task2proc_reply)
1021         (S_proc_pid2proc_reply): Adjust to Hurd "proc" interface changes.
1022
1023 2019-02-14  Thomas Schwinge  <[email protected]>
1024
1025         * gnu-nat.c (gnu_write_inferior, parse_int_arg, _parse_bool_arg)
1026         (check_empty): Use "const char *".
1027
1028         * gnu-nat.c (gnu_nat_target::detach): Instead of
1029         'detach_inferior (pid)' call
1030         'detach_inferior (find_inferior_pid (pid))'.
1031
1032         * configure.nat [gdb_host == i386gnu] (NATDEPFILES): Add
1033         'nat/fork-inferior.o'.
1034         * gnu-nat.c: #include "nat/fork-inferior.h".
1035
1036         * gnu-nat.c (gnu_nat_target::detach): Instead of
1037         'inf_child_maybe_unpush_target (ops)' call 'maybe_unpush_target'.
1038         * gnu-nat.h: #include "inf-child.h".
1039         * i386-gnu-nat.c (gnu_fetch_registers): Rename/move to
1040         'i386_gnu_nat_target::fetch_registers'.
1041         (gnu_store_registers): Rename/move to
1042         'i386_gnu_nat_target::store_registers'.
1043
1044         * config/i386/nm-i386gnu.h: Don't "#include" any files.
1045         * gnu-nat.h (mach_thread_info): New function.
1046         * gnu-nat.c (thread_takeover_sc_cmd): Use it.
1047
1048         * config/i386/nm-i386gnu.h (gnu_target_pid_to_str): Remove.
1049
1050 2019-02-14  Frederic Konrad  <[email protected]>
1051
1052         * riscv-rdep.c (riscv_type_alignment): Handle TYPE_CODE_RANGE.
1053
1054 2019-02-14  Joel Brobecker  <[email protected]>
1055
1056         * windows-nat.c (windows_add_thread): Add new parameter
1057         "main_thread_p" with default value set to false.  Update
1058         function documentation as well as all callers.
1059         (windows_delete_thread): Likewise.
1060         (fake_create_process): Update call to windows_add_thread.
1061         (get_windows_debug_event) <CREATE_THREAD_DEBUG_EVENT>
1062         <CREATE_PROCESS_DEBUG_EVENT>: Likewise.
1063         <EXIT_THREAD_DEBUG_EVENT, EXIT_PROCESS_DEBUG_EVENT>: Update
1064         call to windows_delete_thread.
1065
1066 2019-02-13  Simon Marchi  <[email protected]>
1067
1068         * MAINTAINERS: Add Andrew Burgess as global maintainer.
1069
1070 2019-02-12  John Baldwin  <[email protected]>
1071
1072         * symfile.c (find_separate_debug_file): Use canonical path of
1073         sysroot with child_path instead of gdb_sysroot if it is valid.
1074
1075 2019-02-12  John Baldwin  <[email protected]>
1076
1077         * symfile.c (find_separate_debug_file): Use child_path to
1078         determine if an object file is under a sysroot.
1079
1080 2019-02-12  John Baldwin  <[email protected]>
1081
1082         * Makefile.in (SUBDIR_UNITTESTS_SRCS): Add
1083         unittests/child-path-selftests.c.
1084         * common/pathstuff.c (child_path): New function.
1085         * common/pathstuff.h (child_path): New prototype.
1086         * unittests/child-path-selftests.c: New file.
1087
1088 2019-02-12  John Baldwin  <[email protected]>
1089
1090         * symfile.c (find_separate_debug_file): Look for separate debug
1091         files in debug directories under the sysroot.
1092
1093 2019-02-12  Philippe Waroquiers  <[email protected]>
1094
1095         * symtab.h (struct minimal_symbol data_p): New const method.
1096         (struct minimal_symbol text_p): Likewise.
1097         * symtab.c (output_source_filename): Use file name style
1098         to print file name.
1099         (print_symbol_info): Likewise.
1100         (print_msymbol_info): Use address style to print addresses.
1101         Use function name style to print executable text symbols.
1102         (expand_symtab_containing_pc): Use data_p.
1103         (find_pc_sect_compunit_symtab): Likewise.
1104
1105 2019-02-12  Philippe Waroquiers  <[email protected]>
1106
1107         * breakpoint.c (describe_other_breakpoints): Use address style
1108         to print addresses.
1109         (say_where): Likewise.
1110
1111 2019-02-12  Philippe Waroquiers  <[email protected]>
1112
1113         * ada-typeprint.c (print_func_type): Print function name
1114         style to print function name.
1115         * c-typeprint.c (c_print_type_1): Likewise.
1116
1117 2019-02-11  Alan Hayward  <[email protected]>
1118
1119         * aarch64-linux-tdep.c (aarch64_linux_get_syscall_number): Check
1120         for execve.
1121
1122 2019-02-10  Philippe Waroquiers  <[email protected]>
1123
1124         * c-exp.y (direct_abs_decl): Use emplace_back to record the
1125         type_stack.
1126
1127 2019-02-10  Joel Brobecker  <[email protected]>
1128
1129         * ada-varobj.c (ada_value_is_changeable_p): Add handling of
1130         TYPE_CODE_REF types.
1131
1132 2019-02-08  Jim Wilson  <[email protected]>
1133
1134         * riscv-linux-tdep.c (riscv_linux_fregmap): New.
1135         (riscv_linux_fregset): New.
1136         (riscv_linux_iterate_over_regset_sections): Call cb for .reg2 section.
1137
1138 2019-02-07  Tom Tromey  <[email protected]>
1139
1140         * thread.c (thread_cancel_execution_command): Update.
1141         * thread-fsm.h (struct thread_fsm): Add constructor, destructor,
1142         methods.
1143         (struct thread_fsm_ops): Remove.
1144         (thread_fsm_ctor, thread_fsm_delete, thread_fsm_clean_up)
1145         (thread_fsm_should_stop, thread_fsm_return_value)
1146         (thread_fsm_set_finished, thread_fsm_finished_p)
1147         (thread_fsm_async_reply_reason, thread_fsm_should_notify_stop):
1148         Don't declare.
1149         * mi/mi-interp.c (mi_on_normal_stop_1): Update.
1150         * infrun.c (clear_proceed_status_thread)
1151         (clean_up_just_stopped_threads_fsms, fetch_inferior_event)
1152         (print_stop_event): Update.
1153         * infcmd.c (struct step_command_fsm): Inherit from thread_fsm.
1154         Add constructor.
1155         (step_command_fsm_ops): Remove.
1156         (new_step_command_fsm): Remove.
1157         (step_1): Update.
1158         (step_command_fsm::should_stop): Rename from
1159         step_command_fsm_should_stop.
1160         (step_command_fsm::clean_up): Rename from
1161         step_command_fsm_clean_up.
1162         (step_command_fsm::do_async_reply_reason): Rename from
1163         step_command_fsm_async_reply_reason.
1164         (struct until_next_fsm): Inherit from thread_fsm.  Add
1165         constructor.
1166         (until_next_fsm_ops): Remove.
1167         (new_until_next_fsm): Remove.
1168         (until_next_fsm::should_stop): Rename from
1169         until_next_fsm_should_stop.
1170         (until_next_fsm::clean_up): Rename from until_next_fsm_clean_up.
1171         (until_next_fsm::do_async_reply_reason): Rename from
1172         until_next_fsm_async_reply_reason.
1173         (struct finish_command_fsm): Inherit from thread_fsm.  Add
1174         constructor.  Change type of breakpoint.
1175         (finish_command_fsm_ops): Remove.
1176         (new_finish_command_fsm): Remove.
1177         (finish_command_fsm::should_stop): Rename from
1178         finish_command_fsm_should_stop.
1179         (finish_command_fsm::clean_up): Rename from
1180         finish_command_fsm_clean_up.
1181         (finish_command_fsm::return_value): Rename from
1182         finish_command_fsm_return_value.
1183         (finish_command_fsm::do_async_reply_reason): Rename from
1184         finish_command_fsm_async_reply_reason.
1185         (finish_command): Update.
1186         * infcall.c (struct call_thread_fsm): Inherit from thread_fsm.
1187         Add constructor.
1188         (call_thread_fsm_ops): Remove.
1189         (call_thread_fsm::call_thread_fsm): Rename from
1190         new_call_thread_fsm.
1191         (call_thread_fsm::should_stop): Rename from
1192         call_thread_fsm_should_stop.
1193         (call_thread_fsm::should_notify_stop): Rename from
1194         call_thread_fsm_should_notify_stop.
1195         (run_inferior_call, call_function_by_hand_dummy): Update.
1196         * cli/cli-interp.c (should_print_stop_to_console): Update.
1197         * breakpoint.c (struct until_break_fsm): Inherit from thread_fsm.
1198         Add constructor.  Change type of location_breakpoint,
1199         caller_breakpoint.
1200         (until_break_fsm_ops): Remove.
1201         (new_until_break_fsm): Remove.
1202         (until_break_fsm::should_stop): Rename from
1203         until_break_fsm_should_stop.
1204         (until_break_fsm::clean_up): Rename from
1205         until_break_fsm_clean_up.
1206         (until_break_fsm::do_async_reply_reason): Rename from
1207         until_break_fsm_async_reply_reason.
1208         (until_break_command): Update.
1209         * thread-fsm.c: Remove.
1210         * Makefile.in (COMMON_SFILES): Remove thread-fsm.c.
1211
1212 2019-02-07  Tom Tromey  <[email protected]>
1213
1214         * yy-remap.h: Add include guard.
1215         * xtensa-tdep.h: Add include guard.
1216         * xcoffread.h: Rename include guard.
1217         * varobj-iter.h: Add include guard.
1218         * tui/tui.h: Rename include guard.
1219         * tui/tui-winsource.h: Rename include guard.
1220         * tui/tui-wingeneral.h: Rename include guard.
1221         * tui/tui-windata.h: Rename include guard.
1222         * tui/tui-win.h: Rename include guard.
1223         * tui/tui-stack.h: Rename include guard.
1224         * tui/tui-source.h: Rename include guard.
1225         * tui/tui-regs.h: Rename include guard.
1226         * tui/tui-out.h: Rename include guard.
1227         * tui/tui-layout.h: Rename include guard.
1228         * tui/tui-io.h: Rename include guard.
1229         * tui/tui-hooks.h: Rename include guard.
1230         * tui/tui-file.h: Rename include guard.
1231         * tui/tui-disasm.h: Rename include guard.
1232         * tui/tui-data.h: Rename include guard.
1233         * tui/tui-command.h: Rename include guard.
1234         * tic6x-tdep.h: Add include guard.
1235         * target/waitstatus.h: Rename include guard.
1236         * target/wait.h: Rename include guard.
1237         * target/target.h: Rename include guard.
1238         * target/resume.h: Rename include guard.
1239         * target-float.h: Rename include guard.
1240         * stabsread.h: Add include guard.
1241         * rs6000-tdep.h: Add include guard.
1242         * riscv-fbsd-tdep.h: Add include guard.
1243         * regformats/regdef.h: Rename include guard.
1244         * record.h: Rename include guard.
1245         * python/python.h: Rename include guard.
1246         * python/python-internal.h: Rename include guard.
1247         * python/py-stopevent.h: Rename include guard.
1248         * python/py-ref.h: Rename include guard.
1249         * python/py-record.h: Rename include guard.
1250         * python/py-record-full.h: Rename include guard.
1251         * python/py-record-btrace.h: Rename include guard.
1252         * python/py-instruction.h: Rename include guard.
1253         * python/py-events.h: Rename include guard.
1254         * python/py-event.h: Rename include guard.
1255         * procfs.h: Add include guard.
1256         * proc-utils.h: Add include guard.
1257         * p-lang.h: Add include guard.
1258         * or1k-tdep.h: Rename include guard.
1259         * observable.h: Rename include guard.
1260         * nto-tdep.h: Rename include guard.
1261         * nat/x86-linux.h: Rename include guard.
1262         * nat/x86-linux-dregs.h: Rename include guard.
1263         * nat/x86-gcc-cpuid.h: Add include guard.
1264         * nat/x86-dregs.h: Rename include guard.
1265         * nat/x86-cpuid.h: Rename include guard.
1266         * nat/ppc-linux.h: Rename include guard.
1267         * nat/mips-linux-watch.h: Rename include guard.
1268         * nat/linux-waitpid.h: Rename include guard.
1269         * nat/linux-ptrace.h: Rename include guard.
1270         * nat/linux-procfs.h: Rename include guard.
1271         * nat/linux-osdata.h: Rename include guard.
1272         * nat/linux-nat.h: Rename include guard.
1273         * nat/linux-namespaces.h: Rename include guard.
1274         * nat/linux-btrace.h: Rename include guard.
1275         * nat/glibc_thread_db.h: Rename include guard.
1276         * nat/gdb_thread_db.h: Rename include guard.
1277         * nat/gdb_ptrace.h: Rename include guard.
1278         * nat/fork-inferior.h: Rename include guard.
1279         * nat/amd64-linux-siginfo.h: Rename include guard.
1280         * nat/aarch64-sve-linux-sigcontext.h: Rename include guard.
1281         * nat/aarch64-sve-linux-ptrace.h: Rename include guard.
1282         * nat/aarch64-linux.h: Rename include guard.
1283         * nat/aarch64-linux-hw-point.h: Rename include guard.
1284         * mn10300-tdep.h: Add include guard.
1285         * mips-linux-tdep.h: Add include guard.
1286         * mi/mi-parse.h: Rename include guard.
1287         * mi/mi-out.h: Rename include guard.
1288         * mi/mi-main.h: Rename include guard.
1289         * mi/mi-interp.h: Rename include guard.
1290         * mi/mi-getopt.h: Rename include guard.
1291         * mi/mi-console.h: Rename include guard.
1292         * mi/mi-common.h: Rename include guard.
1293         * mi/mi-cmds.h: Rename include guard.
1294         * mi/mi-cmd-break.h: Rename include guard.
1295         * m2-lang.h: Add include guard.
1296         * location.h: Rename include guard.
1297         * linux-record.h: Rename include guard.
1298         * linux-nat.h: Add include guard.
1299         * linux-fork.h: Add include guard.
1300         * i386-darwin-tdep.h: Rename include guard.
1301         * hppa-linux-offsets.h: Add include guard.
1302         * guile/guile.h: Rename include guard.
1303         * guile/guile-internal.h: Rename include guard.
1304         * gnu-nat.h: Rename include guard.
1305         * gdb-stabs.h: Rename include guard.
1306         * frv-tdep.h: Add include guard.
1307         * f-lang.h: Add include guard.
1308         * event-loop.h: Add include guard.
1309         * darwin-nat.h: Rename include guard.
1310         * cp-abi.h: Rename include guard.
1311         * config/sparc/nm-sol2.h: Rename include guard.
1312         * config/nm-nto.h: Rename include guard.
1313         * config/nm-linux.h: Add include guard.
1314         * config/i386/nm-i386gnu.h: Rename include guard.
1315         * config/djgpp/nl_types.h: Rename include guard.
1316         * config/djgpp/langinfo.h: Rename include guard.
1317         * compile/gcc-cp-plugin.h: Add include guard.
1318         * compile/gcc-c-plugin.h: Add include guard.
1319         * compile/compile.h: Rename include guard.
1320         * compile/compile-object-run.h: Rename include guard.
1321         * compile/compile-object-load.h: Rename include guard.
1322         * compile/compile-internal.h: Rename include guard.
1323         * compile/compile-cplus.h: Rename include guard.
1324         * compile/compile-c.h: Rename include guard.
1325         * common/xml-utils.h: Rename include guard.
1326         * common/x86-xstate.h: Rename include guard.
1327         * common/version.h: Rename include guard.
1328         * common/vec.h: Rename include guard.
1329         * common/tdesc.h: Rename include guard.
1330         * common/selftest.h: Rename include guard.
1331         * common/scoped_restore.h: Rename include guard.
1332         * common/scoped_mmap.h: Rename include guard.
1333         * common/scoped_fd.h: Rename include guard.
1334         * common/safe-iterator.h: Rename include guard.
1335         * common/run-time-clock.h: Rename include guard.
1336         * common/refcounted-object.h: Rename include guard.
1337         * common/queue.h: Rename include guard.
1338         * common/ptid.h: Rename include guard.
1339         * common/print-utils.h: Rename include guard.
1340         * common/preprocessor.h: Rename include guard.
1341         * common/pathstuff.h: Rename include guard.
1342         * common/observable.h: Rename include guard.
1343         * common/netstuff.h: Rename include guard.
1344         * common/job-control.h: Rename include guard.
1345         * common/host-defs.h: Rename include guard.
1346         * common/gdb_wait.h: Rename include guard.
1347         * common/gdb_vecs.h: Rename include guard.
1348         * common/gdb_unlinker.h: Rename include guard.
1349         * common/gdb_unique_ptr.h: Rename include guard.
1350         * common/gdb_tilde_expand.h: Rename include guard.
1351         * common/gdb_sys_time.h: Rename include guard.
1352         * common/gdb_string_view.h: Rename include guard.
1353         * common/gdb_splay_tree.h: Rename include guard.
1354         * common/gdb_setjmp.h: Rename include guard.
1355         * common/gdb_ref_ptr.h: Rename include guard.
1356         * common/gdb_optional.h: Rename include guard.
1357         * common/gdb_locale.h: Rename include guard.
1358         * common/gdb_assert.h: Rename include guard.
1359         * common/filtered-iterator.h: Rename include guard.
1360         * common/filestuff.h: Rename include guard.
1361         * common/fileio.h: Rename include guard.
1362         * common/environ.h: Rename include guard.
1363         * common/common-utils.h: Rename include guard.
1364         * common/common-types.h: Rename include guard.
1365         * common/common-regcache.h: Rename include guard.
1366         * common/common-inferior.h: Rename include guard.
1367         * common/common-gdbthread.h: Rename include guard.
1368         * common/common-exceptions.h: Rename include guard.
1369         * common/common-defs.h: Rename include guard.
1370         * common/common-debug.h: Rename include guard.
1371         * common/cleanups.h: Rename include guard.
1372         * common/buffer.h: Rename include guard.
1373         * common/btrace-common.h: Rename include guard.
1374         * common/break-common.h: Rename include guard.
1375         * cli/cli-utils.h: Rename include guard.
1376         * cli/cli-style.h: Rename include guard.
1377         * cli/cli-setshow.h: Rename include guard.
1378         * cli/cli-script.h: Rename include guard.
1379         * cli/cli-interp.h: Rename include guard.
1380         * cli/cli-decode.h: Rename include guard.
1381         * cli/cli-cmds.h: Rename include guard.
1382         * charset-list.h: Add include guard.
1383         * buildsym-legacy.h: Rename include guard.
1384         * bfin-tdep.h: Add include guard.
1385         * ax.h: Rename include guard.
1386         * arm-linux-tdep.h: Add include guard.
1387         * arm-fbsd-tdep.h: Add include guard.
1388         * arch/xtensa.h: Rename include guard.
1389         * arch/tic6x.h: Add include guard.
1390         * arch/i386.h: Add include guard.
1391         * arch/arm.h: Rename include guard.
1392         * arch/arm-linux.h: Rename include guard.
1393         * arch/arm-get-next-pcs.h: Rename include guard.
1394         * arch/amd64.h: Add include guard.
1395         * arch/aarch64-insn.h: Rename include guard.
1396         * arch-utils.h: Rename include guard.
1397         * annotate.h: Add include guard.
1398         * amd64-darwin-tdep.h: Rename include guard.
1399         * aarch64-linux-tdep.h: Add include guard.
1400         * aarch64-fbsd-tdep.h: Add include guard.
1401         * aarch32-linux-nat.h: Add include guard.
1402
1403 2019-02-06  Philippe Waroquiers  <[email protected]>
1404
1405         * macrotab.c (macro_define_internal): New function that
1406         factorizes macro_define_object_internal and macro_define_function
1407         code.
1408         (macro_define_object_internal): Use macro_define_internal.
1409         (macro_define_function): Likewise.
1410
1411 2019-02-06  Philippe Waroquiers  <[email protected]>
1412
1413         * macrocmd.c (extract_identifier): Return
1414         a gdb::unique_xmalloc_ptr<char> instead of a char *, and update
1415         callers.
1416
1417 2019-02-06  John Baldwin  <[email protected]>
1418
1419         * fbsd-nat.c (fbsd_fetch_cmdline): Join arguments with spaces.
1420
1421 2019-02-05  Tom Tromey  <[email protected]>
1422
1423         * target.c (target_stack::unpush): Move assertion earlier.
1424
1425 2019-01-30  Tom Tromey  <[email protected]>
1426
1427         PR python/23615:
1428         * python/python.c (execute_gdb_command): Use gdbpy_allow_threads.
1429         (gdbpy_parse_and_eval): Likewise.
1430         * python/python-internal.h (gdbpy_allow_threads): New class.
1431
1432 2019-01-28  John Baldwin  <[email protected]>
1433
1434         * aarch64-fbsd-tdep.c (aarch64_fbsd_gregmap)
1435         (aarch64_fbsd_fpregmap): Move earlier.
1436         (AARCH64_MCONTEXT_REG_SIZE, AARCH64_MCONTEXT_FPREG_SIZE): Delete.
1437         (aarch64_fbsd_sigframe_init): Use trad_frame_set_reg_regmap
1438         instead of individual calls to trad_frame_set_reg_addr.
1439         * arm-fbsd-tdep.c (arm_fbsd_gregmap, arm_fbsd_vfpregmap): Move
1440         earlier.
1441         (ARM_MCONTEXT_REG_SIZE, ARM_MCONTEXT_VFP_REG_SIZE): Delete.
1442         (arm_fbsd_sigframe_init): Use trad_frame_set_reg_regmap
1443         instead of individual calls to trad_frame_set_reg_addr.
1444
1445 2019-01-28  Alan Hayward  <[email protected]>
1446
1447         * CONTRIBUTE: Replace contribution list with wiki link.
1448
1449 2019-01-25  Tom Tromey  <[email protected]>
1450
1451         * Makefile.in (GDB_CFLAGS): Don't add -I for common.
1452
1453 2019-01-25  Tom Tromey  <[email protected]>
1454
1455         * xtensa-linux-nat.c: Fix common/ includes.
1456         * xml-support.h: Fix common/ includes.
1457         * xml-support.c: Fix common/ includes.
1458         * x86-linux-nat.c: Fix common/ includes.
1459         * windows-nat.c: Fix common/ includes.
1460         * varobj.h: Fix common/ includes.
1461         * varobj.c: Fix common/ includes.
1462         * value.c: Fix common/ includes.
1463         * valops.c: Fix common/ includes.
1464         * utils.c: Fix common/ includes.
1465         * unittests/xml-utils-selftests.c: Fix common/ includes.
1466         * unittests/utils-selftests.c: Fix common/ includes.
1467         * unittests/unpack-selftests.c: Fix common/ includes.
1468         * unittests/tracepoint-selftests.c: Fix common/ includes.
1469         * unittests/style-selftests.c: Fix common/ includes.
1470         * unittests/string_view-selftests.c: Fix common/ includes.
1471         * unittests/scoped_restore-selftests.c: Fix common/ includes.
1472         * unittests/scoped_mmap-selftests.c: Fix common/ includes.
1473         * unittests/scoped_fd-selftests.c: Fix common/ includes.
1474         * unittests/rsp-low-selftests.c: Fix common/ includes.
1475         * unittests/parse-connection-spec-selftests.c: Fix common/
1476         includes.
1477         * unittests/optional-selftests.c: Fix common/ includes.
1478         * unittests/offset-type-selftests.c: Fix common/ includes.
1479         * unittests/observable-selftests.c: Fix common/ includes.
1480         * unittests/mkdir-recursive-selftests.c: Fix common/ includes.
1481         * unittests/memrange-selftests.c: Fix common/ includes.
1482         * unittests/memory-map-selftests.c: Fix common/ includes.
1483         * unittests/lookup_name_info-selftests.c: Fix common/ includes.
1484         * unittests/function-view-selftests.c: Fix common/ includes.
1485         * unittests/environ-selftests.c: Fix common/ includes.
1486         * unittests/copy_bitwise-selftests.c: Fix common/ includes.
1487         * unittests/common-utils-selftests.c: Fix common/ includes.
1488         * unittests/cli-utils-selftests.c: Fix common/ includes.
1489         * unittests/array-view-selftests.c: Fix common/ includes.
1490         * ui-file.c: Fix common/ includes.
1491         * tui/tui-io.c: Fix common/ includes.
1492         * tracepoint.h: Fix common/ includes.
1493         * tracepoint.c: Fix common/ includes.
1494         * tracefile-tfile.c: Fix common/ includes.
1495         * top.h: Fix common/ includes.
1496         * top.c: Fix common/ includes.
1497         * thread.c: Fix common/ includes.
1498         * target/waitstatus.h: Fix common/ includes.
1499         * target/waitstatus.c: Fix common/ includes.
1500         * target.h: Fix common/ includes.
1501         * target.c: Fix common/ includes.
1502         * target-memory.c: Fix common/ includes.
1503         * target-descriptions.c: Fix common/ includes.
1504         * symtab.h: Fix common/ includes.
1505         * symfile.c: Fix common/ includes.
1506         * stap-probe.c: Fix common/ includes.
1507         * spu-linux-nat.c: Fix common/ includes.
1508         * sparc-nat.c: Fix common/ includes.
1509         * source.c: Fix common/ includes.
1510         * solib.c: Fix common/ includes.
1511         * solib-target.c: Fix common/ includes.
1512         * ser-unix.c: Fix common/ includes.
1513         * ser-tcp.c: Fix common/ includes.
1514         * ser-pipe.c: Fix common/ includes.
1515         * ser-base.c: Fix common/ includes.
1516         * selftest-arch.c: Fix common/ includes.
1517         * s12z-tdep.c: Fix common/ includes.
1518         * rust-exp.y: Fix common/ includes.
1519         * rs6000-aix-tdep.c: Fix common/ includes.
1520         * riscv-tdep.c: Fix common/ includes.
1521         * remote.c: Fix common/ includes.
1522         * remote-notif.h: Fix common/ includes.
1523         * remote-fileio.h: Fix common/ includes.
1524         * remote-fileio.c: Fix common/ includes.
1525         * regcache.h: Fix common/ includes.
1526         * regcache.c: Fix common/ includes.
1527         * record-btrace.c: Fix common/ includes.
1528         * python/python.c: Fix common/ includes.
1529         * python/py-type.c: Fix common/ includes.
1530         * python/py-inferior.c: Fix common/ includes.
1531         * progspace.h: Fix common/ includes.
1532         * producer.c: Fix common/ includes.
1533         * procfs.c: Fix common/ includes.
1534         * proc-api.c: Fix common/ includes.
1535         * printcmd.c: Fix common/ includes.
1536         * ppc-linux-nat.c: Fix common/ includes.
1537         * parser-defs.h: Fix common/ includes.
1538         * osdata.c: Fix common/ includes.
1539         * obsd-nat.c: Fix common/ includes.
1540         * nat/x86-linux.c: Fix common/ includes.
1541         * nat/x86-linux-dregs.c: Fix common/ includes.
1542         * nat/x86-dregs.h: Fix common/ includes.
1543         * nat/x86-dregs.c: Fix common/ includes.
1544         * nat/ppc-linux.c: Fix common/ includes.
1545         * nat/mips-linux-watch.h: Fix common/ includes.
1546         * nat/mips-linux-watch.c: Fix common/ includes.
1547         * nat/linux-waitpid.c: Fix common/ includes.
1548         * nat/linux-ptrace.h: Fix common/ includes.
1549         * nat/linux-ptrace.c: Fix common/ includes.
1550         * nat/linux-procfs.c: Fix common/ includes.
1551         * nat/linux-personality.c: Fix common/ includes.
1552         * nat/linux-osdata.c: Fix common/ includes.
1553         * nat/linux-namespaces.c: Fix common/ includes.
1554         * nat/linux-btrace.h: Fix common/ includes.
1555         * nat/linux-btrace.c: Fix common/ includes.
1556         * nat/fork-inferior.c: Fix common/ includes.
1557         * nat/amd64-linux-siginfo.c: Fix common/ includes.
1558         * nat/aarch64-sve-linux-ptrace.c: Fix common/ includes.
1559         * nat/aarch64-linux.c: Fix common/ includes.
1560         * nat/aarch64-linux-hw-point.h: Fix common/ includes.
1561         * nat/aarch64-linux-hw-point.c: Fix common/ includes.
1562         * namespace.h: Fix common/ includes.
1563         * mips-linux-tdep.c: Fix common/ includes.
1564         * minsyms.c: Fix common/ includes.
1565         * mi/mi-parse.h: Fix common/ includes.
1566         * mi/mi-main.c: Fix common/ includes.
1567         * mi/mi-cmd-env.c: Fix common/ includes.
1568         * memrange.h: Fix common/ includes.
1569         * memattr.c: Fix common/ includes.
1570         * maint.h: Fix common/ includes.
1571         * maint.c: Fix common/ includes.
1572         * main.c: Fix common/ includes.
1573         * machoread.c: Fix common/ includes.
1574         * location.c: Fix common/ includes.
1575         * linux-thread-db.c: Fix common/ includes.
1576         * linux-nat.c: Fix common/ includes.
1577         * linux-fork.c: Fix common/ includes.
1578         * inline-frame.c: Fix common/ includes.
1579         * infrun.c: Fix common/ includes.
1580         * inflow.c: Fix common/ includes.
1581         * inferior.h: Fix common/ includes.
1582         * inferior.c: Fix common/ includes.
1583         * infcmd.c: Fix common/ includes.
1584         * inf-ptrace.c: Fix common/ includes.
1585         * inf-child.c: Fix common/ includes.
1586         * ia64-linux-nat.c: Fix common/ includes.
1587         * i387-tdep.c: Fix common/ includes.
1588         * i386-tdep.c: Fix common/ includes.
1589         * i386-linux-tdep.c: Fix common/ includes.
1590         * i386-linux-nat.c: Fix common/ includes.
1591         * i386-go32-tdep.c: Fix common/ includes.
1592         * i386-fbsd-tdep.c: Fix common/ includes.
1593         * i386-fbsd-nat.c: Fix common/ includes.
1594         * guile/scm-type.c: Fix common/ includes.
1595         * guile/guile.c: Fix common/ includes.
1596         * go32-nat.c: Fix common/ includes.
1597         * gnu-nat.c: Fix common/ includes.
1598         * gdbthread.h: Fix common/ includes.
1599         * gdbarch-selftests.c: Fix common/ includes.
1600         * gdb_usleep.c: Fix common/ includes.
1601         * gdb_select.h: Fix common/ includes.
1602         * gdb_bfd.c: Fix common/ includes.
1603         * gcore.c: Fix common/ includes.
1604         * fork-child.c: Fix common/ includes.
1605         * findvar.c: Fix common/ includes.
1606         * fbsd-nat.c: Fix common/ includes.
1607         * event-top.c: Fix common/ includes.
1608         * event-loop.c: Fix common/ includes.
1609         * dwarf2read.c: Fix common/ includes.
1610         * dwarf2loc.c: Fix common/ includes.
1611         * dwarf2-frame.c: Fix common/ includes.
1612         * dwarf-index-cache.c: Fix common/ includes.
1613         * dtrace-probe.c: Fix common/ includes.
1614         * disasm-selftests.c: Fix common/ includes.
1615         * defs.h: Fix common/ includes.
1616         * csky-tdep.c: Fix common/ includes.
1617         * cp-valprint.c: Fix common/ includes.
1618         * cp-support.h: Fix common/ includes.
1619         * cp-support.c: Fix common/ includes.
1620         * corelow.c: Fix common/ includes.
1621         * completer.h: Fix common/ includes.
1622         * completer.c: Fix common/ includes.
1623         * compile/compile.c: Fix common/ includes.
1624         * compile/compile-loc2c.c: Fix common/ includes.
1625         * compile/compile-cplus-types.c: Fix common/ includes.
1626         * compile/compile-cplus-symbols.c: Fix common/ includes.
1627         * command.h: Fix common/ includes.
1628         * cli/cli-dump.c: Fix common/ includes.
1629         * cli/cli-cmds.c: Fix common/ includes.
1630         * charset.c: Fix common/ includes.
1631         * build-id.c: Fix common/ includes.
1632         * btrace.h: Fix common/ includes.
1633         * btrace.c: Fix common/ includes.
1634         * breakpoint.h: Fix common/ includes.
1635         * breakpoint.c: Fix common/ includes.
1636         * ax.h: 
1637         (enum agent_op): Fix common/ includes.
1638         * ax-general.c (struct aop_map): Fix common/ includes.
1639         * ax-gdb.c: Fix common/ includes.
1640         * auxv.c: Fix common/ includes.
1641         * auto-load.c: Fix common/ includes.
1642         * arm-tdep.c: Fix common/ includes.
1643         * arch/riscv.c: Fix common/ includes.
1644         * arch/ppc-linux-common.c: Fix common/ includes.
1645         * arch/i386.c: Fix common/ includes.
1646         * arch/arm.c: Fix common/ includes.
1647         * arch/arm-linux.c: Fix common/ includes.
1648         * arch/arm-get-next-pcs.c: Fix common/ includes.
1649         * arch/amd64.c: Fix common/ includes.
1650         * arch/aarch64.c: Fix common/ includes.
1651         * arch/aarch64-insn.c: Fix common/ includes.
1652         * arch-utils.c: Fix common/ includes.
1653         * amd64-windows-tdep.c: Fix common/ includes.
1654         * amd64-tdep.c: Fix common/ includes.
1655         * amd64-sol2-tdep.c: Fix common/ includes.
1656         * amd64-obsd-tdep.c: Fix common/ includes.
1657         * amd64-nbsd-tdep.c: Fix common/ includes.
1658         * amd64-linux-tdep.c: Fix common/ includes.
1659         * amd64-linux-nat.c: Fix common/ includes.
1660         * amd64-fbsd-tdep.c: Fix common/ includes.
1661         * amd64-fbsd-nat.c: Fix common/ includes.
1662         * amd64-dicos-tdep.c: Fix common/ includes.
1663         * amd64-darwin-tdep.c: Fix common/ includes.
1664         * agent.c: Fix common/ includes.
1665         * ada-lang.h: Fix common/ includes.
1666         * ada-lang.c: Fix common/ includes.
1667         * aarch64-tdep.c: Fix common/ includes.
1668
1669 2019-01-25  Tom Tromey  <[email protected]>
1670
1671         * common/create-version.sh: Use common/version.h.
1672
1673 2019-01-24  Pedro Alves  <[email protected]>
1674
1675         * infrun.c (signal_stop, signal_print, signal_program)
1676         (signal_catch, signal_pass): Now arrays instead of pointers.
1677         (update_signals_program_target, do_target_resume)
1678         (signal_catch_update, handle_command, _initialize_infrun): Adjust.
1679         * linux-nat.c (linux_nat_target::pass_signals)
1680         (linux_nat_target::create_inferior, linux_nat_target::attach):
1681         Adjust.
1682         * linux-nat.h (linux_nat_target::pass_signals): Adjust.
1683         * nto-procfs.c (nto_procfs_target::pass_signals): Adjust.
1684         * procfs.c (procfs_target::pass_signals): Adjust.
1685         * record-full.c (record_full_target::resume): Adjust.
1686         * remote.c (remote_target::pass_signals)
1687         (remote_target::program_signals): Adjust.
1688         * target-debug.h (target_debug_print_signals): Now takes a
1689         gdb::array_view as parameter.  Adjust.
1690         * target.h (target_ops) <pass_signals, program_signals>: Replace
1691         pointer and length parameters with gdb::array_view.
1692         (target_pass_signals, target_program_signals): Likewise.
1693         * target-delegates.c: Regenerate.
1694
1695 2019-01-24  Pedro Alves  <[email protected]>
1696
1697         * common/forward-scope-exit.h
1698         (forward_scope_exit::forward_scope_exit): Pass arguments to
1699         m_bind_function directly, instead of creating a std::bind and
1700         copying that.
1701
1702 2019-01-24  Alan Hayward  <[email protected]>
1703
1704         * aarch64-tdep.c (aapcs_is_vfp_call_or_return_candidate_1): Check
1705         for static members.
1706         (pass_in_v_vfp_candidate): Likewise.
1707
1708 2019-01-23  Tom Tromey  <[email protected]>
1709             Pedro Alves  <[email protected]>
1710
1711         * regcache.c (class regcache_invalidator): Remove.
1712         (regcache::raw_write): Use make_scope_exit.
1713
1714 2019-01-23  Tom Tromey  <[email protected]>
1715
1716         * ui-out.h (class ui_out_emit_type): Update comment.
1717
1718 2019-01-23  Tom Tromey  <[email protected]>
1719
1720         * infrun.c (fetch_inferior_event): Update comment.
1721
1722 2019-01-23  Tom Tromey  <[email protected]>
1723             Pedro Alves  <[email protected]>
1724
1725         * infrun.c (reinstall_readline_callback_handler_cleanup): Remove
1726         parameter.
1727         (fetch_inferior_event): Use SCOPE_EXIT.
1728
1729
1730 2019-01-23  Tom Tromey  <[email protected]>
1731             Pedro Alves  <[email protected]>
1732
1733         * infrun.c (disable_thread_events): Delete.
1734         (stop_all_threads): Use SCOPE_EXIT.
1735
1736 2019-01-23  Tom Tromey  <[email protected]>
1737             Pedro Alves  <[email protected]>
1738
1739         * symfile.c: Include forward-scope-exit.h.
1740         (clear_symtab_users_cleanup): Replace forward declaration with
1741         a FORWARD_SCOPE_EXIT.
1742         (syms_from_objfile_1): Use the forward_scope_exit and
1743         gdb::optional instead of cleanup_function.
1744         (reread_symbols): Use the forward_scope_exit instead of
1745         cleanup_function.
1746         (clear_symtab_users_cleanup): Remove function.
1747
1748 2019-01-23  Tom Tromey  <[email protected]>
1749             Pedro Alves  <[email protected]>
1750
1751         * linux-nat.c: Include scope-exit.h.
1752         (cleanup_target_stop): Remove.
1753         (linux_nat_target::static_tracepoint_markers_by_strid): Use
1754         SCOPE_EXIT.
1755
1756 2019-01-23  Tom Tromey  <[email protected]>
1757             Pedro Alves  <[email protected]>
1758
1759         * infcall.c (cleanup_delete_std_terminate_breakpoint): Remove.
1760         (call_function_by_hand_dummy): Use SCOPE_EXIT.
1761
1762 2019-01-23  Tom Tromey  <[email protected]>
1763             Andrew Burgess  <[email protected]>
1764             Pedro Alves  <[email protected]>
1765
1766         * infrun.c (fetch_inferior_event): Use scope_exit.
1767         * utils.h (make_bpstat_clear_actions_cleanup): Don't declare.
1768         * top.c (execute_command): Use scope_exit.
1769         * breakpoint.c (bpstat_do_actions): Use scope_exit.
1770         * utils.c (do_bpstat_clear_actions_cleanup)
1771         (make_bpstat_clear_actions_cleanup): Remove.
1772
1773 2019-01-23  Tom Tromey  <[email protected]>
1774             Pedro Alves  <[email protected]>
1775
1776         * infrun.c: Include "common/scope-exit.h"
1777         (delete_just_stopped_threads_infrun_breakpoints_cleanup): Remove.
1778         (wait_for_inferior): Use SCOPE_EXIT.
1779         (fetch_inferior_event): Use scope_exit.
1780
1781 2019-01-23  Tom Tromey  <[email protected]>
1782             Pedro Alves  <[email protected]>
1783
1784         * breakpoint.c (create_breakpoint): Remove cleanup.
1785
1786 2019-01-23  Tom Tromey  <[email protected]>
1787             Andrew Burgess  <[email protected]>
1788             Pedro Alves  <[email protected]>
1789
1790 2019-01-23  Pedro Alves  <[email protected]>
1791
1792         * gdbarch-selftests.c (struct on_exit): Use SCOPE_EXIT.
1793
1794 2019-01-23  Pedro Alves  <[email protected]>
1795             Andrew Burgess  <[email protected]>
1796
1797         * gdbthread.h: Include "common/forward-scope-exit.h".
1798         (scoped_finish_thread_state): Redefine custom class in terms of
1799         forward_scope_exit.
1800
1801 2019-01-23  Pedro Alves  <[email protected]>
1802             Andrew Burgess  <[email protected]>
1803
1804         * common/forward-scope-exit.h: New file.
1805
1806 2019-01-23  Pedro Alves  <[email protected]>
1807             Andrew Burgess  <[email protected]>
1808             Tom Tromey  <[email protected]>
1809
1810         * common/scope-exit.h: New file.
1811
1812 2019-01-23  Pedro Alves  <[email protected]>
1813
1814         * common/preprocessor.h (ESC): Rename to ...
1815         (ESC_PARENS): ... this.
1816         * common/valid-expr.h (CHECK_VALID_EXPR_1, CHECK_VALID_EXPR_2)
1817         (CHECK_VALID_EXPR_3, CHECK_VALID_EXPR_4): Adjust.
1818
1819 2019-01-23  Tom Tromey  <[email protected]>
1820
1821         * language.h (class scoped_switch_to_sym_language_if_auto):
1822         Initialize m_lang in both cases.
1823
1824 2019-01-23  Alan Hayward  <[email protected]>
1825
1826         * nat/aarch64-linux.c (aarch64_linux_new_thread): Replace XNEW
1827         with XCNEW.
1828
1829 2019-01-22  Tom Tromey  <[email protected]>
1830
1831         * corelow.c: Do not include sys/file.h.
1832
1833 2019-01-22  Tom Tromey  <[email protected]>
1834
1835         * tui/tui-wingeneral.h: Include gdb_curses.h.
1836
1837 2019-01-22  Tom Tromey  <[email protected]>
1838
1839         * source-cache.h (class source_cache) <get_source_lines,
1840         get_plain_source_lines, extract_lines>: Rename "lines" parameter.
1841
1842 2019-01-22  Tom Tromey  <[email protected]>
1843
1844         * remote-fileio.h (struct remote_target): Declare.
1845
1846 2019-01-22  Tom Tromey  <[email protected]>
1847
1848         * python/py-arch.c: Do not include py-ref.h.
1849         * python/py-bpevent.c: Do not include py-ref.h.
1850         * python/py-cmd.c: Do not include py-ref.h.
1851         * python/py-continueevent.c: Do not include py-ref.h.
1852         * python/py-event.h: Do not include py-ref.h.
1853         * python/py-evtregistry.c: Do not include py-ref.h.
1854         * python/py-finishbreakpoint.c: Do not include py-ref.h.
1855         * python/py-frame.c: Do not include py-ref.h.
1856         * python/py-framefilter.c: Do not include py-ref.h.
1857         * python/py-function.c: Do not include py-ref.h.
1858         * python/py-infevents.c: Do not include py-ref.h.
1859         * python/py-linetable.c: Do not include py-ref.h.
1860         * python/py-objfile.c: Do not include py-ref.h.
1861         * python/py-param.c: Do not include py-ref.h.
1862         * python/py-prettyprint.c: Do not include py-ref.h.
1863         * python/py-progspace.c: Do not include py-ref.h.
1864         * python/py-symbol.c: Do not include py-ref.h.
1865         * python/py-symtab.c: Do not include py-ref.h.
1866         * python/py-type.c: Do not include py-ref.h.
1867         * python/py-unwind.c: Do not include py-ref.h.
1868         * python/py-utils.c: Do not include py-ref.h.
1869         * python/py-value.c: Do not include py-ref.h.
1870         * python/py-varobj.c: Do not include py-ref.h.
1871         * python/py-xmethods.c: Do not include py-ref.h.
1872         * python/python.c: Do not include py-ref.h.
1873         * varobj.c: Do not include py-ref.h.
1874
1875 2019-01-22  Tom Tromey  <[email protected]>
1876
1877         * objfiles.h (struct objfile_per_bfd_storage): Use "struct"
1878         keyword for bcache.
1879
1880 2019-01-22  Tom Tromey  <[email protected]>
1881
1882         * compile/compile-cplus-types.c: Remove a comment by #include.
1883
1884 2019-01-22  Tom Tromey  <[email protected]>
1885
1886         * compile/gcc-c-plugin.h: Include compile-internal.h.
1887
1888 2019-01-22  Tom Tromey  <[email protected]>
1889
1890         * stabsread.c (EXTERN): Do not define.
1891         (symnum, next_symbol_text_func, processing_gcc_compilation)
1892         (within_function, global_sym_chain, global_stabs)
1893         (previous_stab_code, this_object_header_files)
1894         (n_this_object_header_files)
1895         (n_allocated_this_object_header_files): Define.
1896         * stabsread.h (EXTERN): Never define.  Use "extern".
1897
1898 2019-01-22  Philippe Waroquiers  <[email protected]>
1899
1900         * event-top.c (handle_line_of_input): use unique_xmalloc_ptr for
1901         history_value.
1902
1903 2019-01-21  Tom Tromey  <[email protected]>
1904
1905         * ui-out.c: Fix includes.
1906         * tui/tui-source.c: Fix includes.
1907         * target.c: Fix includes.
1908         * remote.c: Fix includes.
1909         * regcache.c: Fix includes.
1910         * python/py-block.c: Fix includes.
1911         * printcmd.c: Fix includes.
1912         * or1k-tdep.c: Fix includes.
1913         * mi/mi-main.c: Fix includes.
1914         * m32r-tdep.c: Fix includes.
1915         * csky-tdep.c: Fix includes.
1916         * compile/compile-cplus-types.c: Fix includes.
1917         * cli/cli-interp.c: Fix includes.
1918
1919 2019-01-21  Alan Hayward  <[email protected]>
1920
1921         * aarch64-tdep.c (aapcs_is_vfp_call_or_return_candidate_1): Check
1922         for padding.
1923
1924 2019-01-16  Tom Tromey  <[email protected]>
1925
1926         * objfiles.h (struct minimal_symbol_iterator): Rename.  Move
1927         earlier.
1928         (struct objfile) <msymbols_range>: Move from top level.
1929         <msymbols>: New method.
1930         (class objfile_msymbols): Remove.
1931         * symtab.c (default_collect_symbol_completion_matches_break_on):
1932         Update.
1933         * symmisc.c (dump_msymbols): Update.
1934         * stabsread.c (scan_file_globals): Update.
1935         * objc-lang.c (info_selectors_command, info_classes_command)
1936         (find_methods): Update.
1937         * minsyms.c (find_solib_trampoline_target): Update.
1938         * hppa-tdep.c (hppa_lookup_stub_minimal_symbol): Update.
1939         * coffread.c (coff_symfile_read): Update.
1940         * ada-lang.c (ada_lookup_simple_minsym)
1941         (ada_collect_symbol_completion_matches): Update.
1942
1943 2019-01-16  Tom Tromey  <[email protected]>
1944
1945         * objfiles.h (class objfile_msymbols) <iterator>: Change argument
1946         type.  Remove no-argument constructor.
1947         <iterator::operator++>: Simplify.
1948         <begin>: Update.
1949         <end>: Use minimal_symbol_count.
1950
1951 2019-01-16  Tom Tromey  <[email protected]>
1952
1953         * objfiles.h (struct objfile) <psymtabs>: New method.
1954         (class objfile_psymtabs): Remove.
1955         * psymtab.h (class psymtab_storage) <partial_symtab_range>: New
1956         typedef.
1957         <range>: New method.
1958         (require_partial_symbols): Change return type.
1959         * psymtab.c (require_partial_symbols)
1960         (psym_expand_symtabs_matching): Update.
1961         * mdebugread.c (parse_partial_symbols): Update.
1962         * dbxread.c (dbx_end_psymtab): Update.
1963
1964 2019-01-15  Tom Tromey  <[email protected]>
1965
1966         * symtab.c (lookup_objfile_from_block)
1967         (lookup_symbol_in_objfile_symtabs)
1968         (basic_lookup_transparent_type_1, find_pc_sect_compunit_symtab)
1969         (find_line_symtab, info_sources_command)
1970         (default_collect_symbol_completion_matches_break_on)
1971         (make_source_files_completion_list): Update.
1972         * symmisc.c (print_objfile_statistics, dump_objfile)
1973         (maintenance_print_symbols, maintenance_info_symtabs)
1974         (maintenance_check_symtabs, maintenance_info_line_tables):
1975         Update.
1976         * source.c (select_source_symtab)
1977         (forget_cached_source_info_for_objfile): Update.
1978         * objfiles.h (class objfile_compunits): Remove.
1979         (struct objfile) <compunits_range>: New typedef.
1980         (compunits): New method.
1981         * objfiles.c (objfile_relocate1): Update.
1982         * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update.
1983         * maint.c (count_symtabs_and_blocks): Update.
1984         * linespec.c (iterate_over_all_matching_symtabs): Update.
1985         * cp-support.c (add_symbol_overload_list_qualified): Update.
1986         * coffread.c (coff_symtab_read): Update.
1987         * ada-lang.c (add_nonlocal_symbols)
1988         (ada_collect_symbol_completion_matches)
1989         (ada_add_global_exceptions): Update.
1990
1991 2019-01-15  Tom Tromey  <[email protected]>
1992
1993         * progspace.h (program_space) <objfiles_safe_range>: New
1994         typedef.
1995         <objfiles_safe>: New method.
1996         * objfiles.h (class all_objfiles_safe): Remove.
1997         * objfiles.c (free_all_objfiles, objfile_purge_solibs): Update.
1998         * jit.c (jit_inferior_exit_hook): Update.
1999
2000 2019-01-17  Tom Tromey  <[email protected]>
2001
2002         * progspace.h (program_space) <objfiles_range>: New typedef.
2003         <objfiles>: New method.
2004         <objfiles_head>: Rename from objfiles.
2005         (object_files): Update.
2006         * guile/scm-progspace.c (gdbscm_progspace_objfiles): Update.
2007         * guile/scm-pretty-print.c
2008         (ppscm_find_pretty_printer_from_objfiles): Update.
2009         * guile/scm-objfile.c (gdbscm_objfiles): Update.
2010         * python/py-xmethods.c (gdbpy_get_matching_xmethod_workers):
2011         Update.
2012         * python/py-progspace.c (pspy_get_objfiles): Update.
2013         * python/py-prettyprint.c (find_pretty_printer_from_objfiles):
2014         Update.
2015         * python/py-objfile.c (objfpy_lookup_objfile_by_name)
2016         (objfpy_lookup_objfile_by_build_id): Update.
2017         * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update.
2018         * windows-tdep.c (windows_iterate_over_objfiles_in_search_order):
2019         Update.
2020         * symtab.c (iterate_over_symtabs, matching_obj_sections)
2021         (expand_symtab_containing_pc, lookup_objfile_from_block)
2022         (lookup_static_symbol, basic_lookup_transparent_type)
2023         (find_pc_sect_compunit_symtab, find_symbol_at_address)
2024         (find_line_symtab, info_sources_command)
2025         (default_collect_symbol_completion_matches_break_on)
2026         (make_source_files_completion_list, find_main_name): Update.
2027         * symmisc.c (print_symbol_bcache_statistics)
2028         (print_objfile_statistics, maintenance_print_symbols)
2029         (maintenance_print_msymbols, maintenance_print_objfiles)
2030         (maintenance_info_symtabs, maintenance_check_symtabs)
2031         (maintenance_expand_symtabs, maintenance_info_line_tables):
2032         Update.
2033         * symfile.c (remove_symbol_file_command, overlay_invalidate_all)
2034         (find_pc_overlay, find_pc_mapped_section, list_overlays_command)
2035         (map_overlay_command, unmap_overlay_command)
2036         (simple_overlay_update, expand_symtabs_matching)
2037         (map_symbol_filenames): Update.
2038         * symfile-debug.c (set_debug_symfile): Update.
2039         * spu-tdep.c (spu_overlay_update, spu_objfile_from_frame):
2040         Update.
2041         * source.c (select_source_symtab, forget_cached_source_info):
2042         Update.
2043         * solib.c (solib_read_symbols): Update.
2044         * solib-spu.c (append_ocl_sos): Update.
2045         * psymtab.c (maintenance_print_psymbols)
2046         (maintenance_info_psymtabs, maintenance_check_psymtabs): Update.
2047         * probe.c (parse_probes_in_pspace, find_probe_by_pc): Update.
2048         * printcmd.c (info_symbol_command): Update.
2049         * ppc-linux-tdep.c (ppc_linux_spe_context_inferior_created):
2050         Update.
2051         * objfiles.h (class all_objfiles): Remove.
2052         * objfiles.c (have_partial_symbols, have_full_symbols)
2053         (have_minimal_symbols, qsort_cmp, update_section_map)
2054         (shared_objfile_contains_address_p)
2055         (default_iterate_over_objfiles_in_search_order): Update.
2056         * objc-lang.c (info_selectors_command, info_classes_command)
2057         (find_methods): Update.
2058         * minsyms.c (find_solib_trampoline_target): Update.
2059         * maint.c (maintenance_info_sections)
2060         (maintenance_translate_address, count_symtabs_and_blocks):
2061         Update.
2062         * main.c (captured_main_1): Update.
2063         * linux-thread-db.c (try_thread_db_load_from_pdir)
2064         (has_libpthread): Update.
2065         * linespec.c (iterate_over_all_matching_symtabs)
2066         (search_minsyms_for_name): Update.
2067         * jit.c (jit_find_objf_with_entry_addr): Update.
2068         * hppa-tdep.c (find_unwind_entry)
2069         (hppa_lookup_stub_minimal_symbol): Update.
2070         * gcore.c (gcore_create_callback, objfile_find_memory_regions):
2071         Update.
2072         * elfread.c (elf_gnu_ifunc_resolve_by_cache)
2073         (elf_gnu_ifunc_resolve_by_got): Update.
2074         * dwarf2-frame.c (dwarf2_frame_find_fde): Update.
2075         * dwarf-index-write.c (save_gdb_index_command): Update.
2076         * cp-support.c (add_symbol_overload_list_qualified): Update.
2077         * breakpoint.c (create_overlay_event_breakpoint)
2078         (create_longjmp_master_breakpoint)
2079         (create_std_terminate_master_breakpoint)
2080         (create_exception_master_breakpoint): Update.
2081         * blockframe.c (find_pc_partial_function): Update.
2082         * ada-lang.c (ada_lookup_simple_minsym, add_nonlocal_symbols)
2083         (ada_collect_symbol_completion_matches)
2084         (ada_add_global_exceptions): Update.
2085
2086 2019-01-17  Tom Tromey  <[email protected]>
2087
2088         * solib-target.c (lm_info_target_p): Remove typedef.  Don't
2089         declare VEC.
2090         (solib_target_parse_libraries): Change return type.
2091         (library_list_start_segment, library_list_start_section)
2092         (library_list_end_library, library_list_start_library); Update.
2093         (solib_target_free_library_list): Remove.
2094         (solib_target_parse_libraries): Remove cleanup.  Change return
2095         type.
2096         (solib_target_current_sos): Update.
2097
2098 2019-01-17  Tom Tromey  <tromey@bapiya>
2099
2100         * valprint.c: Replace "the the" with "the".
2101         * symtab.c: Replace "the the" with "the".
2102         * solib.c: Replace "the the" with "the".
2103         * solib-dsbt.c: Replace "the the" with "the".
2104         * linespec.c: Replace "the the" with "the".
2105         * dwarf2loc.h: Replace "the the" with "the".
2106         * amd64-windows-tdep.c: Replace "the the" with "the".
2107         * aarch64-tdep.c: Replace "the the" with "the".
2108
2109 2019-01-16  Keith Seitz  <[email protected]>
2110
2111         PR gdb/23773
2112         * dwarf2read.c (dwarf2_cu) <ancestor>: New field.
2113         <builder>: Rename to ..
2114         <m_builder>: ... this and make private.
2115         (dwarf2_cu::get_builder): New method.  Change all users of
2116         `builder' to use this method.
2117         (dwarf2_start_symtab): Move to ...
2118         (dwarf2_cu::start_symtab): ... here.  Update all callers
2119         (setup_type_unit_groups): Move to ...
2120         (dwarf2_cu::setup_type_unit_groups): ... here.  Update all
2121         callers.
2122         (dwarf2_cu::reset_builder): New method.
2123         (process_full_compunit, process_full_type_unit): Use
2124         dwarf2_cu::reset_builder.
2125         (follow_die_offset): Record the ancestor CU if it is different
2126         from the followed DIE's CU.
2127         (follow_die_sig_1): Likewise.
2128
2129 2019-01-15  Tom Tromey  <[email protected]>
2130
2131         * remote.c (class remote_state) <buf>: Now a char_vector.
2132         <buf_size>: Remove.
2133         (remote_target::getpkt): Change type of buf.  Remove sizeof_buf
2134         parameter.
2135         (remote_target::getpkt_or_notif_sane_1)
2136         (remote_target::getpkt_sane)
2137         (remote_target::getpkt_or_notif_sane): Likewise.
2138         (class remote_target) <putpkt>: New overload.
2139         (remote_target::read_frame): Change type of "buf_p".  Remove
2140         sizeof_p parameter.
2141         (packet_ok): New overload.
2142         (packet_check_result): New overload.
2143         Update all uses.
2144
2145 2019-01-14  Tom Tromey  <[email protected]>
2146
2147         * remote-notif.c (handle_notification, remote_notif_ack)
2148         (remote_notif_parse): Make "buf" const.
2149         * remote-notif.h (struct notif_client) <parse, ack>: Make "buf"
2150         const.
2151         (remote_notif_parse, remote_notif_ack, handle_notification):
2152         Likewise.
2153         * remote.c (remote_notif_stop_parse): Make "buf" const.
2154         (remote_target::remote_parse_stop_reply): Make "buf" const.
2155         (remote_notif_stop_ack): Make "buf" const.
2156
2157 2019-01-14  Tom Tromey  <[email protected]>
2158
2159         * remote.c (remote_console_output): Make parameter const.
2160
2161 2019-01-14  Tom Tromey  <[email protected]>
2162
2163         * target-debug.h (target_debug_print_signals): Constify.
2164         * nto-procfs.c (nto_procfs_target::pass_signals): Update.
2165         * procfs.c (procfs_target::pass_signals): Update.
2166         * linux-nat.c (linux_nat_target::pass_signals): Update.
2167         * linux-nat.h (class linux_nat_target) <pass_signals>: Update.
2168         * target-delegates.c: Rebuild.
2169         * remote.c (remote_target::program_signals): Update.
2170         (remote_target::pass_signals): Update.
2171         * target.c (target_pass_signals): Constify argument.
2172         (target_program_signals): Likewise.
2173         * target.h (struct target_ops) <pass_signals, program_signals>:
2174         Constify argument.
2175         (target_pass_signals, target_program_signals): Constify argument.
2176
2177 2019-01-14  Tom Tromey  <[email protected]>
2178
2179         PR tui/28819:
2180         * tui/tui-io.c (gdb_wgetch): Print \r when needed.
2181
2182 2019-01-14  Pedro Franco de Carvalho  <[email protected]>
2183
2184         * ppc-tdep.h (struct gdbarch_tdep) <ppc_v0_alias_regnum>: New
2185         field.
2186         * rs6000-tdep.c: Include reggroups.h.
2187         (IS_V_ALIAS_PSEUDOREG): Define.
2188         (rs6000_register_name): Return names for the "vX" aliases.
2189         (rs6000_pseudo_register_type): Return type for the "vX" aliases.
2190         (rs6000_pseudo_register_reggroup_p): Restore.  Handle "vX"
2191         aliases.  Call default_register_reggroup_p for all other
2192         pseudo-registers.
2193         (v_alias_pseudo_register_read, v_alias_pseudo_register_write):
2194         New functions.
2195         (rs6000_pseudo_register_read, rs6000_pseudo_register_write):
2196         Handle "vX" aliases.
2197         (v_alias_pseudo_register_collect): New function.
2198         (rs6000_ax_pseudo_register_collect): Handle "vX" aliases.
2199         (rs6000_gdbarch_init): Initialize "vX" aliases as
2200         pseudo-registers.  Restore registration of
2201         rs6000_pseudo_register_reggroup_p with
2202         set_tdesc_pseudo_register_reggroup_p.
2203
2204 2019-01-13  Max Filippov  <[email protected]>
2205
2206         * xtensa-linux-tdep.c (xtensa_linux_init_abi): Update
2207         tdep->num_pseudo_regs. Add calls to set_gdbarch_num_regs and
2208         set_gdbarch_num_pseudo_regs.
2209
2210 2019-01-12  Philippe Waroquiers  <[email protected]>
2211
2212         * cli/cli-style.h (class cli_style_option): <add_setshow_commands>
2213         Remove arg prefixname, add do_set and do_show.
2214         Add member functions set_list and show_list.
2215         * cli/cli-style.c (class cli_style_option): Update accordingly.
2216         (style_set_list): Move to file scope.
2217         (style_show_list): Likewise.
2218         (set_style): Call help_list.
2219         (show_style): Call cmd_show_list.
2220         (_initialize_cli_style): New macro STYLE_ADD_SETSHOW_COMMANDS.
2221         Update to use the new macro.
2222
2223 2019-10-12  Joel Brobecker  <[email protected]>
2224
2225         * ada-lang.c (_initialize_ada_language): Expand the help text
2226         for the "catch exception" command.
2227
2228 2019-01-12  Philippe Waroquiers  <[email protected]>
2229
2230         * symtab.c (matching_obj_sections): Initialize obj,
2231         declare it closer to its usage.
2232
2233 2019-01-10  Tom Tromey  <[email protected]>
2234
2235         * thread-iter.h (inf_threads_iterator): Use next_iterator.
2236         (basic_inf_threads_range): Remove.
2237         (inf_threads_range, inf_non_exited_threads_range)
2238         (safe_inf_threads_range): Use next_adapter.
2239
2240 2019-01-10  Keith Seitz  <[email protected]>
2241
2242         PR gdb/23712
2243         PR symtab/23010
2244         * dwarf2read.c (dw2_add_symbol_to_list): Remove.
2245         (fixup_go_packaging, new_symbol): Use add_symbol_to_list.
2246
2247 2019-01-10  Keith Seitz  <[email protected]>
2248
2249         PR gdb/23712
2250         PR symtab/23010
2251         * dictionary.c (pending_to_vector): Remove.
2252         (dict_create_hashed_1, dict_create_linear_1, dict_add_pending_1):
2253         Remove _1 suffix, replacing functions of the same name.  Update
2254         all callers.
2255         (dict_create_hashed, dict_create_hashed_expandable)
2256         (dict_create_linear, dict_create_linear_expandable, dict_free)
2257         (dict_add_symbol, dict_add_pending, dict_size, dict_empty):
2258         Make functions static.
2259
2260 2019-01-10  Keith Seitz  <[email protected]>
2261
2262         PR gdb/23712
2263         PR symtab/23010
2264         * dictionary.h (struct dictionary): Replace declaration with
2265         multidictionary.
2266         (dict_create_hashed, dict_create_hashed_expandable)
2267         (dict_create_linear, dict_create_linear_expandable)
2268         (dict_free, dict_add_symbol, dict_add_pending, dict_empty)
2269         (dict_iterator_first, dict_iterator_next, dict_iter_match_first)
2270         (dict_iter_match_next, dict_size): Rename to "mdict_" versions
2271         taking multidictionary argument.
2272         [ALL_DICT_SYMBOLS]: Update for multidictionary.
2273         * block.h (struct block) <dict>: Change to multidictionary
2274         and rename `multidict'.
2275         * block.c, buildsym.c, jit.c, mdebugread.c, objfiles.c,
2276         symmisc.c: Update all dictionary references to multidictionary.
2277
2278 2019-01-10  Keith Seitz  <[email protected]>
2279
2280         PR gdb/23712
2281         PR symtab/23010
2282         * dictionary.c: Include unordered_map.
2283         (pending_to_vector): New function.
2284         (dict_create_hashed_1, dict_create_linear_1, dict_add_pending_1):
2285         Rewrite the non-"_1" functions to take vector instead
2286         of linked list.
2287         (dict_create_hashed, dict_create_linear, dict_add_pending): Use the
2288         "new" _1 versions of the same name.
2289         (multidictionary): Define.
2290         (std::hash<enum language): New definition.
2291         (collate_pending_symbols_by_language, mdict_create_hashed)
2292         (mdict_create_hashed_expandable, mdict_create_linear)
2293         (mdict_create_linear_expandable, mdict_free)
2294         (find_language_dictionary, create_new_language_dictionary)
2295         (mdict_add_symbol, mdict_add_pending, mdict_iterator_first)
2296         (mdict_iterator_next, mdict_iter_match_first, mdict_iter_match_next)
2297         (mdict_size, mdict_empty): New functions.
2298         * dictionary.h (mdict_iterator): Define.
2299
2300 2019-01-10  Pedro Alves  <[email protected]>
2301
2302         * breakpoint.c (read_uploaded_action)
2303         (create_tracepoint_from_upload): Adjust to use
2304         gdb::unique_xmalloc_ptr.
2305         * ctf.c (ctf_write_uploaded_tp):
2306         (SET_ARRAY_FIELD): Use emplace_back.
2307         (SET_STRING_FIELD): Adjust to use gdb::unique_xmalloc_ptr.
2308         * tracefile-tfile.c (tfile_write_uploaded_tp):
2309         * tracepoint.c (parse_tracepoint_definition): Adjust to use
2310         gdb::unique_xmalloc_ptr.
2311         * tracepoint.h (struct uploaded_tp) <cond, actions, step_actions,
2312         at_string, cond_string, cmd_strings>: Replace char pointers
2313         with gdb::unique_xmalloc_ptr.
2314
2315 2019-01-10  Pedro Alves  <[email protected]>
2316
2317         * solib-target.c (library_list_start_library): Don't xstrdup name.
2318
2319 2019-01-10  Pedro Alves  <[email protected]>
2320
2321         * mdebugread.c (parse_partial_symbols): Use
2322         gdb::unique_xmalloc_ptr to manage heap-allocated 'stabsstring'.
2323
2324 2019-01-10  Andrew Burgess  <[email protected]>
2325
2326         * linux-fork.c (scoped_switch_fork_info)
2327         <~scoped_switch_fork_info>: Fix incorrect variable name.
2328
2329 2019-01-10  Andrew Burgess  <[email protected]>
2330
2331         * linux-fork.c (scoped_switch_fork_info)
2332         <scoped_switch_fork_info>: Make explicit.
2333         <~scoped_switch_fork_info>: Wrap core in TRY/CATCH.
2334
2335 2019-01-10  Tom Tromey  <[email protected]>
2336
2337         * objfiles.h (objfile::reset_psymtabs): Update.
2338         * objfiles.c (objfile::objfile): Update.
2339         * psymtab.h (psymtab_storage::obstack): Update.
2340         (psymtab_storage::m_obstack): Use gdb::optional.
2341         (class psymtab_storage): Update comment.  Remove objfile
2342         parameter.
2343         * psymtab.c (psymtab_storage::psymtab_storage): Update.
2344
2345 2019-01-10  Tom Tromey  <[email protected]>
2346
2347         * psymtab.h (psymtab_storage::allocate_psymtab): New method.
2348         <free_psymtabs>: Now private.
2349         * psymtab.c (psymtab_storage::allocate_psymtab): Implement.
2350         (allocate_psymtab): Use new method.
2351
2352 2019-01-10  Tom Tromey  <[email protected]>
2353
2354         * xcoffread.c (xcoff_end_psymtab): Use allocate_dependencies.
2355         * psymtab.h (psymtab_storage::allocate_dependencies): New method.
2356         * mdebugread.c (parse_partial_symbols): Use
2357         allocate_dependencies.
2358         * dwarf2read.c (dwarf2_create_include_psymtab): Use
2359         allocate_dependencies.
2360         (process_psymtab_comp_unit_reader)
2361         (build_type_psymtab_dependencies): Likewise.
2362         * dbxread.c (dbx_end_psymtab): Use allocate_dependencies.
2363
2364 2019-01-10  Tom Tromey  <[email protected]>
2365
2366         * psymtab.c (add_psymbol_to_bcache): Pass psymtab obstack to
2367         PSYMBOL_SET_LANGUAGE.
2368         (allocate_psymtab): Allocate psymtab on the psymtab obstack.
2369
2370 2019-01-10  Tom Tromey  <[email protected]>
2371
2372         * psymtab.h (psymtab_storage::obstack): New method.
2373         <m_obstack>: Rename from obstack; now private.
2374         * psymtab.c (psymtab_storage): Update.
2375         * dwarf2read.c (create_addrmap_from_index)
2376         (create_addrmap_from_aranges, dwarf2_build_psymtabs_hard):
2377         Update.
2378
2379 2019-01-10  Tom Tromey  <[email protected]>
2380
2381         * symfile.c (reread_symbols): Call objfile->reset_psymtabs.
2382         * objfiles.h (objfile::reset_psymtabs): New method.
2383
2384 2019-01-10  Tom Tromey  <[email protected]>
2385
2386         * symmisc.c (print_symbol_bcache_statistics): Update.
2387         (print_objfile_statistics): Update.
2388         * symfile.c (reread_symbols): Update.
2389         * psymtab.h (class psymtab_storage): New.
2390         * psymtab.c (psymtab_storage): New constructor.
2391         (~psymtab_storage): New destructor.
2392         (require_partial_symbols): Update.
2393         (ALL_OBJFILE_PSYMTABS_REQUIRED): Rewrite.
2394         (find_pc_sect_psymtab, find_pc_sect_psymbol)
2395         (match_partial_symbol, lookup_partial_symbol, dump_psymtab)
2396         (psym_dump, recursively_search_psymtabs, psym_has_symbols)
2397         (psym_find_compunit_symtab_by_address, sort_pst_symbols)
2398         (start_psymtab_common, end_psymtab_common)
2399         (add_psymbol_to_bcache, add_psymbol_to_list, init_psymbol_list)
2400         (allocate_psymtab): Update.
2401         (psymtab_storage::discard_psymtab): Rename from discard_psymtab.
2402         Update.
2403         (dump_psymtab_addrmap, maintenance_print_psymbols)
2404         (maintenance_check_psymtabs): Update.
2405         (class objfile_psymtabs): Move to objfiles.h.
2406         * psympriv.h (discard_psymtab): Now inline.
2407         (psymtab_discarder::psymtab_discarder): Update.
2408         (psymtab_discarder::~psymtab_discarder): Update.
2409         (ALL_OBJFILE_PSYMTABS): Rewrite.
2410         * objfiles.h (struct objfile) <psymtabs, psymtabs_addrmap,
2411         free_psymtabs, psymbol_cache, global_psymbols, static_psymbols>:
2412         Remove fields.
2413         <partial_symtabs>: New field.
2414         (class objfile_psymtabs): Move from psymtab.h.  Update.
2415         * objfiles.c (objfile::objfile): Initialize partial_symtabs, not
2416         psymbol_cache.
2417         (objfile::~objfile): Don't destroy psymbol_cache.
2418         * mdebugread.c (parse_partial_symbols): Update.
2419         * dwarf2read.c (create_addrmap_from_index)
2420         (create_addrmap_from_aranges, dw2_find_pc_sect_compunit_symtab)
2421         (process_psymtab_comp_unit_reader, dwarf2_build_psymtabs_hard)
2422         (add_partial_subprogram, dwarf2_ranges_read): Update.
2423         * dwarf-index-write.c (write_address_map)
2424         (write_one_signatured_type, recursively_write_psymbols)
2425         (class debug_names, class debug_names, write_psymtabs_to_index):
2426         Update.
2427
2428 2019-01-10  Tom Tromey  <[email protected]>
2429
2430         * symtab.h (SYMBOL_SET_NAMES): Update.
2431         (symbol_set_names): Update.
2432         (MSYMBOL_SET_NAMES): Update.
2433         * symtab.c (symbol_set_names): Change argument to be an
2434         objfile_per_bfd_storage.
2435         * psymtab.c (add_psymbol_to_bcache): Update.
2436         * psympriv.h (PSYMBOL_SET_NAMES): Take per_bfd argument.
2437
2438 2019-01-10  Tom Tromey  <[email protected]>
2439
2440         * symtab.c (create_demangled_names_hash): Change argument to be an
2441         objfile_per_bfd_storage.
2442         (symbol_set_names): Update.
2443
2444 2019-01-10  Tom Tromey  <[email protected]>
2445
2446         * xcoffread.c (xcoff_initial_scan): Unconditionally call
2447         init_psymbol_list.
2448         * psymtab.c (init_psymbol_list): Do nothing if already called.
2449         * psympriv.h (init_psymbol_list): Add comment.
2450         * dwarf2read.c (dwarf2_build_psymtabs): Unconditionally call
2451         init_psymbol_list.
2452         * dbxread.c (dbx_symfile_read): Unconditionally call
2453         init_psymbol_list.
2454
2455 2019-01-10  Tom Tromey  <[email protected]>
2456
2457         * xcoffread.c (scan_xcoff_symtab): Update.
2458         * psymtab.c (add_psymbol_to_list): Replace "list" parameter with
2459         "where".
2460         * mdebugread.c (parse_partial_symbols)
2461         (handle_psymbol_enumerators): Update.
2462         * dwarf2read.c (add_partial_symbol, load_partial_dies): Update.
2463         * dbxread.c (read_dbx_symtab): Update.
2464         * psympriv.h (psymbol_placement): New enum.
2465         (add_psymbol_to_list): Update.
2466
2467 2019-01-10  Tom Tromey  <[email protected]>
2468
2469         * xcoffread.c (xcoff_start_psymtab): Remove global_psymbols and
2470         static_psymbols parameters.
2471         (scan_xcoff_symtab): Update.
2472         * psymtab.c (start_psymtab_common): Remove global_psymbols and
2473         static_psymbols parameters.
2474         * psympriv.h (start_psymtab_common): Update.
2475         * mdebugread.c (parse_partial_symbols): Update.
2476         * dwarf2read.c (create_partial_symtab): Update.
2477         * dbxread.c (read_dbx_symtab): Update.
2478         (start_psymtab): Remove global_psymbols and static_psymbols
2479         parameters.
2480
2481 2019-01-10  Tom Tromey  <[email protected]>
2482
2483         * xcoffread.c (xcoff_end_psymtab): Remove some initializations.
2484         * psymtab.c (allocate_psymtab): Add comment.
2485         * psympriv.h (allocate_psymtab): Add comment.
2486         * dwarf2read.c (dwarf2_create_include_psymtab): Remove some
2487         initializations.
2488         * dbxread.c (dbx_end_psymtab): Remove some initializations.
2489
2490 2019-01-10  Tom Tromey  <[email protected]>
2491
2492         * symfile.h (mdebug_build_psymtabs, elfmdebug_build_psymtabs):
2493         Don't declare.
2494         * mipsread.c: Include mdebugread.h.
2495         * mdebugread.h (mdebug_build_psymtabs, elfmdebug_build_psymtabs):
2496         Declare.
2497         * elfread.c: Include mdebugread.h.
2498
2499 2019-01-09  Tom Tromey  <[email protected]>
2500
2501         * dbxread.c (dbx_end_psymtab): Use objfile_psymtabs.
2502         * mdebugread.c (parse_partial_symbols): Use objfile_psymtabs.
2503         * psymtab.c (ALL_OBJFILE_PSYMTABS_REQUIRED): Remove.
2504         (psym_map_symtabs_matching_filename, find_pc_sect_psymtab)
2505         (psym_lookup_symbol, psym_find_last_source_symtab)
2506         (psym_forget_cached_source_info, psym_print_stats)
2507         (psym_expand_symtabs_for_function, psym_expand_all_symtabs)
2508         (psym_expand_symtabs_with_fullname, psym_map_symbol_filenames)
2509         (psym_map_matching_symbols, psym_expand_symtabs_matching)
2510         (psym_find_compunit_symtab_by_address)
2511         (maintenance_print_psymbols, maintenance_info_psymtabs)
2512         (maintenance_check_psymtabs): Use ranged for.
2513         * psymtab.h (class objfile_psymtabs): New.
2514         (require_partial_symbols): Return objfile_psymtabs.
2515         * psympriv.h (ALL_OBJFILE_PSYMTABS): Remove.
2516
2517 2019-01-09  Tom Tromey  <[email protected]>
2518
2519         * symfile.c (overlay_invalidate_all, find_pc_overlay)
2520         (find_pc_mapped_section, list_overlays_command)
2521         (map_overlay_command, unmap_overlay_command)
2522         (simple_overlay_update): Use all_objfiles.
2523         * spu-tdep.c (spu_overlay_update): Use all_objfiles.
2524         * printcmd.c (info_symbol_command): Use all_objfiles.
2525         * objfiles.h (ALL_OBJSECTIONS): Remove.
2526         * maint.c (maintenance_translate_address): Use all_objfiles.
2527         * gcore.c (gcore_create_callback): Use all_objfiles.
2528         (objfile_find_memory_regions): Likewise.
2529
2530 2019-01-09  Tom Tromey  <[email protected]>
2531
2532         * symtab.c (find_line_symtab, info_sources_command)
2533         (make_source_files_completion_list): Use objfile_compunits.
2534         * source.c (select_source_symtab): Use objfile_compunits.
2535         * objfiles.h (struct objfile): Update comment.
2536         (ALL_OBJFILES): Remove.
2537         (ALL_FILETABS): Remove.
2538         * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Use
2539         objfile_compunits.
2540
2541 2019-01-09  Tom Tromey  <[email protected]>
2542
2543         * symmisc.c (print_objfile_statistics, dump_objfile)
2544         (maintenance_print_symbols): Use compunit_filetabs.
2545         * source.c (forget_cached_source_info_for_objfile): Use
2546         compunit_filetabs.
2547         * objfiles.h (ALL_OBJFILE_FILETABS): Remove.
2548         (ALL_FILETABS): Use compunit_filetabs.
2549         * objfiles.c (objfile_relocate1): Use compunit_filetabs.
2550         * coffread.c (coff_symtab_read): Use compunit_filetabs.
2551
2552 2019-01-09  Tom Tromey  <[email protected]>
2553
2554         * symtab.h (ALL_COMPUNIT_FILETABS): Remove.
2555         (compunit_filetabs): New.
2556         * symtab.c (iterate_over_some_symtabs, find_pc_sect_line): Use
2557         compunit_filetabs.
2558         (info_sources_command, make_source_files_completion_list): Remove
2559         declaration.
2560         * symmisc.c (print_objfile_statistics, dump_objfile)
2561         (maintenance_print_symbols): Remove declaration.
2562         (maintenance_info_symtabs): Use compunit_filetabs.
2563         (maintenance_info_line_tables): Likewise.
2564         * source.c (select_source_symtab): Change local variable name.
2565         (forget_cached_source_info_for_objfile): Remove declaration.
2566         * objfiles.h (ALL_OBJFILE_FILETABS): Use compunit_filetabs.
2567         * objfiles.c (objfile_relocate1): Remove declaration.
2568         * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Remove
2569         declaration.
2570         * maint.c (count_symtabs_and_blocks): Use compunit_filetabs.
2571         * coffread.c (coff_symtab_read): Remove declaration.
2572         * buildsym.c (buildsym_compunit::end_symtab_with_blockvector): Use
2573         compunit_filetabs.
2574
2575 2019-01-09  Tom Tromey  <[email protected]>
2576
2577         * symtab.c (lookup_objfile_from_block)
2578         (find_pc_sect_compunit_symtab, search_symbols)
2579         (default_collect_symbol_completion_matches_break_on): Use
2580         objfile_compunits.
2581         * objfiles.h (ALL_COMPUNITS): Remove.
2582         * maint.c (count_symtabs_and_blocks): Use objfile_compunits.
2583         * cp-support.c (add_symbol_overload_list_qualified): Use
2584         objfile_compunits.
2585         * ada-lang.c (ada_collect_symbol_completion_matches)
2586         (ada_add_global_exceptions): Use objfile_compunits.
2587
2588 2019-01-09  Tom Tromey  <[email protected]>
2589
2590         * source.c (select_source_symtab)
2591         (forget_cached_source_info_for_objfile): Remove declaration.
2592         * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Remove
2593         declaration.
2594         * maint.c (count_symtabs_and_blocks): Remove declaration.
2595         * cp-support.c (add_symbol_overload_list_qualified): Remove
2596         declaration.
2597         * coffread.c (coff_symtab_read): Remove declaration.
2598         * symtab.c (lookup_symbol_in_objfile_symtabs)
2599         (basic_lookup_transparent_type_1): Use objfile_compunits.
2600         (lookup_objfile_from_block, find_pc_sect_compunit_symtab)
2601         (info_sources_command, search_symbols)
2602         (default_collect_symbol_completion_matches_break_on)
2603         (make_source_files_completion_list): Remove declaration.
2604         * ada-lang.c (add_nonlocal_symbols): Use objfile_compunits.
2605         (ada_collect_symbol_completion_matches)
2606         (ada_add_global_exceptions): Remove declaration.
2607         * linespec.c (iterate_over_all_matching_symtabs): Use
2608         objfile_compunits.
2609         * objfiles.h (ALL_OBJFILE_COMPUNITS): Remove.
2610         (class objfile_compunits): New.
2611         (ALL_COMPUNITS): Use objfile_compunits.
2612         * symmisc.c (print_objfile_statistics, maintenance_info_symtabs)
2613         (maintenance_check_symtabs, maintenance_info_line_tables): Use
2614         objfile_compunits.
2615         * objfiles.c (objfile_relocate1): Use objfile_compunits.
2616
2617 2019-01-09  Tom Tromey  <[email protected]>
2618
2619         * symtab.c (search_symbols)
2620         (default_collect_symbol_completion_matches_break_on): Use
2621         objfile_msymbols.
2622         * ada-lang.c (ada_lookup_simple_minsym)
2623         (ada_collect_symbol_completion_matches): Use objfile_msymbols.
2624         * minsyms.c (find_solib_trampoline_target): Use objfile_msymbols.
2625         * hppa-tdep.c (hppa_lookup_stub_minimal_symbol): Use
2626         objfile_msymbols.
2627         * coffread.c (coff_symfile_read): Use objfile_msymbols.
2628         * symmisc.c (dump_msymbols): Use objfile_msymbols.
2629         * objc-lang.c (find_methods): Use objfile_msymbols.
2630         (info_selectors_command, info_classes_command): Likewise.
2631         * stabsread.c (scan_file_globals): Use objfile_msymbols.
2632         * objfiles.h (class objfile_msymbols): New.
2633         (ALL_OBJFILE_MSYMBOLS): Remove.
2634         (ALL_MSYMBOLS): Remove.
2635
2636 2019-01-09  Tom Tromey  <[email protected]>
2637
2638         * common/next-iterator.h (next_adapter): Add Iterator template
2639         parameter.
2640         * objfiles.h (ALL_OBJFILES_SAFE): Remove.
2641         (class all_objfiles_safe): New.
2642         * jit.c (jit_inferior_exit_hook): Use all_objfiles_safe.
2643         * objfiles.c (put_objfile_before): Update comment.
2644         (add_separate_debug_objfile): Likewise.
2645         (free_all_objfiles): Use all_objfiles_safe.
2646         (objfile_purge_solibs): Likewise.
2647
2648 2019-01-09  Tom Tromey  <[email protected]>
2649
2650         * symtab.c (iterate_over_symtabs, matching_obj_sections)
2651         (expand_symtab_containing_pc, lookup_static_symbol)
2652         (basic_lookup_transparent_type, find_pc_sect_compunit_symtab)
2653         (find_symbol_at_address, find_line_symtab, find_main_name): Use
2654         all_objfiles.
2655         * probe.c (find_probe_by_pc, collect_probes): Use all_objfiles.
2656         * breakpoint.c (create_overlay_event_breakpoint)
2657         (create_longjmp_master_breakpoint)
2658         (create_std_terminate_master_breakpoint)
2659         (create_exception_master_breakpoint): Use all_objfiles.
2660         * linux-thread-db.c (try_thread_db_load_from_pdir)
2661         (has_libpthread): Use all_objfiles.
2662         * ada-lang.c (add_nonlocal_symbols): Use all_objfiles.
2663         * linespec.c (iterate_over_all_matching_symtabs)
2664         (search_minsyms_for_name): Use all_objfiles.
2665         * maint.c (maintenance_info_sections): Use all_objfiles.
2666         * main.c (captured_main_1): Use all_objfiles.
2667         * spu-tdep.c (spu_objfile_from_frame): Use all_objfiles.
2668         * guile/scm-objfile.c (gdbscm_objfiles): Use all_objfiles.
2669         * guile/scm-pretty-print.c
2670         (ppscm_find_pretty_printer_from_objfiles): Use all_objfiles.
2671         * solib-spu.c (append_ocl_sos): Use all_objfiles.
2672         * symmisc.c (maintenance_print_symbols): Use all_objfiles.
2673         (maintenance_print_msymbols): Use all_objfiles.
2674         * source.c (select_source_symtab): Use all_objfiles.
2675         * jit.c (jit_find_objf_with_entry_addr): Use all_objfiles.
2676         * symfile.c (remove_symbol_file_command)
2677         (expand_symtabs_matching, map_symbol_filenames): Use
2678         all_objfiles.
2679         * ppc-linux-tdep.c (ppc_linux_spe_context_inferior_created): Use
2680         all_objfiles.
2681         * dwarf2-frame.c (dwarf2_frame_find_fde): Use all_objfiles.
2682         * objc-lang.c (find_methods): Use all_objfiles.
2683         * objfiles.c (have_partial_symbols, have_full_symbols)
2684         (have_minimal_symbols, qsort_cmp)
2685         (default_iterate_over_objfiles_in_search_order): Use
2686         all_objfiles.
2687         * hppa-tdep.c (find_unwind_entry): Use all_objfiles.
2688         * psymtab.c (maintenance_print_psymbols): Use all_objfiles.
2689         (maintenance_check_psymtabs): Use all_objfiles.
2690         (ALL_PSYMTABS): Remove.
2691         * compile/compile-object-run.c (do_module_cleanup): Use
2692         all_objfiles.
2693         * blockframe.c (find_pc_partial_function): Use all_objfiles.
2694         * cp-support.c (add_symbol_overload_list_qualified): Use
2695         all_objfiles.
2696         * windows-tdep.c (windows_iterate_over_objfiles_in_search_order):
2697         Use all_objfiles.
2698         * dwarf-index-write.c (save_gdb_index_command): Use all_objfiles.
2699         * python/py-xmethods.c (gdbpy_get_matching_xmethod_workers): Use
2700         all_objfiles.
2701         * python/py-objfile.c (objfpy_lookup_objfile_by_name)
2702         (objfpy_lookup_objfile_by_build_id): Use all_objfiles.
2703         * python/py-prettyprint.c (find_pretty_printer_from_objfiles):
2704         Uses all_objfiles.
2705         * solib.c (solib_read_symbols): Use all_objfiles
2706
2707 2019-01-09  Tom Tromey  <[email protected]>
2708
2709         * probe.c (parse_probes_in_pspace): Use all_objfiles.
2710         * guile/scm-progspace.c (gdbscm_progspace_objfiles): Use
2711         all_objfiles.
2712         * objfiles.h (ALL_PSPACE_OBJFILES): Remove.
2713         * symmisc.c (print_symbol_bcache_statistics)
2714         (print_objfile_statistics, maintenance_print_objfiles)
2715         (maintenance_info_symtabs, maintenance_check_symtabs)
2716         (maintenance_expand_symtabs, maintenance_info_line_tables): Use
2717         all_objfiles.
2718         * source.c (forget_cached_source_info): Use all_objfiles.
2719         * symfile-debug.c (set_debug_symfile): Use all_objfiles.
2720         * elfread.c (elf_gnu_ifunc_resolve_by_cache)
2721         (elf_gnu_ifunc_resolve_by_got): Use all_objfiles.
2722         * objfiles.c (update_section_map): Use all_objfiles.
2723         (shared_objfile_contains_address_p): Likewise.
2724         * psymtab.c (maintenance_info_psymtabs): Use all_objfiles.
2725         * python/py-progspace.c (pspy_get_objfiles): Use all_objfiles.
2726
2727 2019-01-09  Tom Tromey  <[email protected]>
2728
2729         * common/next-iterator.h: New file.
2730         * objfiles.h (class all_objfiles): New.
2731         (struct objfile_iterator): New.
2732
2733 2019-01-09  Philippe Waroquiers  <[email protected]>
2734
2735         * NEWS: Move the description of the changed "frame", "select-frame",
2736          and "info frame" commands to the Changed commands section.
2737
2738 2019-01-09  Simon Marchi  <[email protected]>
2739
2740         * gdbtypes.c (check_stub_method_group): Remove handling of old
2741         mangling schemes.
2742         * linespec.c (find_methods): Likewise.
2743         * stabsread.c (read_member_functions): Likewise.
2744         * valops.c (search_struct_method): Likewise.
2745         (value_struct_elt_for_reference): Likewise.
2746         * NEWS: Mention this change.
2747
2748 2019-01-09  Andrew Burgess  <[email protected]>
2749
2750         * cli/cli-cmds.c (list_command): Pass a source_lines_range to
2751         print_source_lines.
2752         * source.c (print_source_lines_base): Update line number check.
2753         (print_source_lines): New function.
2754         (source_lines_range::source_lines_range): New function.
2755         * source.h (class source_lines_range): New class.
2756         (print_source_lines): New declaration.
2757
2758 2019-01-09  Philippe Waroquiers  <[email protected]>
2759
2760         * linespec.c (linespec_state_destructor): Free self->canonical_names.
2761
2762 2019-01-08  Tom Tromey  <[email protected]>
2763             Simon Marchi  <[email protected]>
2764
2765         PR gdb/24060
2766         * ada-exp.y (DOLLAR_VARIABLE): Rename from SPECIAL_VARIABLE.
2767         * ada-lex.l (DOLLAR_VARIABLE): Likewise.
2768         * c-exp.y (DOLLAR_VARIABLE): Rename from VARIABLE.
2769         * f-exp.y (DOLLAR_VARIABLE): Likewise.
2770         * m2-exp.y (DOLLAR_VARIABLE): Rename from INTERNAL_VAR.
2771         * p-exp.y (DOLLAR_VARIABLE): Rename from VARIABLE.
2772
2773 2019-01-08  Andrew Burgess  <[email protected]>
2774
2775         * source.c (select_source_symtab): Move header comment to
2776         declaration in source.h.
2777         (forget_cached_source_info_for_objfile): Likewise.
2778         (forget_cached_source_info): Likewise.
2779         (identify_source_line): Likewise.
2780         * source.h (identify_source_line): Move declaration from symtab.h
2781         and add comment from source.c
2782         (print_source_lines): Likewise.
2783         (forget_cached_source_info_for_objfile): Likewise.
2784         (forget_cached_source_info): Likewise.
2785         (select_source_symtab): Likewise.
2786         (enum print_source_lines_flag): Move definition from symtab.h.
2787         * symtab.h (identify_source_line): Move declaration to source.h.
2788         (print_source_lines): Likewise.
2789         (forget_cached_source_info_for_objfile): Likewise.
2790         (forget_cached_source_info): Likewise.
2791         (select_source_symtab): Likewise.
2792         (enum print_source_lines_flag): Move definition to source.h.
2793         * tui/tui-hooks.c: Add 'source.h' include.
2794
2795 2019-01-08  Andrew Burgess  <[email protected]>
2796
2797         * source.c (print_source_lines_base): Handle requests to print
2798         reverse line number sequences, and guard against empty lines
2799         string.
2800
2801 2019-01-08  Andrew Burgess  <[email protected]>
2802
2803         * source.c (print_source_lines_base): Fix skip of '\r' if next
2804         character is '\n'.
2805
2806 2019-01-06  Tom Tromey  <[email protected]>
2807
2808         * c-exp.y (struct c_parse_state) <macro_original_text,
2809         expansion_obstack>: New member.
2810         (macro_original_text, expansion_obstack): Remove globals.
2811         (scan_macro_expansion, scanning_macro_expansion)
2812         (finished_macro_expansion): Update.
2813         (scan_macro_cleanup): Remove.
2814         (yylex, c_parse): Update.
2815
2816 2019-01-06  Tom Tromey  <[email protected]>
2817
2818         * c-exp.y (struct c_parse_state) <strings>: New member.
2819         (operator_stoken): Update.
2820
2821 2019-01-06  Tom Tromey  <[email protected]>
2822
2823         * parser-defs.h (type_ptr): Remove typedef.  Don't declare VEC.
2824         (union type_stack_elt) <typelist_val>: Now a pointer to
2825         std::vector.
2826         (type_stack_cleanup): Don't declare.
2827         (push_typelist): Update.
2828         * parse.c (pop_typelist): Return a std::vector.
2829         (push_typelist): Take a std::vector.
2830         (follow_types): Update.  Do not free args.
2831         (type_stack_cleanup): Remove.
2832         * c-exp.y (struct c_parse_state): New.
2833         (cpstate): New global.
2834         (type_aggregate_p, exp, ptr_operator, parameter_typelist)
2835         (nonempty_typelist): Update.
2836         (func_mod): Create a new vector.
2837         (c_parse): Create a c_parse_state.
2838         (check_parameter_typelist): Do not delete params.
2839         (function_method): Update.  Do not delete type_list.
2840
2841 2019-01-06  Tom Tromey  <[email protected]>
2842
2843         PR gdb/28155:
2844         * python/py-finishbreakpoint.c (bpfinishpy_init): Use
2845         check_typedef.
2846         * infcmd.c (finish_command_fsm_should_stop): Use check_typedef.
2847         (print_return_value): Likewise.
2848
2849 2019-01-05  Tom Tromey  <[email protected]>
2850
2851         * contrib/cleanup_check.py: Remove.
2852         * contrib/gcc-with-excheck: Remove.
2853         * contrib/exsummary.py: Remove.
2854         * contrib/excheck.py: Remove.
2855
2856 2019-01-05  Joel Brobecker  <[email protected]>
2857
2858         * thread.c (delete_thread_1): Add gdb_assert that THR is not
2859         NULL. Initialize tpprev to NULL instead of assigning it
2860         to NULL on the next statement.
2861         * windows-nat.c (windows_delete_thread): Remove check for
2862         main_thread_id before printing thread exit notifications.
2863         (get_windows_debug_event) <EXIT_THREAD_DEBUG_EVENT>:
2864         Remove thread ID check against main_thread_id.
2865         <CREATE_PROCESS_DEBUG_EVENT>: Remove call to
2866         windows_delete_thread.
2867         <EXIT_PROCESS_DEBUG_EVENT>: Add call to windows_delete_thread.
2868
2869 2019-01-04  Tom Tromey  <[email protected]>
2870
2871         * compile/compile.c (_initialize_compile): Use upper case for
2872         metasyntactic variables.
2873         * symmisc.c (_initialize_symmisc): Use upper case for
2874         metasyntactic variables.
2875         * psymtab.c (_initialize_psymtab): Use upper case for
2876         metasyntactic variables.
2877         * demangle.c (demangle_command): Use upper case for metasyntactic
2878         variables.
2879         (_initialize_demangler): Likewise.
2880         * ax-gdb.c (_initialize_ax_gdb): Use upper case for metasyntactic
2881         variables.
2882
2883 2019-01-03  Tom Tromey  <[email protected]>
2884
2885         * tui/tui-source.c (tui_set_source_content): Use xstrdup.
2886
2887 2019-01-03  Tom Tromey  <[email protected]>
2888
2889         * python/py-symtab.c (salpy_str): Update.
2890         (struct salpy_sal_object) <symtab>: Now a PyObject.
2891         (salpy_dealloc): Update.
2892         (del_objfile_sal): Use gdbpy_ref.
2893
2894 2019-01-03  Tom Tromey  <[email protected]>
2895
2896         * python/py-type.c (convert_field): Use new_reference.  Return
2897         gdbpy_ref.
2898         (make_fielditem): Return gdbpy_ref.
2899         (typy_fields): Update.
2900         (typy_getitem): Update.
2901         (field_name): Return gdbpy_ref.  Use new_reference.
2902         (typy_iterator_iternext): Update.
2903
2904 2019-01-03  Tom Tromey  <[email protected]>
2905
2906         * python/py-record.c (gdbpy_stop_recording): Use Py_RETURN_NONE.
2907
2908 2019-01-03  Tom Tromey  <[email protected]>
2909
2910         * python/py-value.c (valpy_dealloc): Use Py_XDECREF.
2911         * python/py-type.c (typy_fields_items): Use gdbpy_ref.
2912         * python/py-progspace.c (pspy_set_printers): Use gdbpy_ref.
2913         (pspy_set_frame_filters, pspy_set_frame_unwinders)
2914         (pspy_set_type_printers): Likewise.
2915         * python/py-function.c (fnpy_init): Use gdbpy_ref.
2916         * python/py-cmd.c (cmdpy_init): Use gdbpy_ref.
2917         * python/py-objfile.c (objfpy_set_printers): Use gdbpy_ref.
2918         (objfpy_set_frame_filters, objfpy_set_frame_unwinders)
2919         (objfpy_set_type_printers): Likewise.
2920
2921 2019-01-03  Tom Tromey  <[email protected]>
2922
2923         * python/python.c (gdbpy_enter, ~gdbpy_enter): Update.
2924         (gdbpy_print_stack): Use gdbpy_err_fetch.
2925         * python/python-internal.h (class gdbpy_err_fetch): New class.
2926         (class gdbpy_enter) <m_error_type, m_error_value,
2927         m_error_traceback>: Remove.
2928         <m_error>: New member.
2929         (gdbpy_exception_to_string): Don't declare.
2930         * python/py-varobj.c (py_varobj_iter_next): Use gdbpy_err_fetch.
2931         * python/py-value.c (convert_value_from_python): Use
2932         gdbpy_err_fetch.
2933         * python/py-utils.c (gdbpy_err_fetch::to_string): Rename from
2934         gdbpy_exception_to_string.
2935         (gdbpy_handle_exception): Use gdbpy_err_fetch.
2936         * python/py-prettyprint.c (print_stack_unless_memory_error): Use
2937         gdbpy_err_fetch.
2938
2939 2019-01-03  Andrew Burgess  <[email protected]>
2940
2941         * linux-nat.c (delete_lwp_cleanup): Delete.
2942         (struct lwp_deleter): New struct.
2943         (lwp_info_up): New typedef.
2944         (linux_nat_target::follow_fork): Delete cleanup, and make use of
2945         lwp_info_up.
2946
2947 2019-01-03  Andrew Burgess  <[email protected]>
2948
2949         * linux-fork.c (class scoped_switch_fork_info): New class.
2950         (inferior_call_waitpid): Update to use scoped_switch_fork_info.
2951
2952 2019-01-03  Andrew Burgess  <[email protected]>
2953
2954         * valops.c (find_overload_match): Remove use of null_cleanup, and
2955         calls to do_cleanups.
2956
2957 2019-01-03  Andrew Burgess  <[email protected]>
2958
2959         * compile/compile-cplus-types.c
2960         (compile_cplus_instance::decl_name): Handle changes to
2961         cp_func_name.
2962         * cp-support.c (cp_func_name): Update header comment, update
2963         return type.
2964         * cp-support.h (cp_func_name): Update return type in declaration.
2965         * valops.c (find_overload_match): Move temp_func local to top
2966         level of function and change its type.  Use temp_func to hold and
2967         delete temporary string obtained from cp_func_name.
2968
2969 2019-01-03  Andrew Burgess  <[email protected]>
2970
2971         * remote.c (remote_target::remote_check_symbols): Convert `msg` to
2972         gdb::char_vector, remove cleanup, and update uses of `msg`.
2973
2974 2019-01-03  Jim Wilson  <[email protected]>
2975
2976         * riscv-tdep.c (riscv_freg_feature): Drop s0 name from f8.
2977
2978 2019-01-02  Tom Tromey  <[email protected]>
2979
2980         * xml-tdesc.c (xml_cache): Hold a target_desc_up.
2981         (tdesc_parse_xml): Remove cleanups.
2982         * target-descriptions.h (make_cleanup_free_target_description):
2983         Don't declare.
2984         (target_desc_deleter): New struct.
2985         (target_desc_up): New typedef.
2986         * target-descriptions.c (target_desc_deleter::operator()): Rename
2987         from free_target_description.
2988         (make_cleanup_free_target_description): Remove.
2989
2990 2019-01-02  Tom Tromey  <[email protected]>
2991
2992         * linespec.c (struct linespec_parser): Rename from ls_parser.  Add
2993         constructor, destructor.
2994         (linespec_parser): Remove typedef.
2995         (~linespec_parser): Rename from linespec_parser_delete.
2996         (linespec_lex_to_end, linespec_complete_label)
2997         (linespec_complete): Update.
2998         (decode_line_full): Remove cleanups.
2999         (decode_line_1): Update.
3000
3001 2019-01-02  Tom Tromey  <[email protected]>
3002
3003         * python/python-internal.h (inferior_to_inferior_object): Change
3004         return type.
3005         * python/py-exitedevent.c (create_exited_event_object): Update.
3006         * python/py-inferior.c (inferior_to_inferior_object): Return
3007         gdbpy_ref.
3008         (python_new_inferior, python_inferior_deleted)
3009         (thread_to_thread_object, delete_thread_object)
3010         (build_inferior_list, gdbpy_selected_inferior): Update.
3011         * python/py-infthread.c (create_thread_object): Update.  Also fail
3012         if inferior_to_inferior_object fails.
3013
3014 2019-01-02  Simon Marchi  <[email protected]>
3015
3016         * inferior.h (class inferior) <displaced_step_state>: New field.
3017         * infrun.h (struct displaced_step_state): Move here from
3018         infrun.c.  Initialize fields, add constructor.
3019         <inf>: Remove field.
3020         <reset>: New method.
3021         * infrun.c (struct displaced_step_inferior_state): Move to
3022         infrun.h.
3023         (displaced_step_inferior_states): Remove.
3024         (get_displaced_stepping_state): Adust.
3025         (displaced_step_in_progress_any_inferior): Adjust.
3026         (displaced_step_in_progress_thread): Adjust.
3027         (displaced_step_in_progress): Adjust.
3028         (add_displaced_stepping_state): Remove.
3029         (get_displaced_step_closure_by_addr): Adjust.
3030         (remove_displaced_stepping_state): Remove.
3031         (infrun_inferior_exit): Call displaced_step_state.reset.
3032         (use_displaced_stepping): Don't check for NULL.
3033         (displaced_step_prepare_throw): Call
3034         get_displaced_stepping_state.
3035         (displaced_step_fixup): Don't check for NULL.
3036         (prepare_for_detach): Don't check for NULL.
3037
3038 2019-01-02  Philippe Waroquiers  <[email protected]>
3039
3040         * infcall.c (call_function_by_hand_dummy): cleanup/destroy sm
3041          in case of call that did not complete.
3042
3043 2019-01-02  Andrey Utkin  <[email protected]>
3044
3045         * symfile.c (find_separate_debug_file): Fix search of debug files for
3046         remote debuggee.
3047
3048 2019-01-02  Tom Tromey  <[email protected]>
3049
3050         * python/py-inferior.c (gdbpy_initialize_inferior): Fix
3051         indentation.
3052         * python/py-frame.c (frapy_older): Remove cast.
3053         (frapy_newer): Likewise.
3054         * python/py-breakpoint.c (local_setattro): Remove cast.
3055         * python/py-arch.c (archpy_name): Remove local variable.
3056         * python/py-type.c (gdbpy_lookup_type): Remove cast.
3057
3058 2019-01-02  Joel Brobecker  <[email protected]>
3059
3060         * unittests/basic_string_view/element_access/char/empty.cc:
3061         Fix year range in copyright header.
3062
3063 2019-01-01  Andrew Burgess  <[email protected]>
3064
3065         * arch/riscv.h (struct riscv_gdbarch_features) <hw_float_abi>:
3066         Delete.
3067         <operator==>: Update with for removed field.
3068         <hash>: Likewise.
3069         * riscv-tdep.h (struct gdbarch_tdep) <features>: Renamed to...
3070         <isa_features>: ...this.
3071         <abi_features>: New field.
3072         (riscv_isa_flen): Update comment.
3073         (riscv_abi_xlen): New declaration.
3074         (riscv_abi_flen): New declaration.
3075         * riscv-tdep.c (riscv_isa_xlen): Update to get answer from
3076         isa_features.
3077         (riscv_abi_xlen): New function.
3078         (riscv_isa_flen): Update to get answer from isa_features.
3079         (riscv_abi_flen): New function.
3080         (riscv_has_fp_abi): Update to get answer from abi_features.
3081         (riscv_call_info::riscv_call_info): Use abi xlen and flen, not isa
3082         xlen and flen.
3083         (riscv_call_info) <xlen, flen>: Update comment.
3084         (riscv_call_arg_struct): Remove invalid assertions
3085         (riscv_features_from_gdbarch_info): Update now hw_float_abi field
3086         is removed.
3087         (riscv_gdbarch_init): Gather isa features and abi features
3088         separately, ensure both match on the gdbarch when reusing an old
3089         gdbarch.  Relax an error check to allow 32-bit abi float to run on
3090         a target with 64-bit float hardware.
3091
3092 2019-01-01  Philippe Waroquiers  <[email protected]>
3093
3094         * source.c (search_command_helper): Stop reverse search
3095         when line 1 has been searched.
3096
3097 2019-01-01  Philippe Waroquiers  <[email protected]>
3098
3099         * record-full.c (record_full_base_target::close): Rewrite
3100         record_full_core_buf_list free logic.
3101
3102 2019-01-01  Philippe Waroquiers  <[email protected]>
3103
3104         * break-catch-syscall.c (print_one_catch_syscall): xfree
3105         the last text.
3106
3107 2019-01-01  Joel Brobecker  <[email protected]>
3108
3109         * top.c (print_gdb_version): Update Copyright year in version
3110         message.
3111
3112 2019-01-01  Joel Brobecker  <[email protected]>
3113
3114         Update copyright year range in all GDB files.
3115
3116 2019-01-01, 19  Joel Brobecker  <[email protected]>
3117
3118         * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2018.
3119
3120 For older changes see ChangeLog-2018.
3121 \f
3122 Local Variables:
3123 mode: change-log
3124 left-margin: 8
3125 fill-column: 74
3126 version-control: never
3127 coding: utf-8
3128 End:
3129
This page took 0.197264 seconds and 2 git commands to generate.