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