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