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