Use address style to print addresses in breakpoint information.
[external/binutils.git] / gdb / ChangeLog
1 2019-02-12  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
2
3         * breakpoint.c (describe_other_breakpoints): Use address style
4         to print addresses.
5         (say_where): Likewise.
6
7 2019-02-12  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
8
9         * ada-typeprint.c (print_func_type): Print function name
10         style to print function name.
11         * c-typeprint.c (c_print_type_1): Likewise.
12
13 2019-02-11  Alan Hayward  <alan.hayward@arm.com>
14
15         * aarch64-linux-tdep.c (aarch64_linux_get_syscall_number): Check
16         for execve.
17
18 2019-02-10  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
19
20         * c-exp.y (direct_abs_decl): Use emplace_back to record the
21         type_stack.
22
23 2019-02-10  Joel Brobecker  <brobecker@adacore.com>
24
25         * ada-varobj.c (ada_value_is_changeable_p): Add handling of
26         TYPE_CODE_REF types.
27
28 2019-02-08  Jim Wilson  <jimw@sifive.com>
29
30         * riscv-linux-tdep.c (riscv_linux_fregmap): New.
31         (riscv_linux_fregset): New.
32         (riscv_linux_iterate_over_regset_sections): Call cb for .reg2 section.
33
34 2019-02-07  Tom Tromey  <tom@tromey.com>
35
36         * thread.c (thread_cancel_execution_command): Update.
37         * thread-fsm.h (struct thread_fsm): Add constructor, destructor,
38         methods.
39         (struct thread_fsm_ops): Remove.
40         (thread_fsm_ctor, thread_fsm_delete, thread_fsm_clean_up)
41         (thread_fsm_should_stop, thread_fsm_return_value)
42         (thread_fsm_set_finished, thread_fsm_finished_p)
43         (thread_fsm_async_reply_reason, thread_fsm_should_notify_stop):
44         Don't declare.
45         * mi/mi-interp.c (mi_on_normal_stop_1): Update.
46         * infrun.c (clear_proceed_status_thread)
47         (clean_up_just_stopped_threads_fsms, fetch_inferior_event)
48         (print_stop_event): Update.
49         * infcmd.c (struct step_command_fsm): Inherit from thread_fsm.
50         Add constructor.
51         (step_command_fsm_ops): Remove.
52         (new_step_command_fsm): Remove.
53         (step_1): Update.
54         (step_command_fsm::should_stop): Rename from
55         step_command_fsm_should_stop.
56         (step_command_fsm::clean_up): Rename from
57         step_command_fsm_clean_up.
58         (step_command_fsm::do_async_reply_reason): Rename from
59         step_command_fsm_async_reply_reason.
60         (struct until_next_fsm): Inherit from thread_fsm.  Add
61         constructor.
62         (until_next_fsm_ops): Remove.
63         (new_until_next_fsm): Remove.
64         (until_next_fsm::should_stop): Rename from
65         until_next_fsm_should_stop.
66         (until_next_fsm::clean_up): Rename from until_next_fsm_clean_up.
67         (until_next_fsm::do_async_reply_reason): Rename from
68         until_next_fsm_async_reply_reason.
69         (struct finish_command_fsm): Inherit from thread_fsm.  Add
70         constructor.  Change type of breakpoint.
71         (finish_command_fsm_ops): Remove.
72         (new_finish_command_fsm): Remove.
73         (finish_command_fsm::should_stop): Rename from
74         finish_command_fsm_should_stop.
75         (finish_command_fsm::clean_up): Rename from
76         finish_command_fsm_clean_up.
77         (finish_command_fsm::return_value): Rename from
78         finish_command_fsm_return_value.
79         (finish_command_fsm::do_async_reply_reason): Rename from
80         finish_command_fsm_async_reply_reason.
81         (finish_command): Update.
82         * infcall.c (struct call_thread_fsm): Inherit from thread_fsm.
83         Add constructor.
84         (call_thread_fsm_ops): Remove.
85         (call_thread_fsm::call_thread_fsm): Rename from
86         new_call_thread_fsm.
87         (call_thread_fsm::should_stop): Rename from
88         call_thread_fsm_should_stop.
89         (call_thread_fsm::should_notify_stop): Rename from
90         call_thread_fsm_should_notify_stop.
91         (run_inferior_call, call_function_by_hand_dummy): Update.
92         * cli/cli-interp.c (should_print_stop_to_console): Update.
93         * breakpoint.c (struct until_break_fsm): Inherit from thread_fsm.
94         Add constructor.  Change type of location_breakpoint,
95         caller_breakpoint.
96         (until_break_fsm_ops): Remove.
97         (new_until_break_fsm): Remove.
98         (until_break_fsm::should_stop): Rename from
99         until_break_fsm_should_stop.
100         (until_break_fsm::clean_up): Rename from
101         until_break_fsm_clean_up.
102         (until_break_fsm::do_async_reply_reason): Rename from
103         until_break_fsm_async_reply_reason.
104         (until_break_command): Update.
105         * thread-fsm.c: Remove.
106         * Makefile.in (COMMON_SFILES): Remove thread-fsm.c.
107
108 2019-02-07  Tom Tromey  <tom@tromey.com>
109
110         * yy-remap.h: Add include guard.
111         * xtensa-tdep.h: Add include guard.
112         * xcoffread.h: Rename include guard.
113         * varobj-iter.h: Add include guard.
114         * tui/tui.h: Rename include guard.
115         * tui/tui-winsource.h: Rename include guard.
116         * tui/tui-wingeneral.h: Rename include guard.
117         * tui/tui-windata.h: Rename include guard.
118         * tui/tui-win.h: Rename include guard.
119         * tui/tui-stack.h: Rename include guard.
120         * tui/tui-source.h: Rename include guard.
121         * tui/tui-regs.h: Rename include guard.
122         * tui/tui-out.h: Rename include guard.
123         * tui/tui-layout.h: Rename include guard.
124         * tui/tui-io.h: Rename include guard.
125         * tui/tui-hooks.h: Rename include guard.
126         * tui/tui-file.h: Rename include guard.
127         * tui/tui-disasm.h: Rename include guard.
128         * tui/tui-data.h: Rename include guard.
129         * tui/tui-command.h: Rename include guard.
130         * tic6x-tdep.h: Add include guard.
131         * target/waitstatus.h: Rename include guard.
132         * target/wait.h: Rename include guard.
133         * target/target.h: Rename include guard.
134         * target/resume.h: Rename include guard.
135         * target-float.h: Rename include guard.
136         * stabsread.h: Add include guard.
137         * rs6000-tdep.h: Add include guard.
138         * riscv-fbsd-tdep.h: Add include guard.
139         * regformats/regdef.h: Rename include guard.
140         * record.h: Rename include guard.
141         * python/python.h: Rename include guard.
142         * python/python-internal.h: Rename include guard.
143         * python/py-stopevent.h: Rename include guard.
144         * python/py-ref.h: Rename include guard.
145         * python/py-record.h: Rename include guard.
146         * python/py-record-full.h: Rename include guard.
147         * python/py-record-btrace.h: Rename include guard.
148         * python/py-instruction.h: Rename include guard.
149         * python/py-events.h: Rename include guard.
150         * python/py-event.h: Rename include guard.
151         * procfs.h: Add include guard.
152         * proc-utils.h: Add include guard.
153         * p-lang.h: Add include guard.
154         * or1k-tdep.h: Rename include guard.
155         * observable.h: Rename include guard.
156         * nto-tdep.h: Rename include guard.
157         * nat/x86-linux.h: Rename include guard.
158         * nat/x86-linux-dregs.h: Rename include guard.
159         * nat/x86-gcc-cpuid.h: Add include guard.
160         * nat/x86-dregs.h: Rename include guard.
161         * nat/x86-cpuid.h: Rename include guard.
162         * nat/ppc-linux.h: Rename include guard.
163         * nat/mips-linux-watch.h: Rename include guard.
164         * nat/linux-waitpid.h: Rename include guard.
165         * nat/linux-ptrace.h: Rename include guard.
166         * nat/linux-procfs.h: Rename include guard.
167         * nat/linux-osdata.h: Rename include guard.
168         * nat/linux-nat.h: Rename include guard.
169         * nat/linux-namespaces.h: Rename include guard.
170         * nat/linux-btrace.h: Rename include guard.
171         * nat/glibc_thread_db.h: Rename include guard.
172         * nat/gdb_thread_db.h: Rename include guard.
173         * nat/gdb_ptrace.h: Rename include guard.
174         * nat/fork-inferior.h: Rename include guard.
175         * nat/amd64-linux-siginfo.h: Rename include guard.
176         * nat/aarch64-sve-linux-sigcontext.h: Rename include guard.
177         * nat/aarch64-sve-linux-ptrace.h: Rename include guard.
178         * nat/aarch64-linux.h: Rename include guard.
179         * nat/aarch64-linux-hw-point.h: Rename include guard.
180         * mn10300-tdep.h: Add include guard.
181         * mips-linux-tdep.h: Add include guard.
182         * mi/mi-parse.h: Rename include guard.
183         * mi/mi-out.h: Rename include guard.
184         * mi/mi-main.h: Rename include guard.
185         * mi/mi-interp.h: Rename include guard.
186         * mi/mi-getopt.h: Rename include guard.
187         * mi/mi-console.h: Rename include guard.
188         * mi/mi-common.h: Rename include guard.
189         * mi/mi-cmds.h: Rename include guard.
190         * mi/mi-cmd-break.h: Rename include guard.
191         * m2-lang.h: Add include guard.
192         * location.h: Rename include guard.
193         * linux-record.h: Rename include guard.
194         * linux-nat.h: Add include guard.
195         * linux-fork.h: Add include guard.
196         * i386-darwin-tdep.h: Rename include guard.
197         * hppa-linux-offsets.h: Add include guard.
198         * guile/guile.h: Rename include guard.
199         * guile/guile-internal.h: Rename include guard.
200         * gnu-nat.h: Rename include guard.
201         * gdb-stabs.h: Rename include guard.
202         * frv-tdep.h: Add include guard.
203         * f-lang.h: Add include guard.
204         * event-loop.h: Add include guard.
205         * darwin-nat.h: Rename include guard.
206         * cp-abi.h: Rename include guard.
207         * config/sparc/nm-sol2.h: Rename include guard.
208         * config/nm-nto.h: Rename include guard.
209         * config/nm-linux.h: Add include guard.
210         * config/i386/nm-i386gnu.h: Rename include guard.
211         * config/djgpp/nl_types.h: Rename include guard.
212         * config/djgpp/langinfo.h: Rename include guard.
213         * compile/gcc-cp-plugin.h: Add include guard.
214         * compile/gcc-c-plugin.h: Add include guard.
215         * compile/compile.h: Rename include guard.
216         * compile/compile-object-run.h: Rename include guard.
217         * compile/compile-object-load.h: Rename include guard.
218         * compile/compile-internal.h: Rename include guard.
219         * compile/compile-cplus.h: Rename include guard.
220         * compile/compile-c.h: Rename include guard.
221         * common/xml-utils.h: Rename include guard.
222         * common/x86-xstate.h: Rename include guard.
223         * common/version.h: Rename include guard.
224         * common/vec.h: Rename include guard.
225         * common/tdesc.h: Rename include guard.
226         * common/selftest.h: Rename include guard.
227         * common/scoped_restore.h: Rename include guard.
228         * common/scoped_mmap.h: Rename include guard.
229         * common/scoped_fd.h: Rename include guard.
230         * common/safe-iterator.h: Rename include guard.
231         * common/run-time-clock.h: Rename include guard.
232         * common/refcounted-object.h: Rename include guard.
233         * common/queue.h: Rename include guard.
234         * common/ptid.h: Rename include guard.
235         * common/print-utils.h: Rename include guard.
236         * common/preprocessor.h: Rename include guard.
237         * common/pathstuff.h: Rename include guard.
238         * common/observable.h: Rename include guard.
239         * common/netstuff.h: Rename include guard.
240         * common/job-control.h: Rename include guard.
241         * common/host-defs.h: Rename include guard.
242         * common/gdb_wait.h: Rename include guard.
243         * common/gdb_vecs.h: Rename include guard.
244         * common/gdb_unlinker.h: Rename include guard.
245         * common/gdb_unique_ptr.h: Rename include guard.
246         * common/gdb_tilde_expand.h: Rename include guard.
247         * common/gdb_sys_time.h: Rename include guard.
248         * common/gdb_string_view.h: Rename include guard.
249         * common/gdb_splay_tree.h: Rename include guard.
250         * common/gdb_setjmp.h: Rename include guard.
251         * common/gdb_ref_ptr.h: Rename include guard.
252         * common/gdb_optional.h: Rename include guard.
253         * common/gdb_locale.h: Rename include guard.
254         * common/gdb_assert.h: Rename include guard.
255         * common/filtered-iterator.h: Rename include guard.
256         * common/filestuff.h: Rename include guard.
257         * common/fileio.h: Rename include guard.
258         * common/environ.h: Rename include guard.
259         * common/common-utils.h: Rename include guard.
260         * common/common-types.h: Rename include guard.
261         * common/common-regcache.h: Rename include guard.
262         * common/common-inferior.h: Rename include guard.
263         * common/common-gdbthread.h: Rename include guard.
264         * common/common-exceptions.h: Rename include guard.
265         * common/common-defs.h: Rename include guard.
266         * common/common-debug.h: Rename include guard.
267         * common/cleanups.h: Rename include guard.
268         * common/buffer.h: Rename include guard.
269         * common/btrace-common.h: Rename include guard.
270         * common/break-common.h: Rename include guard.
271         * cli/cli-utils.h: Rename include guard.
272         * cli/cli-style.h: Rename include guard.
273         * cli/cli-setshow.h: Rename include guard.
274         * cli/cli-script.h: Rename include guard.
275         * cli/cli-interp.h: Rename include guard.
276         * cli/cli-decode.h: Rename include guard.
277         * cli/cli-cmds.h: Rename include guard.
278         * charset-list.h: Add include guard.
279         * buildsym-legacy.h: Rename include guard.
280         * bfin-tdep.h: Add include guard.
281         * ax.h: Rename include guard.
282         * arm-linux-tdep.h: Add include guard.
283         * arm-fbsd-tdep.h: Add include guard.
284         * arch/xtensa.h: Rename include guard.
285         * arch/tic6x.h: Add include guard.
286         * arch/i386.h: Add include guard.
287         * arch/arm.h: Rename include guard.
288         * arch/arm-linux.h: Rename include guard.
289         * arch/arm-get-next-pcs.h: Rename include guard.
290         * arch/amd64.h: Add include guard.
291         * arch/aarch64-insn.h: Rename include guard.
292         * arch-utils.h: Rename include guard.
293         * annotate.h: Add include guard.
294         * amd64-darwin-tdep.h: Rename include guard.
295         * aarch64-linux-tdep.h: Add include guard.
296         * aarch64-fbsd-tdep.h: Add include guard.
297         * aarch32-linux-nat.h: Add include guard.
298
299 2019-02-06  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
300
301         * macrotab.c (macro_define_internal): New function that
302         factorizes macro_define_object_internal and macro_define_function
303         code.
304         (macro_define_object_internal): Use macro_define_internal.
305         (macro_define_function): Likewise.
306
307 2019-02-06  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
308
309         * macrocmd.c (extract_identifier): Return
310         a gdb::unique_xmalloc_ptr<char> instead of a char *, and update
311         callers.
312
313 2019-02-06  John Baldwin  <jhb@FreeBSD.org>
314
315         * fbsd-nat.c (fbsd_fetch_cmdline): Join arguments with spaces.
316
317 2019-02-05  Tom Tromey  <tom@tromey.com>
318
319         * target.c (target_stack::unpush): Move assertion earlier.
320
321 2019-01-30  Tom Tromey  <tom@tromey.com>
322
323         PR python/23615:
324         * python/python.c (execute_gdb_command): Use gdbpy_allow_threads.
325         (gdbpy_parse_and_eval): Likewise.
326         * python/python-internal.h (gdbpy_allow_threads): New class.
327
328 2019-01-28  John Baldwin  <jhb@FreeBSD.org>
329
330         * aarch64-fbsd-tdep.c (aarch64_fbsd_gregmap)
331         (aarch64_fbsd_fpregmap): Move earlier.
332         (AARCH64_MCONTEXT_REG_SIZE, AARCH64_MCONTEXT_FPREG_SIZE): Delete.
333         (aarch64_fbsd_sigframe_init): Use trad_frame_set_reg_regmap
334         instead of individual calls to trad_frame_set_reg_addr.
335         * arm-fbsd-tdep.c (arm_fbsd_gregmap, arm_fbsd_vfpregmap): Move
336         earlier.
337         (ARM_MCONTEXT_REG_SIZE, ARM_MCONTEXT_VFP_REG_SIZE): Delete.
338         (arm_fbsd_sigframe_init): Use trad_frame_set_reg_regmap
339         instead of individual calls to trad_frame_set_reg_addr.
340
341 2019-01-28  Alan Hayward  <alan.hayward@arm.com>
342
343         * CONTRIBUTE: Replace contribution list with wiki link.
344
345 2019-01-25  Tom Tromey  <tom@tromey.com>
346
347         * Makefile.in (GDB_CFLAGS): Don't add -I for common.
348
349 2019-01-25  Tom Tromey  <tom@tromey.com>
350
351         * xtensa-linux-nat.c: Fix common/ includes.
352         * xml-support.h: Fix common/ includes.
353         * xml-support.c: Fix common/ includes.
354         * x86-linux-nat.c: Fix common/ includes.
355         * windows-nat.c: Fix common/ includes.
356         * varobj.h: Fix common/ includes.
357         * varobj.c: Fix common/ includes.
358         * value.c: Fix common/ includes.
359         * valops.c: Fix common/ includes.
360         * utils.c: Fix common/ includes.
361         * unittests/xml-utils-selftests.c: Fix common/ includes.
362         * unittests/utils-selftests.c: Fix common/ includes.
363         * unittests/unpack-selftests.c: Fix common/ includes.
364         * unittests/tracepoint-selftests.c: Fix common/ includes.
365         * unittests/style-selftests.c: Fix common/ includes.
366         * unittests/string_view-selftests.c: Fix common/ includes.
367         * unittests/scoped_restore-selftests.c: Fix common/ includes.
368         * unittests/scoped_mmap-selftests.c: Fix common/ includes.
369         * unittests/scoped_fd-selftests.c: Fix common/ includes.
370         * unittests/rsp-low-selftests.c: Fix common/ includes.
371         * unittests/parse-connection-spec-selftests.c: Fix common/
372         includes.
373         * unittests/optional-selftests.c: Fix common/ includes.
374         * unittests/offset-type-selftests.c: Fix common/ includes.
375         * unittests/observable-selftests.c: Fix common/ includes.
376         * unittests/mkdir-recursive-selftests.c: Fix common/ includes.
377         * unittests/memrange-selftests.c: Fix common/ includes.
378         * unittests/memory-map-selftests.c: Fix common/ includes.
379         * unittests/lookup_name_info-selftests.c: Fix common/ includes.
380         * unittests/function-view-selftests.c: Fix common/ includes.
381         * unittests/environ-selftests.c: Fix common/ includes.
382         * unittests/copy_bitwise-selftests.c: Fix common/ includes.
383         * unittests/common-utils-selftests.c: Fix common/ includes.
384         * unittests/cli-utils-selftests.c: Fix common/ includes.
385         * unittests/array-view-selftests.c: Fix common/ includes.
386         * ui-file.c: Fix common/ includes.
387         * tui/tui-io.c: Fix common/ includes.
388         * tracepoint.h: Fix common/ includes.
389         * tracepoint.c: Fix common/ includes.
390         * tracefile-tfile.c: Fix common/ includes.
391         * top.h: Fix common/ includes.
392         * top.c: Fix common/ includes.
393         * thread.c: Fix common/ includes.
394         * target/waitstatus.h: Fix common/ includes.
395         * target/waitstatus.c: Fix common/ includes.
396         * target.h: Fix common/ includes.
397         * target.c: Fix common/ includes.
398         * target-memory.c: Fix common/ includes.
399         * target-descriptions.c: Fix common/ includes.
400         * symtab.h: Fix common/ includes.
401         * symfile.c: Fix common/ includes.
402         * stap-probe.c: Fix common/ includes.
403         * spu-linux-nat.c: Fix common/ includes.
404         * sparc-nat.c: Fix common/ includes.
405         * source.c: Fix common/ includes.
406         * solib.c: Fix common/ includes.
407         * solib-target.c: Fix common/ includes.
408         * ser-unix.c: Fix common/ includes.
409         * ser-tcp.c: Fix common/ includes.
410         * ser-pipe.c: Fix common/ includes.
411         * ser-base.c: Fix common/ includes.
412         * selftest-arch.c: Fix common/ includes.
413         * s12z-tdep.c: Fix common/ includes.
414         * rust-exp.y: Fix common/ includes.
415         * rs6000-aix-tdep.c: Fix common/ includes.
416         * riscv-tdep.c: Fix common/ includes.
417         * remote.c: Fix common/ includes.
418         * remote-notif.h: Fix common/ includes.
419         * remote-fileio.h: Fix common/ includes.
420         * remote-fileio.c: Fix common/ includes.
421         * regcache.h: Fix common/ includes.
422         * regcache.c: Fix common/ includes.
423         * record-btrace.c: Fix common/ includes.
424         * python/python.c: Fix common/ includes.
425         * python/py-type.c: Fix common/ includes.
426         * python/py-inferior.c: Fix common/ includes.
427         * progspace.h: Fix common/ includes.
428         * producer.c: Fix common/ includes.
429         * procfs.c: Fix common/ includes.
430         * proc-api.c: Fix common/ includes.
431         * printcmd.c: Fix common/ includes.
432         * ppc-linux-nat.c: Fix common/ includes.
433         * parser-defs.h: Fix common/ includes.
434         * osdata.c: Fix common/ includes.
435         * obsd-nat.c: Fix common/ includes.
436         * nat/x86-linux.c: Fix common/ includes.
437         * nat/x86-linux-dregs.c: Fix common/ includes.
438         * nat/x86-dregs.h: Fix common/ includes.
439         * nat/x86-dregs.c: Fix common/ includes.
440         * nat/ppc-linux.c: Fix common/ includes.
441         * nat/mips-linux-watch.h: Fix common/ includes.
442         * nat/mips-linux-watch.c: Fix common/ includes.
443         * nat/linux-waitpid.c: Fix common/ includes.
444         * nat/linux-ptrace.h: Fix common/ includes.
445         * nat/linux-ptrace.c: Fix common/ includes.
446         * nat/linux-procfs.c: Fix common/ includes.
447         * nat/linux-personality.c: Fix common/ includes.
448         * nat/linux-osdata.c: Fix common/ includes.
449         * nat/linux-namespaces.c: Fix common/ includes.
450         * nat/linux-btrace.h: Fix common/ includes.
451         * nat/linux-btrace.c: Fix common/ includes.
452         * nat/fork-inferior.c: Fix common/ includes.
453         * nat/amd64-linux-siginfo.c: Fix common/ includes.
454         * nat/aarch64-sve-linux-ptrace.c: Fix common/ includes.
455         * nat/aarch64-linux.c: Fix common/ includes.
456         * nat/aarch64-linux-hw-point.h: Fix common/ includes.
457         * nat/aarch64-linux-hw-point.c: Fix common/ includes.
458         * namespace.h: Fix common/ includes.
459         * mips-linux-tdep.c: Fix common/ includes.
460         * minsyms.c: Fix common/ includes.
461         * mi/mi-parse.h: Fix common/ includes.
462         * mi/mi-main.c: Fix common/ includes.
463         * mi/mi-cmd-env.c: Fix common/ includes.
464         * memrange.h: Fix common/ includes.
465         * memattr.c: Fix common/ includes.
466         * maint.h: Fix common/ includes.
467         * maint.c: Fix common/ includes.
468         * main.c: Fix common/ includes.
469         * machoread.c: Fix common/ includes.
470         * location.c: Fix common/ includes.
471         * linux-thread-db.c: Fix common/ includes.
472         * linux-nat.c: Fix common/ includes.
473         * linux-fork.c: Fix common/ includes.
474         * inline-frame.c: Fix common/ includes.
475         * infrun.c: Fix common/ includes.
476         * inflow.c: Fix common/ includes.
477         * inferior.h: Fix common/ includes.
478         * inferior.c: Fix common/ includes.
479         * infcmd.c: Fix common/ includes.
480         * inf-ptrace.c: Fix common/ includes.
481         * inf-child.c: Fix common/ includes.
482         * ia64-linux-nat.c: Fix common/ includes.
483         * i387-tdep.c: Fix common/ includes.
484         * i386-tdep.c: Fix common/ includes.
485         * i386-linux-tdep.c: Fix common/ includes.
486         * i386-linux-nat.c: Fix common/ includes.
487         * i386-go32-tdep.c: Fix common/ includes.
488         * i386-fbsd-tdep.c: Fix common/ includes.
489         * i386-fbsd-nat.c: Fix common/ includes.
490         * guile/scm-type.c: Fix common/ includes.
491         * guile/guile.c: Fix common/ includes.
492         * go32-nat.c: Fix common/ includes.
493         * gnu-nat.c: Fix common/ includes.
494         * gdbthread.h: Fix common/ includes.
495         * gdbarch-selftests.c: Fix common/ includes.
496         * gdb_usleep.c: Fix common/ includes.
497         * gdb_select.h: Fix common/ includes.
498         * gdb_bfd.c: Fix common/ includes.
499         * gcore.c: Fix common/ includes.
500         * fork-child.c: Fix common/ includes.
501         * findvar.c: Fix common/ includes.
502         * fbsd-nat.c: Fix common/ includes.
503         * event-top.c: Fix common/ includes.
504         * event-loop.c: Fix common/ includes.
505         * dwarf2read.c: Fix common/ includes.
506         * dwarf2loc.c: Fix common/ includes.
507         * dwarf2-frame.c: Fix common/ includes.
508         * dwarf-index-cache.c: Fix common/ includes.
509         * dtrace-probe.c: Fix common/ includes.
510         * disasm-selftests.c: Fix common/ includes.
511         * defs.h: Fix common/ includes.
512         * csky-tdep.c: Fix common/ includes.
513         * cp-valprint.c: Fix common/ includes.
514         * cp-support.h: Fix common/ includes.
515         * cp-support.c: Fix common/ includes.
516         * corelow.c: Fix common/ includes.
517         * completer.h: Fix common/ includes.
518         * completer.c: Fix common/ includes.
519         * compile/compile.c: Fix common/ includes.
520         * compile/compile-loc2c.c: Fix common/ includes.
521         * compile/compile-cplus-types.c: Fix common/ includes.
522         * compile/compile-cplus-symbols.c: Fix common/ includes.
523         * command.h: Fix common/ includes.
524         * cli/cli-dump.c: Fix common/ includes.
525         * cli/cli-cmds.c: Fix common/ includes.
526         * charset.c: Fix common/ includes.
527         * build-id.c: Fix common/ includes.
528         * btrace.h: Fix common/ includes.
529         * btrace.c: Fix common/ includes.
530         * breakpoint.h: Fix common/ includes.
531         * breakpoint.c: Fix common/ includes.
532         * ax.h: 
533         (enum agent_op): Fix common/ includes.
534         * ax-general.c (struct aop_map): Fix common/ includes.
535         * ax-gdb.c: Fix common/ includes.
536         * auxv.c: Fix common/ includes.
537         * auto-load.c: Fix common/ includes.
538         * arm-tdep.c: Fix common/ includes.
539         * arch/riscv.c: Fix common/ includes.
540         * arch/ppc-linux-common.c: Fix common/ includes.
541         * arch/i386.c: Fix common/ includes.
542         * arch/arm.c: Fix common/ includes.
543         * arch/arm-linux.c: Fix common/ includes.
544         * arch/arm-get-next-pcs.c: Fix common/ includes.
545         * arch/amd64.c: Fix common/ includes.
546         * arch/aarch64.c: Fix common/ includes.
547         * arch/aarch64-insn.c: Fix common/ includes.
548         * arch-utils.c: Fix common/ includes.
549         * amd64-windows-tdep.c: Fix common/ includes.
550         * amd64-tdep.c: Fix common/ includes.
551         * amd64-sol2-tdep.c: Fix common/ includes.
552         * amd64-obsd-tdep.c: Fix common/ includes.
553         * amd64-nbsd-tdep.c: Fix common/ includes.
554         * amd64-linux-tdep.c: Fix common/ includes.
555         * amd64-linux-nat.c: Fix common/ includes.
556         * amd64-fbsd-tdep.c: Fix common/ includes.
557         * amd64-fbsd-nat.c: Fix common/ includes.
558         * amd64-dicos-tdep.c: Fix common/ includes.
559         * amd64-darwin-tdep.c: Fix common/ includes.
560         * agent.c: Fix common/ includes.
561         * ada-lang.h: Fix common/ includes.
562         * ada-lang.c: Fix common/ includes.
563         * aarch64-tdep.c: Fix common/ includes.
564
565 2019-01-25  Tom Tromey  <tom@tromey.com>
566
567         * common/create-version.sh: Use common/version.h.
568
569 2019-01-24  Pedro Alves  <palves@redhat.com>
570
571         * infrun.c (signal_stop, signal_print, signal_program)
572         (signal_catch, signal_pass): Now arrays instead of pointers.
573         (update_signals_program_target, do_target_resume)
574         (signal_catch_update, handle_command, _initialize_infrun): Adjust.
575         * linux-nat.c (linux_nat_target::pass_signals)
576         (linux_nat_target::create_inferior, linux_nat_target::attach):
577         Adjust.
578         * linux-nat.h (linux_nat_target::pass_signals): Adjust.
579         * nto-procfs.c (nto_procfs_target::pass_signals): Adjust.
580         * procfs.c (procfs_target::pass_signals): Adjust.
581         * record-full.c (record_full_target::resume): Adjust.
582         * remote.c (remote_target::pass_signals)
583         (remote_target::program_signals): Adjust.
584         * target-debug.h (target_debug_print_signals): Now takes a
585         gdb::array_view as parameter.  Adjust.
586         * target.h (target_ops) <pass_signals, program_signals>: Replace
587         pointer and length parameters with gdb::array_view.
588         (target_pass_signals, target_program_signals): Likewise.
589         * target-delegates.c: Regenerate.
590
591 2019-01-24  Pedro Alves  <palves@redhat.com>
592
593         * common/forward-scope-exit.h
594         (forward_scope_exit::forward_scope_exit): Pass arguments to
595         m_bind_function directly, instead of creating a std::bind and
596         copying that.
597
598 2019-01-24  Alan Hayward  <alan.hayward@arm.com>
599
600         * aarch64-tdep.c (aapcs_is_vfp_call_or_return_candidate_1): Check
601         for static members.
602         (pass_in_v_vfp_candidate): Likewise.
603
604 2019-01-23  Tom Tromey  <tom@tromey.com>
605             Pedro Alves  <palves@redhat.com>
606
607         * regcache.c (class regcache_invalidator): Remove.
608         (regcache::raw_write): Use make_scope_exit.
609
610 2019-01-23  Tom Tromey  <tom@tromey.com>
611
612         * ui-out.h (class ui_out_emit_type): Update comment.
613
614 2019-01-23  Tom Tromey  <tom@tromey.com>
615
616         * infrun.c (fetch_inferior_event): Update comment.
617
618 2019-01-23  Tom Tromey  <tom@tromey.com>
619             Pedro Alves  <palves@redhat.com>
620
621         * infrun.c (reinstall_readline_callback_handler_cleanup): Remove
622         parameter.
623         (fetch_inferior_event): Use SCOPE_EXIT.
624
625
626 2019-01-23  Tom Tromey  <tom@tromey.com>
627             Pedro Alves  <palves@redhat.com>
628
629         * infrun.c (disable_thread_events): Delete.
630         (stop_all_threads): Use SCOPE_EXIT.
631
632 2019-01-23  Tom Tromey  <tom@tromey.com>
633             Pedro Alves  <palves@redhat.com>
634
635         * symfile.c: Include forward-scope-exit.h.
636         (clear_symtab_users_cleanup): Replace forward declaration with
637         a FORWARD_SCOPE_EXIT.
638         (syms_from_objfile_1): Use the forward_scope_exit and
639         gdb::optional instead of cleanup_function.
640         (reread_symbols): Use the forward_scope_exit instead of
641         cleanup_function.
642         (clear_symtab_users_cleanup): Remove function.
643
644 2019-01-23  Tom Tromey  <tom@tromey.com>
645             Pedro Alves  <palves@redhat.com>
646
647         * linux-nat.c: Include scope-exit.h.
648         (cleanup_target_stop): Remove.
649         (linux_nat_target::static_tracepoint_markers_by_strid): Use
650         SCOPE_EXIT.
651
652 2019-01-23  Tom Tromey  <tom@tromey.com>
653             Pedro Alves  <palves@redhat.com>
654
655         * infcall.c (cleanup_delete_std_terminate_breakpoint): Remove.
656         (call_function_by_hand_dummy): Use SCOPE_EXIT.
657
658 2019-01-23  Tom Tromey  <tom@tromey.com>
659             Andrew Burgess  <andrew.burgess@embecosm.com>
660             Pedro Alves  <palves@redhat.com>
661
662         * infrun.c (fetch_inferior_event): Use scope_exit.
663         * utils.h (make_bpstat_clear_actions_cleanup): Don't declare.
664         * top.c (execute_command): Use scope_exit.
665         * breakpoint.c (bpstat_do_actions): Use scope_exit.
666         * utils.c (do_bpstat_clear_actions_cleanup)
667         (make_bpstat_clear_actions_cleanup): Remove.
668
669 2019-01-23  Tom Tromey  <tom@tromey.com>
670             Pedro Alves  <palves@redhat.com>
671
672         * infrun.c: Include "common/scope-exit.h"
673         (delete_just_stopped_threads_infrun_breakpoints_cleanup): Remove.
674         (wait_for_inferior): Use SCOPE_EXIT.
675         (fetch_inferior_event): Use scope_exit.
676
677 2019-01-23  Tom Tromey  <tom@tromey.com>
678             Pedro Alves  <palves@redhat.com>
679
680         * breakpoint.c (create_breakpoint): Remove cleanup.
681
682 2019-01-23  Tom Tromey  <tom@tromey.com>
683             Andrew Burgess  <andrew.burgess@embecosm.com>
684             Pedro Alves  <palves@redhat.com>
685
686 2019-01-23  Pedro Alves  <palves@redhat.com>
687
688         * gdbarch-selftests.c (struct on_exit): Use SCOPE_EXIT.
689
690 2019-01-23  Pedro Alves  <palves@redhat.com>
691             Andrew Burgess  <andrew.burgess@embecosm.com>
692
693         * gdbthread.h: Include "common/forward-scope-exit.h".
694         (scoped_finish_thread_state): Redefine custom class in terms of
695         forward_scope_exit.
696
697 2019-01-23  Pedro Alves  <palves@redhat.com>
698             Andrew Burgess  <andrew.burgess@embecosm.com>
699
700         * common/forward-scope-exit.h: New file.
701
702 2019-01-23  Pedro Alves  <palves@redhat.com>
703             Andrew Burgess  <andrew.burgess@embecosm.com>
704             Tom Tromey  <tom@tromey.com>
705
706         * common/scope-exit.h: New file.
707
708 2019-01-23  Pedro Alves  <palves@redhat.com>
709
710         * common/preprocessor.h (ESC): Rename to ...
711         (ESC_PARENS): ... this.
712         * common/valid-expr.h (CHECK_VALID_EXPR_1, CHECK_VALID_EXPR_2)
713         (CHECK_VALID_EXPR_3, CHECK_VALID_EXPR_4): Adjust.
714
715 2019-01-23  Tom Tromey  <tom@tromey.com>
716
717         * language.h (class scoped_switch_to_sym_language_if_auto):
718         Initialize m_lang in both cases.
719
720 2019-01-23  Alan Hayward  <alan.hayward@arm.com>
721
722         * nat/aarch64-linux.c (aarch64_linux_new_thread): Replace XNEW
723         with XCNEW.
724
725 2019-01-22  Tom Tromey  <tom@tromey.com>
726
727         * corelow.c: Do not include sys/file.h.
728
729 2019-01-22  Tom Tromey  <tom@tromey.com>
730
731         * tui/tui-wingeneral.h: Include gdb_curses.h.
732
733 2019-01-22  Tom Tromey  <tom@tromey.com>
734
735         * source-cache.h (class source_cache) <get_source_lines,
736         get_plain_source_lines, extract_lines>: Rename "lines" parameter.
737
738 2019-01-22  Tom Tromey  <tom@tromey.com>
739
740         * remote-fileio.h (struct remote_target): Declare.
741
742 2019-01-22  Tom Tromey  <tom@tromey.com>
743
744         * python/py-arch.c: Do not include py-ref.h.
745         * python/py-bpevent.c: Do not include py-ref.h.
746         * python/py-cmd.c: Do not include py-ref.h.
747         * python/py-continueevent.c: Do not include py-ref.h.
748         * python/py-event.h: Do not include py-ref.h.
749         * python/py-evtregistry.c: Do not include py-ref.h.
750         * python/py-finishbreakpoint.c: Do not include py-ref.h.
751         * python/py-frame.c: Do not include py-ref.h.
752         * python/py-framefilter.c: Do not include py-ref.h.
753         * python/py-function.c: Do not include py-ref.h.
754         * python/py-infevents.c: Do not include py-ref.h.
755         * python/py-linetable.c: Do not include py-ref.h.
756         * python/py-objfile.c: Do not include py-ref.h.
757         * python/py-param.c: Do not include py-ref.h.
758         * python/py-prettyprint.c: Do not include py-ref.h.
759         * python/py-progspace.c: Do not include py-ref.h.
760         * python/py-symbol.c: Do not include py-ref.h.
761         * python/py-symtab.c: Do not include py-ref.h.
762         * python/py-type.c: Do not include py-ref.h.
763         * python/py-unwind.c: Do not include py-ref.h.
764         * python/py-utils.c: Do not include py-ref.h.
765         * python/py-value.c: Do not include py-ref.h.
766         * python/py-varobj.c: Do not include py-ref.h.
767         * python/py-xmethods.c: Do not include py-ref.h.
768         * python/python.c: Do not include py-ref.h.
769         * varobj.c: Do not include py-ref.h.
770
771 2019-01-22  Tom Tromey  <tom@tromey.com>
772
773         * objfiles.h (struct objfile_per_bfd_storage): Use "struct"
774         keyword for bcache.
775
776 2019-01-22  Tom Tromey  <tom@tromey.com>
777
778         * compile/compile-cplus-types.c: Remove a comment by #include.
779
780 2019-01-22  Tom Tromey  <tom@tromey.com>
781
782         * compile/gcc-c-plugin.h: Include compile-internal.h.
783
784 2019-01-22  Tom Tromey  <tom@tromey.com>
785
786         * stabsread.c (EXTERN): Do not define.
787         (symnum, next_symbol_text_func, processing_gcc_compilation)
788         (within_function, global_sym_chain, global_stabs)
789         (previous_stab_code, this_object_header_files)
790         (n_this_object_header_files)
791         (n_allocated_this_object_header_files): Define.
792         * stabsread.h (EXTERN): Never define.  Use "extern".
793
794 2019-01-22  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
795
796         * event-top.c (handle_line_of_input): use unique_xmalloc_ptr for
797         history_value.
798
799 2019-01-21  Tom Tromey  <tom@tromey.com>
800
801         * ui-out.c: Fix includes.
802         * tui/tui-source.c: Fix includes.
803         * target.c: Fix includes.
804         * remote.c: Fix includes.
805         * regcache.c: Fix includes.
806         * python/py-block.c: Fix includes.
807         * printcmd.c: Fix includes.
808         * or1k-tdep.c: Fix includes.
809         * mi/mi-main.c: Fix includes.
810         * m32r-tdep.c: Fix includes.
811         * csky-tdep.c: Fix includes.
812         * compile/compile-cplus-types.c: Fix includes.
813         * cli/cli-interp.c: Fix includes.
814
815 2019-01-21  Alan Hayward  <alan.hayward@arm.com>
816
817         * aarch64-tdep.c (aapcs_is_vfp_call_or_return_candidate_1): Check
818         for padding.
819
820 2019-01-16  Tom Tromey  <tom@tromey.com>
821
822         * objfiles.h (struct minimal_symbol_iterator): Rename.  Move
823         earlier.
824         (struct objfile) <msymbols_range>: Move from top level.
825         <msymbols>: New method.
826         (class objfile_msymbols): Remove.
827         * symtab.c (default_collect_symbol_completion_matches_break_on):
828         Update.
829         * symmisc.c (dump_msymbols): Update.
830         * stabsread.c (scan_file_globals): Update.
831         * objc-lang.c (info_selectors_command, info_classes_command)
832         (find_methods): Update.
833         * minsyms.c (find_solib_trampoline_target): Update.
834         * hppa-tdep.c (hppa_lookup_stub_minimal_symbol): Update.
835         * coffread.c (coff_symfile_read): Update.
836         * ada-lang.c (ada_lookup_simple_minsym)
837         (ada_collect_symbol_completion_matches): Update.
838
839 2019-01-16  Tom Tromey  <tom@tromey.com>
840
841         * objfiles.h (class objfile_msymbols) <iterator>: Change argument
842         type.  Remove no-argument constructor.
843         <iterator::operator++>: Simplify.
844         <begin>: Update.
845         <end>: Use minimal_symbol_count.
846
847 2019-01-16  Tom Tromey  <tom@tromey.com>
848
849         * objfiles.h (struct objfile) <psymtabs>: New method.
850         (class objfile_psymtabs): Remove.
851         * psymtab.h (class psymtab_storage) <partial_symtab_range>: New
852         typedef.
853         <range>: New method.
854         (require_partial_symbols): Change return type.
855         * psymtab.c (require_partial_symbols)
856         (psym_expand_symtabs_matching): Update.
857         * mdebugread.c (parse_partial_symbols): Update.
858         * dbxread.c (dbx_end_psymtab): Update.
859
860 2019-01-15  Tom Tromey  <tom@tromey.com>
861
862         * symtab.c (lookup_objfile_from_block)
863         (lookup_symbol_in_objfile_symtabs)
864         (basic_lookup_transparent_type_1, find_pc_sect_compunit_symtab)
865         (find_line_symtab, info_sources_command)
866         (default_collect_symbol_completion_matches_break_on)
867         (make_source_files_completion_list): Update.
868         * symmisc.c (print_objfile_statistics, dump_objfile)
869         (maintenance_print_symbols, maintenance_info_symtabs)
870         (maintenance_check_symtabs, maintenance_info_line_tables):
871         Update.
872         * source.c (select_source_symtab)
873         (forget_cached_source_info_for_objfile): Update.
874         * objfiles.h (class objfile_compunits): Remove.
875         (struct objfile) <compunits_range>: New typedef.
876         (compunits): New method.
877         * objfiles.c (objfile_relocate1): Update.
878         * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update.
879         * maint.c (count_symtabs_and_blocks): Update.
880         * linespec.c (iterate_over_all_matching_symtabs): Update.
881         * cp-support.c (add_symbol_overload_list_qualified): Update.
882         * coffread.c (coff_symtab_read): Update.
883         * ada-lang.c (add_nonlocal_symbols)
884         (ada_collect_symbol_completion_matches)
885         (ada_add_global_exceptions): Update.
886
887 2019-01-15  Tom Tromey  <tom@tromey.com>
888
889         * progspace.h (program_space) <objfiles_safe_range>: New
890         typedef.
891         <objfiles_safe>: New method.
892         * objfiles.h (class all_objfiles_safe): Remove.
893         * objfiles.c (free_all_objfiles, objfile_purge_solibs): Update.
894         * jit.c (jit_inferior_exit_hook): Update.
895
896 2019-01-17  Tom Tromey  <tom@tromey.com>
897
898         * progspace.h (program_space) <objfiles_range>: New typedef.
899         <objfiles>: New method.
900         <objfiles_head>: Rename from objfiles.
901         (object_files): Update.
902         * guile/scm-progspace.c (gdbscm_progspace_objfiles): Update.
903         * guile/scm-pretty-print.c
904         (ppscm_find_pretty_printer_from_objfiles): Update.
905         * guile/scm-objfile.c (gdbscm_objfiles): Update.
906         * python/py-xmethods.c (gdbpy_get_matching_xmethod_workers):
907         Update.
908         * python/py-progspace.c (pspy_get_objfiles): Update.
909         * python/py-prettyprint.c (find_pretty_printer_from_objfiles):
910         Update.
911         * python/py-objfile.c (objfpy_lookup_objfile_by_name)
912         (objfpy_lookup_objfile_by_build_id): Update.
913         * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update.
914         * windows-tdep.c (windows_iterate_over_objfiles_in_search_order):
915         Update.
916         * symtab.c (iterate_over_symtabs, matching_obj_sections)
917         (expand_symtab_containing_pc, lookup_objfile_from_block)
918         (lookup_static_symbol, basic_lookup_transparent_type)
919         (find_pc_sect_compunit_symtab, find_symbol_at_address)
920         (find_line_symtab, info_sources_command)
921         (default_collect_symbol_completion_matches_break_on)
922         (make_source_files_completion_list, find_main_name): Update.
923         * symmisc.c (print_symbol_bcache_statistics)
924         (print_objfile_statistics, maintenance_print_symbols)
925         (maintenance_print_msymbols, maintenance_print_objfiles)
926         (maintenance_info_symtabs, maintenance_check_symtabs)
927         (maintenance_expand_symtabs, maintenance_info_line_tables):
928         Update.
929         * symfile.c (remove_symbol_file_command, overlay_invalidate_all)
930         (find_pc_overlay, find_pc_mapped_section, list_overlays_command)
931         (map_overlay_command, unmap_overlay_command)
932         (simple_overlay_update, expand_symtabs_matching)
933         (map_symbol_filenames): Update.
934         * symfile-debug.c (set_debug_symfile): Update.
935         * spu-tdep.c (spu_overlay_update, spu_objfile_from_frame):
936         Update.
937         * source.c (select_source_symtab, forget_cached_source_info):
938         Update.
939         * solib.c (solib_read_symbols): Update.
940         * solib-spu.c (append_ocl_sos): Update.
941         * psymtab.c (maintenance_print_psymbols)
942         (maintenance_info_psymtabs, maintenance_check_psymtabs): Update.
943         * probe.c (parse_probes_in_pspace, find_probe_by_pc): Update.
944         * printcmd.c (info_symbol_command): Update.
945         * ppc-linux-tdep.c (ppc_linux_spe_context_inferior_created):
946         Update.
947         * objfiles.h (class all_objfiles): Remove.
948         * objfiles.c (have_partial_symbols, have_full_symbols)
949         (have_minimal_symbols, qsort_cmp, update_section_map)
950         (shared_objfile_contains_address_p)
951         (default_iterate_over_objfiles_in_search_order): Update.
952         * objc-lang.c (info_selectors_command, info_classes_command)
953         (find_methods): Update.
954         * minsyms.c (find_solib_trampoline_target): Update.
955         * maint.c (maintenance_info_sections)
956         (maintenance_translate_address, count_symtabs_and_blocks):
957         Update.
958         * main.c (captured_main_1): Update.
959         * linux-thread-db.c (try_thread_db_load_from_pdir)
960         (has_libpthread): Update.
961         * linespec.c (iterate_over_all_matching_symtabs)
962         (search_minsyms_for_name): Update.
963         * jit.c (jit_find_objf_with_entry_addr): Update.
964         * hppa-tdep.c (find_unwind_entry)
965         (hppa_lookup_stub_minimal_symbol): Update.
966         * gcore.c (gcore_create_callback, objfile_find_memory_regions):
967         Update.
968         * elfread.c (elf_gnu_ifunc_resolve_by_cache)
969         (elf_gnu_ifunc_resolve_by_got): Update.
970         * dwarf2-frame.c (dwarf2_frame_find_fde): Update.
971         * dwarf-index-write.c (save_gdb_index_command): Update.
972         * cp-support.c (add_symbol_overload_list_qualified): Update.
973         * breakpoint.c (create_overlay_event_breakpoint)
974         (create_longjmp_master_breakpoint)
975         (create_std_terminate_master_breakpoint)
976         (create_exception_master_breakpoint): Update.
977         * blockframe.c (find_pc_partial_function): Update.
978         * ada-lang.c (ada_lookup_simple_minsym, add_nonlocal_symbols)
979         (ada_collect_symbol_completion_matches)
980         (ada_add_global_exceptions): Update.
981
982 2019-01-17  Tom Tromey  <tom@tromey.com>
983
984         * solib-target.c (lm_info_target_p): Remove typedef.  Don't
985         declare VEC.
986         (solib_target_parse_libraries): Change return type.
987         (library_list_start_segment, library_list_start_section)
988         (library_list_end_library, library_list_start_library); Update.
989         (solib_target_free_library_list): Remove.
990         (solib_target_parse_libraries): Remove cleanup.  Change return
991         type.
992         (solib_target_current_sos): Update.
993
994 2019-01-17  Tom Tromey  <tromey@bapiya>
995
996         * valprint.c: Replace "the the" with "the".
997         * symtab.c: Replace "the the" with "the".
998         * solib.c: Replace "the the" with "the".
999         * solib-dsbt.c: Replace "the the" with "the".
1000         * linespec.c: Replace "the the" with "the".
1001         * dwarf2loc.h: Replace "the the" with "the".
1002         * amd64-windows-tdep.c: Replace "the the" with "the".
1003         * aarch64-tdep.c: Replace "the the" with "the".
1004
1005 2019-01-16  Keith Seitz  <keiths@redhat.com>
1006
1007         PR gdb/23773
1008         * dwarf2read.c (dwarf2_cu) <ancestor>: New field.
1009         <builder>: Rename to ..
1010         <m_builder>: ... this and make private.
1011         (dwarf2_cu::get_builder): New method.  Change all users of
1012         `builder' to use this method.
1013         (dwarf2_start_symtab): Move to ...
1014         (dwarf2_cu::start_symtab): ... here.  Update all callers
1015         (setup_type_unit_groups): Move to ...
1016         (dwarf2_cu::setup_type_unit_groups): ... here.  Update all
1017         callers.
1018         (dwarf2_cu::reset_builder): New method.
1019         (process_full_compunit, process_full_type_unit): Use
1020         dwarf2_cu::reset_builder.
1021         (follow_die_offset): Record the ancestor CU if it is different
1022         from the followed DIE's CU.
1023         (follow_die_sig_1): Likewise.
1024
1025 2019-01-15  Tom Tromey  <tom@tromey.com>
1026
1027         * remote.c (class remote_state) <buf>: Now a char_vector.
1028         <buf_size>: Remove.
1029         (remote_target::getpkt): Change type of buf.  Remove sizeof_buf
1030         parameter.
1031         (remote_target::getpkt_or_notif_sane_1)
1032         (remote_target::getpkt_sane)
1033         (remote_target::getpkt_or_notif_sane): Likewise.
1034         (class remote_target) <putpkt>: New overload.
1035         (remote_target::read_frame): Change type of "buf_p".  Remove
1036         sizeof_p parameter.
1037         (packet_ok): New overload.
1038         (packet_check_result): New overload.
1039         Update all uses.
1040
1041 2019-01-14  Tom Tromey  <tom@tromey.com>
1042
1043         * remote-notif.c (handle_notification, remote_notif_ack)
1044         (remote_notif_parse): Make "buf" const.
1045         * remote-notif.h (struct notif_client) <parse, ack>: Make "buf"
1046         const.
1047         (remote_notif_parse, remote_notif_ack, handle_notification):
1048         Likewise.
1049         * remote.c (remote_notif_stop_parse): Make "buf" const.
1050         (remote_target::remote_parse_stop_reply): Make "buf" const.
1051         (remote_notif_stop_ack): Make "buf" const.
1052
1053 2019-01-14  Tom Tromey  <tom@tromey.com>
1054
1055         * remote.c (remote_console_output): Make parameter const.
1056
1057 2019-01-14  Tom Tromey  <tom@tromey.com>
1058
1059         * target-debug.h (target_debug_print_signals): Constify.
1060         * nto-procfs.c (nto_procfs_target::pass_signals): Update.
1061         * procfs.c (procfs_target::pass_signals): Update.
1062         * linux-nat.c (linux_nat_target::pass_signals): Update.
1063         * linux-nat.h (class linux_nat_target) <pass_signals>: Update.
1064         * target-delegates.c: Rebuild.
1065         * remote.c (remote_target::program_signals): Update.
1066         (remote_target::pass_signals): Update.
1067         * target.c (target_pass_signals): Constify argument.
1068         (target_program_signals): Likewise.
1069         * target.h (struct target_ops) <pass_signals, program_signals>:
1070         Constify argument.
1071         (target_pass_signals, target_program_signals): Constify argument.
1072
1073 2019-01-14  Tom Tromey  <tom@tromey.com>
1074
1075         PR tui/28819:
1076         * tui/tui-io.c (gdb_wgetch): Print \r when needed.
1077
1078 2019-01-14  Pedro Franco de Carvalho  <pedromfc@linux.ibm.com>
1079
1080         * ppc-tdep.h (struct gdbarch_tdep) <ppc_v0_alias_regnum>: New
1081         field.
1082         * rs6000-tdep.c: Include reggroups.h.
1083         (IS_V_ALIAS_PSEUDOREG): Define.
1084         (rs6000_register_name): Return names for the "vX" aliases.
1085         (rs6000_pseudo_register_type): Return type for the "vX" aliases.
1086         (rs6000_pseudo_register_reggroup_p): Restore.  Handle "vX"
1087         aliases.  Call default_register_reggroup_p for all other
1088         pseudo-registers.
1089         (v_alias_pseudo_register_read, v_alias_pseudo_register_write):
1090         New functions.
1091         (rs6000_pseudo_register_read, rs6000_pseudo_register_write):
1092         Handle "vX" aliases.
1093         (v_alias_pseudo_register_collect): New function.
1094         (rs6000_ax_pseudo_register_collect): Handle "vX" aliases.
1095         (rs6000_gdbarch_init): Initialize "vX" aliases as
1096         pseudo-registers.  Restore registration of
1097         rs6000_pseudo_register_reggroup_p with
1098         set_tdesc_pseudo_register_reggroup_p.
1099
1100 2019-01-13  Max Filippov  <jcmvbkbc@gmail.com>
1101
1102         * xtensa-linux-tdep.c (xtensa_linux_init_abi): Update
1103         tdep->num_pseudo_regs. Add calls to set_gdbarch_num_regs and
1104         set_gdbarch_num_pseudo_regs.
1105
1106 2019-01-12  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
1107
1108         * cli/cli-style.h (class cli_style_option): <add_setshow_commands>
1109         Remove arg prefixname, add do_set and do_show.
1110         Add member functions set_list and show_list.
1111         * cli/cli-style.c (class cli_style_option): Update accordingly.
1112         (style_set_list): Move to file scope.
1113         (style_show_list): Likewise.
1114         (set_style): Call help_list.
1115         (show_style): Call cmd_show_list.
1116         (_initialize_cli_style): New macro STYLE_ADD_SETSHOW_COMMANDS.
1117         Update to use the new macro.
1118
1119 2019-10-12  Joel Brobecker  <brobecker@adacore.com>
1120
1121         * ada-lang.c (_initialize_ada_language): Expand the help text
1122         for the "catch exception" command.
1123
1124 2019-01-12  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
1125
1126         * symtab.c (matching_obj_sections): Initialize obj,
1127         declare it closer to its usage.
1128
1129 2019-01-10  Tom Tromey  <tom@tromey.com>
1130
1131         * thread-iter.h (inf_threads_iterator): Use next_iterator.
1132         (basic_inf_threads_range): Remove.
1133         (inf_threads_range, inf_non_exited_threads_range)
1134         (safe_inf_threads_range): Use next_adapter.
1135
1136 2019-01-10  Keith Seitz  <keiths@redhat.com>
1137
1138         PR gdb/23712
1139         PR symtab/23010
1140         * dwarf2read.c (dw2_add_symbol_to_list): Remove.
1141         (fixup_go_packaging, new_symbol): Use add_symbol_to_list.
1142
1143 2019-01-10  Keith Seitz  <keiths@redhat.com>
1144
1145         PR gdb/23712
1146         PR symtab/23010
1147         * dictionary.c (pending_to_vector): Remove.
1148         (dict_create_hashed_1, dict_create_linear_1, dict_add_pending_1):
1149         Remove _1 suffix, replacing functions of the same name.  Update
1150         all callers.
1151         (dict_create_hashed, dict_create_hashed_expandable)
1152         (dict_create_linear, dict_create_linear_expandable, dict_free)
1153         (dict_add_symbol, dict_add_pending, dict_size, dict_empty):
1154         Make functions static.
1155
1156 2019-01-10  Keith Seitz  <keiths@redhat.com>
1157
1158         PR gdb/23712
1159         PR symtab/23010
1160         * dictionary.h (struct dictionary): Replace declaration with
1161         multidictionary.
1162         (dict_create_hashed, dict_create_hashed_expandable)
1163         (dict_create_linear, dict_create_linear_expandable)
1164         (dict_free, dict_add_symbol, dict_add_pending, dict_empty)
1165         (dict_iterator_first, dict_iterator_next, dict_iter_match_first)
1166         (dict_iter_match_next, dict_size): Rename to "mdict_" versions
1167         taking multidictionary argument.
1168         [ALL_DICT_SYMBOLS]: Update for multidictionary.
1169         * block.h (struct block) <dict>: Change to multidictionary
1170         and rename `multidict'.
1171         * block.c, buildsym.c, jit.c, mdebugread.c, objfiles.c,
1172         symmisc.c: Update all dictionary references to multidictionary.
1173
1174 2019-01-10  Keith Seitz  <keiths@redhat.com>
1175
1176         PR gdb/23712
1177         PR symtab/23010
1178         * dictionary.c: Include unordered_map.
1179         (pending_to_vector): New function.
1180         (dict_create_hashed_1, dict_create_linear_1, dict_add_pending_1):
1181         Rewrite the non-"_1" functions to take vector instead
1182         of linked list.
1183         (dict_create_hashed, dict_create_linear, dict_add_pending): Use the
1184         "new" _1 versions of the same name.
1185         (multidictionary): Define.
1186         (std::hash<enum language): New definition.
1187         (collate_pending_symbols_by_language, mdict_create_hashed)
1188         (mdict_create_hashed_expandable, mdict_create_linear)
1189         (mdict_create_linear_expandable, mdict_free)
1190         (find_language_dictionary, create_new_language_dictionary)
1191         (mdict_add_symbol, mdict_add_pending, mdict_iterator_first)
1192         (mdict_iterator_next, mdict_iter_match_first, mdict_iter_match_next)
1193         (mdict_size, mdict_empty): New functions.
1194         * dictionary.h (mdict_iterator): Define.
1195
1196 2019-01-10  Pedro Alves  <palves@redhat.com>
1197
1198         * breakpoint.c (read_uploaded_action)
1199         (create_tracepoint_from_upload): Adjust to use
1200         gdb::unique_xmalloc_ptr.
1201         * ctf.c (ctf_write_uploaded_tp):
1202         (SET_ARRAY_FIELD): Use emplace_back.
1203         (SET_STRING_FIELD): Adjust to use gdb::unique_xmalloc_ptr.
1204         * tracefile-tfile.c (tfile_write_uploaded_tp):
1205         * tracepoint.c (parse_tracepoint_definition): Adjust to use
1206         gdb::unique_xmalloc_ptr.
1207         * tracepoint.h (struct uploaded_tp) <cond, actions, step_actions,
1208         at_string, cond_string, cmd_strings>: Replace char pointers
1209         with gdb::unique_xmalloc_ptr.
1210
1211 2019-01-10  Pedro Alves  <palves@redhat.com>
1212
1213         * solib-target.c (library_list_start_library): Don't xstrdup name.
1214
1215 2019-01-10  Pedro Alves  <palves@redhat.com>
1216
1217         * mdebugread.c (parse_partial_symbols): Use
1218         gdb::unique_xmalloc_ptr to manage heap-allocated 'stabsstring'.
1219
1220 2019-01-10  Andrew Burgess  <andrew.burgess@embecosm.com>
1221
1222         * linux-fork.c (scoped_switch_fork_info)
1223         <~scoped_switch_fork_info>: Fix incorrect variable name.
1224
1225 2019-01-10  Andrew Burgess  <andrew.burgess@embecosm.com>
1226
1227         * linux-fork.c (scoped_switch_fork_info)
1228         <scoped_switch_fork_info>: Make explicit.
1229         <~scoped_switch_fork_info>: Wrap core in TRY/CATCH.
1230
1231 2019-01-10  Tom Tromey  <tom@tromey.com>
1232
1233         * objfiles.h (objfile::reset_psymtabs): Update.
1234         * objfiles.c (objfile::objfile): Update.
1235         * psymtab.h (psymtab_storage::obstack): Update.
1236         (psymtab_storage::m_obstack): Use gdb::optional.
1237         (class psymtab_storage): Update comment.  Remove objfile
1238         parameter.
1239         * psymtab.c (psymtab_storage::psymtab_storage): Update.
1240
1241 2019-01-10  Tom Tromey  <tom@tromey.com>
1242
1243         * psymtab.h (psymtab_storage::allocate_psymtab): New method.
1244         <free_psymtabs>: Now private.
1245         * psymtab.c (psymtab_storage::allocate_psymtab): Implement.
1246         (allocate_psymtab): Use new method.
1247
1248 2019-01-10  Tom Tromey  <tom@tromey.com>
1249
1250         * xcoffread.c (xcoff_end_psymtab): Use allocate_dependencies.
1251         * psymtab.h (psymtab_storage::allocate_dependencies): New method.
1252         * mdebugread.c (parse_partial_symbols): Use
1253         allocate_dependencies.
1254         * dwarf2read.c (dwarf2_create_include_psymtab): Use
1255         allocate_dependencies.
1256         (process_psymtab_comp_unit_reader)
1257         (build_type_psymtab_dependencies): Likewise.
1258         * dbxread.c (dbx_end_psymtab): Use allocate_dependencies.
1259
1260 2019-01-10  Tom Tromey  <tom@tromey.com>
1261
1262         * psymtab.c (add_psymbol_to_bcache): Pass psymtab obstack to
1263         PSYMBOL_SET_LANGUAGE.
1264         (allocate_psymtab): Allocate psymtab on the psymtab obstack.
1265
1266 2019-01-10  Tom Tromey  <tom@tromey.com>
1267
1268         * psymtab.h (psymtab_storage::obstack): New method.
1269         <m_obstack>: Rename from obstack; now private.
1270         * psymtab.c (psymtab_storage): Update.
1271         * dwarf2read.c (create_addrmap_from_index)
1272         (create_addrmap_from_aranges, dwarf2_build_psymtabs_hard):
1273         Update.
1274
1275 2019-01-10  Tom Tromey  <tom@tromey.com>
1276
1277         * symfile.c (reread_symbols): Call objfile->reset_psymtabs.
1278         * objfiles.h (objfile::reset_psymtabs): New method.
1279
1280 2019-01-10  Tom Tromey  <tom@tromey.com>
1281
1282         * symmisc.c (print_symbol_bcache_statistics): Update.
1283         (print_objfile_statistics): Update.
1284         * symfile.c (reread_symbols): Update.
1285         * psymtab.h (class psymtab_storage): New.
1286         * psymtab.c (psymtab_storage): New constructor.
1287         (~psymtab_storage): New destructor.
1288         (require_partial_symbols): Update.
1289         (ALL_OBJFILE_PSYMTABS_REQUIRED): Rewrite.
1290         (find_pc_sect_psymtab, find_pc_sect_psymbol)
1291         (match_partial_symbol, lookup_partial_symbol, dump_psymtab)
1292         (psym_dump, recursively_search_psymtabs, psym_has_symbols)
1293         (psym_find_compunit_symtab_by_address, sort_pst_symbols)
1294         (start_psymtab_common, end_psymtab_common)
1295         (add_psymbol_to_bcache, add_psymbol_to_list, init_psymbol_list)
1296         (allocate_psymtab): Update.
1297         (psymtab_storage::discard_psymtab): Rename from discard_psymtab.
1298         Update.
1299         (dump_psymtab_addrmap, maintenance_print_psymbols)
1300         (maintenance_check_psymtabs): Update.
1301         (class objfile_psymtabs): Move to objfiles.h.
1302         * psympriv.h (discard_psymtab): Now inline.
1303         (psymtab_discarder::psymtab_discarder): Update.
1304         (psymtab_discarder::~psymtab_discarder): Update.
1305         (ALL_OBJFILE_PSYMTABS): Rewrite.
1306         * objfiles.h (struct objfile) <psymtabs, psymtabs_addrmap,
1307         free_psymtabs, psymbol_cache, global_psymbols, static_psymbols>:
1308         Remove fields.
1309         <partial_symtabs>: New field.
1310         (class objfile_psymtabs): Move from psymtab.h.  Update.
1311         * objfiles.c (objfile::objfile): Initialize partial_symtabs, not
1312         psymbol_cache.
1313         (objfile::~objfile): Don't destroy psymbol_cache.
1314         * mdebugread.c (parse_partial_symbols): Update.
1315         * dwarf2read.c (create_addrmap_from_index)
1316         (create_addrmap_from_aranges, dw2_find_pc_sect_compunit_symtab)
1317         (process_psymtab_comp_unit_reader, dwarf2_build_psymtabs_hard)
1318         (add_partial_subprogram, dwarf2_ranges_read): Update.
1319         * dwarf-index-write.c (write_address_map)
1320         (write_one_signatured_type, recursively_write_psymbols)
1321         (class debug_names, class debug_names, write_psymtabs_to_index):
1322         Update.
1323
1324 2019-01-10  Tom Tromey  <tom@tromey.com>
1325
1326         * symtab.h (SYMBOL_SET_NAMES): Update.
1327         (symbol_set_names): Update.
1328         (MSYMBOL_SET_NAMES): Update.
1329         * symtab.c (symbol_set_names): Change argument to be an
1330         objfile_per_bfd_storage.
1331         * psymtab.c (add_psymbol_to_bcache): Update.
1332         * psympriv.h (PSYMBOL_SET_NAMES): Take per_bfd argument.
1333
1334 2019-01-10  Tom Tromey  <tom@tromey.com>
1335
1336         * symtab.c (create_demangled_names_hash): Change argument to be an
1337         objfile_per_bfd_storage.
1338         (symbol_set_names): Update.
1339
1340 2019-01-10  Tom Tromey  <tom@tromey.com>
1341
1342         * xcoffread.c (xcoff_initial_scan): Unconditionally call
1343         init_psymbol_list.
1344         * psymtab.c (init_psymbol_list): Do nothing if already called.
1345         * psympriv.h (init_psymbol_list): Add comment.
1346         * dwarf2read.c (dwarf2_build_psymtabs): Unconditionally call
1347         init_psymbol_list.
1348         * dbxread.c (dbx_symfile_read): Unconditionally call
1349         init_psymbol_list.
1350
1351 2019-01-10  Tom Tromey  <tom@tromey.com>
1352
1353         * xcoffread.c (scan_xcoff_symtab): Update.
1354         * psymtab.c (add_psymbol_to_list): Replace "list" parameter with
1355         "where".
1356         * mdebugread.c (parse_partial_symbols)
1357         (handle_psymbol_enumerators): Update.
1358         * dwarf2read.c (add_partial_symbol, load_partial_dies): Update.
1359         * dbxread.c (read_dbx_symtab): Update.
1360         * psympriv.h (psymbol_placement): New enum.
1361         (add_psymbol_to_list): Update.
1362
1363 2019-01-10  Tom Tromey  <tom@tromey.com>
1364
1365         * xcoffread.c (xcoff_start_psymtab): Remove global_psymbols and
1366         static_psymbols parameters.
1367         (scan_xcoff_symtab): Update.
1368         * psymtab.c (start_psymtab_common): Remove global_psymbols and
1369         static_psymbols parameters.
1370         * psympriv.h (start_psymtab_common): Update.
1371         * mdebugread.c (parse_partial_symbols): Update.
1372         * dwarf2read.c (create_partial_symtab): Update.
1373         * dbxread.c (read_dbx_symtab): Update.
1374         (start_psymtab): Remove global_psymbols and static_psymbols
1375         parameters.
1376
1377 2019-01-10  Tom Tromey  <tom@tromey.com>
1378
1379         * xcoffread.c (xcoff_end_psymtab): Remove some initializations.
1380         * psymtab.c (allocate_psymtab): Add comment.
1381         * psympriv.h (allocate_psymtab): Add comment.
1382         * dwarf2read.c (dwarf2_create_include_psymtab): Remove some
1383         initializations.
1384         * dbxread.c (dbx_end_psymtab): Remove some initializations.
1385
1386 2019-01-10  Tom Tromey  <tom@tromey.com>
1387
1388         * symfile.h (mdebug_build_psymtabs, elfmdebug_build_psymtabs):
1389         Don't declare.
1390         * mipsread.c: Include mdebugread.h.
1391         * mdebugread.h (mdebug_build_psymtabs, elfmdebug_build_psymtabs):
1392         Declare.
1393         * elfread.c: Include mdebugread.h.
1394
1395 2019-01-09  Tom Tromey  <tom@tromey.com>
1396
1397         * dbxread.c (dbx_end_psymtab): Use objfile_psymtabs.
1398         * mdebugread.c (parse_partial_symbols): Use objfile_psymtabs.
1399         * psymtab.c (ALL_OBJFILE_PSYMTABS_REQUIRED): Remove.
1400         (psym_map_symtabs_matching_filename, find_pc_sect_psymtab)
1401         (psym_lookup_symbol, psym_find_last_source_symtab)
1402         (psym_forget_cached_source_info, psym_print_stats)
1403         (psym_expand_symtabs_for_function, psym_expand_all_symtabs)
1404         (psym_expand_symtabs_with_fullname, psym_map_symbol_filenames)
1405         (psym_map_matching_symbols, psym_expand_symtabs_matching)
1406         (psym_find_compunit_symtab_by_address)
1407         (maintenance_print_psymbols, maintenance_info_psymtabs)
1408         (maintenance_check_psymtabs): Use ranged for.
1409         * psymtab.h (class objfile_psymtabs): New.
1410         (require_partial_symbols): Return objfile_psymtabs.
1411         * psympriv.h (ALL_OBJFILE_PSYMTABS): Remove.
1412
1413 2019-01-09  Tom Tromey  <tom@tromey.com>
1414
1415         * symfile.c (overlay_invalidate_all, find_pc_overlay)
1416         (find_pc_mapped_section, list_overlays_command)
1417         (map_overlay_command, unmap_overlay_command)
1418         (simple_overlay_update): Use all_objfiles.
1419         * spu-tdep.c (spu_overlay_update): Use all_objfiles.
1420         * printcmd.c (info_symbol_command): Use all_objfiles.
1421         * objfiles.h (ALL_OBJSECTIONS): Remove.
1422         * maint.c (maintenance_translate_address): Use all_objfiles.
1423         * gcore.c (gcore_create_callback): Use all_objfiles.
1424         (objfile_find_memory_regions): Likewise.
1425
1426 2019-01-09  Tom Tromey  <tom@tromey.com>
1427
1428         * symtab.c (find_line_symtab, info_sources_command)
1429         (make_source_files_completion_list): Use objfile_compunits.
1430         * source.c (select_source_symtab): Use objfile_compunits.
1431         * objfiles.h (struct objfile): Update comment.
1432         (ALL_OBJFILES): Remove.
1433         (ALL_FILETABS): Remove.
1434         * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Use
1435         objfile_compunits.
1436
1437 2019-01-09  Tom Tromey  <tom@tromey.com>
1438
1439         * symmisc.c (print_objfile_statistics, dump_objfile)
1440         (maintenance_print_symbols): Use compunit_filetabs.
1441         * source.c (forget_cached_source_info_for_objfile): Use
1442         compunit_filetabs.
1443         * objfiles.h (ALL_OBJFILE_FILETABS): Remove.
1444         (ALL_FILETABS): Use compunit_filetabs.
1445         * objfiles.c (objfile_relocate1): Use compunit_filetabs.
1446         * coffread.c (coff_symtab_read): Use compunit_filetabs.
1447
1448 2019-01-09  Tom Tromey  <tom@tromey.com>
1449
1450         * symtab.h (ALL_COMPUNIT_FILETABS): Remove.
1451         (compunit_filetabs): New.
1452         * symtab.c (iterate_over_some_symtabs, find_pc_sect_line): Use
1453         compunit_filetabs.
1454         (info_sources_command, make_source_files_completion_list): Remove
1455         declaration.
1456         * symmisc.c (print_objfile_statistics, dump_objfile)
1457         (maintenance_print_symbols): Remove declaration.
1458         (maintenance_info_symtabs): Use compunit_filetabs.
1459         (maintenance_info_line_tables): Likewise.
1460         * source.c (select_source_symtab): Change local variable name.
1461         (forget_cached_source_info_for_objfile): Remove declaration.
1462         * objfiles.h (ALL_OBJFILE_FILETABS): Use compunit_filetabs.
1463         * objfiles.c (objfile_relocate1): Remove declaration.
1464         * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Remove
1465         declaration.
1466         * maint.c (count_symtabs_and_blocks): Use compunit_filetabs.
1467         * coffread.c (coff_symtab_read): Remove declaration.
1468         * buildsym.c (buildsym_compunit::end_symtab_with_blockvector): Use
1469         compunit_filetabs.
1470
1471 2019-01-09  Tom Tromey  <tom@tromey.com>
1472
1473         * symtab.c (lookup_objfile_from_block)
1474         (find_pc_sect_compunit_symtab, search_symbols)
1475         (default_collect_symbol_completion_matches_break_on): Use
1476         objfile_compunits.
1477         * objfiles.h (ALL_COMPUNITS): Remove.
1478         * maint.c (count_symtabs_and_blocks): Use objfile_compunits.
1479         * cp-support.c (add_symbol_overload_list_qualified): Use
1480         objfile_compunits.
1481         * ada-lang.c (ada_collect_symbol_completion_matches)
1482         (ada_add_global_exceptions): Use objfile_compunits.
1483
1484 2019-01-09  Tom Tromey  <tom@tromey.com>
1485
1486         * source.c (select_source_symtab)
1487         (forget_cached_source_info_for_objfile): Remove declaration.
1488         * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Remove
1489         declaration.
1490         * maint.c (count_symtabs_and_blocks): Remove declaration.
1491         * cp-support.c (add_symbol_overload_list_qualified): Remove
1492         declaration.
1493         * coffread.c (coff_symtab_read): Remove declaration.
1494         * symtab.c (lookup_symbol_in_objfile_symtabs)
1495         (basic_lookup_transparent_type_1): Use objfile_compunits.
1496         (lookup_objfile_from_block, find_pc_sect_compunit_symtab)
1497         (info_sources_command, search_symbols)
1498         (default_collect_symbol_completion_matches_break_on)
1499         (make_source_files_completion_list): Remove declaration.
1500         * ada-lang.c (add_nonlocal_symbols): Use objfile_compunits.
1501         (ada_collect_symbol_completion_matches)
1502         (ada_add_global_exceptions): Remove declaration.
1503         * linespec.c (iterate_over_all_matching_symtabs): Use
1504         objfile_compunits.
1505         * objfiles.h (ALL_OBJFILE_COMPUNITS): Remove.
1506         (class objfile_compunits): New.
1507         (ALL_COMPUNITS): Use objfile_compunits.
1508         * symmisc.c (print_objfile_statistics, maintenance_info_symtabs)
1509         (maintenance_check_symtabs, maintenance_info_line_tables): Use
1510         objfile_compunits.
1511         * objfiles.c (objfile_relocate1): Use objfile_compunits.
1512
1513 2019-01-09  Tom Tromey  <tom@tromey.com>
1514
1515         * symtab.c (search_symbols)
1516         (default_collect_symbol_completion_matches_break_on): Use
1517         objfile_msymbols.
1518         * ada-lang.c (ada_lookup_simple_minsym)
1519         (ada_collect_symbol_completion_matches): Use objfile_msymbols.
1520         * minsyms.c (find_solib_trampoline_target): Use objfile_msymbols.
1521         * hppa-tdep.c (hppa_lookup_stub_minimal_symbol): Use
1522         objfile_msymbols.
1523         * coffread.c (coff_symfile_read): Use objfile_msymbols.
1524         * symmisc.c (dump_msymbols): Use objfile_msymbols.
1525         * objc-lang.c (find_methods): Use objfile_msymbols.
1526         (info_selectors_command, info_classes_command): Likewise.
1527         * stabsread.c (scan_file_globals): Use objfile_msymbols.
1528         * objfiles.h (class objfile_msymbols): New.
1529         (ALL_OBJFILE_MSYMBOLS): Remove.
1530         (ALL_MSYMBOLS): Remove.
1531
1532 2019-01-09  Tom Tromey  <tom@tromey.com>
1533
1534         * common/next-iterator.h (next_adapter): Add Iterator template
1535         parameter.
1536         * objfiles.h (ALL_OBJFILES_SAFE): Remove.
1537         (class all_objfiles_safe): New.
1538         * jit.c (jit_inferior_exit_hook): Use all_objfiles_safe.
1539         * objfiles.c (put_objfile_before): Update comment.
1540         (add_separate_debug_objfile): Likewise.
1541         (free_all_objfiles): Use all_objfiles_safe.
1542         (objfile_purge_solibs): Likewise.
1543
1544 2019-01-09  Tom Tromey  <tom@tromey.com>
1545
1546         * symtab.c (iterate_over_symtabs, matching_obj_sections)
1547         (expand_symtab_containing_pc, lookup_static_symbol)
1548         (basic_lookup_transparent_type, find_pc_sect_compunit_symtab)
1549         (find_symbol_at_address, find_line_symtab, find_main_name): Use
1550         all_objfiles.
1551         * probe.c (find_probe_by_pc, collect_probes): Use all_objfiles.
1552         * breakpoint.c (create_overlay_event_breakpoint)
1553         (create_longjmp_master_breakpoint)
1554         (create_std_terminate_master_breakpoint)
1555         (create_exception_master_breakpoint): Use all_objfiles.
1556         * linux-thread-db.c (try_thread_db_load_from_pdir)
1557         (has_libpthread): Use all_objfiles.
1558         * ada-lang.c (add_nonlocal_symbols): Use all_objfiles.
1559         * linespec.c (iterate_over_all_matching_symtabs)
1560         (search_minsyms_for_name): Use all_objfiles.
1561         * maint.c (maintenance_info_sections): Use all_objfiles.
1562         * main.c (captured_main_1): Use all_objfiles.
1563         * spu-tdep.c (spu_objfile_from_frame): Use all_objfiles.
1564         * guile/scm-objfile.c (gdbscm_objfiles): Use all_objfiles.
1565         * guile/scm-pretty-print.c
1566         (ppscm_find_pretty_printer_from_objfiles): Use all_objfiles.
1567         * solib-spu.c (append_ocl_sos): Use all_objfiles.
1568         * symmisc.c (maintenance_print_symbols): Use all_objfiles.
1569         (maintenance_print_msymbols): Use all_objfiles.
1570         * source.c (select_source_symtab): Use all_objfiles.
1571         * jit.c (jit_find_objf_with_entry_addr): Use all_objfiles.
1572         * symfile.c (remove_symbol_file_command)
1573         (expand_symtabs_matching, map_symbol_filenames): Use
1574         all_objfiles.
1575         * ppc-linux-tdep.c (ppc_linux_spe_context_inferior_created): Use
1576         all_objfiles.
1577         * dwarf2-frame.c (dwarf2_frame_find_fde): Use all_objfiles.
1578         * objc-lang.c (find_methods): Use all_objfiles.
1579         * objfiles.c (have_partial_symbols, have_full_symbols)
1580         (have_minimal_symbols, qsort_cmp)
1581         (default_iterate_over_objfiles_in_search_order): Use
1582         all_objfiles.
1583         * hppa-tdep.c (find_unwind_entry): Use all_objfiles.
1584         * psymtab.c (maintenance_print_psymbols): Use all_objfiles.
1585         (maintenance_check_psymtabs): Use all_objfiles.
1586         (ALL_PSYMTABS): Remove.
1587         * compile/compile-object-run.c (do_module_cleanup): Use
1588         all_objfiles.
1589         * blockframe.c (find_pc_partial_function): Use all_objfiles.
1590         * cp-support.c (add_symbol_overload_list_qualified): Use
1591         all_objfiles.
1592         * windows-tdep.c (windows_iterate_over_objfiles_in_search_order):
1593         Use all_objfiles.
1594         * dwarf-index-write.c (save_gdb_index_command): Use all_objfiles.
1595         * python/py-xmethods.c (gdbpy_get_matching_xmethod_workers): Use
1596         all_objfiles.
1597         * python/py-objfile.c (objfpy_lookup_objfile_by_name)
1598         (objfpy_lookup_objfile_by_build_id): Use all_objfiles.
1599         * python/py-prettyprint.c (find_pretty_printer_from_objfiles):
1600         Uses all_objfiles.
1601         * solib.c (solib_read_symbols): Use all_objfiles
1602
1603 2019-01-09  Tom Tromey  <tom@tromey.com>
1604
1605         * probe.c (parse_probes_in_pspace): Use all_objfiles.
1606         * guile/scm-progspace.c (gdbscm_progspace_objfiles): Use
1607         all_objfiles.
1608         * objfiles.h (ALL_PSPACE_OBJFILES): Remove.
1609         * symmisc.c (print_symbol_bcache_statistics)
1610         (print_objfile_statistics, maintenance_print_objfiles)
1611         (maintenance_info_symtabs, maintenance_check_symtabs)
1612         (maintenance_expand_symtabs, maintenance_info_line_tables): Use
1613         all_objfiles.
1614         * source.c (forget_cached_source_info): Use all_objfiles.
1615         * symfile-debug.c (set_debug_symfile): Use all_objfiles.
1616         * elfread.c (elf_gnu_ifunc_resolve_by_cache)
1617         (elf_gnu_ifunc_resolve_by_got): Use all_objfiles.
1618         * objfiles.c (update_section_map): Use all_objfiles.
1619         (shared_objfile_contains_address_p): Likewise.
1620         * psymtab.c (maintenance_info_psymtabs): Use all_objfiles.
1621         * python/py-progspace.c (pspy_get_objfiles): Use all_objfiles.
1622
1623 2019-01-09  Tom Tromey  <tom@tromey.com>
1624
1625         * common/next-iterator.h: New file.
1626         * objfiles.h (class all_objfiles): New.
1627         (struct objfile_iterator): New.
1628
1629 2019-01-09  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
1630
1631         * NEWS: Move the description of the changed "frame", "select-frame",
1632          and "info frame" commands to the Changed commands section.
1633
1634 2019-01-09  Simon Marchi  <simon.marchi@ericsson.com>
1635
1636         * gdbtypes.c (check_stub_method_group): Remove handling of old
1637         mangling schemes.
1638         * linespec.c (find_methods): Likewise.
1639         * stabsread.c (read_member_functions): Likewise.
1640         * valops.c (search_struct_method): Likewise.
1641         (value_struct_elt_for_reference): Likewise.
1642         * NEWS: Mention this change.
1643
1644 2019-01-09  Andrew Burgess  <andrew.burgess@embecosm.com>
1645
1646         * cli/cli-cmds.c (list_command): Pass a source_lines_range to
1647         print_source_lines.
1648         * source.c (print_source_lines_base): Update line number check.
1649         (print_source_lines): New function.
1650         (source_lines_range::source_lines_range): New function.
1651         * source.h (class source_lines_range): New class.
1652         (print_source_lines): New declaration.
1653
1654 2019-01-09  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
1655
1656         * linespec.c (linespec_state_destructor): Free self->canonical_names.
1657
1658 2019-01-08  Tom Tromey  <tom@tromey.com>
1659             Simon Marchi  <simon.marchi@ericsson.com>
1660
1661         PR gdb/24060
1662         * ada-exp.y (DOLLAR_VARIABLE): Rename from SPECIAL_VARIABLE.
1663         * ada-lex.l (DOLLAR_VARIABLE): Likewise.
1664         * c-exp.y (DOLLAR_VARIABLE): Rename from VARIABLE.
1665         * f-exp.y (DOLLAR_VARIABLE): Likewise.
1666         * m2-exp.y (DOLLAR_VARIABLE): Rename from INTERNAL_VAR.
1667         * p-exp.y (DOLLAR_VARIABLE): Rename from VARIABLE.
1668
1669 2019-01-08  Andrew Burgess  <andrew.burgess@embecosm.com>
1670
1671         * source.c (select_source_symtab): Move header comment to
1672         declaration in source.h.
1673         (forget_cached_source_info_for_objfile): Likewise.
1674         (forget_cached_source_info): Likewise.
1675         (identify_source_line): Likewise.
1676         * source.h (identify_source_line): Move declaration from symtab.h
1677         and add comment from source.c
1678         (print_source_lines): Likewise.
1679         (forget_cached_source_info_for_objfile): Likewise.
1680         (forget_cached_source_info): Likewise.
1681         (select_source_symtab): Likewise.
1682         (enum print_source_lines_flag): Move definition from symtab.h.
1683         * symtab.h (identify_source_line): Move declaration to source.h.
1684         (print_source_lines): Likewise.
1685         (forget_cached_source_info_for_objfile): Likewise.
1686         (forget_cached_source_info): Likewise.
1687         (select_source_symtab): Likewise.
1688         (enum print_source_lines_flag): Move definition to source.h.
1689         * tui/tui-hooks.c: Add 'source.h' include.
1690
1691 2019-01-08  Andrew Burgess  <andrew.burgess@embecosm.com>
1692
1693         * source.c (print_source_lines_base): Handle requests to print
1694         reverse line number sequences, and guard against empty lines
1695         string.
1696
1697 2019-01-08  Andrew Burgess  <andrew.burgess@embecosm.com>
1698
1699         * source.c (print_source_lines_base): Fix skip of '\r' if next
1700         character is '\n'.
1701
1702 2019-01-06  Tom Tromey  <tom@tromey.com>
1703
1704         * c-exp.y (struct c_parse_state) <macro_original_text,
1705         expansion_obstack>: New member.
1706         (macro_original_text, expansion_obstack): Remove globals.
1707         (scan_macro_expansion, scanning_macro_expansion)
1708         (finished_macro_expansion): Update.
1709         (scan_macro_cleanup): Remove.
1710         (yylex, c_parse): Update.
1711
1712 2019-01-06  Tom Tromey  <tom@tromey.com>
1713
1714         * c-exp.y (struct c_parse_state) <strings>: New member.
1715         (operator_stoken): Update.
1716
1717 2019-01-06  Tom Tromey  <tom@tromey.com>
1718
1719         * parser-defs.h (type_ptr): Remove typedef.  Don't declare VEC.
1720         (union type_stack_elt) <typelist_val>: Now a pointer to
1721         std::vector.
1722         (type_stack_cleanup): Don't declare.
1723         (push_typelist): Update.
1724         * parse.c (pop_typelist): Return a std::vector.
1725         (push_typelist): Take a std::vector.
1726         (follow_types): Update.  Do not free args.
1727         (type_stack_cleanup): Remove.
1728         * c-exp.y (struct c_parse_state): New.
1729         (cpstate): New global.
1730         (type_aggregate_p, exp, ptr_operator, parameter_typelist)
1731         (nonempty_typelist): Update.
1732         (func_mod): Create a new vector.
1733         (c_parse): Create a c_parse_state.
1734         (check_parameter_typelist): Do not delete params.
1735         (function_method): Update.  Do not delete type_list.
1736
1737 2019-01-06  Tom Tromey  <tom@tromey.com>
1738
1739         PR gdb/28155:
1740         * python/py-finishbreakpoint.c (bpfinishpy_init): Use
1741         check_typedef.
1742         * infcmd.c (finish_command_fsm_should_stop): Use check_typedef.
1743         (print_return_value): Likewise.
1744
1745 2019-01-05  Tom Tromey  <tom@tromey.com>
1746
1747         * contrib/cleanup_check.py: Remove.
1748         * contrib/gcc-with-excheck: Remove.
1749         * contrib/exsummary.py: Remove.
1750         * contrib/excheck.py: Remove.
1751
1752 2019-01-05  Joel Brobecker  <brobecker@adacore.com>
1753
1754         * thread.c (delete_thread_1): Add gdb_assert that THR is not
1755         NULL. Initialize tpprev to NULL instead of assigning it
1756         to NULL on the next statement.
1757         * windows-nat.c (windows_delete_thread): Remove check for
1758         main_thread_id before printing thread exit notifications.
1759         (get_windows_debug_event) <EXIT_THREAD_DEBUG_EVENT>:
1760         Remove thread ID check against main_thread_id.
1761         <CREATE_PROCESS_DEBUG_EVENT>: Remove call to
1762         windows_delete_thread.
1763         <EXIT_PROCESS_DEBUG_EVENT>: Add call to windows_delete_thread.
1764
1765 2019-01-04  Tom Tromey  <tom@tromey.com>
1766
1767         * compile/compile.c (_initialize_compile): Use upper case for
1768         metasyntactic variables.
1769         * symmisc.c (_initialize_symmisc): Use upper case for
1770         metasyntactic variables.
1771         * psymtab.c (_initialize_psymtab): Use upper case for
1772         metasyntactic variables.
1773         * demangle.c (demangle_command): Use upper case for metasyntactic
1774         variables.
1775         (_initialize_demangler): Likewise.
1776         * ax-gdb.c (_initialize_ax_gdb): Use upper case for metasyntactic
1777         variables.
1778
1779 2019-01-03  Tom Tromey  <tom@tromey.com>
1780
1781         * tui/tui-source.c (tui_set_source_content): Use xstrdup.
1782
1783 2019-01-03  Tom Tromey  <tom@tromey.com>
1784
1785         * python/py-symtab.c (salpy_str): Update.
1786         (struct salpy_sal_object) <symtab>: Now a PyObject.
1787         (salpy_dealloc): Update.
1788         (del_objfile_sal): Use gdbpy_ref.
1789
1790 2019-01-03  Tom Tromey  <tom@tromey.com>
1791
1792         * python/py-type.c (convert_field): Use new_reference.  Return
1793         gdbpy_ref.
1794         (make_fielditem): Return gdbpy_ref.
1795         (typy_fields): Update.
1796         (typy_getitem): Update.
1797         (field_name): Return gdbpy_ref.  Use new_reference.
1798         (typy_iterator_iternext): Update.
1799
1800 2019-01-03  Tom Tromey  <tom@tromey.com>
1801
1802         * python/py-record.c (gdbpy_stop_recording): Use Py_RETURN_NONE.
1803
1804 2019-01-03  Tom Tromey  <tom@tromey.com>
1805
1806         * python/py-value.c (valpy_dealloc): Use Py_XDECREF.
1807         * python/py-type.c (typy_fields_items): Use gdbpy_ref.
1808         * python/py-progspace.c (pspy_set_printers): Use gdbpy_ref.
1809         (pspy_set_frame_filters, pspy_set_frame_unwinders)
1810         (pspy_set_type_printers): Likewise.
1811         * python/py-function.c (fnpy_init): Use gdbpy_ref.
1812         * python/py-cmd.c (cmdpy_init): Use gdbpy_ref.
1813         * python/py-objfile.c (objfpy_set_printers): Use gdbpy_ref.
1814         (objfpy_set_frame_filters, objfpy_set_frame_unwinders)
1815         (objfpy_set_type_printers): Likewise.
1816
1817 2019-01-03  Tom Tromey  <tom@tromey.com>
1818
1819         * python/python.c (gdbpy_enter, ~gdbpy_enter): Update.
1820         (gdbpy_print_stack): Use gdbpy_err_fetch.
1821         * python/python-internal.h (class gdbpy_err_fetch): New class.
1822         (class gdbpy_enter) <m_error_type, m_error_value,
1823         m_error_traceback>: Remove.
1824         <m_error>: New member.
1825         (gdbpy_exception_to_string): Don't declare.
1826         * python/py-varobj.c (py_varobj_iter_next): Use gdbpy_err_fetch.
1827         * python/py-value.c (convert_value_from_python): Use
1828         gdbpy_err_fetch.
1829         * python/py-utils.c (gdbpy_err_fetch::to_string): Rename from
1830         gdbpy_exception_to_string.
1831         (gdbpy_handle_exception): Use gdbpy_err_fetch.
1832         * python/py-prettyprint.c (print_stack_unless_memory_error): Use
1833         gdbpy_err_fetch.
1834
1835 2019-01-03  Andrew Burgess  <andrew.burgess@embecosm.com>
1836
1837         * linux-nat.c (delete_lwp_cleanup): Delete.
1838         (struct lwp_deleter): New struct.
1839         (lwp_info_up): New typedef.
1840         (linux_nat_target::follow_fork): Delete cleanup, and make use of
1841         lwp_info_up.
1842
1843 2019-01-03  Andrew Burgess  <andrew.burgess@embecosm.com>
1844
1845         * linux-fork.c (class scoped_switch_fork_info): New class.
1846         (inferior_call_waitpid): Update to use scoped_switch_fork_info.
1847
1848 2019-01-03  Andrew Burgess  <andrew.burgess@embecosm.com>
1849
1850         * valops.c (find_overload_match): Remove use of null_cleanup, and
1851         calls to do_cleanups.
1852
1853 2019-01-03  Andrew Burgess  <andrew.burgess@embecosm.com>
1854
1855         * compile/compile-cplus-types.c
1856         (compile_cplus_instance::decl_name): Handle changes to
1857         cp_func_name.
1858         * cp-support.c (cp_func_name): Update header comment, update
1859         return type.
1860         * cp-support.h (cp_func_name): Update return type in declaration.
1861         * valops.c (find_overload_match): Move temp_func local to top
1862         level of function and change its type.  Use temp_func to hold and
1863         delete temporary string obtained from cp_func_name.
1864
1865 2019-01-03  Andrew Burgess  <andrew.burgess@embecosm.com>
1866
1867         * remote.c (remote_target::remote_check_symbols): Convert `msg` to
1868         gdb::char_vector, remove cleanup, and update uses of `msg`.
1869
1870 2019-01-03  Jim Wilson  <jimw@sifive.com>
1871
1872         * riscv-tdep.c (riscv_freg_feature): Drop s0 name from f8.
1873
1874 2019-01-02  Tom Tromey  <tom@tromey.com>
1875
1876         * xml-tdesc.c (xml_cache): Hold a target_desc_up.
1877         (tdesc_parse_xml): Remove cleanups.
1878         * target-descriptions.h (make_cleanup_free_target_description):
1879         Don't declare.
1880         (target_desc_deleter): New struct.
1881         (target_desc_up): New typedef.
1882         * target-descriptions.c (target_desc_deleter::operator()): Rename
1883         from free_target_description.
1884         (make_cleanup_free_target_description): Remove.
1885
1886 2019-01-02  Tom Tromey  <tom@tromey.com>
1887
1888         * linespec.c (struct linespec_parser): Rename from ls_parser.  Add
1889         constructor, destructor.
1890         (linespec_parser): Remove typedef.
1891         (~linespec_parser): Rename from linespec_parser_delete.
1892         (linespec_lex_to_end, linespec_complete_label)
1893         (linespec_complete): Update.
1894         (decode_line_full): Remove cleanups.
1895         (decode_line_1): Update.
1896
1897 2019-01-02  Tom Tromey  <tom@tromey.com>
1898
1899         * python/python-internal.h (inferior_to_inferior_object): Change
1900         return type.
1901         * python/py-exitedevent.c (create_exited_event_object): Update.
1902         * python/py-inferior.c (inferior_to_inferior_object): Return
1903         gdbpy_ref.
1904         (python_new_inferior, python_inferior_deleted)
1905         (thread_to_thread_object, delete_thread_object)
1906         (build_inferior_list, gdbpy_selected_inferior): Update.
1907         * python/py-infthread.c (create_thread_object): Update.  Also fail
1908         if inferior_to_inferior_object fails.
1909
1910 2019-01-02  Simon Marchi  <simon.marchi@ericsson.com>
1911
1912         * inferior.h (class inferior) <displaced_step_state>: New field.
1913         * infrun.h (struct displaced_step_state): Move here from
1914         infrun.c.  Initialize fields, add constructor.
1915         <inf>: Remove field.
1916         <reset>: New method.
1917         * infrun.c (struct displaced_step_inferior_state): Move to
1918         infrun.h.
1919         (displaced_step_inferior_states): Remove.
1920         (get_displaced_stepping_state): Adust.
1921         (displaced_step_in_progress_any_inferior): Adjust.
1922         (displaced_step_in_progress_thread): Adjust.
1923         (displaced_step_in_progress): Adjust.
1924         (add_displaced_stepping_state): Remove.
1925         (get_displaced_step_closure_by_addr): Adjust.
1926         (remove_displaced_stepping_state): Remove.
1927         (infrun_inferior_exit): Call displaced_step_state.reset.
1928         (use_displaced_stepping): Don't check for NULL.
1929         (displaced_step_prepare_throw): Call
1930         get_displaced_stepping_state.
1931         (displaced_step_fixup): Don't check for NULL.
1932         (prepare_for_detach): Don't check for NULL.
1933
1934 2019-01-02  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
1935
1936         * infcall.c (call_function_by_hand_dummy): cleanup/destroy sm
1937          in case of call that did not complete.
1938
1939 2019-01-02  Andrey Utkin  <autkin@undo.io>
1940
1941         * symfile.c (find_separate_debug_file): Fix search of debug files for
1942         remote debuggee.
1943
1944 2019-01-02  Tom Tromey  <tom@tromey.com>
1945
1946         * python/py-inferior.c (gdbpy_initialize_inferior): Fix
1947         indentation.
1948         * python/py-frame.c (frapy_older): Remove cast.
1949         (frapy_newer): Likewise.
1950         * python/py-breakpoint.c (local_setattro): Remove cast.
1951         * python/py-arch.c (archpy_name): Remove local variable.
1952         * python/py-type.c (gdbpy_lookup_type): Remove cast.
1953
1954 2019-01-02  Joel Brobecker  <brobecker@adacore.com>
1955
1956         * unittests/basic_string_view/element_access/char/empty.cc:
1957         Fix year range in copyright header.
1958
1959 2019-01-01  Andrew Burgess  <andrew.burgess@embecosm.com>
1960
1961         * arch/riscv.h (struct riscv_gdbarch_features) <hw_float_abi>:
1962         Delete.
1963         <operator==>: Update with for removed field.
1964         <hash>: Likewise.
1965         * riscv-tdep.h (struct gdbarch_tdep) <features>: Renamed to...
1966         <isa_features>: ...this.
1967         <abi_features>: New field.
1968         (riscv_isa_flen): Update comment.
1969         (riscv_abi_xlen): New declaration.
1970         (riscv_abi_flen): New declaration.
1971         * riscv-tdep.c (riscv_isa_xlen): Update to get answer from
1972         isa_features.
1973         (riscv_abi_xlen): New function.
1974         (riscv_isa_flen): Update to get answer from isa_features.
1975         (riscv_abi_flen): New function.
1976         (riscv_has_fp_abi): Update to get answer from abi_features.
1977         (riscv_call_info::riscv_call_info): Use abi xlen and flen, not isa
1978         xlen and flen.
1979         (riscv_call_info) <xlen, flen>: Update comment.
1980         (riscv_call_arg_struct): Remove invalid assertions
1981         (riscv_features_from_gdbarch_info): Update now hw_float_abi field
1982         is removed.
1983         (riscv_gdbarch_init): Gather isa features and abi features
1984         separately, ensure both match on the gdbarch when reusing an old
1985         gdbarch.  Relax an error check to allow 32-bit abi float to run on
1986         a target with 64-bit float hardware.
1987
1988 2019-01-01  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
1989
1990         * source.c (search_command_helper): Stop reverse search
1991         when line 1 has been searched.
1992
1993 2019-01-01  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
1994
1995         * record-full.c (record_full_base_target::close): Rewrite
1996         record_full_core_buf_list free logic.
1997
1998 2019-01-01  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
1999
2000         * break-catch-syscall.c (print_one_catch_syscall): xfree
2001         the last text.
2002
2003 2019-01-01  Joel Brobecker  <brobecker@adacore.com>
2004
2005         * top.c (print_gdb_version): Update Copyright year in version
2006         message.
2007
2008 2019-01-01  Joel Brobecker  <brobecker@adacore.com>
2009
2010         Update copyright year range in all GDB files.
2011
2012 2019-01-01, 19  Joel Brobecker  <brobecker@adacore.com>
2013
2014         * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2018.
2015
2016 For older changes see ChangeLog-2018.
2017 \f
2018 Local Variables:
2019 mode: change-log
2020 left-margin: 8
2021 fill-column: 74
2022 version-control: never
2023 coding: utf-8
2024 End:
2025