Remove last cleanups from solib-svr4.c
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
2b6ff1c0
TT
12019-03-06 Tom Tromey <tom@tromey.com>
2
3 * solib-svr4.c (svr4_parse_libraries, svr4_current_sos_direct):
4 Use make_scope_exit.
5
d01c5877
TT
62019-03-06 Tom Tromey <tom@tromey.com>
7
8 * solib-svr4.c (disable_probes_interface): Remove parameter.
9 (svr4_handle_solib_event): Use make_scope_exit.
10
32603266
TT
112019-03-06 Tom Tromey <tom@tromey.com>
12
13 * remote.c (struct stop_reply_deleter): Remove.
14 (stop_reply_up): Update.
15 (struct stop_reply): Derive from notif_event. Don't typedef.
16 <regcache>: Now a std::vector.
17 (stop_reply_xfree): Remove.
18 (stop_reply::~stop_reply): Rename from stop_reply_dtr.
19 (remote_notif_stop_alloc_reply): Return a unique_ptr. Use new.
20 (remote_target::discard_pending_stop_replies): Use delete.
21 (remote_target::remote_parse_stop_reply): Update.
22 (remote_target::process_stop_reply): Update.
23 * remote-notif.h (struct notif_event): Add virtual destructor.
24 Remove "dtr" member.
25 (struct notif_client) <alloc_event>: Return a unique_ptr.
26 (notif_event_xfree): Don't declare.
27 (notif_event_up): New typedef.
28 * remote-notif.c (remote_notif_ack, remote_notif_parse): Update.
29 (notif_event_xfree, do_notif_event_xfree): Remove.
30 (remote_notif_state_xfree): Update.
31
9799571e
TT
322019-03-06 Tom Tromey <tom@tromey.com>
33
34 * infrun.c (displaced_step_clear_cleanup): Now a
35 forward_scope_exit type.
36 (displaced_step_prepare_throw): Update.
37 (displaced_step_fixup): Update.
38
09e3c4ca
TT
392019-03-06 Tom Tromey <tom@tromey.com>
40
41 * inferior.h (class inferior): Update comment.
42 * gdbthread.h (class thread_info): Update comment.
43
e2a03548
TT
442019-03-06 Joel Brobecker <brobecker@adacore.com>
45 Tom Tromey <tom@tromey.com>
46
47 * stabsread.h (struct stab_section_list): Remove.
48 (coffstab_build_psymtabs): Update.
49 * dbxread.c (symbuf_sections): Now a std::vector.
50 (sect_idx): New global.
51 (fill_symbuf): Update.
52 (coffstab_build_psymtabs): Change type of stabsects parameter.
53 Update.
54 * coffread.c (struct coff_symfile_info) <stabsects>: Now a
55 std::vector.
56 (linetab, linetab_offset, linetab_size, stringtab): Move earlier.
57 (coff_locate_sections): Update.
58 (coff_symfile_read): Remove cleanups. Update.
59 (init_stringtab): Add storage parameter.
60 (free_stringtab, free_stringtab_cleanup): Remove.
61 (init_lineno): Add storage parameter.
62 (free_linetab, free_linetab_cleanup): Remove.
63
b7e60d85
PA
642019-03-06 Pedro Alves <palves@redhat.com>
65
66 * linux-fork.c (fork_info::clobber_regs): Delete.
67 (fork_load_infrun_state): Remove reference to 'clobber_regs'.
68 (fork_save_infrun_state): Remove 'clobber_regs' parameter. Update
69 comment. Adjust.
70 (scoped_switch_fork_info::scoped_switch_fork_info)
71 (checkpoint_command, linux_fork_context): Adjust
72 fork_save_infrun_state calls.
73
e52c971f
PA
742019-03-06 Pedro Alves <palves@redhat.com>
75
76 * linux-fork.c (inf_has_multiple_thread_cb): Delete.
77 (inf_has_multiple_threads): Return 'bool' and rewrite using
78 inferior_info::threads().
79
06974e6c
PA
802019-03-06 Pedro Alves <palves@redhat.com>
81
82 * linux-fork.c: Include <list>.
83 (fork_list): Now a std::list instance.
84 (fork_info): Add ctor, dtor, and in-class initialize all fields.
85 (forks_exist_p, find_last_fork): Adjust.
86 (new_fork): Delete.
87 (one_fork_p): New.
88 (add_fork): Adjust.
89 (free_fork): Delete, folded into fork_info::~fork_info().
90 (delete_fork, find_fork_ptid, find_fork_id, find_fork_pid):
91 Adjust.
92 (init_fork_list): Delete.
93 (linux_fork_killall, linux_fork_mourn_inferior)
94 (linux_fork_detach, info_checkpoints_command): Adjust.
95 (_initialize_linux_fork): No longer call init_fork_list.
96
72f31aea
PA
972019-03-06 Pedro Alves <palves@redhat.com>
98
99 * linux-fork.c (new_fork): New, split out of ...
100 (add_fork): ... this. Return void. Move "first fork" special
101 case from here, to ...
102 (checkpoint_command): ... here.
103 * linux-linux.h (add_fork): Return void.
104
efbecbc1
AB
1052019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
106
107 * f-exp.y (direct_abs_decl): Handle TYPE*SIZE type names.
108
0841c79a
AB
1092019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
110 Chris January <chris.january@arm.com>
111 David Lecomber <david.lecomber@arm.com>
112
113 * f-exp.y: New token, UNOP_INTRINSIC.
114 (exp): New pattern using UNOP_INTRINSIC token.
115 (f77_keywords): Add 'abs' keyword.
116 * f-lang.c: Add 'target-float.h' and 'math.h' includes.
117 (value_from_host_double): New function.
118 (evaluate_subexp_f): Support UNOP_ABS.
119
4a270568
AB
1202019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
121
122 * f-lang.c (build_fortran_types): Use TYPE_CODE_CHAR for character
123 types.
124
067630bd
AB
1252019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
126
127 * f-exp.y (convert_to_kind_type): Handle integer (kind=8).
128 * f-lang.c (build_fortran_types): Setup builtin_integer_s8.
129 * f-lang.h (struct builtin_f_type): Add builtin_integer_s8 field.
130
3be47f7a
AB
1312019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
132
133 * f-exp.y (convert_to_kind_type): Handle more type kinds.
134
4d00f5d8
AB
1352019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
136 Chris January <chris.january@arm.com>
137
138 * expprint.c (dump_subexp_body_standard): Support UNOP_KIND.
139 * f-exp.y: Define 'KIND' token.
140 (exp): New pattern for KIND expressions.
141 (ptype): Handle types with a kind extension.
142 (direct_abs_decl): Extend to spot kind extensions.
143 (f77_keywords): Add 'kind' to the list.
144 (push_kind_type): New function.
145 (convert_to_kind_type): New function.
146 * f-lang.c (evaluate_subexp_f): Support UNOP_KIND.
147 * parse.c (operator_length_standard): Likewise.
148 * parser-defs.h (enum type_pieces): Add tp_kind.
149 * std-operator.def: Add UNOP_KIND.
150
e454224f
AB
1512019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
152
153 * f-exp.y (f_parse): Set yydebug.
154
9dad4a58
AB
1552019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
156
157 * f-lang.c (evaluate_subexp_f): New function.
158 (exp_descriptor_f): New global.
159 (f_language_defn): Use exp_descriptor_f instead of
160 exp_descriptor_standard.
161
c8f91604
AB
1622019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
163
164 * f-exp.y (struct token): Add comments.
165 (dot_ops): Remove uppercase versions and the end marker.
166 (f77_keywords): Likewise.
167 (yylex): Use ARRAY_SIZE to iterate over dot_ops, assert all
168 entries in the dot_ops array are case insensitive, and use
169 strncasecmp to compare strings. Also some whitespace cleanup in
170 this area. Similar for the f77_keywords array, except entries in
171 this list might be case sensitive.
172
dd9f2c76
AB
1732019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
174
175 * f-exp.y (struct f77_boolean_val): Add comments.
176 (boolean_values): Remove uppercase versions, and end marker.
177 (yylex): Use ARRAY_SIZE for iterating over boolean_values array,
178 and use strncasecmp to achieve case insensitivity. Additionally,
179 perform whitespace cleanup around this code.
180
67a3048c
TT
1812019-03-06 Tom Tromey <tromey@adacore.com>
182
183 * remote-sim.c (gdbsim_target_open): Use result of
184 gdb_argv::release.
185
aa3cfbda
RB
1862019-03-06 Richard Bunt <richard.bunt@arm.com>
187 Dirk Schubert <dirk.schubert@arm.com>
188 Chris January <chris.january@arm.com>
189
190 * eval.c (evaluate_subexp_standard): Call Fortran argument
191 wrapping logic.
192 * f-lang.c (struct value): A value which can be passed into a
193 Fortran function call.
194 (fortran_argument_convert): Wrap Fortran arguments in a pointer
195 where appropriate.
196 (struct type): Value ready for a Fortran function call.
197 (fortran_preserve_arg_pointer): Undo check_typedef, the pointer
198 is needed.
199 * f-lang.h (fortran_argument_convert): Declaration.
200 (fortran_preserve_arg_pointer): Declaration.
201 * infcall.c (value_arg_coerce): Call Fortran argument logic.
202
ea38e5df
TT
2032019-03-05 Tom Tromey <tromey@adacore.com>
204
205 * python/py-prettyprint.c (print_string_repr): Remove #if.
206 * python/py-utils.c (unicode_to_encoded_string): Remove #if.
207
06b5b831
TT
2082019-03-05 Tom Tromey <tromey@adacore.com>
209
210 * target.c (the_dummy_target): Move later. Change type to
211 "dummy_target".
212 (initialize_targets): Don't initialize the_dummy_target.
213
edbd9e45
TT
2142019-03-05 Tom Tromey <tromey@adacore.com>
215
216 * gdb_bfd.c (gdb_bfd_fdopenr): Remove.
217 * gdb_bfd.h (gdb_bfd_fdopenr): Don't declare.
218
c119e040
TT
2192019-03-05 Tom Tromey <tromey@adacore.com>
220
221 * windows-nat.c (windows_nat_target::attach)
222 (windows_nat_target::detach): Don't call gdb_flush.
223 * valprint.c (generic_val_print, val_print, val_print_string):
224 Don't call gdb_flush.
225 * utils.c (defaulted_query): Don't call gdb_flush.
226 * typeprint.c (print_type_scalar): Don't call gdb_flush.
227 * target.c (target_announce_detach): Don't call gdb_flush.
228 * sparc64-tdep.c (adi_print_versions): Don't call gdb_flush.
229 * remote.c (extended_remote_target::attach): Don't call
230 gdb_flush.
231 * procfs.c (procfs_target::detach): Don't call gdb_flush.
232 * printcmd.c (do_examine): Don't call gdb_flush.
233 (info_display_command): Don't call gdb_flush.
234 * p-valprint.c (pascal_val_print): Don't call gdb_flush.
235 * nto-procfs.c (nto_procfs_target::attach): Don't call gdb_flush.
236 * memattr.c (info_mem_command): Don't call gdb_flush.
237 * mdebugread.c (mdebug_build_psymtabs): Don't call gdb_flush.
238 * m2-valprint.c (m2_val_print): Don't call gdb_flush.
239 * infrun.c (follow_exec, handle_command): Don't call gdb_flush.
240 * inf-ptrace.c (inf_ptrace_target::attach): Don't call gdb_flush.
241 * hppa-tdep.c (unwind_command): Don't call gdb_flush.
242 * gnu-nat.c (gnu_nat_target::attach): Don't call gdb_flush.
243 (gnu_nat_target::detach): Don't call gdb_flush.
244 * f-valprint.c (f_val_print): Don't call gdb_flush.
245 * darwin-nat.c (darwin_nat_target::attach): Don't call gdb_flush.
246 * cli/cli-script.c (read_command_lines): Don't call gdb_flush.
247 * cli/cli-cmds.c (shell_escape, print_disassembly): Don't call
248 gdb_flush.
249 * c-valprint.c (c_val_print): Don't call gdb_flush.
250 * ada-valprint.c (ada_print_scalar): Don't call gdb_flush.
251
895dafa6
TT
2522019-03-05 Tom Tromey <tromey@adacore.com>
253
254 * varobj.c (update_dynamic_varobj_children): Update.
255 (install_default_visualizer): Use reset, not release.
256 * value.c (set_internalvar): Update.
257 * dwarf2loc.c (value_of_dwarf_reg_entry): Update.
258 * common/gdb_ref_ptr.h (class ref_ptr) <release>: Add
259 ATTRIBUTE_UNUSED_RESULT.
260
88a774b9
TT
2612019-03-05 Tom Tromey <tromey@adacore.com>
262
263 * remote.c (class scoped_remote_fd) <release>: Add
264 ATTRIBUTE_UNUSED_RESULT.
265
4e4a8b93
TT
2662019-03-05 Tom Tromey <tromey@adacore.com>
267
268 * macroexp.c (struct macro_buffer) <release>: Add
269 ATTRIBUTE_UNUSED_RESULT.
270
083eef1f
TT
2712019-03-05 Tom Tromey <tromey@adacore.com>
272
273 * nat/linux-btrace.c (linux_enable_bts, linux_enable_pt): Update.
274 * common/scoped_mmap.h (class scoped_mmap) <release>: Add
275 ATTRIBUTE_UNUSED_RESULT.
276
3cabd438
TT
2772019-03-05 Tom Tromey <tromey@adacore.com>
278
279 * common/scoped_fd.h (class scoped_fd) <release>: Add
280 ATTRIBUTE_UNUSED_RESULT.
281
41e3300a
TT
2822019-03-05 Tom Tromey <tromey@adacore.com>
283
284 * parser-defs.h (struct parser_state) <release>: Add
285 ATTRIBUTE_UNUSED_RESULT.
286
18cb7c9f
TT
2872019-03-05 Tom Tromey <tromey@adacore.com>
288
289 * utils.h (class gdb_argv) <release>: Add
290 ATTRIBUTE_UNUSED_RESULT.
291 * common/common-defs.h (ATTRIBUTE_UNUSED_RESULT): Define.
292
41fa577f
EZ
2932019-03-02 Eli Zaretskii <eliz@gnu.org>
294
a6a4b2c6
EZ
295 * xml-syscall.c (xml_list_syscalls_by_group): Drop 'struct' from
296 for-loop range, to avoid compiler warnings.
297
298 * tui/tui.c (tui_enable) [__MINGW32__]: Don't declare 'cap', to
299 avoid compiler warnings about unused variables.
300
742a7df5
EZ
301 * NEWS: Mention end of support for native debugging on MS-Windows
302 before XP.
303
41fa577f
EZ
304 PR gdb/24292
305 * common/netstuff.c:
306 * gdbserver/gdbreplay.c
307 * gdbserver/remote-utils.c:
308 * ser-tcp.c:
309 * unittests/parse-connection-spec-selftests.c [USE_WIN32API]:
310 Include ws2tcpip.h instead of wsiapi.h and winsock2.h. Redefine
311 _WIN32_WINNT to 0x0501 if defined to a smaller value, as
312 'getaddrinfo' and 'freeaddrinfo' were not available before
313 Windows XP, and mingw.org's MinGW headers by default define
314 _WIN32_WINNT to 0x500.
315
827f438f
GB
3162019-03-01 Gary Benson <gbenson@redhat.com>
317
318 * coffread.c (coff_start_symtab): Remove unnecessary xstrdup.
319
92137da0
RO
3202019-02-28 Brian Vandenberg <phantall@gmail.com>
321 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
322
323 PR gdb/8527
324 * procfs.c (proc_wait_for_stop): Wrap write of PCWSTOP in
325 set_sigint_trap, clear_sigint_trap.
326
799efbe8
PW
3272019-02-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
328
329 * target.c (target_detach): Clear the regcache and the
330 frame cache.
331
8ed25214
PA
3322019-02-27 Pedro Alves <palves@redhat.com>
333
334 * utils.c (set_screen_size): When we cap the height/width sizes,
335 tweak the corresponding command variable to show "unlimited":
336
23031e31
SJ
3372019-02-27 Saagar Jha <saagar@saagarjha.com>
338 Pedro Alves <palves@redhat.com>
339
340 * utils.c (set_screen_size): Reduce "infinite" rows and columns
341 before calling rl_set_screen_size.
342
6c28e44a
TT
3432019-02-27 Tom Tromey <tromey@adacore.com>
344
345 * configure.ac (HAVE_LIBPYTHON2_4, HAVE_LIBPYTHON2_5): Never
346 define.
347 * python/py-value.c: Remove Python 2.4 workaround.
348 * python/py-utils.c (gdb_pymodule_addobject): Remove Python 2.4
349 workaround.
350 * python/py-type.c (convert_field, gdbpy_initialize_types): Remove
351 Python 2.4 workaround.
352 * python/python-internal.h: Remove Python 2.4 comment.
353 (Py_ssize_t): Don't define.
354 (PyVarObject_HEAD_INIT, Py_TYPE): Don't define.
355 (gdb_Py_DECREF): Remove Python 2.4 workaround.
356 (gdb_PyObject_GetAttrString, PyObject_GetAttrString): Remove.
357 (gdb_PyObject_HasAttrString, PyObject_HasAttrString): Remove.
358 * python/python.c (do_start_initialization): Remove Python 2.4
359 workaround.
360 * python/py-prettyprint.c (class dummy_python_frame): Remove.
361 (print_children): Remove Python 2.4 workaround.
362 * python/py-inferior.c (buffer_procs): Remove Python 2.4
363 workaround.
364 (CHARBUFFERPROC_NAME): Remove.
365 * python/py-breakpoint.c (gdbpy_initialize_breakpoints): Remove
366 Python 2.4 workaround.
367
2c3fc25d 3682019-02-27 Kevin Buettner <kevinb@redhat.com>
799efbe8 369
2c3fc25d
KB
370 * NEWS: Note minimum Python version.
371
6ca62222
KB
3722019-02-27 Kevin Buettner <kevinb@redhat.com>
373
374 * python/py-inferior.c (infpy_write_memory): Remove non-IS_PY3K
375 code from these functions. Remove corresponding ifdefs. Use
376 Py_buffer_up instead of explicit calls to PyBuffer_Release.
377 Remove gotos and target of gotos.
378 (infpy_search_memory): Likewise.
379
f4bc7d2c
AB
3802019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
381
382 * gdb/hppa-tdep.c (hppa_dummy_id): Delete.
383 (hppa_gdbarch_init): Don't register deleted functions with
384 gdbarch.
385
9734a586
AB
3862019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
387
388 * gdb/h8300-tdep.c (h8300_unwind_pc): Delete.
389 (h8300_unwind_sp): Delete.
390 (h8300_dummy_id): Delete.
391 (h8300_gdbarch_init): Don't register deleted functions with
392 gdbarch.
393
68b867f3
AB
3942019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
395
396 * gdb/ft32-tdep.c (ft32_dummy_id): Delete.
397 (ft32_unwind_pc): Delete.
398 (ft32_unwind_sp): Delete.
399 (ft32_gdbarch_init): Don't register deleted functions with
400 gdbarch.
401
2fbe7ad0
AB
4022019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
403
404 * gdb/frv-tdep.c (frv_dummy_id): Delete.
405 (frv_unwind_pc): Delete.
406 (frv_unwind_sp): Delete.
407 (frv_gdbarch_init): Don't register deleted functions with
408 gdbarch.
409
76055cbe
AB
4102019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
411
412 * gdb/riscv-tdep.c (riscv_dummy_id): Delete.
413 (riscv_unwind_pc): Delete.
414 (riscv_unwind_sp): Delete.
415 (riscv_gdbarch_init): Don't register deleted functions with
416 gdbarch.
417
4133e5a1
AB
4182019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
419
420 * gdb/csky-tdep.c (csky_dummy_id): Delete.
421 (csky_unwind_pc): Delete.
422 (csky_unwind_sp): Delete.
423 (csky_gdbarch_init): Don't register deleted functions with
424 gdbarch.
425
8010f576
AB
4262019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
427
428 * gdb/cris-tdep.c (cris_dummy_id): Delete.
429 (cris_unwind_pc): Delete.
430 (cris_unwind_sp): Delete.
431 (cris_gdbarch_init): Don't register deleted functions with
432 gdbarch.
433
b56bf084
AB
4342019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
435
436 * gdb/bfin-tdep.c (bfin_dummy_id): Delete.
437 (bfin_unwind_pc): Delete.
438 (bfin_gdbarch_init): Don't register deleted functions with gdbarch.
439
a19a650f
AB
4402019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
441
442 * gdb/arm-tdep.c (arm_dummy_id): Delete.
443 (arm_unwind_pc): Delete.
444 (arm_unwind_sp): Delete.
445 (arm_gdbarch_init): Don't register deleted functions with gdbarch.
446
f8278c3c
AB
4472019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
448
449 * gdb/arc-tdep.c (arc_dummy_id): Delete.
450 (arc_unwind_pc): Delete.
451 (arc_unwind_sp): Delete.
452 (arc_gdbarch_init): Don't register deleted functions with gdbarch.
453
480e46cf
AB
4542019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
455
456 * gdb/alpha-tdep.c (alpha_dummy_id): Delete.
457 (alpha_unwind_pc): Delete.
458 (alpha_gdbarch_init): Don't register deleted functions with
459 gdbarch.
460
7a995095
AB
4612019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
462
463 * gdb/aarch64-tdep.c (aarch64_dummy_id): Delete.
464 (aarch64_unwind_pc): Delete.
465 (aarch64_unwind_sp): Delete.
466 (aarch64_gdbarch_init): Don't register deleted functions with
467 gdbarch.
468
bf9a735e
AB
4692019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
470
471 * gdbtypes.c (type_align): Don't consider static members when
472 computing structure alignment.
473
5561fc30
AB
4742019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
475
476 * arc-tdep.c (arc_type_align): Provide alignment for basic types,
477 return 0 for other types.
478 * arch-utils.c (default_type_align): Always return 0.
479 * gdbarch.h: Regenerate.
480 * gdbarch.sh (type_align): Extend comment.
481 * gdbtypes.c (type_align): Add additional comments, always call
482 gdbarch_type_align before applying the default rules.
483 * i386-tdep.c (i386_type_align): Return 0 as the default rule,
484 generic code will then apply a suitable default.
485 * nios2-tdep.c (nios2_type_align): Provide alignment for basic
486 types, return 0 for other types.
487
9335e75a
JB
4882019-02-27 Joel Brobecker <brobecker@adacore.com>
489
490 * NEWS: Create a new section for the next release branch.
491 Rename the section of the current branch, now that it has
492 been cut.
493
3d34d8de
JB
4942019-02-27 Joel Brobecker <brobecker@adacore.com>
495
496 GDB 8.3 branch created (143420fb0d5ae54323ba9953f0818c194635228d):
497 * version.in: Bump version to 8.3.50.DATE-git.
498
143420fb
SM
4992019-02-26 Simon Marchi <simon.marchi@efficios.com>
500
501 * aix-thread.c (ptid_cmp): Remove unused variable.
502 (get_signaled_thread): Likewise.
503 (store_regs_user_thread): Likewise.
504 (store_regs_kernel_thread): Likewise.
505 (fetch_regs_kernel_thread): Remove shadowed variable.
506
172fb711
AB
5072019-02-26 Andrew Burgess <andrew.burgess@embecosm.com>
508
509 * features/riscv/32bit-cpu.xml: Add register numbers.
510 * features/riscv/32bit-fpu.c: Regenerate.
511 * features/riscv/32bit-fpu.xml: Add register numbers.
512 * features/riscv/64bit-cpu.xml: Add register numbers.
513 * features/riscv/64bit-fpu.c: Regenerate.
514 * features/riscv/64bit-fpu.xml: Add register numbers.
515
26c89782
KB
5162019-02-26 Kevin Buettner <kevinb@redhat.com>
517
af54ade9 518 * NEWS: Mention two argument form of gdb.Value constructor.
fe07eca5
KB
519 * python/py-value.c (convert_buffer_and_type_to_value): New
520 function.
521 (valpy_new): Parse arguments via gdb_PyArg_ParseTupleAndKeywords.
522 Add support for handling an optional second argument. Call
523 convert_buffer_and_type_to_value as appropriate.
26c89782
KB
524 * python/python-internal.h (Py_buffer_deleter): New struct.
525 (Py_buffer_up): New typedef.
526
0f58c9e8
JB
5272019-02-25 John Baldwin <jhb@FreeBSD.org>
528
529 * dwarf2read.c (dwarf2_get_dwz_file): Reset dwz_bfd to nullptr
530 instead of releasing ownership.
531
0a0f4c01
JR
5322019-02-25 Jordan Rupprecht <rupprecht@google.com>
533
534 * dwarf2read.c (open_and_init_dwp_file): Call
535 elf_numsections instead of bfd_count_sections to initialize
536 dwp_file->num_sections.
537
cd5a152c
TT
5382019-02-25 Tom Tromey <tromey@adacore.com>
539
540 * solib-darwin.c (darwin_get_dyld_bfd): Don't release dyld_bfd.
541
8a6a8513
SDJ
5422019-02-23 Sergio Durigan Junior <sergiodj@redhat.com>
543
544 * gcore.in: Add '--readnever' option when invoking GDB.
545
04dcda9c
SM
5462019-02-22 Simon Marchi <simon.marchi@polymtl.ca>
547
548 * MAINTAINERS: Update my email address.
549
07bc701d
SM
5502019-02-22 Simon Marchi <simon.marchi@polymtl.ca>
551
552 * build-id.c (build_id_to_debug_bfd_1): New function.
553 (build_id_to_debug_bfd): Look for separate debug file in
554 sysroot.
555
c6f4a5d0
AB
5562019-02-22 Andrew Burgess <andrew.burgess@embecosm.com>
557
558 * gdbarch.sh: Update the copyright year range that is placed into
559 generated files.
560
9600246d
KS
5612019-02-22 Keith Seitz <keiths@redhat.com>
562
563 PR symtab/23853
564 * linespec.c (create_sals_line_offset): Search for the default
565 symtab's filename instead of its fullname.
566
7557a514
AH
5672019-02-21 Alan Hayward <alan.hayward@arm.com>
568
569 * NEWS: Update style defaults.
570
ee2bcb0c
AH
5712019-02-21 Alan Hayward <alan.hayward@arm.com>
572
573 * main.c (captured_main_1): Disable styling in batch mode.
574
0c95f9ed
TT
5752019-02-20 Tom Tromey <tom@tromey.com>
576
577 * symtab.c (symtab_symbol_info): Fix typos.
578
c763b894
TT
5792019-02-20 Tom Tromey <tromey@adacore.com>
580
581 * findcmd.c (_initialize_mem_search): Use upper case for
582 metasyntactic variables.
583
0ef8a082
AH
5842019-02-20 Alan Hayward <alan.hayward@arm.com>
585
586 * aarch64-tdep.c (aarch64_add_reggroups): New function.
587 (aarch64_gdbarch_init): Call aarch64_add_reggroups.
588
6caa91b6
SM
5892019-02-19 Simon Marchi <simon.marchi@polymtl.ca>
590
591 * top.h (source_file_name): Change to std::string.
592 * top.c (source_file_name): Likewise.
593 (command_line_input): Adjust.
594 * cli/cli-script.c (script_from_file): Adjust.
595
98814c6c
TT
5962019-02-19 Tom Tromey <tromey@adacore.com>
597
598 * ravenscar-thread.c
599 (ravenscar_thread_target::update_thread_list): Don't call
600 ada_build_task_list.
601 * ada-lang.h (ada_build_task_list): Don't declare.
602 * ada-tasks.c (struct ada_tasks_inferior_data)
603 <task_list_valid_p>: Now bool.
604 (read_known_tasks, ada_task_list_changed)
605 (ada_tasks_invalidate_inferior_data): Update.
606 (read_known_tasks_array): Return bool.
607 (read_known_tasks_list): Likewise.
608 (read_known_tasks): Return void.
609 (ada_build_task_list): Now static.
610
70cd633e
AB
6112019-02-18 Andrew Burgess <andrew.burgess@embecosm.com>
612
613 * gdbtypes.c (type_align): Allow alignment of TYPE_CODE_METHODPTR
614 and TYPE_CODE_MEMBERPTR to be overridden by the gdbarch.
615
040b3e95
PW
6162019-02-18 Philippe Waroquiers <philippe.waroquiers@skynet.be>
617
618 * ada-task.c (_initialize_tasks): Use 'with_cleanup' register
619 variant for ada_tasks_pspace_data_handle and
620 ada_tasks_inferior_data_handle.
621 (ada_tasks_pspace_data_cleanup): New function.
622 (ada_tasks_inferior_data_cleanup): New function.
623
9409233b
TT
6242019-02-17 Tom Tromey <tom@tromey.com>
625
626 * macrotab.h (macro_source_fullname): Return a std::string.
627 * macrotab.c (macro_include, check_for_redefinition)
628 (macro_undef, macro_lookup_definition, foreach_macro)
629 (foreach_macro_in_scope): Update.
630 (macro_source_fullname): Return a std::string.
631 * macrocmd.c (show_pp_source_pos): Update.
632
6506371f
TT
6332019-02-17 Tom Tromey <tom@tromey.com>
634
635 * macrocmd.c (show_pp_source_pos): Style the file names.
636
0c820d67
TT
6372019-02-17 Tom Tromey <tom@tromey.com>
638
639 PR tui/24197:
640 * tui/tui-source.c (tui_set_source_content_nil): Rewrite.
641
a0087920
TT
6422019-02-17 Tom Tromey <tom@tromey.com>
643
644 * ada-lang.c (user_select_syms): Use filtered printing.
645 * utils.c (wrap_style): New global.
646 (desired_style): Remove.
647 (emit_style_escape): Add stream parameter.
648 (set_output_style, reset_terminal_style, prompt_for_continue):
649 Update.
650 (flush_wrap_buffer): Only flush gdb_stdout.
651 (wrap_here): Set wrap_style.
652 (fputs_maybe_filtered): Clear the wrap buffer on exception. Don't
653 treat escape sequences as a character. Change when wrap buffer is
654 flushed.
655 (fputs_styled): Do not set the output style when the default is
656 requested.
657 * ui-style.h (struct ui_file_style) <is_default>: New method.
658 * source.c (print_source_lines_base): Emit escape sequences in one
659 piece.
660
75ba10dc
JB
6612019-02-17 Joel Brobecker <brobecker@adacore.com>
662
663 * gdbtypes.c (type_align): Handle TYPE_CODE_RANGE the same as
664 integers and enumeration types.
665
a2cd4f14
JB
6662019-02-17 Joel Brobecker <brobecker@adacore.com>
667
668 * ada-lang.c (standard_lookup): Use ada_lookup_encoded_symbol
669 instead of lookup_symbol_in_language
670 (do_exact_match): New function.
671 (ada_get_symbol_name_matcher): Return do_exact_match when
672 doing a verbatim match.
673
485b851b
TT
6742019-02-15 Tom Tromey <tromey@adacore.com>
675
676 * ravenscar-thread.c (ravenscar_thread_target::resume)
677 (ravenscar_thread_target::wait): Special case wildcard requests.
678
0b790b1e
TT
6792019-02-15 Tom Tromey <tromey@adacore.com>
680
681 * ravenscar-thread.c (base_ptid): Remove.
682 (struct ravenscar_thread_target) <close>: New method.
683 <m_base_ptid>: New member.
684 <update_inferior_ptid, active_task, task_is_currently_active,
685 runtime_initialized>: Declare methods.
686 <ravenscar_thread_target>: Add constructor.
687 (ravenscar_thread_target::task_is_currently_active)
688 (ravenscar_thread_target::update_inferior_ptid)
689 (ravenscar_runtime_initialized): Rename. Now methods.
690 (ravenscar_thread_target::resume, ravenscar_thread_target::wait)
691 (ravenscar_thread_target::update_thread_list): Update.
692 (ravenscar_thread_target::active_task): Now method.
693 (ravenscar_thread_target::store_registers)
694 (ravenscar_thread_target::prepare_to_store)
695 (ravenscar_thread_target::prepare_to_store)
696 (ravenscar_thread_target::mourn_inferior): Update.
697 (ravenscar_inferior_created): Use "new" to create target.
698 (ravenscar_thread_target::get_ada_task_ptid): Update.
699 (_initialize_ravenscar): Don't initialize base_ptid.
700 (ravenscar_ops): Remove global.
701
dea57a62
TT
7022019-02-15 Tom Tromey <tromey@adacore.com>
703
704 * target.h (push_target): Declare new overload.
705 * target.c (push_target): New overload, taking an rvalue reference.
706 * remote.c (remote_target::open_1): Use push_target overload.
707 * corelow.c (core_target_open): Use push_target overload.
708
989f3c58
TT
7092019-02-15 Tom Tromey <tromey@adacore.com>
710
711 * ravenscar-thread.c (is_ravenscar_task)
712 (ravenscar_task_is_currently_active): Return bool.
713 (ravenscar_update_inferior_ptid, get_running_thread_msymbol)
714 (_initialize_ravenscar): Remove "(void)".
715 (has_ravenscar_runtime, ravenscar_runtime_initialized): Likewise.
716 Return bool.
717
6cbcc006
TT
7182019-02-15 Tom Tromey <tromey@adacore.com>
719
720 * ravenscar-thread.c (ravenscar_runtime_initializer)
721 (has_ravenscar_runtime, get_running_thread_id)
722 (ravenscar_thread_target::resume): Fix indentation.
723
7657f14d
TT
7242019-02-15 Tom Tromey <tromey@adacore.com>
725
726 * sparc-ravenscar-thread.c (struct sparc_ravenscar_ops): Derive
727 from ravenscar_arch_ops.
728 (sparc_ravenscar_ops::fetch_registers)
729 (sparc_ravenscar_ops::store_registers): Now methods.
730 (sparc_ravenscar_prepare_to_store): Remove.
731 (sparc_ravenscar_ops): Redefine.
732 * ravenscar-thread.h (struct ravenscar_arch_ops): Add virtual
733 methods and destructor. Remove members.
734 * ravenscar-thread.c (ravenscar_thread_target::fetch_registers)
735 (ravenscar_thread_target::store_registers)
736 (ravenscar_thread_target::prepare_to_store): Update.
737 * ppc-ravenscar-thread.c (ppc_ravenscar_generic_prepare_to_store):
738 Remove.
739 (struct ppc_ravenscar_powerpc_ops): Derive from
740 ravenscar_arch_ops.
741 (ppc_ravenscar_powerpc_ops::fetch_registers)
742 (ppc_ravenscar_powerpc_ops::store_registers): Now methods.
743 (ppc_ravenscar_powerpc_ops): Redefine.
744 (struct ppc_ravenscar_e500_ops): Derive from ravenscar_arch_ops.
745 (ppc_ravenscar_e500_ops::fetch_registers)
746 (ppc_ravenscar_e500_ops::store_registers): Now methods.
747 (ppc_ravenscar_e500_ops): Redefine.
748 * aarch64-ravenscar-thread.c
749 (aarch64_ravenscar_generic_prepare_to_store): Remove.
750 (struct aarch64_ravenscar_ops): Derive from ravenscar_arch_ops.
751 (aarch64_ravenscar_fetch_registers)
752 (aarch64_ravenscar_store_registers): Now methods.
753 (aarch64_ravenscar_ops): Redefine.
754
5b6ea500
TT
7552019-02-15 Tom Tromey <tromey@adacore.com>
756
757 * ravenscar-thread.c (ravenscar_thread_target::stopped_by_sw_breakpoint)
758 (ravenscar_thread_target::stopped_by_hw_breakpoint)
759 (ravenscar_thread_target::stopped_by_watchpoint)
760 (ravenscar_thread_target::stopped_data_address)
761 (ravenscar_thread_target::core_of_thread): Use scoped_restore.
762
e397fd39
TT
7632019-02-15 Tom Tromey <tromey@adacore.com>
764
765 * ravenscar-thread.c: Fix some typos.
766
cc12f4a8
TT
7672019-02-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
768 Tom Tromey <tromey@adacore.com>
769
770 * ada-lang.c (ada_exception_sal): Change addr_string to a
771 std::string.
772 (create_ada_exception_catchpoint): Update.
773
5f486660
TT
7742019-02-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
775 Tom Tromey <tromey@adacore.com>
776
777 * breakpoint.c (~bp_location): Rename from bp_location_dtor.
778 (bp_location_ops): Remove.
779 (base_breakpoint_allocate_location): Update.
780 (free_bp_location): Update.
781 * ada-lang.c (class ada_catchpoint_location)
782 <ada_catchpoint_location>: Remove ops parameter.
783 (ada_catchpoint_location_dtor): Remove.
784 (ada_catchpoint_location_ops): Remove.
785 (allocate_location_exception): Update.
786 * breakpoint.h (struct bp_location_ops): Remove.
787 (class bp_location) <bp_location>: Remove bp_location_ops
788 parameter.
789 <~bp_location>: Add destructor.
790 <ops>: Remove.
791
b671c7fb
TS
7922019-02-14 Thomas Schwinge <thomas@codesourcery.com>
793 Pedro Alves <palves@redhat.com>
794
795 * remote.c (remote_target::remote_parse_stop_reply): Avoid using
796 'PATH_MAX'.
797
8071c5ce
DM
7982019-02-14 David Michael <fedora.dm0@gmail.com>
799 Samuel Thibault <samuel.thibault@gnu.org>
800 Thomas Schwinge <thomas@codesourcery.com>
801
802 * gnu-nat.c (S_proc_getmsgport_reply, S_proc_task2proc_reply)
803 (S_proc_pid2proc_reply): Adjust to Hurd "proc" interface changes.
804
b1041ae0
TS
8052019-02-14 Thomas Schwinge <thomas@codesourcery.com>
806
924514e1
TS
807 * gnu-nat.c (gnu_write_inferior, parse_int_arg, _parse_bool_arg)
808 (check_empty): Use "const char *".
809
c29ee8d4
TS
810 * gnu-nat.c (gnu_nat_target::detach): Instead of
811 'detach_inferior (pid)' call
812 'detach_inferior (find_inferior_pid (pid))'.
813
6c6ef69f
TS
814 * configure.nat [gdb_host == i386gnu] (NATDEPFILES): Add
815 'nat/fork-inferior.o'.
816 * gnu-nat.c: #include "nat/fork-inferior.h".
817
2d0a338c
TS
818 * gnu-nat.c (gnu_nat_target::detach): Instead of
819 'inf_child_maybe_unpush_target (ops)' call 'maybe_unpush_target'.
820 * gnu-nat.h: #include "inf-child.h".
821 * i386-gnu-nat.c (gnu_fetch_registers): Rename/move to
822 'i386_gnu_nat_target::fetch_registers'.
823 (gnu_store_registers): Rename/move to
824 'i386_gnu_nat_target::store_registers'.
825
cabb5f06
TS
826 * config/i386/nm-i386gnu.h: Don't "#include" any files.
827 * gnu-nat.h (mach_thread_info): New function.
828 * gnu-nat.c (thread_takeover_sc_cmd): Use it.
829
b1041ae0
TS
830 * config/i386/nm-i386gnu.h (gnu_target_pid_to_str): Remove.
831
2988d01e
KF
8322019-02-14 Frederic Konrad <konrad@adacore.com>
833
834 * riscv-rdep.c (riscv_type_alignment): Handle TYPE_CODE_RANGE.
835
c559d709
JB
8362019-02-14 Joel Brobecker <brobecker@adacore.com>
837
838 * windows-nat.c (windows_add_thread): Add new parameter
839 "main_thread_p" with default value set to false. Update
840 function documentation as well as all callers.
841 (windows_delete_thread): Likewise.
842 (fake_create_process): Update call to windows_add_thread.
843 (get_windows_debug_event) <CREATE_THREAD_DEBUG_EVENT>
844 <CREATE_PROCESS_DEBUG_EVENT>: Likewise.
845 <EXIT_THREAD_DEBUG_EVENT, EXIT_PROCESS_DEBUG_EVENT>: Update
846 call to windows_delete_thread.
847
007024cc
SM
8482019-02-13 Simon Marchi <simon.marchi@ericsson.com>
849
850 * MAINTAINERS: Add Andrew Burgess as global maintainer.
851
f62318e9
JB
8522019-02-12 John Baldwin <jhb@FreeBSD.org>
853
854 * symfile.c (find_separate_debug_file): Use canonical path of
855 sysroot with child_path instead of gdb_sysroot if it is valid.
856
cd4b7848
JB
8572019-02-12 John Baldwin <jhb@FreeBSD.org>
858
859 * symfile.c (find_separate_debug_file): Use child_path to
860 determine if an object file is under a sysroot.
861
efac4bfe
JB
8622019-02-12 John Baldwin <jhb@FreeBSD.org>
863
864 * Makefile.in (SUBDIR_UNITTESTS_SRCS): Add
865 unittests/child-path-selftests.c.
866 * common/pathstuff.c (child_path): New function.
867 * common/pathstuff.h (child_path): New prototype.
868 * unittests/child-path-selftests.c: New file.
869
402d2bfe
JB
8702019-02-12 John Baldwin <jhb@FreeBSD.org>
871
872 * symfile.c (find_separate_debug_file): Look for separate debug
873 files in debug directories under the sysroot.
874
1ed9f74e
PW
8752019-02-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
876
877 * symtab.h (struct minimal_symbol data_p): New const method.
878 (struct minimal_symbol text_p): Likewise.
879 * symtab.c (output_source_filename): Use file name style
880 to print file name.
881 (print_symbol_info): Likewise.
882 (print_msymbol_info): Use address style to print addresses.
883 Use function name style to print executable text symbols.
884 (expand_symtab_containing_pc): Use data_p.
885 (find_pc_sect_compunit_symtab): Likewise.
886
2636d81d
PW
8872019-02-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
888
889 * breakpoint.c (describe_other_breakpoints): Use address style
890 to print addresses.
891 (say_where): Likewise.
892
ac8c53cc
PW
8932019-02-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
894
895 * ada-typeprint.c (print_func_type): Print function name
896 style to print function name.
897 * c-typeprint.c (c_print_type_1): Likewise.
898
ea638c43
AH
8992019-02-11 Alan Hayward <alan.hayward@arm.com>
900
901 * aarch64-linux-tdep.c (aarch64_linux_get_syscall_number): Check
902 for execve.
903
ab759ca8
PW
9042019-02-10 Philippe Waroquiers <philippe.waroquiers@skynet.be>
905
906 * c-exp.y (direct_abs_decl): Use emplace_back to record the
907 type_stack.
908
aff29d1c
JB
9092019-02-10 Joel Brobecker <brobecker@adacore.com>
910
911 * ada-varobj.c (ada_value_is_changeable_p): Add handling of
912 TYPE_CODE_REF types.
913
617126bc
JW
9142019-02-08 Jim Wilson <jimw@sifive.com>
915
916 * riscv-linux-tdep.c (riscv_linux_fregmap): New.
917 (riscv_linux_fregset): New.
918 (riscv_linux_iterate_over_regset_sections): Call cb for .reg2 section.
919
46e3ed7f
TT
9202019-02-07 Tom Tromey <tom@tromey.com>
921
922 * thread.c (thread_cancel_execution_command): Update.
923 * thread-fsm.h (struct thread_fsm): Add constructor, destructor,
924 methods.
925 (struct thread_fsm_ops): Remove.
926 (thread_fsm_ctor, thread_fsm_delete, thread_fsm_clean_up)
927 (thread_fsm_should_stop, thread_fsm_return_value)
928 (thread_fsm_set_finished, thread_fsm_finished_p)
929 (thread_fsm_async_reply_reason, thread_fsm_should_notify_stop):
930 Don't declare.
931 * mi/mi-interp.c (mi_on_normal_stop_1): Update.
932 * infrun.c (clear_proceed_status_thread)
933 (clean_up_just_stopped_threads_fsms, fetch_inferior_event)
934 (print_stop_event): Update.
935 * infcmd.c (struct step_command_fsm): Inherit from thread_fsm.
936 Add constructor.
937 (step_command_fsm_ops): Remove.
938 (new_step_command_fsm): Remove.
939 (step_1): Update.
940 (step_command_fsm::should_stop): Rename from
941 step_command_fsm_should_stop.
942 (step_command_fsm::clean_up): Rename from
943 step_command_fsm_clean_up.
944 (step_command_fsm::do_async_reply_reason): Rename from
945 step_command_fsm_async_reply_reason.
946 (struct until_next_fsm): Inherit from thread_fsm. Add
947 constructor.
948 (until_next_fsm_ops): Remove.
949 (new_until_next_fsm): Remove.
950 (until_next_fsm::should_stop): Rename from
951 until_next_fsm_should_stop.
952 (until_next_fsm::clean_up): Rename from until_next_fsm_clean_up.
953 (until_next_fsm::do_async_reply_reason): Rename from
954 until_next_fsm_async_reply_reason.
955 (struct finish_command_fsm): Inherit from thread_fsm. Add
956 constructor. Change type of breakpoint.
957 (finish_command_fsm_ops): Remove.
958 (new_finish_command_fsm): Remove.
959 (finish_command_fsm::should_stop): Rename from
960 finish_command_fsm_should_stop.
961 (finish_command_fsm::clean_up): Rename from
962 finish_command_fsm_clean_up.
963 (finish_command_fsm::return_value): Rename from
964 finish_command_fsm_return_value.
965 (finish_command_fsm::do_async_reply_reason): Rename from
966 finish_command_fsm_async_reply_reason.
967 (finish_command): Update.
968 * infcall.c (struct call_thread_fsm): Inherit from thread_fsm.
969 Add constructor.
970 (call_thread_fsm_ops): Remove.
971 (call_thread_fsm::call_thread_fsm): Rename from
972 new_call_thread_fsm.
973 (call_thread_fsm::should_stop): Rename from
974 call_thread_fsm_should_stop.
975 (call_thread_fsm::should_notify_stop): Rename from
976 call_thread_fsm_should_notify_stop.
977 (run_inferior_call, call_function_by_hand_dummy): Update.
978 * cli/cli-interp.c (should_print_stop_to_console): Update.
979 * breakpoint.c (struct until_break_fsm): Inherit from thread_fsm.
980 Add constructor. Change type of location_breakpoint,
981 caller_breakpoint.
982 (until_break_fsm_ops): Remove.
983 (new_until_break_fsm): Remove.
984 (until_break_fsm::should_stop): Rename from
985 until_break_fsm_should_stop.
986 (until_break_fsm::clean_up): Rename from
987 until_break_fsm_clean_up.
988 (until_break_fsm::do_async_reply_reason): Rename from
989 until_break_fsm_async_reply_reason.
990 (until_break_command): Update.
991 * thread-fsm.c: Remove.
992 * Makefile.in (COMMON_SFILES): Remove thread-fsm.c.
993
1a5c2598
TT
9942019-02-07 Tom Tromey <tom@tromey.com>
995
996 * yy-remap.h: Add include guard.
997 * xtensa-tdep.h: Add include guard.
998 * xcoffread.h: Rename include guard.
999 * varobj-iter.h: Add include guard.
1000 * tui/tui.h: Rename include guard.
1001 * tui/tui-winsource.h: Rename include guard.
1002 * tui/tui-wingeneral.h: Rename include guard.
1003 * tui/tui-windata.h: Rename include guard.
1004 * tui/tui-win.h: Rename include guard.
1005 * tui/tui-stack.h: Rename include guard.
1006 * tui/tui-source.h: Rename include guard.
1007 * tui/tui-regs.h: Rename include guard.
1008 * tui/tui-out.h: Rename include guard.
1009 * tui/tui-layout.h: Rename include guard.
1010 * tui/tui-io.h: Rename include guard.
1011 * tui/tui-hooks.h: Rename include guard.
1012 * tui/tui-file.h: Rename include guard.
1013 * tui/tui-disasm.h: Rename include guard.
1014 * tui/tui-data.h: Rename include guard.
1015 * tui/tui-command.h: Rename include guard.
1016 * tic6x-tdep.h: Add include guard.
1017 * target/waitstatus.h: Rename include guard.
1018 * target/wait.h: Rename include guard.
1019 * target/target.h: Rename include guard.
1020 * target/resume.h: Rename include guard.
1021 * target-float.h: Rename include guard.
1022 * stabsread.h: Add include guard.
1023 * rs6000-tdep.h: Add include guard.
1024 * riscv-fbsd-tdep.h: Add include guard.
1025 * regformats/regdef.h: Rename include guard.
1026 * record.h: Rename include guard.
1027 * python/python.h: Rename include guard.
1028 * python/python-internal.h: Rename include guard.
1029 * python/py-stopevent.h: Rename include guard.
1030 * python/py-ref.h: Rename include guard.
1031 * python/py-record.h: Rename include guard.
1032 * python/py-record-full.h: Rename include guard.
1033 * python/py-record-btrace.h: Rename include guard.
1034 * python/py-instruction.h: Rename include guard.
1035 * python/py-events.h: Rename include guard.
1036 * python/py-event.h: Rename include guard.
1037 * procfs.h: Add include guard.
1038 * proc-utils.h: Add include guard.
1039 * p-lang.h: Add include guard.
1040 * or1k-tdep.h: Rename include guard.
1041 * observable.h: Rename include guard.
1042 * nto-tdep.h: Rename include guard.
1043 * nat/x86-linux.h: Rename include guard.
1044 * nat/x86-linux-dregs.h: Rename include guard.
1045 * nat/x86-gcc-cpuid.h: Add include guard.
1046 * nat/x86-dregs.h: Rename include guard.
1047 * nat/x86-cpuid.h: Rename include guard.
1048 * nat/ppc-linux.h: Rename include guard.
1049 * nat/mips-linux-watch.h: Rename include guard.
1050 * nat/linux-waitpid.h: Rename include guard.
1051 * nat/linux-ptrace.h: Rename include guard.
1052 * nat/linux-procfs.h: Rename include guard.
1053 * nat/linux-osdata.h: Rename include guard.
1054 * nat/linux-nat.h: Rename include guard.
1055 * nat/linux-namespaces.h: Rename include guard.
1056 * nat/linux-btrace.h: Rename include guard.
1057 * nat/glibc_thread_db.h: Rename include guard.
1058 * nat/gdb_thread_db.h: Rename include guard.
1059 * nat/gdb_ptrace.h: Rename include guard.
1060 * nat/fork-inferior.h: Rename include guard.
1061 * nat/amd64-linux-siginfo.h: Rename include guard.
1062 * nat/aarch64-sve-linux-sigcontext.h: Rename include guard.
1063 * nat/aarch64-sve-linux-ptrace.h: Rename include guard.
1064 * nat/aarch64-linux.h: Rename include guard.
1065 * nat/aarch64-linux-hw-point.h: Rename include guard.
1066 * mn10300-tdep.h: Add include guard.
1067 * mips-linux-tdep.h: Add include guard.
1068 * mi/mi-parse.h: Rename include guard.
1069 * mi/mi-out.h: Rename include guard.
1070 * mi/mi-main.h: Rename include guard.
1071 * mi/mi-interp.h: Rename include guard.
1072 * mi/mi-getopt.h: Rename include guard.
1073 * mi/mi-console.h: Rename include guard.
1074 * mi/mi-common.h: Rename include guard.
1075 * mi/mi-cmds.h: Rename include guard.
1076 * mi/mi-cmd-break.h: Rename include guard.
1077 * m2-lang.h: Add include guard.
1078 * location.h: Rename include guard.
1079 * linux-record.h: Rename include guard.
1080 * linux-nat.h: Add include guard.
1081 * linux-fork.h: Add include guard.
1082 * i386-darwin-tdep.h: Rename include guard.
1083 * hppa-linux-offsets.h: Add include guard.
1084 * guile/guile.h: Rename include guard.
1085 * guile/guile-internal.h: Rename include guard.
1086 * gnu-nat.h: Rename include guard.
1087 * gdb-stabs.h: Rename include guard.
1088 * frv-tdep.h: Add include guard.
1089 * f-lang.h: Add include guard.
1090 * event-loop.h: Add include guard.
1091 * darwin-nat.h: Rename include guard.
1092 * cp-abi.h: Rename include guard.
1093 * config/sparc/nm-sol2.h: Rename include guard.
1094 * config/nm-nto.h: Rename include guard.
1095 * config/nm-linux.h: Add include guard.
1096 * config/i386/nm-i386gnu.h: Rename include guard.
1097 * config/djgpp/nl_types.h: Rename include guard.
1098 * config/djgpp/langinfo.h: Rename include guard.
1099 * compile/gcc-cp-plugin.h: Add include guard.
1100 * compile/gcc-c-plugin.h: Add include guard.
1101 * compile/compile.h: Rename include guard.
1102 * compile/compile-object-run.h: Rename include guard.
1103 * compile/compile-object-load.h: Rename include guard.
1104 * compile/compile-internal.h: Rename include guard.
1105 * compile/compile-cplus.h: Rename include guard.
1106 * compile/compile-c.h: Rename include guard.
1107 * common/xml-utils.h: Rename include guard.
1108 * common/x86-xstate.h: Rename include guard.
1109 * common/version.h: Rename include guard.
1110 * common/vec.h: Rename include guard.
1111 * common/tdesc.h: Rename include guard.
1112 * common/selftest.h: Rename include guard.
1113 * common/scoped_restore.h: Rename include guard.
1114 * common/scoped_mmap.h: Rename include guard.
1115 * common/scoped_fd.h: Rename include guard.
1116 * common/safe-iterator.h: Rename include guard.
1117 * common/run-time-clock.h: Rename include guard.
1118 * common/refcounted-object.h: Rename include guard.
1119 * common/queue.h: Rename include guard.
1120 * common/ptid.h: Rename include guard.
1121 * common/print-utils.h: Rename include guard.
1122 * common/preprocessor.h: Rename include guard.
1123 * common/pathstuff.h: Rename include guard.
1124 * common/observable.h: Rename include guard.
1125 * common/netstuff.h: Rename include guard.
1126 * common/job-control.h: Rename include guard.
1127 * common/host-defs.h: Rename include guard.
1128 * common/gdb_wait.h: Rename include guard.
1129 * common/gdb_vecs.h: Rename include guard.
1130 * common/gdb_unlinker.h: Rename include guard.
1131 * common/gdb_unique_ptr.h: Rename include guard.
1132 * common/gdb_tilde_expand.h: Rename include guard.
1133 * common/gdb_sys_time.h: Rename include guard.
1134 * common/gdb_string_view.h: Rename include guard.
1135 * common/gdb_splay_tree.h: Rename include guard.
1136 * common/gdb_setjmp.h: Rename include guard.
1137 * common/gdb_ref_ptr.h: Rename include guard.
1138 * common/gdb_optional.h: Rename include guard.
1139 * common/gdb_locale.h: Rename include guard.
1140 * common/gdb_assert.h: Rename include guard.
1141 * common/filtered-iterator.h: Rename include guard.
1142 * common/filestuff.h: Rename include guard.
1143 * common/fileio.h: Rename include guard.
1144 * common/environ.h: Rename include guard.
1145 * common/common-utils.h: Rename include guard.
1146 * common/common-types.h: Rename include guard.
1147 * common/common-regcache.h: Rename include guard.
1148 * common/common-inferior.h: Rename include guard.
1149 * common/common-gdbthread.h: Rename include guard.
1150 * common/common-exceptions.h: Rename include guard.
1151 * common/common-defs.h: Rename include guard.
1152 * common/common-debug.h: Rename include guard.
1153 * common/cleanups.h: Rename include guard.
1154 * common/buffer.h: Rename include guard.
1155 * common/btrace-common.h: Rename include guard.
1156 * common/break-common.h: Rename include guard.
1157 * cli/cli-utils.h: Rename include guard.
1158 * cli/cli-style.h: Rename include guard.
1159 * cli/cli-setshow.h: Rename include guard.
1160 * cli/cli-script.h: Rename include guard.
1161 * cli/cli-interp.h: Rename include guard.
1162 * cli/cli-decode.h: Rename include guard.
1163 * cli/cli-cmds.h: Rename include guard.
1164 * charset-list.h: Add include guard.
1165 * buildsym-legacy.h: Rename include guard.
1166 * bfin-tdep.h: Add include guard.
1167 * ax.h: Rename include guard.
1168 * arm-linux-tdep.h: Add include guard.
1169 * arm-fbsd-tdep.h: Add include guard.
1170 * arch/xtensa.h: Rename include guard.
1171 * arch/tic6x.h: Add include guard.
1172 * arch/i386.h: Add include guard.
1173 * arch/arm.h: Rename include guard.
1174 * arch/arm-linux.h: Rename include guard.
1175 * arch/arm-get-next-pcs.h: Rename include guard.
1176 * arch/amd64.h: Add include guard.
1177 * arch/aarch64-insn.h: Rename include guard.
1178 * arch-utils.h: Rename include guard.
1179 * annotate.h: Add include guard.
1180 * amd64-darwin-tdep.h: Rename include guard.
1181 * aarch64-linux-tdep.h: Add include guard.
1182 * aarch64-fbsd-tdep.h: Add include guard.
1183 * aarch32-linux-nat.h: Add include guard.
1184
ab9268d2
PW
11852019-02-06 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1186
1187 * macrotab.c (macro_define_internal): New function that
1188 factorizes macro_define_object_internal and macro_define_function
1189 code.
1190 (macro_define_object_internal): Use macro_define_internal.
1191 (macro_define_function): Likewise.
1192
bb0da2b4
PW
11932019-02-06 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1194
1195 * macrocmd.c (extract_identifier): Return
1196 a gdb::unique_xmalloc_ptr<char> instead of a char *, and update
1197 callers.
1198
424eb552
JB
11992019-02-06 John Baldwin <jhb@FreeBSD.org>
1200
1201 * fbsd-nat.c (fbsd_fetch_cmdline): Join arguments with spaces.
1202
1688cb29
TT
12032019-02-05 Tom Tromey <tom@tromey.com>
1204
1205 * target.c (target_stack::unpush): Move assertion earlier.
1206
b5eba2d8
TT
12072019-01-30 Tom Tromey <tom@tromey.com>
1208
1209 PR python/23615:
1210 * python/python.c (execute_gdb_command): Use gdbpy_allow_threads.
1211 (gdbpy_parse_and_eval): Likewise.
1212 * python/python-internal.h (gdbpy_allow_threads): New class.
1213
7054e2ff
JB
12142019-01-28 John Baldwin <jhb@FreeBSD.org>
1215
1216 * aarch64-fbsd-tdep.c (aarch64_fbsd_gregmap)
1217 (aarch64_fbsd_fpregmap): Move earlier.
1218 (AARCH64_MCONTEXT_REG_SIZE, AARCH64_MCONTEXT_FPREG_SIZE): Delete.
1219 (aarch64_fbsd_sigframe_init): Use trad_frame_set_reg_regmap
1220 instead of individual calls to trad_frame_set_reg_addr.
1221 * arm-fbsd-tdep.c (arm_fbsd_gregmap, arm_fbsd_vfpregmap): Move
1222 earlier.
1223 (ARM_MCONTEXT_REG_SIZE, ARM_MCONTEXT_VFP_REG_SIZE): Delete.
1224 (arm_fbsd_sigframe_init): Use trad_frame_set_reg_regmap
1225 instead of individual calls to trad_frame_set_reg_addr.
1226
36c25ffa
AH
12272019-01-28 Alan Hayward <alan.hayward@arm.com>
1228
1229 * CONTRIBUTE: Replace contribution list with wiki link.
1230
a0707f3c
TT
12312019-01-25 Tom Tromey <tom@tromey.com>
1232
1233 * Makefile.in (GDB_CFLAGS): Don't add -I for common.
1234
0747795c
TT
12352019-01-25 Tom Tromey <tom@tromey.com>
1236
1237 * xtensa-linux-nat.c: Fix common/ includes.
1238 * xml-support.h: Fix common/ includes.
1239 * xml-support.c: Fix common/ includes.
1240 * x86-linux-nat.c: Fix common/ includes.
1241 * windows-nat.c: Fix common/ includes.
1242 * varobj.h: Fix common/ includes.
1243 * varobj.c: Fix common/ includes.
1244 * value.c: Fix common/ includes.
1245 * valops.c: Fix common/ includes.
1246 * utils.c: Fix common/ includes.
1247 * unittests/xml-utils-selftests.c: Fix common/ includes.
1248 * unittests/utils-selftests.c: Fix common/ includes.
1249 * unittests/unpack-selftests.c: Fix common/ includes.
1250 * unittests/tracepoint-selftests.c: Fix common/ includes.
1251 * unittests/style-selftests.c: Fix common/ includes.
1252 * unittests/string_view-selftests.c: Fix common/ includes.
1253 * unittests/scoped_restore-selftests.c: Fix common/ includes.
1254 * unittests/scoped_mmap-selftests.c: Fix common/ includes.
1255 * unittests/scoped_fd-selftests.c: Fix common/ includes.
1256 * unittests/rsp-low-selftests.c: Fix common/ includes.
1257 * unittests/parse-connection-spec-selftests.c: Fix common/
1258 includes.
1259 * unittests/optional-selftests.c: Fix common/ includes.
1260 * unittests/offset-type-selftests.c: Fix common/ includes.
1261 * unittests/observable-selftests.c: Fix common/ includes.
1262 * unittests/mkdir-recursive-selftests.c: Fix common/ includes.
1263 * unittests/memrange-selftests.c: Fix common/ includes.
1264 * unittests/memory-map-selftests.c: Fix common/ includes.
1265 * unittests/lookup_name_info-selftests.c: Fix common/ includes.
1266 * unittests/function-view-selftests.c: Fix common/ includes.
1267 * unittests/environ-selftests.c: Fix common/ includes.
1268 * unittests/copy_bitwise-selftests.c: Fix common/ includes.
1269 * unittests/common-utils-selftests.c: Fix common/ includes.
1270 * unittests/cli-utils-selftests.c: Fix common/ includes.
1271 * unittests/array-view-selftests.c: Fix common/ includes.
1272 * ui-file.c: Fix common/ includes.
1273 * tui/tui-io.c: Fix common/ includes.
1274 * tracepoint.h: Fix common/ includes.
1275 * tracepoint.c: Fix common/ includes.
1276 * tracefile-tfile.c: Fix common/ includes.
1277 * top.h: Fix common/ includes.
1278 * top.c: Fix common/ includes.
1279 * thread.c: Fix common/ includes.
1280 * target/waitstatus.h: Fix common/ includes.
1281 * target/waitstatus.c: Fix common/ includes.
1282 * target.h: Fix common/ includes.
1283 * target.c: Fix common/ includes.
1284 * target-memory.c: Fix common/ includes.
1285 * target-descriptions.c: Fix common/ includes.
1286 * symtab.h: Fix common/ includes.
1287 * symfile.c: Fix common/ includes.
1288 * stap-probe.c: Fix common/ includes.
1289 * spu-linux-nat.c: Fix common/ includes.
1290 * sparc-nat.c: Fix common/ includes.
1291 * source.c: Fix common/ includes.
1292 * solib.c: Fix common/ includes.
1293 * solib-target.c: Fix common/ includes.
1294 * ser-unix.c: Fix common/ includes.
1295 * ser-tcp.c: Fix common/ includes.
1296 * ser-pipe.c: Fix common/ includes.
1297 * ser-base.c: Fix common/ includes.
1298 * selftest-arch.c: Fix common/ includes.
1299 * s12z-tdep.c: Fix common/ includes.
1300 * rust-exp.y: Fix common/ includes.
1301 * rs6000-aix-tdep.c: Fix common/ includes.
1302 * riscv-tdep.c: Fix common/ includes.
1303 * remote.c: Fix common/ includes.
1304 * remote-notif.h: Fix common/ includes.
1305 * remote-fileio.h: Fix common/ includes.
1306 * remote-fileio.c: Fix common/ includes.
1307 * regcache.h: Fix common/ includes.
1308 * regcache.c: Fix common/ includes.
1309 * record-btrace.c: Fix common/ includes.
1310 * python/python.c: Fix common/ includes.
1311 * python/py-type.c: Fix common/ includes.
1312 * python/py-inferior.c: Fix common/ includes.
1313 * progspace.h: Fix common/ includes.
1314 * producer.c: Fix common/ includes.
1315 * procfs.c: Fix common/ includes.
1316 * proc-api.c: Fix common/ includes.
1317 * printcmd.c: Fix common/ includes.
1318 * ppc-linux-nat.c: Fix common/ includes.
1319 * parser-defs.h: Fix common/ includes.
1320 * osdata.c: Fix common/ includes.
1321 * obsd-nat.c: Fix common/ includes.
1322 * nat/x86-linux.c: Fix common/ includes.
1323 * nat/x86-linux-dregs.c: Fix common/ includes.
1324 * nat/x86-dregs.h: Fix common/ includes.
1325 * nat/x86-dregs.c: Fix common/ includes.
1326 * nat/ppc-linux.c: Fix common/ includes.
1327 * nat/mips-linux-watch.h: Fix common/ includes.
1328 * nat/mips-linux-watch.c: Fix common/ includes.
1329 * nat/linux-waitpid.c: Fix common/ includes.
1330 * nat/linux-ptrace.h: Fix common/ includes.
1331 * nat/linux-ptrace.c: Fix common/ includes.
1332 * nat/linux-procfs.c: Fix common/ includes.
1333 * nat/linux-personality.c: Fix common/ includes.
1334 * nat/linux-osdata.c: Fix common/ includes.
1335 * nat/linux-namespaces.c: Fix common/ includes.
1336 * nat/linux-btrace.h: Fix common/ includes.
1337 * nat/linux-btrace.c: Fix common/ includes.
1338 * nat/fork-inferior.c: Fix common/ includes.
1339 * nat/amd64-linux-siginfo.c: Fix common/ includes.
1340 * nat/aarch64-sve-linux-ptrace.c: Fix common/ includes.
1341 * nat/aarch64-linux.c: Fix common/ includes.
1342 * nat/aarch64-linux-hw-point.h: Fix common/ includes.
1343 * nat/aarch64-linux-hw-point.c: Fix common/ includes.
1344 * namespace.h: Fix common/ includes.
1345 * mips-linux-tdep.c: Fix common/ includes.
1346 * minsyms.c: Fix common/ includes.
1347 * mi/mi-parse.h: Fix common/ includes.
1348 * mi/mi-main.c: Fix common/ includes.
1349 * mi/mi-cmd-env.c: Fix common/ includes.
1350 * memrange.h: Fix common/ includes.
1351 * memattr.c: Fix common/ includes.
1352 * maint.h: Fix common/ includes.
1353 * maint.c: Fix common/ includes.
1354 * main.c: Fix common/ includes.
1355 * machoread.c: Fix common/ includes.
1356 * location.c: Fix common/ includes.
1357 * linux-thread-db.c: Fix common/ includes.
1358 * linux-nat.c: Fix common/ includes.
1359 * linux-fork.c: Fix common/ includes.
1360 * inline-frame.c: Fix common/ includes.
1361 * infrun.c: Fix common/ includes.
1362 * inflow.c: Fix common/ includes.
1363 * inferior.h: Fix common/ includes.
1364 * inferior.c: Fix common/ includes.
1365 * infcmd.c: Fix common/ includes.
1366 * inf-ptrace.c: Fix common/ includes.
1367 * inf-child.c: Fix common/ includes.
1368 * ia64-linux-nat.c: Fix common/ includes.
1369 * i387-tdep.c: Fix common/ includes.
1370 * i386-tdep.c: Fix common/ includes.
1371 * i386-linux-tdep.c: Fix common/ includes.
1372 * i386-linux-nat.c: Fix common/ includes.
1373 * i386-go32-tdep.c: Fix common/ includes.
1374 * i386-fbsd-tdep.c: Fix common/ includes.
1375 * i386-fbsd-nat.c: Fix common/ includes.
1376 * guile/scm-type.c: Fix common/ includes.
1377 * guile/guile.c: Fix common/ includes.
1378 * go32-nat.c: Fix common/ includes.
1379 * gnu-nat.c: Fix common/ includes.
1380 * gdbthread.h: Fix common/ includes.
1381 * gdbarch-selftests.c: Fix common/ includes.
1382 * gdb_usleep.c: Fix common/ includes.
1383 * gdb_select.h: Fix common/ includes.
1384 * gdb_bfd.c: Fix common/ includes.
1385 * gcore.c: Fix common/ includes.
1386 * fork-child.c: Fix common/ includes.
1387 * findvar.c: Fix common/ includes.
1388 * fbsd-nat.c: Fix common/ includes.
1389 * event-top.c: Fix common/ includes.
1390 * event-loop.c: Fix common/ includes.
1391 * dwarf2read.c: Fix common/ includes.
1392 * dwarf2loc.c: Fix common/ includes.
1393 * dwarf2-frame.c: Fix common/ includes.
1394 * dwarf-index-cache.c: Fix common/ includes.
1395 * dtrace-probe.c: Fix common/ includes.
1396 * disasm-selftests.c: Fix common/ includes.
1397 * defs.h: Fix common/ includes.
1398 * csky-tdep.c: Fix common/ includes.
1399 * cp-valprint.c: Fix common/ includes.
1400 * cp-support.h: Fix common/ includes.
1401 * cp-support.c: Fix common/ includes.
1402 * corelow.c: Fix common/ includes.
1403 * completer.h: Fix common/ includes.
1404 * completer.c: Fix common/ includes.
1405 * compile/compile.c: Fix common/ includes.
1406 * compile/compile-loc2c.c: Fix common/ includes.
1407 * compile/compile-cplus-types.c: Fix common/ includes.
1408 * compile/compile-cplus-symbols.c: Fix common/ includes.
1409 * command.h: Fix common/ includes.
1410 * cli/cli-dump.c: Fix common/ includes.
1411 * cli/cli-cmds.c: Fix common/ includes.
1412 * charset.c: Fix common/ includes.
1413 * build-id.c: Fix common/ includes.
1414 * btrace.h: Fix common/ includes.
1415 * btrace.c: Fix common/ includes.
1416 * breakpoint.h: Fix common/ includes.
1417 * breakpoint.c: Fix common/ includes.
1418 * ax.h:
1419 (enum agent_op): Fix common/ includes.
1420 * ax-general.c (struct aop_map): Fix common/ includes.
1421 * ax-gdb.c: Fix common/ includes.
1422 * auxv.c: Fix common/ includes.
1423 * auto-load.c: Fix common/ includes.
1424 * arm-tdep.c: Fix common/ includes.
1425 * arch/riscv.c: Fix common/ includes.
1426 * arch/ppc-linux-common.c: Fix common/ includes.
1427 * arch/i386.c: Fix common/ includes.
1428 * arch/arm.c: Fix common/ includes.
1429 * arch/arm-linux.c: Fix common/ includes.
1430 * arch/arm-get-next-pcs.c: Fix common/ includes.
1431 * arch/amd64.c: Fix common/ includes.
1432 * arch/aarch64.c: Fix common/ includes.
1433 * arch/aarch64-insn.c: Fix common/ includes.
1434 * arch-utils.c: Fix common/ includes.
1435 * amd64-windows-tdep.c: Fix common/ includes.
1436 * amd64-tdep.c: Fix common/ includes.
1437 * amd64-sol2-tdep.c: Fix common/ includes.
1438 * amd64-obsd-tdep.c: Fix common/ includes.
1439 * amd64-nbsd-tdep.c: Fix common/ includes.
1440 * amd64-linux-tdep.c: Fix common/ includes.
1441 * amd64-linux-nat.c: Fix common/ includes.
1442 * amd64-fbsd-tdep.c: Fix common/ includes.
1443 * amd64-fbsd-nat.c: Fix common/ includes.
1444 * amd64-dicos-tdep.c: Fix common/ includes.
1445 * amd64-darwin-tdep.c: Fix common/ includes.
1446 * agent.c: Fix common/ includes.
1447 * ada-lang.h: Fix common/ includes.
1448 * ada-lang.c: Fix common/ includes.
1449 * aarch64-tdep.c: Fix common/ includes.
1450
2f5c153e
TT
14512019-01-25 Tom Tromey <tom@tromey.com>
1452
1453 * common/create-version.sh: Use common/version.h.
1454
adc6a863
PA
14552019-01-24 Pedro Alves <palves@redhat.com>
1456
1457 * infrun.c (signal_stop, signal_print, signal_program)
1458 (signal_catch, signal_pass): Now arrays instead of pointers.
1459 (update_signals_program_target, do_target_resume)
1460 (signal_catch_update, handle_command, _initialize_infrun): Adjust.
1461 * linux-nat.c (linux_nat_target::pass_signals)
1462 (linux_nat_target::create_inferior, linux_nat_target::attach):
1463 Adjust.
1464 * linux-nat.h (linux_nat_target::pass_signals): Adjust.
1465 * nto-procfs.c (nto_procfs_target::pass_signals): Adjust.
1466 * procfs.c (procfs_target::pass_signals): Adjust.
1467 * record-full.c (record_full_target::resume): Adjust.
1468 * remote.c (remote_target::pass_signals)
1469 (remote_target::program_signals): Adjust.
1470 * target-debug.h (target_debug_print_signals): Now takes a
1471 gdb::array_view as parameter. Adjust.
1472 * target.h (target_ops) <pass_signals, program_signals>: Replace
1473 pointer and length parameters with gdb::array_view.
1474 (target_pass_signals, target_program_signals): Likewise.
1475 * target-delegates.c: Regenerate.
1476
3046d67a
PA
14772019-01-24 Pedro Alves <palves@redhat.com>
1478
1479 * common/forward-scope-exit.h
1480 (forward_scope_exit::forward_scope_exit): Pass arguments to
1481 m_bind_function directly, instead of creating a std::bind and
1482 copying that.
1483
353229bf
AH
14842019-01-24 Alan Hayward <alan.hayward@arm.com>
1485
1486 * aarch64-tdep.c (aapcs_is_vfp_call_or_return_candidate_1): Check
1487 for static members.
1488 (pass_in_v_vfp_candidate): Likewise.
1489
311dc83a
TT
14902019-01-23 Tom Tromey <tom@tromey.com>
1491 Pedro Alves <palves@redhat.com>
1492
1493 * regcache.c (class regcache_invalidator): Remove.
1494 (regcache::raw_write): Use make_scope_exit.
1495
296bd123
TT
14962019-01-23 Tom Tromey <tom@tromey.com>
1497
1498 * ui-out.h (class ui_out_emit_type): Update comment.
1499
979a0d13
TT
15002019-01-23 Tom Tromey <tom@tromey.com>
1501
1502 * infrun.c (fetch_inferior_event): Update comment.
1503
d238133d
TT
15042019-01-23 Tom Tromey <tom@tromey.com>
1505 Pedro Alves <palves@redhat.com>
1506
1507 * infrun.c (reinstall_readline_callback_handler_cleanup): Remove
1508 parameter.
1509 (fetch_inferior_event): Use SCOPE_EXIT.
1510
1511
9885e6bb
TT
15122019-01-23 Tom Tromey <tom@tromey.com>
1513 Pedro Alves <palves@redhat.com>
1514
1515 * infrun.c (disable_thread_events): Delete.
1516 (stop_all_threads): Use SCOPE_EXIT.
1517
286526c1
TT
15182019-01-23 Tom Tromey <tom@tromey.com>
1519 Pedro Alves <palves@redhat.com>
1520
1521 * symfile.c: Include forward-scope-exit.h.
1522 (clear_symtab_users_cleanup): Replace forward declaration with
1523 a FORWARD_SCOPE_EXIT.
1524 (syms_from_objfile_1): Use the forward_scope_exit and
1525 gdb::optional instead of cleanup_function.
1526 (reread_symbols): Use the forward_scope_exit instead of
1527 cleanup_function.
1528 (clear_symtab_users_cleanup): Remove function.
1529
1db93f14
TT
15302019-01-23 Tom Tromey <tom@tromey.com>
1531 Pedro Alves <palves@redhat.com>
1532
1533 * linux-nat.c: Include scope-exit.h.
1534 (cleanup_target_stop): Remove.
1535 (linux_nat_target::static_tracepoint_markers_by_strid): Use
1536 SCOPE_EXIT.
1537
2cc83d1e
TT
15382019-01-23 Tom Tromey <tom@tromey.com>
1539 Pedro Alves <palves@redhat.com>
1540
1541 * infcall.c (cleanup_delete_std_terminate_breakpoint): Remove.
1542 (call_function_by_hand_dummy): Use SCOPE_EXIT.
1543
694c6bf5
TT
15442019-01-23 Tom Tromey <tom@tromey.com>
1545 Andrew Burgess <andrew.burgess@embecosm.com>
1546 Pedro Alves <palves@redhat.com>
1547
1548 * infrun.c (fetch_inferior_event): Use scope_exit.
1549 * utils.h (make_bpstat_clear_actions_cleanup): Don't declare.
1550 * top.c (execute_command): Use scope_exit.
1551 * breakpoint.c (bpstat_do_actions): Use scope_exit.
1552 * utils.c (do_bpstat_clear_actions_cleanup)
1553 (make_bpstat_clear_actions_cleanup): Remove.
1554
4c41382a
TT
15552019-01-23 Tom Tromey <tom@tromey.com>
1556 Pedro Alves <palves@redhat.com>
1557
1558 * infrun.c: Include "common/scope-exit.h"
1559 (delete_just_stopped_threads_infrun_breakpoints_cleanup): Remove.
1560 (wait_for_inferior): Use SCOPE_EXIT.
1561 (fetch_inferior_event): Use scope_exit.
1562
89f8fb50
TT
15632019-01-23 Tom Tromey <tom@tromey.com>
1564 Pedro Alves <palves@redhat.com>
1565
1566 * breakpoint.c (create_breakpoint): Remove cleanup.
1567
5419bdae
TT
15682019-01-23 Tom Tromey <tom@tromey.com>
1569 Andrew Burgess <andrew.burgess@embecosm.com>
1570 Pedro Alves <palves@redhat.com>
1571
e587ef42
PA
15722019-01-23 Pedro Alves <palves@redhat.com>
1573
1574 * gdbarch-selftests.c (struct on_exit): Use SCOPE_EXIT.
1575
77f0e74c
PA
15762019-01-23 Pedro Alves <palves@redhat.com>
1577 Andrew Burgess <andrew.burgess@embecosm.com>
1578
1579 * gdbthread.h: Include "common/forward-scope-exit.h".
1580 (scoped_finish_thread_state): Redefine custom class in terms of
1581 forward_scope_exit.
1582
5b9b3e53
PA
15832019-01-23 Pedro Alves <palves@redhat.com>
1584 Andrew Burgess <andrew.burgess@embecosm.com>
1585
1586 * common/forward-scope-exit.h: New file.
1587
54b65c9b
PA
15882019-01-23 Pedro Alves <palves@redhat.com>
1589 Andrew Burgess <andrew.burgess@embecosm.com>
1590 Tom Tromey <tom@tromey.com>
1591
1592 * common/scope-exit.h: New file.
1593
cf08fb29
PA
15942019-01-23 Pedro Alves <palves@redhat.com>
1595
1596 * common/preprocessor.h (ESC): Rename to ...
1597 (ESC_PARENS): ... this.
1598 * common/valid-expr.h (CHECK_VALID_EXPR_1, CHECK_VALID_EXPR_2)
1599 (CHECK_VALID_EXPR_3, CHECK_VALID_EXPR_4): Adjust.
1600
ae73e2e2
TT
16012019-01-23 Tom Tromey <tom@tromey.com>
1602
1603 * language.h (class scoped_switch_to_sym_language_if_auto):
1604 Initialize m_lang in both cases.
1605
6594e122
AH
16062019-01-23 Alan Hayward <alan.hayward@arm.com>
1607
1608 * nat/aarch64-linux.c (aarch64_linux_new_thread): Replace XNEW
1609 with XCNEW.
1610
a7c9855d
TT
16112019-01-22 Tom Tromey <tom@tromey.com>
1612
1613 * corelow.c: Do not include sys/file.h.
1614
93cc1d53
TT
16152019-01-22 Tom Tromey <tom@tromey.com>
1616
1617 * tui/tui-wingeneral.h: Include gdb_curses.h.
1618
38561778
TT
16192019-01-22 Tom Tromey <tom@tromey.com>
1620
1621 * source-cache.h (class source_cache) <get_source_lines,
1622 get_plain_source_lines, extract_lines>: Rename "lines" parameter.
1623
37b3ab5b
TT
16242019-01-22 Tom Tromey <tom@tromey.com>
1625
1626 * remote-fileio.h (struct remote_target): Declare.
1627
3fabc016
TT
16282019-01-22 Tom Tromey <tom@tromey.com>
1629
1630 * python/py-arch.c: Do not include py-ref.h.
1631 * python/py-bpevent.c: Do not include py-ref.h.
1632 * python/py-cmd.c: Do not include py-ref.h.
1633 * python/py-continueevent.c: Do not include py-ref.h.
1634 * python/py-event.h: Do not include py-ref.h.
1635 * python/py-evtregistry.c: Do not include py-ref.h.
1636 * python/py-finishbreakpoint.c: Do not include py-ref.h.
1637 * python/py-frame.c: Do not include py-ref.h.
1638 * python/py-framefilter.c: Do not include py-ref.h.
1639 * python/py-function.c: Do not include py-ref.h.
1640 * python/py-infevents.c: Do not include py-ref.h.
1641 * python/py-linetable.c: Do not include py-ref.h.
1642 * python/py-objfile.c: Do not include py-ref.h.
1643 * python/py-param.c: Do not include py-ref.h.
1644 * python/py-prettyprint.c: Do not include py-ref.h.
1645 * python/py-progspace.c: Do not include py-ref.h.
1646 * python/py-symbol.c: Do not include py-ref.h.
1647 * python/py-symtab.c: Do not include py-ref.h.
1648 * python/py-type.c: Do not include py-ref.h.
1649 * python/py-unwind.c: Do not include py-ref.h.
1650 * python/py-utils.c: Do not include py-ref.h.
1651 * python/py-value.c: Do not include py-ref.h.
1652 * python/py-varobj.c: Do not include py-ref.h.
1653 * python/py-xmethods.c: Do not include py-ref.h.
1654 * python/python.c: Do not include py-ref.h.
1655 * varobj.c: Do not include py-ref.h.
1656
6b4d7774
TT
16572019-01-22 Tom Tromey <tom@tromey.com>
1658
1659 * objfiles.h (struct objfile_per_bfd_storage): Use "struct"
1660 keyword for bcache.
1661
7af7e9b5
TT
16622019-01-22 Tom Tromey <tom@tromey.com>
1663
1664 * compile/compile-cplus-types.c: Remove a comment by #include.
1665
951d1049
TT
16662019-01-22 Tom Tromey <tom@tromey.com>
1667
1668 * compile/gcc-c-plugin.h: Include compile-internal.h.
1669
d65d5705
TT
16702019-01-22 Tom Tromey <tom@tromey.com>
1671
1672 * stabsread.c (EXTERN): Do not define.
1673 (symnum, next_symbol_text_func, processing_gcc_compilation)
1674 (within_function, global_sym_chain, global_stabs)
1675 (previous_stab_code, this_object_header_files)
1676 (n_this_object_header_files)
1677 (n_allocated_this_object_header_files): Define.
1678 * stabsread.h (EXTERN): Never define. Use "extern".
1679
b6fb1ee5
PW
16802019-01-22 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1681
1682 * event-top.c (handle_line_of_input): use unique_xmalloc_ptr for
1683 history_value.
1684
be6d4f74
TT
16852019-01-21 Tom Tromey <tom@tromey.com>
1686
1687 * ui-out.c: Fix includes.
1688 * tui/tui-source.c: Fix includes.
1689 * target.c: Fix includes.
1690 * remote.c: Fix includes.
1691 * regcache.c: Fix includes.
1692 * python/py-block.c: Fix includes.
1693 * printcmd.c: Fix includes.
1694 * or1k-tdep.c: Fix includes.
1695 * mi/mi-main.c: Fix includes.
1696 * m32r-tdep.c: Fix includes.
1697 * csky-tdep.c: Fix includes.
1698 * compile/compile-cplus-types.c: Fix includes.
1699 * cli/cli-interp.c: Fix includes.
1700
73021deb
AH
17012019-01-21 Alan Hayward <alan.hayward@arm.com>
1702
1703 * aarch64-tdep.c (aapcs_is_vfp_call_or_return_candidate_1): Check
1704 for padding.
1705
7932255d
TT
17062019-01-16 Tom Tromey <tom@tromey.com>
1707
1708 * objfiles.h (struct minimal_symbol_iterator): Rename. Move
1709 earlier.
1710 (struct objfile) <msymbols_range>: Move from top level.
1711 <msymbols>: New method.
1712 (class objfile_msymbols): Remove.
1713 * symtab.c (default_collect_symbol_completion_matches_break_on):
1714 Update.
1715 * symmisc.c (dump_msymbols): Update.
1716 * stabsread.c (scan_file_globals): Update.
1717 * objc-lang.c (info_selectors_command, info_classes_command)
1718 (find_methods): Update.
1719 * minsyms.c (find_solib_trampoline_target): Update.
1720 * hppa-tdep.c (hppa_lookup_stub_minimal_symbol): Update.
1721 * coffread.c (coff_symfile_read): Update.
1722 * ada-lang.c (ada_lookup_simple_minsym)
1723 (ada_collect_symbol_completion_matches): Update.
1724
604b1bfb
TT
17252019-01-16 Tom Tromey <tom@tromey.com>
1726
1727 * objfiles.h (class objfile_msymbols) <iterator>: Change argument
1728 type. Remove no-argument constructor.
1729 <iterator::operator++>: Simplify.
1730 <begin>: Update.
1731 <end>: Use minimal_symbol_count.
1732
f252c6d5
TT
17332019-01-16 Tom Tromey <tom@tromey.com>
1734
1735 * objfiles.h (struct objfile) <psymtabs>: New method.
1736 (class objfile_psymtabs): Remove.
1737 * psymtab.h (class psymtab_storage) <partial_symtab_range>: New
1738 typedef.
1739 <range>: New method.
1740 (require_partial_symbols): Change return type.
1741 * psymtab.c (require_partial_symbols)
1742 (psym_expand_symtabs_matching): Update.
1743 * mdebugread.c (parse_partial_symbols): Update.
1744 * dbxread.c (dbx_end_psymtab): Update.
1745
b669c953
TT
17462019-01-15 Tom Tromey <tom@tromey.com>
1747
1748 * symtab.c (lookup_objfile_from_block)
1749 (lookup_symbol_in_objfile_symtabs)
1750 (basic_lookup_transparent_type_1, find_pc_sect_compunit_symtab)
1751 (find_line_symtab, info_sources_command)
1752 (default_collect_symbol_completion_matches_break_on)
1753 (make_source_files_completion_list): Update.
1754 * symmisc.c (print_objfile_statistics, dump_objfile)
1755 (maintenance_print_symbols, maintenance_info_symtabs)
1756 (maintenance_check_symtabs, maintenance_info_line_tables):
1757 Update.
1758 * source.c (select_source_symtab)
1759 (forget_cached_source_info_for_objfile): Update.
1760 * objfiles.h (class objfile_compunits): Remove.
1761 (struct objfile) <compunits_range>: New typedef.
1762 (compunits): New method.
1763 * objfiles.c (objfile_relocate1): Update.
1764 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update.
1765 * maint.c (count_symtabs_and_blocks): Update.
1766 * linespec.c (iterate_over_all_matching_symtabs): Update.
1767 * cp-support.c (add_symbol_overload_list_qualified): Update.
1768 * coffread.c (coff_symtab_read): Update.
1769 * ada-lang.c (add_nonlocal_symbols)
1770 (ada_collect_symbol_completion_matches)
1771 (ada_add_global_exceptions): Update.
1772
7e955d83
TT
17732019-01-15 Tom Tromey <tom@tromey.com>
1774
1775 * progspace.h (program_space) <objfiles_safe_range>: New
1776 typedef.
1777 <objfiles_safe>: New method.
1778 * objfiles.h (class all_objfiles_safe): Remove.
1779 * objfiles.c (free_all_objfiles, objfile_purge_solibs): Update.
1780 * jit.c (jit_inferior_exit_hook): Update.
1781
2030c079
TT
17822019-01-17 Tom Tromey <tom@tromey.com>
1783
1784 * progspace.h (program_space) <objfiles_range>: New typedef.
1785 <objfiles>: New method.
1786 <objfiles_head>: Rename from objfiles.
1787 (object_files): Update.
1788 * guile/scm-progspace.c (gdbscm_progspace_objfiles): Update.
1789 * guile/scm-pretty-print.c
1790 (ppscm_find_pretty_printer_from_objfiles): Update.
1791 * guile/scm-objfile.c (gdbscm_objfiles): Update.
1792 * python/py-xmethods.c (gdbpy_get_matching_xmethod_workers):
1793 Update.
1794 * python/py-progspace.c (pspy_get_objfiles): Update.
1795 * python/py-prettyprint.c (find_pretty_printer_from_objfiles):
1796 Update.
1797 * python/py-objfile.c (objfpy_lookup_objfile_by_name)
1798 (objfpy_lookup_objfile_by_build_id): Update.
1799 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update.
1800 * windows-tdep.c (windows_iterate_over_objfiles_in_search_order):
1801 Update.
1802 * symtab.c (iterate_over_symtabs, matching_obj_sections)
1803 (expand_symtab_containing_pc, lookup_objfile_from_block)
1804 (lookup_static_symbol, basic_lookup_transparent_type)
1805 (find_pc_sect_compunit_symtab, find_symbol_at_address)
1806 (find_line_symtab, info_sources_command)
1807 (default_collect_symbol_completion_matches_break_on)
1808 (make_source_files_completion_list, find_main_name): Update.
1809 * symmisc.c (print_symbol_bcache_statistics)
1810 (print_objfile_statistics, maintenance_print_symbols)
1811 (maintenance_print_msymbols, maintenance_print_objfiles)
1812 (maintenance_info_symtabs, maintenance_check_symtabs)
1813 (maintenance_expand_symtabs, maintenance_info_line_tables):
1814 Update.
1815 * symfile.c (remove_symbol_file_command, overlay_invalidate_all)
1816 (find_pc_overlay, find_pc_mapped_section, list_overlays_command)
1817 (map_overlay_command, unmap_overlay_command)
1818 (simple_overlay_update, expand_symtabs_matching)
1819 (map_symbol_filenames): Update.
1820 * symfile-debug.c (set_debug_symfile): Update.
1821 * spu-tdep.c (spu_overlay_update, spu_objfile_from_frame):
1822 Update.
1823 * source.c (select_source_symtab, forget_cached_source_info):
1824 Update.
1825 * solib.c (solib_read_symbols): Update.
1826 * solib-spu.c (append_ocl_sos): Update.
1827 * psymtab.c (maintenance_print_psymbols)
1828 (maintenance_info_psymtabs, maintenance_check_psymtabs): Update.
1829 * probe.c (parse_probes_in_pspace, find_probe_by_pc): Update.
1830 * printcmd.c (info_symbol_command): Update.
1831 * ppc-linux-tdep.c (ppc_linux_spe_context_inferior_created):
1832 Update.
1833 * objfiles.h (class all_objfiles): Remove.
1834 * objfiles.c (have_partial_symbols, have_full_symbols)
1835 (have_minimal_symbols, qsort_cmp, update_section_map)
1836 (shared_objfile_contains_address_p)
1837 (default_iterate_over_objfiles_in_search_order): Update.
1838 * objc-lang.c (info_selectors_command, info_classes_command)
1839 (find_methods): Update.
1840 * minsyms.c (find_solib_trampoline_target): Update.
1841 * maint.c (maintenance_info_sections)
1842 (maintenance_translate_address, count_symtabs_and_blocks):
1843 Update.
1844 * main.c (captured_main_1): Update.
1845 * linux-thread-db.c (try_thread_db_load_from_pdir)
1846 (has_libpthread): Update.
1847 * linespec.c (iterate_over_all_matching_symtabs)
1848 (search_minsyms_for_name): Update.
1849 * jit.c (jit_find_objf_with_entry_addr): Update.
1850 * hppa-tdep.c (find_unwind_entry)
1851 (hppa_lookup_stub_minimal_symbol): Update.
1852 * gcore.c (gcore_create_callback, objfile_find_memory_regions):
1853 Update.
1854 * elfread.c (elf_gnu_ifunc_resolve_by_cache)
1855 (elf_gnu_ifunc_resolve_by_got): Update.
1856 * dwarf2-frame.c (dwarf2_frame_find_fde): Update.
1857 * dwarf-index-write.c (save_gdb_index_command): Update.
1858 * cp-support.c (add_symbol_overload_list_qualified): Update.
1859 * breakpoint.c (create_overlay_event_breakpoint)
1860 (create_longjmp_master_breakpoint)
1861 (create_std_terminate_master_breakpoint)
1862 (create_exception_master_breakpoint): Update.
1863 * blockframe.c (find_pc_partial_function): Update.
1864 * ada-lang.c (ada_lookup_simple_minsym, add_nonlocal_symbols)
1865 (ada_collect_symbol_completion_matches)
1866 (ada_add_global_exceptions): Update.
1867
776489e0
TT
18682019-01-17 Tom Tromey <tom@tromey.com>
1869
1870 * solib-target.c (lm_info_target_p): Remove typedef. Don't
1871 declare VEC.
1872 (solib_target_parse_libraries): Change return type.
1873 (library_list_start_segment, library_list_start_section)
1874 (library_list_end_library, library_list_start_library); Update.
1875 (solib_target_free_library_list): Remove.
1876 (solib_target_parse_libraries): Remove cleanup. Change return
1877 type.
1878 (solib_target_current_sos): Update.
1879
6471e7d2
TT
18802019-01-17 Tom Tromey <tromey@bapiya>
1881
1882 * valprint.c: Replace "the the" with "the".
1883 * symtab.c: Replace "the the" with "the".
1884 * solib.c: Replace "the the" with "the".
1885 * solib-dsbt.c: Replace "the the" with "the".
1886 * linespec.c: Replace "the the" with "the".
1887 * dwarf2loc.h: Replace "the the" with "the".
1888 * amd64-windows-tdep.c: Replace "the the" with "the".
1889 * aarch64-tdep.c: Replace "the the" with "the".
1890
c24bdb02
KS
18912019-01-16 Keith Seitz <keiths@redhat.com>
1892
1893 PR gdb/23773
1894 * dwarf2read.c (dwarf2_cu) <ancestor>: New field.
1895 <builder>: Rename to ..
1896 <m_builder>: ... this and make private.
1897 (dwarf2_cu::get_builder): New method. Change all users of
1898 `builder' to use this method.
1899 (dwarf2_start_symtab): Move to ...
1900 (dwarf2_cu::start_symtab): ... here. Update all callers
1901 (setup_type_unit_groups): Move to ...
1902 (dwarf2_cu::setup_type_unit_groups): ... here. Update all
1903 callers.
1904 (dwarf2_cu::reset_builder): New method.
1905 (process_full_compunit, process_full_type_unit): Use
1906 dwarf2_cu::reset_builder.
1907 (follow_die_offset): Record the ancestor CU if it is different
1908 from the followed DIE's CU.
1909 (follow_die_sig_1): Likewise.
1910
8d64371b
TT
19112019-01-15 Tom Tromey <tom@tromey.com>
1912
1913 * remote.c (class remote_state) <buf>: Now a char_vector.
1914 <buf_size>: Remove.
1915 (remote_target::getpkt): Change type of buf. Remove sizeof_buf
1916 parameter.
1917 (remote_target::getpkt_or_notif_sane_1)
1918 (remote_target::getpkt_sane)
1919 (remote_target::getpkt_or_notif_sane): Likewise.
1920 (class remote_target) <putpkt>: New overload.
1921 (remote_target::read_frame): Change type of "buf_p". Remove
1922 sizeof_p parameter.
1923 (packet_ok): New overload.
1924 (packet_check_result): New overload.
1925 Update all uses.
1926
bb277751
TT
19272019-01-14 Tom Tromey <tom@tromey.com>
1928
1929 * remote-notif.c (handle_notification, remote_notif_ack)
1930 (remote_notif_parse): Make "buf" const.
1931 * remote-notif.h (struct notif_client) <parse, ack>: Make "buf"
1932 const.
1933 (remote_notif_parse, remote_notif_ack, handle_notification):
1934 Likewise.
1935 * remote.c (remote_notif_stop_parse): Make "buf" const.
1936 (remote_target::remote_parse_stop_reply): Make "buf" const.
1937 (remote_notif_stop_ack): Make "buf" const.
1938
05be00a8
TT
19392019-01-14 Tom Tromey <tom@tromey.com>
1940
1941 * remote.c (remote_console_output): Make parameter const.
1942
491adeca
TT
19432019-01-14 Tom Tromey <tom@tromey.com>
1944
1945 * target-debug.h (target_debug_print_signals): Constify.
1946 * nto-procfs.c (nto_procfs_target::pass_signals): Update.
1947 * procfs.c (procfs_target::pass_signals): Update.
1948 * linux-nat.c (linux_nat_target::pass_signals): Update.
1949 * linux-nat.h (class linux_nat_target) <pass_signals>: Update.
1950 * target-delegates.c: Rebuild.
1951 * remote.c (remote_target::program_signals): Update.
1952 (remote_target::pass_signals): Update.
1953 * target.c (target_pass_signals): Constify argument.
1954 (target_program_signals): Likewise.
1955 * target.h (struct target_ops) <pass_signals, program_signals>:
1956 Constify argument.
1957 (target_pass_signals, target_program_signals): Constify argument.
1958
bbd94648
TT
19592019-01-14 Tom Tromey <tom@tromey.com>
1960
1961 PR tui/28819:
1962 * tui/tui-io.c (gdb_wgetch): Print \r when needed.
1963
6f072a10
PFC
19642019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
1965
1966 * ppc-tdep.h (struct gdbarch_tdep) <ppc_v0_alias_regnum>: New
1967 field.
1968 * rs6000-tdep.c: Include reggroups.h.
1969 (IS_V_ALIAS_PSEUDOREG): Define.
1970 (rs6000_register_name): Return names for the "vX" aliases.
1971 (rs6000_pseudo_register_type): Return type for the "vX" aliases.
1972 (rs6000_pseudo_register_reggroup_p): Restore. Handle "vX"
1973 aliases. Call default_register_reggroup_p for all other
1974 pseudo-registers.
1975 (v_alias_pseudo_register_read, v_alias_pseudo_register_write):
1976 New functions.
1977 (rs6000_pseudo_register_read, rs6000_pseudo_register_write):
1978 Handle "vX" aliases.
1979 (v_alias_pseudo_register_collect): New function.
1980 (rs6000_ax_pseudo_register_collect): Handle "vX" aliases.
1981 (rs6000_gdbarch_init): Initialize "vX" aliases as
1982 pseudo-registers. Restore registration of
1983 rs6000_pseudo_register_reggroup_p with
1984 set_tdesc_pseudo_register_reggroup_p.
1985
1a782351
MF
19862019-01-13 Max Filippov <jcmvbkbc@gmail.com>
1987
1988 * xtensa-linux-tdep.c (xtensa_linux_init_abi): Update
1989 tdep->num_pseudo_regs. Add calls to set_gdbarch_num_regs and
1990 set_gdbarch_num_pseudo_regs.
1991
d73cff18
PW
19922019-01-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1993
1994 * cli/cli-style.h (class cli_style_option): <add_setshow_commands>
1995 Remove arg prefixname, add do_set and do_show.
1996 Add member functions set_list and show_list.
1997 * cli/cli-style.c (class cli_style_option): Update accordingly.
1998 (style_set_list): Move to file scope.
1999 (style_show_list): Likewise.
2000 (set_style): Call help_list.
2001 (show_style): Call cmd_show_list.
2002 (_initialize_cli_style): New macro STYLE_ADD_SETSHOW_COMMANDS.
2003 Update to use the new macro.
2004
60a90376
JB
20052019-10-12 Joel Brobecker <brobecker@adacore.com>
2006
2007 * ada-lang.c (_initialize_ada_language): Expand the help text
2008 for the "catch exception" command.
2009
9d7c67bf
PW
20102019-01-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2011
2012 * symtab.c (matching_obj_sections): Initialize obj,
2013 declare it closer to its usage.
2014
7cf47dc4
TT
20152019-01-10 Tom Tromey <tom@tromey.com>
2016
2017 * thread-iter.h (inf_threads_iterator): Use next_iterator.
2018 (basic_inf_threads_range): Remove.
2019 (inf_threads_range, inf_non_exited_threads_range)
2020 (safe_inf_threads_range): Use next_adapter.
2021
d3cb6808
KS
20222019-01-10 Keith Seitz <keiths@redhat.com>
2023
2024 PR gdb/23712
2025 PR symtab/23010
2026 * dwarf2read.c (dw2_add_symbol_to_list): Remove.
2027 (fixup_go_packaging, new_symbol): Use add_symbol_to_list.
2028
63a20375
KS
20292019-01-10 Keith Seitz <keiths@redhat.com>
2030
2031 PR gdb/23712
2032 PR symtab/23010
2033 * dictionary.c (pending_to_vector): Remove.
2034 (dict_create_hashed_1, dict_create_linear_1, dict_add_pending_1):
2035 Remove _1 suffix, replacing functions of the same name. Update
2036 all callers.
2037 (dict_create_hashed, dict_create_hashed_expandable)
2038 (dict_create_linear, dict_create_linear_expandable, dict_free)
2039 (dict_add_symbol, dict_add_pending, dict_size, dict_empty):
2040 Make functions static.
2041
b026f593
KS
20422019-01-10 Keith Seitz <keiths@redhat.com>
2043
2044 PR gdb/23712
2045 PR symtab/23010
2046 * dictionary.h (struct dictionary): Replace declaration with
2047 multidictionary.
2048 (dict_create_hashed, dict_create_hashed_expandable)
2049 (dict_create_linear, dict_create_linear_expandable)
2050 (dict_free, dict_add_symbol, dict_add_pending, dict_empty)
2051 (dict_iterator_first, dict_iterator_next, dict_iter_match_first)
2052 (dict_iter_match_next, dict_size): Rename to "mdict_" versions
2053 taking multidictionary argument.
2054 [ALL_DICT_SYMBOLS]: Update for multidictionary.
2055 * block.h (struct block) <dict>: Change to multidictionary
2056 and rename `multidict'.
2057 * block.c, buildsym.c, jit.c, mdebugread.c, objfiles.c,
2058 symmisc.c: Update all dictionary references to multidictionary.
2059
c7748ee9
KS
20602019-01-10 Keith Seitz <keiths@redhat.com>
2061
2062 PR gdb/23712
2063 PR symtab/23010
2064 * dictionary.c: Include unordered_map.
2065 (pending_to_vector): New function.
2066 (dict_create_hashed_1, dict_create_linear_1, dict_add_pending_1):
2067 Rewrite the non-"_1" functions to take vector instead
2068 of linked list.
2069 (dict_create_hashed, dict_create_linear, dict_add_pending): Use the
2070 "new" _1 versions of the same name.
2071 (multidictionary): Define.
2072 (std::hash<enum language): New definition.
2073 (collate_pending_symbols_by_language, mdict_create_hashed)
2074 (mdict_create_hashed_expandable, mdict_create_linear)
2075 (mdict_create_linear_expandable, mdict_free)
2076 (find_language_dictionary, create_new_language_dictionary)
2077 (mdict_add_symbol, mdict_add_pending, mdict_iterator_first)
2078 (mdict_iterator_next, mdict_iter_match_first, mdict_iter_match_next)
2079 (mdict_size, mdict_empty): New functions.
2080 * dictionary.h (mdict_iterator): Define.
2081
67aa1f3c
PA
20822019-01-10 Pedro Alves <palves@redhat.com>
2083
2084 * breakpoint.c (read_uploaded_action)
2085 (create_tracepoint_from_upload): Adjust to use
2086 gdb::unique_xmalloc_ptr.
2087 * ctf.c (ctf_write_uploaded_tp):
2088 (SET_ARRAY_FIELD): Use emplace_back.
2089 (SET_STRING_FIELD): Adjust to use gdb::unique_xmalloc_ptr.
2090 * tracefile-tfile.c (tfile_write_uploaded_tp):
2091 * tracepoint.c (parse_tracepoint_definition): Adjust to use
2092 gdb::unique_xmalloc_ptr.
2093 * tracepoint.h (struct uploaded_tp) <cond, actions, step_actions,
2094 at_string, cond_string, cmd_strings>: Replace char pointers
2095 with gdb::unique_xmalloc_ptr.
2096
2f667667
PA
20972019-01-10 Pedro Alves <palves@redhat.com>
2098
2099 * solib-target.c (library_list_start_library): Don't xstrdup name.
2100
36cb7237
PA
21012019-01-10 Pedro Alves <palves@redhat.com>
2102
2103 * mdebugread.c (parse_partial_symbols): Use
2104 gdb::unique_xmalloc_ptr to manage heap-allocated 'stabsstring'.
2105
da584958
AB
21062019-01-10 Andrew Burgess <andrew.burgess@embecosm.com>
2107
2108 * linux-fork.c (scoped_switch_fork_info)
2109 <~scoped_switch_fork_info>: Fix incorrect variable name.
2110
1ef8573c
AB
21112019-01-10 Andrew Burgess <andrew.burgess@embecosm.com>
2112
2113 * linux-fork.c (scoped_switch_fork_info)
2114 <scoped_switch_fork_info>: Make explicit.
2115 <~scoped_switch_fork_info>: Wrap core in TRY/CATCH.
2116
8d7bcccb
TT
21172019-01-10 Tom Tromey <tom@tromey.com>
2118
2119 * objfiles.h (objfile::reset_psymtabs): Update.
2120 * objfiles.c (objfile::objfile): Update.
2121 * psymtab.h (psymtab_storage::obstack): Update.
2122 (psymtab_storage::m_obstack): Use gdb::optional.
2123 (class psymtab_storage): Update comment. Remove objfile
2124 parameter.
2125 * psymtab.c (psymtab_storage::psymtab_storage): Update.
2126
b596a3c7
TT
21272019-01-10 Tom Tromey <tom@tromey.com>
2128
2129 * psymtab.h (psymtab_storage::allocate_psymtab): New method.
2130 <free_psymtabs>: Now private.
2131 * psymtab.c (psymtab_storage::allocate_psymtab): Implement.
2132 (allocate_psymtab): Use new method.
2133
a9342b62
TT
21342019-01-10 Tom Tromey <tom@tromey.com>
2135
2136 * xcoffread.c (xcoff_end_psymtab): Use allocate_dependencies.
2137 * psymtab.h (psymtab_storage::allocate_dependencies): New method.
2138 * mdebugread.c (parse_partial_symbols): Use
2139 allocate_dependencies.
2140 * dwarf2read.c (dwarf2_create_include_psymtab): Use
2141 allocate_dependencies.
2142 (process_psymtab_comp_unit_reader)
2143 (build_type_psymtab_dependencies): Likewise.
2144 * dbxread.c (dbx_end_psymtab): Use allocate_dependencies.
2145
5af70966
TT
21462019-01-10 Tom Tromey <tom@tromey.com>
2147
2148 * psymtab.c (add_psymbol_to_bcache): Pass psymtab obstack to
2149 PSYMBOL_SET_LANGUAGE.
2150 (allocate_psymtab): Allocate psymtab on the psymtab obstack.
2151
5923a04c
TT
21522019-01-10 Tom Tromey <tom@tromey.com>
2153
2154 * psymtab.h (psymtab_storage::obstack): New method.
2155 <m_obstack>: Rename from obstack; now private.
2156 * psymtab.c (psymtab_storage): Update.
2157 * dwarf2read.c (create_addrmap_from_index)
2158 (create_addrmap_from_aranges, dwarf2_build_psymtabs_hard):
2159 Update.
2160
6d6a12bf
TT
21612019-01-10 Tom Tromey <tom@tromey.com>
2162
2163 * symfile.c (reread_symbols): Call objfile->reset_psymtabs.
2164 * objfiles.h (objfile::reset_psymtabs): New method.
2165
d320c2b5
TT
21662019-01-10 Tom Tromey <tom@tromey.com>
2167
2168 * symmisc.c (print_symbol_bcache_statistics): Update.
2169 (print_objfile_statistics): Update.
2170 * symfile.c (reread_symbols): Update.
2171 * psymtab.h (class psymtab_storage): New.
2172 * psymtab.c (psymtab_storage): New constructor.
2173 (~psymtab_storage): New destructor.
2174 (require_partial_symbols): Update.
2175 (ALL_OBJFILE_PSYMTABS_REQUIRED): Rewrite.
2176 (find_pc_sect_psymtab, find_pc_sect_psymbol)
2177 (match_partial_symbol, lookup_partial_symbol, dump_psymtab)
2178 (psym_dump, recursively_search_psymtabs, psym_has_symbols)
2179 (psym_find_compunit_symtab_by_address, sort_pst_symbols)
2180 (start_psymtab_common, end_psymtab_common)
2181 (add_psymbol_to_bcache, add_psymbol_to_list, init_psymbol_list)
2182 (allocate_psymtab): Update.
2183 (psymtab_storage::discard_psymtab): Rename from discard_psymtab.
2184 Update.
2185 (dump_psymtab_addrmap, maintenance_print_psymbols)
2186 (maintenance_check_psymtabs): Update.
2187 (class objfile_psymtabs): Move to objfiles.h.
2188 * psympriv.h (discard_psymtab): Now inline.
2189 (psymtab_discarder::psymtab_discarder): Update.
2190 (psymtab_discarder::~psymtab_discarder): Update.
2191 (ALL_OBJFILE_PSYMTABS): Rewrite.
2192 * objfiles.h (struct objfile) <psymtabs, psymtabs_addrmap,
2193 free_psymtabs, psymbol_cache, global_psymbols, static_psymbols>:
2194 Remove fields.
2195 <partial_symtabs>: New field.
2196 (class objfile_psymtabs): Move from psymtab.h. Update.
2197 * objfiles.c (objfile::objfile): Initialize partial_symtabs, not
2198 psymbol_cache.
2199 (objfile::~objfile): Don't destroy psymbol_cache.
2200 * mdebugread.c (parse_partial_symbols): Update.
2201 * dwarf2read.c (create_addrmap_from_index)
2202 (create_addrmap_from_aranges, dw2_find_pc_sect_compunit_symtab)
2203 (process_psymtab_comp_unit_reader, dwarf2_build_psymtabs_hard)
2204 (add_partial_subprogram, dwarf2_ranges_read): Update.
2205 * dwarf-index-write.c (write_address_map)
2206 (write_one_signatured_type, recursively_write_psymbols)
2207 (class debug_names, class debug_names, write_psymtabs_to_index):
2208 Update.
2209
1d94a5a3
TT
22102019-01-10 Tom Tromey <tom@tromey.com>
2211
2212 * symtab.h (SYMBOL_SET_NAMES): Update.
2213 (symbol_set_names): Update.
2214 (MSYMBOL_SET_NAMES): Update.
2215 * symtab.c (symbol_set_names): Change argument to be an
2216 objfile_per_bfd_storage.
2217 * psymtab.c (add_psymbol_to_bcache): Update.
2218 * psympriv.h (PSYMBOL_SET_NAMES): Take per_bfd argument.
2219
0f14768a
TT
22202019-01-10 Tom Tromey <tom@tromey.com>
2221
2222 * symtab.c (create_demangled_names_hash): Change argument to be an
2223 objfile_per_bfd_storage.
2224 (symbol_set_names): Update.
2225
6eee24ce
TT
22262019-01-10 Tom Tromey <tom@tromey.com>
2227
2228 * xcoffread.c (xcoff_initial_scan): Unconditionally call
2229 init_psymbol_list.
2230 * psymtab.c (init_psymbol_list): Do nothing if already called.
2231 * psympriv.h (init_psymbol_list): Add comment.
2232 * dwarf2read.c (dwarf2_build_psymtabs): Unconditionally call
2233 init_psymbol_list.
2234 * dbxread.c (dbx_symfile_read): Unconditionally call
2235 init_psymbol_list.
2236
75aedd27
TT
22372019-01-10 Tom Tromey <tom@tromey.com>
2238
2239 * xcoffread.c (scan_xcoff_symtab): Update.
2240 * psymtab.c (add_psymbol_to_list): Replace "list" parameter with
2241 "where".
2242 * mdebugread.c (parse_partial_symbols)
2243 (handle_psymbol_enumerators): Update.
2244 * dwarf2read.c (add_partial_symbol, load_partial_dies): Update.
2245 * dbxread.c (read_dbx_symtab): Update.
2246 * psympriv.h (psymbol_placement): New enum.
2247 (add_psymbol_to_list): Update.
2248
939652a5
TT
22492019-01-10 Tom Tromey <tom@tromey.com>
2250
2251 * xcoffread.c (xcoff_start_psymtab): Remove global_psymbols and
2252 static_psymbols parameters.
2253 (scan_xcoff_symtab): Update.
2254 * psymtab.c (start_psymtab_common): Remove global_psymbols and
2255 static_psymbols parameters.
2256 * psympriv.h (start_psymtab_common): Update.
2257 * mdebugread.c (parse_partial_symbols): Update.
2258 * dwarf2read.c (create_partial_symtab): Update.
2259 * dbxread.c (read_dbx_symtab): Update.
2260 (start_psymtab): Remove global_psymbols and static_psymbols
2261 parameters.
2262
baa62830
TT
22632019-01-10 Tom Tromey <tom@tromey.com>
2264
2265 * xcoffread.c (xcoff_end_psymtab): Remove some initializations.
2266 * psymtab.c (allocate_psymtab): Add comment.
2267 * psympriv.h (allocate_psymtab): Add comment.
2268 * dwarf2read.c (dwarf2_create_include_psymtab): Remove some
2269 initializations.
2270 * dbxread.c (dbx_end_psymtab): Remove some initializations.
2271
0e8f53ba
TT
22722019-01-10 Tom Tromey <tom@tromey.com>
2273
2274 * symfile.h (mdebug_build_psymtabs, elfmdebug_build_psymtabs):
2275 Don't declare.
2276 * mipsread.c: Include mdebugread.h.
2277 * mdebugread.h (mdebug_build_psymtabs, elfmdebug_build_psymtabs):
2278 Declare.
2279 * elfread.c: Include mdebugread.h.
2280
b22a7c6a
TT
22812019-01-09 Tom Tromey <tom@tromey.com>
2282
2283 * dbxread.c (dbx_end_psymtab): Use objfile_psymtabs.
2284 * mdebugread.c (parse_partial_symbols): Use objfile_psymtabs.
2285 * psymtab.c (ALL_OBJFILE_PSYMTABS_REQUIRED): Remove.
2286 (psym_map_symtabs_matching_filename, find_pc_sect_psymtab)
2287 (psym_lookup_symbol, psym_find_last_source_symtab)
2288 (psym_forget_cached_source_info, psym_print_stats)
2289 (psym_expand_symtabs_for_function, psym_expand_all_symtabs)
2290 (psym_expand_symtabs_with_fullname, psym_map_symbol_filenames)
2291 (psym_map_matching_symbols, psym_expand_symtabs_matching)
2292 (psym_find_compunit_symtab_by_address)
2293 (maintenance_print_psymbols, maintenance_info_psymtabs)
2294 (maintenance_check_psymtabs): Use ranged for.
2295 * psymtab.h (class objfile_psymtabs): New.
2296 (require_partial_symbols): Return objfile_psymtabs.
2297 * psympriv.h (ALL_OBJFILE_PSYMTABS): Remove.
2298
3b9d3ac2
TT
22992019-01-09 Tom Tromey <tom@tromey.com>
2300
2301 * symfile.c (overlay_invalidate_all, find_pc_overlay)
2302 (find_pc_mapped_section, list_overlays_command)
2303 (map_overlay_command, unmap_overlay_command)
2304 (simple_overlay_update): Use all_objfiles.
2305 * spu-tdep.c (spu_overlay_update): Use all_objfiles.
2306 * printcmd.c (info_symbol_command): Use all_objfiles.
2307 * objfiles.h (ALL_OBJSECTIONS): Remove.
2308 * maint.c (maintenance_translate_address): Use all_objfiles.
2309 * gcore.c (gcore_create_callback): Use all_objfiles.
2310 (objfile_find_memory_regions): Likewise.
2311
8b31193a
TT
23122019-01-09 Tom Tromey <tom@tromey.com>
2313
2314 * symtab.c (find_line_symtab, info_sources_command)
2315 (make_source_files_completion_list): Use objfile_compunits.
2316 * source.c (select_source_symtab): Use objfile_compunits.
2317 * objfiles.h (struct objfile): Update comment.
2318 (ALL_OBJFILES): Remove.
2319 (ALL_FILETABS): Remove.
2320 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Use
2321 objfile_compunits.
2322
d5da8b3c
TT
23232019-01-09 Tom Tromey <tom@tromey.com>
2324
2325 * symmisc.c (print_objfile_statistics, dump_objfile)
2326 (maintenance_print_symbols): Use compunit_filetabs.
2327 * source.c (forget_cached_source_info_for_objfile): Use
2328 compunit_filetabs.
2329 * objfiles.h (ALL_OBJFILE_FILETABS): Remove.
2330 (ALL_FILETABS): Use compunit_filetabs.
2331 * objfiles.c (objfile_relocate1): Use compunit_filetabs.
2332 * coffread.c (coff_symtab_read): Use compunit_filetabs.
2333
5accd1a0
TT
23342019-01-09 Tom Tromey <tom@tromey.com>
2335
2336 * symtab.h (ALL_COMPUNIT_FILETABS): Remove.
2337 (compunit_filetabs): New.
2338 * symtab.c (iterate_over_some_symtabs, find_pc_sect_line): Use
2339 compunit_filetabs.
2340 (info_sources_command, make_source_files_completion_list): Remove
2341 declaration.
2342 * symmisc.c (print_objfile_statistics, dump_objfile)
2343 (maintenance_print_symbols): Remove declaration.
2344 (maintenance_info_symtabs): Use compunit_filetabs.
2345 (maintenance_info_line_tables): Likewise.
2346 * source.c (select_source_symtab): Change local variable name.
2347 (forget_cached_source_info_for_objfile): Remove declaration.
2348 * objfiles.h (ALL_OBJFILE_FILETABS): Use compunit_filetabs.
2349 * objfiles.c (objfile_relocate1): Remove declaration.
2350 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Remove
2351 declaration.
2352 * maint.c (count_symtabs_and_blocks): Use compunit_filetabs.
2353 * coffread.c (coff_symtab_read): Remove declaration.
2354 * buildsym.c (buildsym_compunit::end_symtab_with_blockvector): Use
2355 compunit_filetabs.
2356
d8aeb77f
TT
23572019-01-09 Tom Tromey <tom@tromey.com>
2358
2359 * symtab.c (lookup_objfile_from_block)
2360 (find_pc_sect_compunit_symtab, search_symbols)
2361 (default_collect_symbol_completion_matches_break_on): Use
2362 objfile_compunits.
2363 * objfiles.h (ALL_COMPUNITS): Remove.
2364 * maint.c (count_symtabs_and_blocks): Use objfile_compunits.
2365 * cp-support.c (add_symbol_overload_list_qualified): Use
2366 objfile_compunits.
2367 * ada-lang.c (ada_collect_symbol_completion_matches)
2368 (ada_add_global_exceptions): Use objfile_compunits.
2369
592553c4
TT
23702019-01-09 Tom Tromey <tom@tromey.com>
2371
2372 * source.c (select_source_symtab)
2373 (forget_cached_source_info_for_objfile): Remove declaration.
2374 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Remove
2375 declaration.
2376 * maint.c (count_symtabs_and_blocks): Remove declaration.
2377 * cp-support.c (add_symbol_overload_list_qualified): Remove
2378 declaration.
2379 * coffread.c (coff_symtab_read): Remove declaration.
2380 * symtab.c (lookup_symbol_in_objfile_symtabs)
2381 (basic_lookup_transparent_type_1): Use objfile_compunits.
2382 (lookup_objfile_from_block, find_pc_sect_compunit_symtab)
2383 (info_sources_command, search_symbols)
2384 (default_collect_symbol_completion_matches_break_on)
2385 (make_source_files_completion_list): Remove declaration.
2386 * ada-lang.c (add_nonlocal_symbols): Use objfile_compunits.
2387 (ada_collect_symbol_completion_matches)
2388 (ada_add_global_exceptions): Remove declaration.
2389 * linespec.c (iterate_over_all_matching_symtabs): Use
2390 objfile_compunits.
2391 * objfiles.h (ALL_OBJFILE_COMPUNITS): Remove.
2392 (class objfile_compunits): New.
2393 (ALL_COMPUNITS): Use objfile_compunits.
2394 * symmisc.c (print_objfile_statistics, maintenance_info_symtabs)
2395 (maintenance_check_symtabs, maintenance_info_line_tables): Use
2396 objfile_compunits.
2397 * objfiles.c (objfile_relocate1): Use objfile_compunits.
2398
5325b9bf
TT
23992019-01-09 Tom Tromey <tom@tromey.com>
2400
2401 * symtab.c (search_symbols)
2402 (default_collect_symbol_completion_matches_break_on): Use
2403 objfile_msymbols.
2404 * ada-lang.c (ada_lookup_simple_minsym)
2405 (ada_collect_symbol_completion_matches): Use objfile_msymbols.
2406 * minsyms.c (find_solib_trampoline_target): Use objfile_msymbols.
2407 * hppa-tdep.c (hppa_lookup_stub_minimal_symbol): Use
2408 objfile_msymbols.
2409 * coffread.c (coff_symfile_read): Use objfile_msymbols.
2410 * symmisc.c (dump_msymbols): Use objfile_msymbols.
2411 * objc-lang.c (find_methods): Use objfile_msymbols.
2412 (info_selectors_command, info_classes_command): Likewise.
2413 * stabsread.c (scan_file_globals): Use objfile_msymbols.
2414 * objfiles.h (class objfile_msymbols): New.
2415 (ALL_OBJFILE_MSYMBOLS): Remove.
2416 (ALL_MSYMBOLS): Remove.
2417
cac85af2
TT
24182019-01-09 Tom Tromey <tom@tromey.com>
2419
2420 * common/next-iterator.h (next_adapter): Add Iterator template
2421 parameter.
2422 * objfiles.h (ALL_OBJFILES_SAFE): Remove.
2423 (class all_objfiles_safe): New.
2424 * jit.c (jit_inferior_exit_hook): Use all_objfiles_safe.
2425 * objfiles.c (put_objfile_before): Update comment.
2426 (add_separate_debug_objfile): Likewise.
2427 (free_all_objfiles): Use all_objfiles_safe.
2428 (objfile_purge_solibs): Likewise.
2429
aed57c53
TT
24302019-01-09 Tom Tromey <tom@tromey.com>
2431
2432 * symtab.c (iterate_over_symtabs, matching_obj_sections)
2433 (expand_symtab_containing_pc, lookup_static_symbol)
2434 (basic_lookup_transparent_type, find_pc_sect_compunit_symtab)
2435 (find_symbol_at_address, find_line_symtab, find_main_name): Use
2436 all_objfiles.
2437 * probe.c (find_probe_by_pc, collect_probes): Use all_objfiles.
2438 * breakpoint.c (create_overlay_event_breakpoint)
2439 (create_longjmp_master_breakpoint)
2440 (create_std_terminate_master_breakpoint)
2441 (create_exception_master_breakpoint): Use all_objfiles.
2442 * linux-thread-db.c (try_thread_db_load_from_pdir)
2443 (has_libpthread): Use all_objfiles.
2444 * ada-lang.c (add_nonlocal_symbols): Use all_objfiles.
2445 * linespec.c (iterate_over_all_matching_symtabs)
2446 (search_minsyms_for_name): Use all_objfiles.
2447 * maint.c (maintenance_info_sections): Use all_objfiles.
2448 * main.c (captured_main_1): Use all_objfiles.
2449 * spu-tdep.c (spu_objfile_from_frame): Use all_objfiles.
2450 * guile/scm-objfile.c (gdbscm_objfiles): Use all_objfiles.
2451 * guile/scm-pretty-print.c
2452 (ppscm_find_pretty_printer_from_objfiles): Use all_objfiles.
2453 * solib-spu.c (append_ocl_sos): Use all_objfiles.
2454 * symmisc.c (maintenance_print_symbols): Use all_objfiles.
2455 (maintenance_print_msymbols): Use all_objfiles.
2456 * source.c (select_source_symtab): Use all_objfiles.
2457 * jit.c (jit_find_objf_with_entry_addr): Use all_objfiles.
2458 * symfile.c (remove_symbol_file_command)
2459 (expand_symtabs_matching, map_symbol_filenames): Use
2460 all_objfiles.
2461 * ppc-linux-tdep.c (ppc_linux_spe_context_inferior_created): Use
2462 all_objfiles.
2463 * dwarf2-frame.c (dwarf2_frame_find_fde): Use all_objfiles.
2464 * objc-lang.c (find_methods): Use all_objfiles.
2465 * objfiles.c (have_partial_symbols, have_full_symbols)
2466 (have_minimal_symbols, qsort_cmp)
2467 (default_iterate_over_objfiles_in_search_order): Use
2468 all_objfiles.
2469 * hppa-tdep.c (find_unwind_entry): Use all_objfiles.
2470 * psymtab.c (maintenance_print_psymbols): Use all_objfiles.
2471 (maintenance_check_psymtabs): Use all_objfiles.
2472 (ALL_PSYMTABS): Remove.
2473 * compile/compile-object-run.c (do_module_cleanup): Use
2474 all_objfiles.
2475 * blockframe.c (find_pc_partial_function): Use all_objfiles.
2476 * cp-support.c (add_symbol_overload_list_qualified): Use
2477 all_objfiles.
2478 * windows-tdep.c (windows_iterate_over_objfiles_in_search_order):
2479 Use all_objfiles.
2480 * dwarf-index-write.c (save_gdb_index_command): Use all_objfiles.
2481 * python/py-xmethods.c (gdbpy_get_matching_xmethod_workers): Use
2482 all_objfiles.
2483 * python/py-objfile.c (objfpy_lookup_objfile_by_name)
2484 (objfpy_lookup_objfile_by_build_id): Use all_objfiles.
2485 * python/py-prettyprint.c (find_pretty_printer_from_objfiles):
2486 Uses all_objfiles.
2487 * solib.c (solib_read_symbols): Use all_objfiles
2488
99d89cde
TT
24892019-01-09 Tom Tromey <tom@tromey.com>
2490
2491 * probe.c (parse_probes_in_pspace): Use all_objfiles.
2492 * guile/scm-progspace.c (gdbscm_progspace_objfiles): Use
2493 all_objfiles.
2494 * objfiles.h (ALL_PSPACE_OBJFILES): Remove.
2495 * symmisc.c (print_symbol_bcache_statistics)
2496 (print_objfile_statistics, maintenance_print_objfiles)
2497 (maintenance_info_symtabs, maintenance_check_symtabs)
2498 (maintenance_expand_symtabs, maintenance_info_line_tables): Use
2499 all_objfiles.
2500 * source.c (forget_cached_source_info): Use all_objfiles.
2501 * symfile-debug.c (set_debug_symfile): Use all_objfiles.
2502 * elfread.c (elf_gnu_ifunc_resolve_by_cache)
2503 (elf_gnu_ifunc_resolve_by_got): Use all_objfiles.
2504 * objfiles.c (update_section_map): Use all_objfiles.
2505 (shared_objfile_contains_address_p): Likewise.
2506 * psymtab.c (maintenance_info_psymtabs): Use all_objfiles.
2507 * python/py-progspace.c (pspy_get_objfiles): Use all_objfiles.
2508
21708325
TT
25092019-01-09 Tom Tromey <tom@tromey.com>
2510
2511 * common/next-iterator.h: New file.
2512 * objfiles.h (class all_objfiles): New.
2513 (struct objfile_iterator): New.
2514
669e09f6
PW
25152019-01-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2516
2517 * NEWS: Move the description of the changed "frame", "select-frame",
2518 and "info frame" commands to the Changed commands section.
2519
041be526
SM
25202019-01-09 Simon Marchi <simon.marchi@ericsson.com>
2521
2522 * gdbtypes.c (check_stub_method_group): Remove handling of old
2523 mangling schemes.
2524 * linespec.c (find_methods): Likewise.
2525 * stabsread.c (read_member_functions): Likewise.
2526 * valops.c (search_struct_method): Likewise.
2527 (value_struct_elt_for_reference): Likewise.
2528 * NEWS: Mention this change.
2529
0e2a2133
AB
25302019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
2531
2532 * cli/cli-cmds.c (list_command): Pass a source_lines_range to
2533 print_source_lines.
2534 * source.c (print_source_lines_base): Update line number check.
2535 (print_source_lines): New function.
2536 (source_lines_range::source_lines_range): New function.
2537 * source.h (class source_lines_range): New class.
2538 (print_source_lines): New declaration.
2539
1055a3b4
PW
25402019-01-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2541
2542 * linespec.c (linespec_state_destructor): Free self->canonical_names.
2543
cfeadda5
TT
25442019-01-08 Tom Tromey <tom@tromey.com>
2545 Simon Marchi <simon.marchi@ericsson.com>
2546
2547 PR gdb/24060
2548 * ada-exp.y (DOLLAR_VARIABLE): Rename from SPECIAL_VARIABLE.
2549 * ada-lex.l (DOLLAR_VARIABLE): Likewise.
2550 * c-exp.y (DOLLAR_VARIABLE): Rename from VARIABLE.
2551 * f-exp.y (DOLLAR_VARIABLE): Likewise.
2552 * m2-exp.y (DOLLAR_VARIABLE): Rename from INTERNAL_VAR.
2553 * p-exp.y (DOLLAR_VARIABLE): Rename from VARIABLE.
2554
583068ca
AB
25552019-01-08 Andrew Burgess <andrew.burgess@embecosm.com>
2556
2557 * source.c (select_source_symtab): Move header comment to
2558 declaration in source.h.
2559 (forget_cached_source_info_for_objfile): Likewise.
2560 (forget_cached_source_info): Likewise.
2561 (identify_source_line): Likewise.
2562 * source.h (identify_source_line): Move declaration from symtab.h
2563 and add comment from source.c
2564 (print_source_lines): Likewise.
2565 (forget_cached_source_info_for_objfile): Likewise.
2566 (forget_cached_source_info): Likewise.
2567 (select_source_symtab): Likewise.
2568 (enum print_source_lines_flag): Move definition from symtab.h.
2569 * symtab.h (identify_source_line): Move declaration to source.h.
2570 (print_source_lines): Likewise.
2571 (forget_cached_source_info_for_objfile): Likewise.
2572 (forget_cached_source_info): Likewise.
2573 (select_source_symtab): Likewise.
2574 (enum print_source_lines_flag): Move definition to source.h.
2575 * tui/tui-hooks.c: Add 'source.h' include.
2576
ec98a4ad
AB
25772019-01-08 Andrew Burgess <andrew.burgess@embecosm.com>
2578
2579 * source.c (print_source_lines_base): Handle requests to print
2580 reverse line number sequences, and guard against empty lines
2581 string.
2582
62ea19c1
AB
25832019-01-08 Andrew Burgess <andrew.burgess@embecosm.com>
2584
2585 * source.c (print_source_lines_base): Fix skip of '\r' if next
2586 character is '\n'.
2587
9d30e1fd
TT
25882019-01-06 Tom Tromey <tom@tromey.com>
2589
2590 * c-exp.y (struct c_parse_state) <macro_original_text,
2591 expansion_obstack>: New member.
2592 (macro_original_text, expansion_obstack): Remove globals.
2593 (scan_macro_expansion, scanning_macro_expansion)
2594 (finished_macro_expansion): Update.
2595 (scan_macro_cleanup): Remove.
2596 (yylex, c_parse): Update.
2597
c65bac38
TT
25982019-01-06 Tom Tromey <tom@tromey.com>
2599
2600 * c-exp.y (struct c_parse_state) <strings>: New member.
2601 (operator_stoken): Update.
2602
02e12e38
TT
26032019-01-06 Tom Tromey <tom@tromey.com>
2604
2605 * parser-defs.h (type_ptr): Remove typedef. Don't declare VEC.
2606 (union type_stack_elt) <typelist_val>: Now a pointer to
2607 std::vector.
2608 (type_stack_cleanup): Don't declare.
2609 (push_typelist): Update.
2610 * parse.c (pop_typelist): Return a std::vector.
2611 (push_typelist): Take a std::vector.
2612 (follow_types): Update. Do not free args.
2613 (type_stack_cleanup): Remove.
2614 * c-exp.y (struct c_parse_state): New.
2615 (cpstate): New global.
2616 (type_aggregate_p, exp, ptr_operator, parameter_typelist)
2617 (nonempty_typelist): Update.
2618 (func_mod): Create a new vector.
2619 (c_parse): Create a c_parse_state.
2620 (check_parameter_typelist): Do not delete params.
2621 (function_method): Update. Do not delete type_list.
2622
f097f5ad
TT
26232019-01-06 Tom Tromey <tom@tromey.com>
2624
2625 PR gdb/28155:
2626 * python/py-finishbreakpoint.c (bpfinishpy_init): Use
2627 check_typedef.
2628 * infcmd.c (finish_command_fsm_should_stop): Use check_typedef.
2629 (print_return_value): Likewise.
2630
d2adf9f1
TT
26312019-01-05 Tom Tromey <tom@tromey.com>
2632
2633 * contrib/cleanup_check.py: Remove.
2634 * contrib/gcc-with-excheck: Remove.
2635 * contrib/exsummary.py: Remove.
2636 * contrib/excheck.py: Remove.
2637
2eab46b1
JB
26382019-01-05 Joel Brobecker <brobecker@adacore.com>
2639
2640 * thread.c (delete_thread_1): Add gdb_assert that THR is not
2641 NULL. Initialize tpprev to NULL instead of assigning it
2642 to NULL on the next statement.
2643 * windows-nat.c (windows_delete_thread): Remove check for
2644 main_thread_id before printing thread exit notifications.
2645 (get_windows_debug_event) <EXIT_THREAD_DEBUG_EVENT>:
2646 Remove thread ID check against main_thread_id.
2647 <CREATE_PROCESS_DEBUG_EVENT>: Remove call to
2648 windows_delete_thread.
2649 <EXIT_PROCESS_DEBUG_EVENT>: Add call to windows_delete_thread.
2650
48c5e7e2
TT
26512019-01-04 Tom Tromey <tom@tromey.com>
2652
2653 * compile/compile.c (_initialize_compile): Use upper case for
2654 metasyntactic variables.
2655 * symmisc.c (_initialize_symmisc): Use upper case for
2656 metasyntactic variables.
2657 * psymtab.c (_initialize_psymtab): Use upper case for
2658 metasyntactic variables.
2659 * demangle.c (demangle_command): Use upper case for metasyntactic
2660 variables.
2661 (_initialize_demangler): Likewise.
2662 * ax-gdb.c (_initialize_ax_gdb): Use upper case for metasyntactic
2663 variables.
2664
986041cd
TT
26652019-01-03 Tom Tromey <tom@tromey.com>
2666
2667 * tui/tui-source.c (tui_set_source_content): Use xstrdup.
2668
7c711119
TT
26692019-01-03 Tom Tromey <tom@tromey.com>
2670
2671 * python/py-symtab.c (salpy_str): Update.
2672 (struct salpy_sal_object) <symtab>: Now a PyObject.
2673 (salpy_dealloc): Update.
2674 (del_objfile_sal): Use gdbpy_ref.
2675
1b20edf0
TT
26762019-01-03 Tom Tromey <tom@tromey.com>
2677
2678 * python/py-type.c (convert_field): Use new_reference. Return
2679 gdbpy_ref.
2680 (make_fielditem): Return gdbpy_ref.
2681 (typy_fields): Update.
2682 (typy_getitem): Update.
2683 (field_name): Return gdbpy_ref. Use new_reference.
2684 (typy_iterator_iternext): Update.
2685
ea41325b
TT
26862019-01-03 Tom Tromey <tom@tromey.com>
2687
2688 * python/py-record.c (gdbpy_stop_recording): Use Py_RETURN_NONE.
2689
2a3c71d6
TT
26902019-01-03 Tom Tromey <tom@tromey.com>
2691
2692 * python/py-value.c (valpy_dealloc): Use Py_XDECREF.
2693 * python/py-type.c (typy_fields_items): Use gdbpy_ref.
2694 * python/py-progspace.c (pspy_set_printers): Use gdbpy_ref.
2695 (pspy_set_frame_filters, pspy_set_frame_unwinders)
2696 (pspy_set_type_printers): Likewise.
2697 * python/py-function.c (fnpy_init): Use gdbpy_ref.
2698 * python/py-cmd.c (cmdpy_init): Use gdbpy_ref.
2699 * python/py-objfile.c (objfpy_set_printers): Use gdbpy_ref.
2700 (objfpy_set_frame_filters, objfpy_set_frame_unwinders)
2701 (objfpy_set_type_printers): Likewise.
2702
5c329e6a
TT
27032019-01-03 Tom Tromey <tom@tromey.com>
2704
2705 * python/python.c (gdbpy_enter, ~gdbpy_enter): Update.
2706 (gdbpy_print_stack): Use gdbpy_err_fetch.
2707 * python/python-internal.h (class gdbpy_err_fetch): New class.
2708 (class gdbpy_enter) <m_error_type, m_error_value,
2709 m_error_traceback>: Remove.
2710 <m_error>: New member.
2711 (gdbpy_exception_to_string): Don't declare.
2712 * python/py-varobj.c (py_varobj_iter_next): Use gdbpy_err_fetch.
2713 * python/py-value.c (convert_value_from_python): Use
2714 gdbpy_err_fetch.
2715 * python/py-utils.c (gdbpy_err_fetch::to_string): Rename from
2716 gdbpy_exception_to_string.
2717 (gdbpy_handle_exception): Use gdbpy_err_fetch.
2718 * python/py-prettyprint.c (print_stack_unless_memory_error): Use
2719 gdbpy_err_fetch.
2720
169bb27b
AB
27212019-01-03 Andrew Burgess <andrew.burgess@embecosm.com>
2722
2723 * linux-nat.c (delete_lwp_cleanup): Delete.
2724 (struct lwp_deleter): New struct.
2725 (lwp_info_up): New typedef.
2726 (linux_nat_target::follow_fork): Delete cleanup, and make use of
2727 lwp_info_up.
2728
a07c8880
AB
27292019-01-03 Andrew Burgess <andrew.burgess@embecosm.com>
2730
2731 * linux-fork.c (class scoped_switch_fork_info): New class.
2732 (inferior_call_waitpid): Update to use scoped_switch_fork_info.
2733
26089c49
AB
27342019-01-03 Andrew Burgess <andrew.burgess@embecosm.com>
2735
2736 * valops.c (find_overload_match): Remove use of null_cleanup, and
2737 calls to do_cleanups.
2738
06d3e5b0
AB
27392019-01-03 Andrew Burgess <andrew.burgess@embecosm.com>
2740
2741 * compile/compile-cplus-types.c
2742 (compile_cplus_instance::decl_name): Handle changes to
2743 cp_func_name.
2744 * cp-support.c (cp_func_name): Update header comment, update
2745 return type.
2746 * cp-support.h (cp_func_name): Update return type in declaration.
2747 * valops.c (find_overload_match): Move temp_func local to top
2748 level of function and change its type. Use temp_func to hold and
2749 delete temporary string obtained from cp_func_name.
2750
66644cd3
AB
27512019-01-03 Andrew Burgess <andrew.burgess@embecosm.com>
2752
2753 * remote.c (remote_target::remote_check_symbols): Convert `msg` to
2754 gdb::char_vector, remove cleanup, and update uses of `msg`.
2755
592d8c0a
JW
27562019-01-03 Jim Wilson <jimw@sifive.com>
2757
2758 * riscv-tdep.c (riscv_freg_feature): Drop s0 name from f8.
2759
c55d06ec
TT
27602019-01-02 Tom Tromey <tom@tromey.com>
2761
2762 * xml-tdesc.c (xml_cache): Hold a target_desc_up.
2763 (tdesc_parse_xml): Remove cleanups.
2764 * target-descriptions.h (make_cleanup_free_target_description):
2765 Don't declare.
2766 (target_desc_deleter): New struct.
2767 (target_desc_up): New typedef.
2768 * target-descriptions.c (target_desc_deleter::operator()): Rename
2769 from free_target_description.
2770 (make_cleanup_free_target_description): Remove.
2771
3a6ae42d
TT
27722019-01-02 Tom Tromey <tom@tromey.com>
2773
2774 * linespec.c (struct linespec_parser): Rename from ls_parser. Add
2775 constructor, destructor.
2776 (linespec_parser): Remove typedef.
2777 (~linespec_parser): Rename from linespec_parser_delete.
2778 (linespec_lex_to_end, linespec_complete_label)
2779 (linespec_complete): Update.
2780 (decode_line_full): Remove cleanups.
2781 (decode_line_1): Update.
2782
61fd3e73
TT
27832019-01-02 Tom Tromey <tom@tromey.com>
2784
2785 * python/python-internal.h (inferior_to_inferior_object): Change
2786 return type.
2787 * python/py-exitedevent.c (create_exited_event_object): Update.
2788 * python/py-inferior.c (inferior_to_inferior_object): Return
2789 gdbpy_ref.
2790 (python_new_inferior, python_inferior_deleted)
2791 (thread_to_thread_object, delete_thread_object)
2792 (build_inferior_list, gdbpy_selected_inferior): Update.
2793 * python/py-infthread.c (create_thread_object): Update. Also fail
2794 if inferior_to_inferior_object fails.
2795
d20172fc
SM
27962019-01-02 Simon Marchi <simon.marchi@ericsson.com>
2797
2798 * inferior.h (class inferior) <displaced_step_state>: New field.
2799 * infrun.h (struct displaced_step_state): Move here from
2800 infrun.c. Initialize fields, add constructor.
2801 <inf>: Remove field.
2802 <reset>: New method.
2803 * infrun.c (struct displaced_step_inferior_state): Move to
2804 infrun.h.
2805 (displaced_step_inferior_states): Remove.
2806 (get_displaced_stepping_state): Adust.
2807 (displaced_step_in_progress_any_inferior): Adjust.
2808 (displaced_step_in_progress_thread): Adjust.
2809 (displaced_step_in_progress): Adjust.
2810 (add_displaced_stepping_state): Remove.
2811 (get_displaced_step_closure_by_addr): Adjust.
2812 (remove_displaced_stepping_state): Remove.
2813 (infrun_inferior_exit): Call displaced_step_state.reset.
2814 (use_displaced_stepping): Don't check for NULL.
2815 (displaced_step_prepare_throw): Call
2816 get_displaced_stepping_state.
2817 (displaced_step_fixup): Don't check for NULL.
2818 (prepare_for_detach): Don't check for NULL.
2819
e3319240
PW
28202019-01-02 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2821
2822 * infcall.c (call_function_by_hand_dummy): cleanup/destroy sm
2823 in case of call that did not complete.
2824
5d36dfb9
AU
28252019-01-02 Andrey Utkin <autkin@undo.io>
2826
2827 * symfile.c (find_separate_debug_file): Fix search of debug files for
2828 remote debuggee.
2829
8833fbf0
TT
28302019-01-02 Tom Tromey <tom@tromey.com>
2831
2832 * python/py-inferior.c (gdbpy_initialize_inferior): Fix
2833 indentation.
2834 * python/py-frame.c (frapy_older): Remove cast.
2835 (frapy_newer): Likewise.
2836 * python/py-breakpoint.c (local_setattro): Remove cast.
2837 * python/py-arch.c (archpy_name): Remove local variable.
2838 * python/py-type.c (gdbpy_lookup_type): Remove cast.
2839
4ada3dfd
JB
28402019-01-02 Joel Brobecker <brobecker@adacore.com>
2841
2842 * unittests/basic_string_view/element_access/char/empty.cc:
2843 Fix year range in copyright header.
2844
113b7b81
AB
28452019-01-01 Andrew Burgess <andrew.burgess@embecosm.com>
2846
2847 * arch/riscv.h (struct riscv_gdbarch_features) <hw_float_abi>:
2848 Delete.
2849 <operator==>: Update with for removed field.
2850 <hash>: Likewise.
2851 * riscv-tdep.h (struct gdbarch_tdep) <features>: Renamed to...
2852 <isa_features>: ...this.
2853 <abi_features>: New field.
2854 (riscv_isa_flen): Update comment.
2855 (riscv_abi_xlen): New declaration.
2856 (riscv_abi_flen): New declaration.
2857 * riscv-tdep.c (riscv_isa_xlen): Update to get answer from
2858 isa_features.
2859 (riscv_abi_xlen): New function.
2860 (riscv_isa_flen): Update to get answer from isa_features.
2861 (riscv_abi_flen): New function.
2862 (riscv_has_fp_abi): Update to get answer from abi_features.
2863 (riscv_call_info::riscv_call_info): Use abi xlen and flen, not isa
2864 xlen and flen.
2865 (riscv_call_info) <xlen, flen>: Update comment.
2866 (riscv_call_arg_struct): Remove invalid assertions
2867 (riscv_features_from_gdbarch_info): Update now hw_float_abi field
2868 is removed.
2869 (riscv_gdbarch_init): Gather isa features and abi features
2870 separately, ensure both match on the gdbarch when reusing an old
2871 gdbarch. Relax an error check to allow 32-bit abi float to run on
2872 a target with 64-bit float hardware.
2873
b18ca514
PW
28742019-01-01 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2875
2876 * source.c (search_command_helper): Stop reverse search
2877 when line 1 has been searched.
2878
ec70d8db
PW
28792019-01-01 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2880
2881 * record-full.c (record_full_base_target::close): Rewrite
2882 record_full_core_buf_list free logic.
2883
5b38f9c1
PW
28842019-01-01 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2885
2886 * break-catch-syscall.c (print_one_catch_syscall): xfree
2887 the last text.
2888
66d91b39
JB
28892019-01-01 Joel Brobecker <brobecker@adacore.com>
2890
2891 * top.c (print_gdb_version): Update Copyright year in version
2892 message.
2893
42a4f53d
JB
28942019-01-01 Joel Brobecker <brobecker@adacore.com>
2895
2896 Update copyright year range in all GDB files.
2897
7e955d83 28982019-01-01, 19 Joel Brobecker <brobecker@adacore.com>
2139e8dc 2899
5bbd631d 2900 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2018.
2139e8dc 2901
5bbd631d 2902For older changes see ChangeLog-2018.
c906108c
SS
2903\f
2904Local Variables:
2905mode: change-log
2906left-margin: 8
2907fill-column: 74
2908version-control: never
57da7796 2909coding: utf-8
c906108c 2910End:
5bbd631d 2911
This page took 2.261396 seconds and 4 git commands to generate.