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