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