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