Update NEWS post GDB 8.3 branch creation.
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
9335e75a
JB
12019-02-27 Joel Brobecker <brobecker@adacore.com>
2
3 * NEWS: Create a new section for the next release branch.
4 Rename the section of the current branch, now that it has
5 been cut.
6
3d34d8de
JB
72019-02-27 Joel Brobecker <brobecker@adacore.com>
8
9 GDB 8.3 branch created (143420fb0d5ae54323ba9953f0818c194635228d):
10 * version.in: Bump version to 8.3.50.DATE-git.
11
143420fb
SM
122019-02-26 Simon Marchi <simon.marchi@efficios.com>
13
14 * aix-thread.c (ptid_cmp): Remove unused variable.
15 (get_signaled_thread): Likewise.
16 (store_regs_user_thread): Likewise.
17 (store_regs_kernel_thread): Likewise.
18 (fetch_regs_kernel_thread): Remove shadowed variable.
19
172fb711
AB
202019-02-26 Andrew Burgess <andrew.burgess@embecosm.com>
21
22 * features/riscv/32bit-cpu.xml: Add register numbers.
23 * features/riscv/32bit-fpu.c: Regenerate.
24 * features/riscv/32bit-fpu.xml: Add register numbers.
25 * features/riscv/64bit-cpu.xml: Add register numbers.
26 * features/riscv/64bit-fpu.c: Regenerate.
27 * features/riscv/64bit-fpu.xml: Add register numbers.
28
26c89782
KB
292019-02-26 Kevin Buettner <kevinb@redhat.com>
30
af54ade9 31 * NEWS: Mention two argument form of gdb.Value constructor.
fe07eca5
KB
32 * python/py-value.c (convert_buffer_and_type_to_value): New
33 function.
34 (valpy_new): Parse arguments via gdb_PyArg_ParseTupleAndKeywords.
35 Add support for handling an optional second argument. Call
36 convert_buffer_and_type_to_value as appropriate.
26c89782
KB
37 * python/python-internal.h (Py_buffer_deleter): New struct.
38 (Py_buffer_up): New typedef.
39
0f58c9e8
JB
402019-02-25 John Baldwin <jhb@FreeBSD.org>
41
42 * dwarf2read.c (dwarf2_get_dwz_file): Reset dwz_bfd to nullptr
43 instead of releasing ownership.
44
0a0f4c01
JR
452019-02-25 Jordan Rupprecht <rupprecht@google.com>
46
47 * dwarf2read.c (open_and_init_dwp_file): Call
48 elf_numsections instead of bfd_count_sections to initialize
49 dwp_file->num_sections.
50
cd5a152c
TT
512019-02-25 Tom Tromey <tromey@adacore.com>
52
53 * solib-darwin.c (darwin_get_dyld_bfd): Don't release dyld_bfd.
54
8a6a8513
SDJ
552019-02-23 Sergio Durigan Junior <sergiodj@redhat.com>
56
57 * gcore.in: Add '--readnever' option when invoking GDB.
58
04dcda9c
SM
592019-02-22 Simon Marchi <simon.marchi@polymtl.ca>
60
61 * MAINTAINERS: Update my email address.
62
07bc701d
SM
632019-02-22 Simon Marchi <simon.marchi@polymtl.ca>
64
65 * build-id.c (build_id_to_debug_bfd_1): New function.
66 (build_id_to_debug_bfd): Look for separate debug file in
67 sysroot.
68
c6f4a5d0
AB
692019-02-22 Andrew Burgess <andrew.burgess@embecosm.com>
70
71 * gdbarch.sh: Update the copyright year range that is placed into
72 generated files.
73
9600246d
KS
742019-02-22 Keith Seitz <keiths@redhat.com>
75
76 PR symtab/23853
77 * linespec.c (create_sals_line_offset): Search for the default
78 symtab's filename instead of its fullname.
79
7557a514
AH
802019-02-21 Alan Hayward <alan.hayward@arm.com>
81
82 * NEWS: Update style defaults.
83
ee2bcb0c
AH
842019-02-21 Alan Hayward <alan.hayward@arm.com>
85
86 * main.c (captured_main_1): Disable styling in batch mode.
87
0c95f9ed
TT
882019-02-20 Tom Tromey <tom@tromey.com>
89
90 * symtab.c (symtab_symbol_info): Fix typos.
91
c763b894
TT
922019-02-20 Tom Tromey <tromey@adacore.com>
93
94 * findcmd.c (_initialize_mem_search): Use upper case for
95 metasyntactic variables.
96
0ef8a082
AH
972019-02-20 Alan Hayward <alan.hayward@arm.com>
98
99 * aarch64-tdep.c (aarch64_add_reggroups): New function.
100 (aarch64_gdbarch_init): Call aarch64_add_reggroups.
101
6caa91b6
SM
1022019-02-19 Simon Marchi <simon.marchi@polymtl.ca>
103
104 * top.h (source_file_name): Change to std::string.
105 * top.c (source_file_name): Likewise.
106 (command_line_input): Adjust.
107 * cli/cli-script.c (script_from_file): Adjust.
108
98814c6c
TT
1092019-02-19 Tom Tromey <tromey@adacore.com>
110
111 * ravenscar-thread.c
112 (ravenscar_thread_target::update_thread_list): Don't call
113 ada_build_task_list.
114 * ada-lang.h (ada_build_task_list): Don't declare.
115 * ada-tasks.c (struct ada_tasks_inferior_data)
116 <task_list_valid_p>: Now bool.
117 (read_known_tasks, ada_task_list_changed)
118 (ada_tasks_invalidate_inferior_data): Update.
119 (read_known_tasks_array): Return bool.
120 (read_known_tasks_list): Likewise.
121 (read_known_tasks): Return void.
122 (ada_build_task_list): Now static.
123
70cd633e
AB
1242019-02-18 Andrew Burgess <andrew.burgess@embecosm.com>
125
126 * gdbtypes.c (type_align): Allow alignment of TYPE_CODE_METHODPTR
127 and TYPE_CODE_MEMBERPTR to be overridden by the gdbarch.
128
040b3e95
PW
1292019-02-18 Philippe Waroquiers <philippe.waroquiers@skynet.be>
130
131 * ada-task.c (_initialize_tasks): Use 'with_cleanup' register
132 variant for ada_tasks_pspace_data_handle and
133 ada_tasks_inferior_data_handle.
134 (ada_tasks_pspace_data_cleanup): New function.
135 (ada_tasks_inferior_data_cleanup): New function.
136
9409233b
TT
1372019-02-17 Tom Tromey <tom@tromey.com>
138
139 * macrotab.h (macro_source_fullname): Return a std::string.
140 * macrotab.c (macro_include, check_for_redefinition)
141 (macro_undef, macro_lookup_definition, foreach_macro)
142 (foreach_macro_in_scope): Update.
143 (macro_source_fullname): Return a std::string.
144 * macrocmd.c (show_pp_source_pos): Update.
145
6506371f
TT
1462019-02-17 Tom Tromey <tom@tromey.com>
147
148 * macrocmd.c (show_pp_source_pos): Style the file names.
149
0c820d67
TT
1502019-02-17 Tom Tromey <tom@tromey.com>
151
152 PR tui/24197:
153 * tui/tui-source.c (tui_set_source_content_nil): Rewrite.
154
a0087920
TT
1552019-02-17 Tom Tromey <tom@tromey.com>
156
157 * ada-lang.c (user_select_syms): Use filtered printing.
158 * utils.c (wrap_style): New global.
159 (desired_style): Remove.
160 (emit_style_escape): Add stream parameter.
161 (set_output_style, reset_terminal_style, prompt_for_continue):
162 Update.
163 (flush_wrap_buffer): Only flush gdb_stdout.
164 (wrap_here): Set wrap_style.
165 (fputs_maybe_filtered): Clear the wrap buffer on exception. Don't
166 treat escape sequences as a character. Change when wrap buffer is
167 flushed.
168 (fputs_styled): Do not set the output style when the default is
169 requested.
170 * ui-style.h (struct ui_file_style) <is_default>: New method.
171 * source.c (print_source_lines_base): Emit escape sequences in one
172 piece.
173
75ba10dc
JB
1742019-02-17 Joel Brobecker <brobecker@adacore.com>
175
176 * gdbtypes.c (type_align): Handle TYPE_CODE_RANGE the same as
177 integers and enumeration types.
178
a2cd4f14
JB
1792019-02-17 Joel Brobecker <brobecker@adacore.com>
180
181 * ada-lang.c (standard_lookup): Use ada_lookup_encoded_symbol
182 instead of lookup_symbol_in_language
183 (do_exact_match): New function.
184 (ada_get_symbol_name_matcher): Return do_exact_match when
185 doing a verbatim match.
186
485b851b
TT
1872019-02-15 Tom Tromey <tromey@adacore.com>
188
189 * ravenscar-thread.c (ravenscar_thread_target::resume)
190 (ravenscar_thread_target::wait): Special case wildcard requests.
191
0b790b1e
TT
1922019-02-15 Tom Tromey <tromey@adacore.com>
193
194 * ravenscar-thread.c (base_ptid): Remove.
195 (struct ravenscar_thread_target) <close>: New method.
196 <m_base_ptid>: New member.
197 <update_inferior_ptid, active_task, task_is_currently_active,
198 runtime_initialized>: Declare methods.
199 <ravenscar_thread_target>: Add constructor.
200 (ravenscar_thread_target::task_is_currently_active)
201 (ravenscar_thread_target::update_inferior_ptid)
202 (ravenscar_runtime_initialized): Rename. Now methods.
203 (ravenscar_thread_target::resume, ravenscar_thread_target::wait)
204 (ravenscar_thread_target::update_thread_list): Update.
205 (ravenscar_thread_target::active_task): Now method.
206 (ravenscar_thread_target::store_registers)
207 (ravenscar_thread_target::prepare_to_store)
208 (ravenscar_thread_target::prepare_to_store)
209 (ravenscar_thread_target::mourn_inferior): Update.
210 (ravenscar_inferior_created): Use "new" to create target.
211 (ravenscar_thread_target::get_ada_task_ptid): Update.
212 (_initialize_ravenscar): Don't initialize base_ptid.
213 (ravenscar_ops): Remove global.
214
dea57a62
TT
2152019-02-15 Tom Tromey <tromey@adacore.com>
216
217 * target.h (push_target): Declare new overload.
218 * target.c (push_target): New overload, taking an rvalue reference.
219 * remote.c (remote_target::open_1): Use push_target overload.
220 * corelow.c (core_target_open): Use push_target overload.
221
989f3c58
TT
2222019-02-15 Tom Tromey <tromey@adacore.com>
223
224 * ravenscar-thread.c (is_ravenscar_task)
225 (ravenscar_task_is_currently_active): Return bool.
226 (ravenscar_update_inferior_ptid, get_running_thread_msymbol)
227 (_initialize_ravenscar): Remove "(void)".
228 (has_ravenscar_runtime, ravenscar_runtime_initialized): Likewise.
229 Return bool.
230
6cbcc006
TT
2312019-02-15 Tom Tromey <tromey@adacore.com>
232
233 * ravenscar-thread.c (ravenscar_runtime_initializer)
234 (has_ravenscar_runtime, get_running_thread_id)
235 (ravenscar_thread_target::resume): Fix indentation.
236
7657f14d
TT
2372019-02-15 Tom Tromey <tromey@adacore.com>
238
239 * sparc-ravenscar-thread.c (struct sparc_ravenscar_ops): Derive
240 from ravenscar_arch_ops.
241 (sparc_ravenscar_ops::fetch_registers)
242 (sparc_ravenscar_ops::store_registers): Now methods.
243 (sparc_ravenscar_prepare_to_store): Remove.
244 (sparc_ravenscar_ops): Redefine.
245 * ravenscar-thread.h (struct ravenscar_arch_ops): Add virtual
246 methods and destructor. Remove members.
247 * ravenscar-thread.c (ravenscar_thread_target::fetch_registers)
248 (ravenscar_thread_target::store_registers)
249 (ravenscar_thread_target::prepare_to_store): Update.
250 * ppc-ravenscar-thread.c (ppc_ravenscar_generic_prepare_to_store):
251 Remove.
252 (struct ppc_ravenscar_powerpc_ops): Derive from
253 ravenscar_arch_ops.
254 (ppc_ravenscar_powerpc_ops::fetch_registers)
255 (ppc_ravenscar_powerpc_ops::store_registers): Now methods.
256 (ppc_ravenscar_powerpc_ops): Redefine.
257 (struct ppc_ravenscar_e500_ops): Derive from ravenscar_arch_ops.
258 (ppc_ravenscar_e500_ops::fetch_registers)
259 (ppc_ravenscar_e500_ops::store_registers): Now methods.
260 (ppc_ravenscar_e500_ops): Redefine.
261 * aarch64-ravenscar-thread.c
262 (aarch64_ravenscar_generic_prepare_to_store): Remove.
263 (struct aarch64_ravenscar_ops): Derive from ravenscar_arch_ops.
264 (aarch64_ravenscar_fetch_registers)
265 (aarch64_ravenscar_store_registers): Now methods.
266 (aarch64_ravenscar_ops): Redefine.
267
5b6ea500
TT
2682019-02-15 Tom Tromey <tromey@adacore.com>
269
270 * ravenscar-thread.c (ravenscar_thread_target::stopped_by_sw_breakpoint)
271 (ravenscar_thread_target::stopped_by_hw_breakpoint)
272 (ravenscar_thread_target::stopped_by_watchpoint)
273 (ravenscar_thread_target::stopped_data_address)
274 (ravenscar_thread_target::core_of_thread): Use scoped_restore.
275
e397fd39
TT
2762019-02-15 Tom Tromey <tromey@adacore.com>
277
278 * ravenscar-thread.c: Fix some typos.
279
cc12f4a8
TT
2802019-02-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
281 Tom Tromey <tromey@adacore.com>
282
283 * ada-lang.c (ada_exception_sal): Change addr_string to a
284 std::string.
285 (create_ada_exception_catchpoint): Update.
286
5f486660
TT
2872019-02-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
288 Tom Tromey <tromey@adacore.com>
289
290 * breakpoint.c (~bp_location): Rename from bp_location_dtor.
291 (bp_location_ops): Remove.
292 (base_breakpoint_allocate_location): Update.
293 (free_bp_location): Update.
294 * ada-lang.c (class ada_catchpoint_location)
295 <ada_catchpoint_location>: Remove ops parameter.
296 (ada_catchpoint_location_dtor): Remove.
297 (ada_catchpoint_location_ops): Remove.
298 (allocate_location_exception): Update.
299 * breakpoint.h (struct bp_location_ops): Remove.
300 (class bp_location) <bp_location>: Remove bp_location_ops
301 parameter.
302 <~bp_location>: Add destructor.
303 <ops>: Remove.
304
b671c7fb
TS
3052019-02-14 Thomas Schwinge <thomas@codesourcery.com>
306 Pedro Alves <palves@redhat.com>
307
308 * remote.c (remote_target::remote_parse_stop_reply): Avoid using
309 'PATH_MAX'.
310
8071c5ce
DM
3112019-02-14 David Michael <fedora.dm0@gmail.com>
312 Samuel Thibault <samuel.thibault@gnu.org>
313 Thomas Schwinge <thomas@codesourcery.com>
314
315 * gnu-nat.c (S_proc_getmsgport_reply, S_proc_task2proc_reply)
316 (S_proc_pid2proc_reply): Adjust to Hurd "proc" interface changes.
317
b1041ae0
TS
3182019-02-14 Thomas Schwinge <thomas@codesourcery.com>
319
924514e1
TS
320 * gnu-nat.c (gnu_write_inferior, parse_int_arg, _parse_bool_arg)
321 (check_empty): Use "const char *".
322
c29ee8d4
TS
323 * gnu-nat.c (gnu_nat_target::detach): Instead of
324 'detach_inferior (pid)' call
325 'detach_inferior (find_inferior_pid (pid))'.
326
6c6ef69f
TS
327 * configure.nat [gdb_host == i386gnu] (NATDEPFILES): Add
328 'nat/fork-inferior.o'.
329 * gnu-nat.c: #include "nat/fork-inferior.h".
330
2d0a338c
TS
331 * gnu-nat.c (gnu_nat_target::detach): Instead of
332 'inf_child_maybe_unpush_target (ops)' call 'maybe_unpush_target'.
333 * gnu-nat.h: #include "inf-child.h".
334 * i386-gnu-nat.c (gnu_fetch_registers): Rename/move to
335 'i386_gnu_nat_target::fetch_registers'.
336 (gnu_store_registers): Rename/move to
337 'i386_gnu_nat_target::store_registers'.
338
cabb5f06
TS
339 * config/i386/nm-i386gnu.h: Don't "#include" any files.
340 * gnu-nat.h (mach_thread_info): New function.
341 * gnu-nat.c (thread_takeover_sc_cmd): Use it.
342
b1041ae0
TS
343 * config/i386/nm-i386gnu.h (gnu_target_pid_to_str): Remove.
344
2988d01e
KF
3452019-02-14 Frederic Konrad <konrad@adacore.com>
346
347 * riscv-rdep.c (riscv_type_alignment): Handle TYPE_CODE_RANGE.
348
c559d709
JB
3492019-02-14 Joel Brobecker <brobecker@adacore.com>
350
351 * windows-nat.c (windows_add_thread): Add new parameter
352 "main_thread_p" with default value set to false. Update
353 function documentation as well as all callers.
354 (windows_delete_thread): Likewise.
355 (fake_create_process): Update call to windows_add_thread.
356 (get_windows_debug_event) <CREATE_THREAD_DEBUG_EVENT>
357 <CREATE_PROCESS_DEBUG_EVENT>: Likewise.
358 <EXIT_THREAD_DEBUG_EVENT, EXIT_PROCESS_DEBUG_EVENT>: Update
359 call to windows_delete_thread.
360
007024cc
SM
3612019-02-13 Simon Marchi <simon.marchi@ericsson.com>
362
363 * MAINTAINERS: Add Andrew Burgess as global maintainer.
364
f62318e9
JB
3652019-02-12 John Baldwin <jhb@FreeBSD.org>
366
367 * symfile.c (find_separate_debug_file): Use canonical path of
368 sysroot with child_path instead of gdb_sysroot if it is valid.
369
cd4b7848
JB
3702019-02-12 John Baldwin <jhb@FreeBSD.org>
371
372 * symfile.c (find_separate_debug_file): Use child_path to
373 determine if an object file is under a sysroot.
374
efac4bfe
JB
3752019-02-12 John Baldwin <jhb@FreeBSD.org>
376
377 * Makefile.in (SUBDIR_UNITTESTS_SRCS): Add
378 unittests/child-path-selftests.c.
379 * common/pathstuff.c (child_path): New function.
380 * common/pathstuff.h (child_path): New prototype.
381 * unittests/child-path-selftests.c: New file.
382
402d2bfe
JB
3832019-02-12 John Baldwin <jhb@FreeBSD.org>
384
385 * symfile.c (find_separate_debug_file): Look for separate debug
386 files in debug directories under the sysroot.
387
1ed9f74e
PW
3882019-02-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
389
390 * symtab.h (struct minimal_symbol data_p): New const method.
391 (struct minimal_symbol text_p): Likewise.
392 * symtab.c (output_source_filename): Use file name style
393 to print file name.
394 (print_symbol_info): Likewise.
395 (print_msymbol_info): Use address style to print addresses.
396 Use function name style to print executable text symbols.
397 (expand_symtab_containing_pc): Use data_p.
398 (find_pc_sect_compunit_symtab): Likewise.
399
2636d81d
PW
4002019-02-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
401
402 * breakpoint.c (describe_other_breakpoints): Use address style
403 to print addresses.
404 (say_where): Likewise.
405
ac8c53cc
PW
4062019-02-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
407
408 * ada-typeprint.c (print_func_type): Print function name
409 style to print function name.
410 * c-typeprint.c (c_print_type_1): Likewise.
411
ea638c43
AH
4122019-02-11 Alan Hayward <alan.hayward@arm.com>
413
414 * aarch64-linux-tdep.c (aarch64_linux_get_syscall_number): Check
415 for execve.
416
ab759ca8
PW
4172019-02-10 Philippe Waroquiers <philippe.waroquiers@skynet.be>
418
419 * c-exp.y (direct_abs_decl): Use emplace_back to record the
420 type_stack.
421
aff29d1c
JB
4222019-02-10 Joel Brobecker <brobecker@adacore.com>
423
424 * ada-varobj.c (ada_value_is_changeable_p): Add handling of
425 TYPE_CODE_REF types.
426
617126bc
JW
4272019-02-08 Jim Wilson <jimw@sifive.com>
428
429 * riscv-linux-tdep.c (riscv_linux_fregmap): New.
430 (riscv_linux_fregset): New.
431 (riscv_linux_iterate_over_regset_sections): Call cb for .reg2 section.
432
46e3ed7f
TT
4332019-02-07 Tom Tromey <tom@tromey.com>
434
435 * thread.c (thread_cancel_execution_command): Update.
436 * thread-fsm.h (struct thread_fsm): Add constructor, destructor,
437 methods.
438 (struct thread_fsm_ops): Remove.
439 (thread_fsm_ctor, thread_fsm_delete, thread_fsm_clean_up)
440 (thread_fsm_should_stop, thread_fsm_return_value)
441 (thread_fsm_set_finished, thread_fsm_finished_p)
442 (thread_fsm_async_reply_reason, thread_fsm_should_notify_stop):
443 Don't declare.
444 * mi/mi-interp.c (mi_on_normal_stop_1): Update.
445 * infrun.c (clear_proceed_status_thread)
446 (clean_up_just_stopped_threads_fsms, fetch_inferior_event)
447 (print_stop_event): Update.
448 * infcmd.c (struct step_command_fsm): Inherit from thread_fsm.
449 Add constructor.
450 (step_command_fsm_ops): Remove.
451 (new_step_command_fsm): Remove.
452 (step_1): Update.
453 (step_command_fsm::should_stop): Rename from
454 step_command_fsm_should_stop.
455 (step_command_fsm::clean_up): Rename from
456 step_command_fsm_clean_up.
457 (step_command_fsm::do_async_reply_reason): Rename from
458 step_command_fsm_async_reply_reason.
459 (struct until_next_fsm): Inherit from thread_fsm. Add
460 constructor.
461 (until_next_fsm_ops): Remove.
462 (new_until_next_fsm): Remove.
463 (until_next_fsm::should_stop): Rename from
464 until_next_fsm_should_stop.
465 (until_next_fsm::clean_up): Rename from until_next_fsm_clean_up.
466 (until_next_fsm::do_async_reply_reason): Rename from
467 until_next_fsm_async_reply_reason.
468 (struct finish_command_fsm): Inherit from thread_fsm. Add
469 constructor. Change type of breakpoint.
470 (finish_command_fsm_ops): Remove.
471 (new_finish_command_fsm): Remove.
472 (finish_command_fsm::should_stop): Rename from
473 finish_command_fsm_should_stop.
474 (finish_command_fsm::clean_up): Rename from
475 finish_command_fsm_clean_up.
476 (finish_command_fsm::return_value): Rename from
477 finish_command_fsm_return_value.
478 (finish_command_fsm::do_async_reply_reason): Rename from
479 finish_command_fsm_async_reply_reason.
480 (finish_command): Update.
481 * infcall.c (struct call_thread_fsm): Inherit from thread_fsm.
482 Add constructor.
483 (call_thread_fsm_ops): Remove.
484 (call_thread_fsm::call_thread_fsm): Rename from
485 new_call_thread_fsm.
486 (call_thread_fsm::should_stop): Rename from
487 call_thread_fsm_should_stop.
488 (call_thread_fsm::should_notify_stop): Rename from
489 call_thread_fsm_should_notify_stop.
490 (run_inferior_call, call_function_by_hand_dummy): Update.
491 * cli/cli-interp.c (should_print_stop_to_console): Update.
492 * breakpoint.c (struct until_break_fsm): Inherit from thread_fsm.
493 Add constructor. Change type of location_breakpoint,
494 caller_breakpoint.
495 (until_break_fsm_ops): Remove.
496 (new_until_break_fsm): Remove.
497 (until_break_fsm::should_stop): Rename from
498 until_break_fsm_should_stop.
499 (until_break_fsm::clean_up): Rename from
500 until_break_fsm_clean_up.
501 (until_break_fsm::do_async_reply_reason): Rename from
502 until_break_fsm_async_reply_reason.
503 (until_break_command): Update.
504 * thread-fsm.c: Remove.
505 * Makefile.in (COMMON_SFILES): Remove thread-fsm.c.
506
1a5c2598
TT
5072019-02-07 Tom Tromey <tom@tromey.com>
508
509 * yy-remap.h: Add include guard.
510 * xtensa-tdep.h: Add include guard.
511 * xcoffread.h: Rename include guard.
512 * varobj-iter.h: Add include guard.
513 * tui/tui.h: Rename include guard.
514 * tui/tui-winsource.h: Rename include guard.
515 * tui/tui-wingeneral.h: Rename include guard.
516 * tui/tui-windata.h: Rename include guard.
517 * tui/tui-win.h: Rename include guard.
518 * tui/tui-stack.h: Rename include guard.
519 * tui/tui-source.h: Rename include guard.
520 * tui/tui-regs.h: Rename include guard.
521 * tui/tui-out.h: Rename include guard.
522 * tui/tui-layout.h: Rename include guard.
523 * tui/tui-io.h: Rename include guard.
524 * tui/tui-hooks.h: Rename include guard.
525 * tui/tui-file.h: Rename include guard.
526 * tui/tui-disasm.h: Rename include guard.
527 * tui/tui-data.h: Rename include guard.
528 * tui/tui-command.h: Rename include guard.
529 * tic6x-tdep.h: Add include guard.
530 * target/waitstatus.h: Rename include guard.
531 * target/wait.h: Rename include guard.
532 * target/target.h: Rename include guard.
533 * target/resume.h: Rename include guard.
534 * target-float.h: Rename include guard.
535 * stabsread.h: Add include guard.
536 * rs6000-tdep.h: Add include guard.
537 * riscv-fbsd-tdep.h: Add include guard.
538 * regformats/regdef.h: Rename include guard.
539 * record.h: Rename include guard.
540 * python/python.h: Rename include guard.
541 * python/python-internal.h: Rename include guard.
542 * python/py-stopevent.h: Rename include guard.
543 * python/py-ref.h: Rename include guard.
544 * python/py-record.h: Rename include guard.
545 * python/py-record-full.h: Rename include guard.
546 * python/py-record-btrace.h: Rename include guard.
547 * python/py-instruction.h: Rename include guard.
548 * python/py-events.h: Rename include guard.
549 * python/py-event.h: Rename include guard.
550 * procfs.h: Add include guard.
551 * proc-utils.h: Add include guard.
552 * p-lang.h: Add include guard.
553 * or1k-tdep.h: Rename include guard.
554 * observable.h: Rename include guard.
555 * nto-tdep.h: Rename include guard.
556 * nat/x86-linux.h: Rename include guard.
557 * nat/x86-linux-dregs.h: Rename include guard.
558 * nat/x86-gcc-cpuid.h: Add include guard.
559 * nat/x86-dregs.h: Rename include guard.
560 * nat/x86-cpuid.h: Rename include guard.
561 * nat/ppc-linux.h: Rename include guard.
562 * nat/mips-linux-watch.h: Rename include guard.
563 * nat/linux-waitpid.h: Rename include guard.
564 * nat/linux-ptrace.h: Rename include guard.
565 * nat/linux-procfs.h: Rename include guard.
566 * nat/linux-osdata.h: Rename include guard.
567 * nat/linux-nat.h: Rename include guard.
568 * nat/linux-namespaces.h: Rename include guard.
569 * nat/linux-btrace.h: Rename include guard.
570 * nat/glibc_thread_db.h: Rename include guard.
571 * nat/gdb_thread_db.h: Rename include guard.
572 * nat/gdb_ptrace.h: Rename include guard.
573 * nat/fork-inferior.h: Rename include guard.
574 * nat/amd64-linux-siginfo.h: Rename include guard.
575 * nat/aarch64-sve-linux-sigcontext.h: Rename include guard.
576 * nat/aarch64-sve-linux-ptrace.h: Rename include guard.
577 * nat/aarch64-linux.h: Rename include guard.
578 * nat/aarch64-linux-hw-point.h: Rename include guard.
579 * mn10300-tdep.h: Add include guard.
580 * mips-linux-tdep.h: Add include guard.
581 * mi/mi-parse.h: Rename include guard.
582 * mi/mi-out.h: Rename include guard.
583 * mi/mi-main.h: Rename include guard.
584 * mi/mi-interp.h: Rename include guard.
585 * mi/mi-getopt.h: Rename include guard.
586 * mi/mi-console.h: Rename include guard.
587 * mi/mi-common.h: Rename include guard.
588 * mi/mi-cmds.h: Rename include guard.
589 * mi/mi-cmd-break.h: Rename include guard.
590 * m2-lang.h: Add include guard.
591 * location.h: Rename include guard.
592 * linux-record.h: Rename include guard.
593 * linux-nat.h: Add include guard.
594 * linux-fork.h: Add include guard.
595 * i386-darwin-tdep.h: Rename include guard.
596 * hppa-linux-offsets.h: Add include guard.
597 * guile/guile.h: Rename include guard.
598 * guile/guile-internal.h: Rename include guard.
599 * gnu-nat.h: Rename include guard.
600 * gdb-stabs.h: Rename include guard.
601 * frv-tdep.h: Add include guard.
602 * f-lang.h: Add include guard.
603 * event-loop.h: Add include guard.
604 * darwin-nat.h: Rename include guard.
605 * cp-abi.h: Rename include guard.
606 * config/sparc/nm-sol2.h: Rename include guard.
607 * config/nm-nto.h: Rename include guard.
608 * config/nm-linux.h: Add include guard.
609 * config/i386/nm-i386gnu.h: Rename include guard.
610 * config/djgpp/nl_types.h: Rename include guard.
611 * config/djgpp/langinfo.h: Rename include guard.
612 * compile/gcc-cp-plugin.h: Add include guard.
613 * compile/gcc-c-plugin.h: Add include guard.
614 * compile/compile.h: Rename include guard.
615 * compile/compile-object-run.h: Rename include guard.
616 * compile/compile-object-load.h: Rename include guard.
617 * compile/compile-internal.h: Rename include guard.
618 * compile/compile-cplus.h: Rename include guard.
619 * compile/compile-c.h: Rename include guard.
620 * common/xml-utils.h: Rename include guard.
621 * common/x86-xstate.h: Rename include guard.
622 * common/version.h: Rename include guard.
623 * common/vec.h: Rename include guard.
624 * common/tdesc.h: Rename include guard.
625 * common/selftest.h: Rename include guard.
626 * common/scoped_restore.h: Rename include guard.
627 * common/scoped_mmap.h: Rename include guard.
628 * common/scoped_fd.h: Rename include guard.
629 * common/safe-iterator.h: Rename include guard.
630 * common/run-time-clock.h: Rename include guard.
631 * common/refcounted-object.h: Rename include guard.
632 * common/queue.h: Rename include guard.
633 * common/ptid.h: Rename include guard.
634 * common/print-utils.h: Rename include guard.
635 * common/preprocessor.h: Rename include guard.
636 * common/pathstuff.h: Rename include guard.
637 * common/observable.h: Rename include guard.
638 * common/netstuff.h: Rename include guard.
639 * common/job-control.h: Rename include guard.
640 * common/host-defs.h: Rename include guard.
641 * common/gdb_wait.h: Rename include guard.
642 * common/gdb_vecs.h: Rename include guard.
643 * common/gdb_unlinker.h: Rename include guard.
644 * common/gdb_unique_ptr.h: Rename include guard.
645 * common/gdb_tilde_expand.h: Rename include guard.
646 * common/gdb_sys_time.h: Rename include guard.
647 * common/gdb_string_view.h: Rename include guard.
648 * common/gdb_splay_tree.h: Rename include guard.
649 * common/gdb_setjmp.h: Rename include guard.
650 * common/gdb_ref_ptr.h: Rename include guard.
651 * common/gdb_optional.h: Rename include guard.
652 * common/gdb_locale.h: Rename include guard.
653 * common/gdb_assert.h: Rename include guard.
654 * common/filtered-iterator.h: Rename include guard.
655 * common/filestuff.h: Rename include guard.
656 * common/fileio.h: Rename include guard.
657 * common/environ.h: Rename include guard.
658 * common/common-utils.h: Rename include guard.
659 * common/common-types.h: Rename include guard.
660 * common/common-regcache.h: Rename include guard.
661 * common/common-inferior.h: Rename include guard.
662 * common/common-gdbthread.h: Rename include guard.
663 * common/common-exceptions.h: Rename include guard.
664 * common/common-defs.h: Rename include guard.
665 * common/common-debug.h: Rename include guard.
666 * common/cleanups.h: Rename include guard.
667 * common/buffer.h: Rename include guard.
668 * common/btrace-common.h: Rename include guard.
669 * common/break-common.h: Rename include guard.
670 * cli/cli-utils.h: Rename include guard.
671 * cli/cli-style.h: Rename include guard.
672 * cli/cli-setshow.h: Rename include guard.
673 * cli/cli-script.h: Rename include guard.
674 * cli/cli-interp.h: Rename include guard.
675 * cli/cli-decode.h: Rename include guard.
676 * cli/cli-cmds.h: Rename include guard.
677 * charset-list.h: Add include guard.
678 * buildsym-legacy.h: Rename include guard.
679 * bfin-tdep.h: Add include guard.
680 * ax.h: Rename include guard.
681 * arm-linux-tdep.h: Add include guard.
682 * arm-fbsd-tdep.h: Add include guard.
683 * arch/xtensa.h: Rename include guard.
684 * arch/tic6x.h: Add include guard.
685 * arch/i386.h: Add include guard.
686 * arch/arm.h: Rename include guard.
687 * arch/arm-linux.h: Rename include guard.
688 * arch/arm-get-next-pcs.h: Rename include guard.
689 * arch/amd64.h: Add include guard.
690 * arch/aarch64-insn.h: Rename include guard.
691 * arch-utils.h: Rename include guard.
692 * annotate.h: Add include guard.
693 * amd64-darwin-tdep.h: Rename include guard.
694 * aarch64-linux-tdep.h: Add include guard.
695 * aarch64-fbsd-tdep.h: Add include guard.
696 * aarch32-linux-nat.h: Add include guard.
697
ab9268d2
PW
6982019-02-06 Philippe Waroquiers <philippe.waroquiers@skynet.be>
699
700 * macrotab.c (macro_define_internal): New function that
701 factorizes macro_define_object_internal and macro_define_function
702 code.
703 (macro_define_object_internal): Use macro_define_internal.
704 (macro_define_function): Likewise.
705
bb0da2b4
PW
7062019-02-06 Philippe Waroquiers <philippe.waroquiers@skynet.be>
707
708 * macrocmd.c (extract_identifier): Return
709 a gdb::unique_xmalloc_ptr<char> instead of a char *, and update
710 callers.
711
424eb552
JB
7122019-02-06 John Baldwin <jhb@FreeBSD.org>
713
714 * fbsd-nat.c (fbsd_fetch_cmdline): Join arguments with spaces.
715
1688cb29
TT
7162019-02-05 Tom Tromey <tom@tromey.com>
717
718 * target.c (target_stack::unpush): Move assertion earlier.
719
b5eba2d8
TT
7202019-01-30 Tom Tromey <tom@tromey.com>
721
722 PR python/23615:
723 * python/python.c (execute_gdb_command): Use gdbpy_allow_threads.
724 (gdbpy_parse_and_eval): Likewise.
725 * python/python-internal.h (gdbpy_allow_threads): New class.
726
7054e2ff
JB
7272019-01-28 John Baldwin <jhb@FreeBSD.org>
728
729 * aarch64-fbsd-tdep.c (aarch64_fbsd_gregmap)
730 (aarch64_fbsd_fpregmap): Move earlier.
731 (AARCH64_MCONTEXT_REG_SIZE, AARCH64_MCONTEXT_FPREG_SIZE): Delete.
732 (aarch64_fbsd_sigframe_init): Use trad_frame_set_reg_regmap
733 instead of individual calls to trad_frame_set_reg_addr.
734 * arm-fbsd-tdep.c (arm_fbsd_gregmap, arm_fbsd_vfpregmap): Move
735 earlier.
736 (ARM_MCONTEXT_REG_SIZE, ARM_MCONTEXT_VFP_REG_SIZE): Delete.
737 (arm_fbsd_sigframe_init): Use trad_frame_set_reg_regmap
738 instead of individual calls to trad_frame_set_reg_addr.
739
36c25ffa
AH
7402019-01-28 Alan Hayward <alan.hayward@arm.com>
741
742 * CONTRIBUTE: Replace contribution list with wiki link.
743
a0707f3c
TT
7442019-01-25 Tom Tromey <tom@tromey.com>
745
746 * Makefile.in (GDB_CFLAGS): Don't add -I for common.
747
0747795c
TT
7482019-01-25 Tom Tromey <tom@tromey.com>
749
750 * xtensa-linux-nat.c: Fix common/ includes.
751 * xml-support.h: Fix common/ includes.
752 * xml-support.c: Fix common/ includes.
753 * x86-linux-nat.c: Fix common/ includes.
754 * windows-nat.c: Fix common/ includes.
755 * varobj.h: Fix common/ includes.
756 * varobj.c: Fix common/ includes.
757 * value.c: Fix common/ includes.
758 * valops.c: Fix common/ includes.
759 * utils.c: Fix common/ includes.
760 * unittests/xml-utils-selftests.c: Fix common/ includes.
761 * unittests/utils-selftests.c: Fix common/ includes.
762 * unittests/unpack-selftests.c: Fix common/ includes.
763 * unittests/tracepoint-selftests.c: Fix common/ includes.
764 * unittests/style-selftests.c: Fix common/ includes.
765 * unittests/string_view-selftests.c: Fix common/ includes.
766 * unittests/scoped_restore-selftests.c: Fix common/ includes.
767 * unittests/scoped_mmap-selftests.c: Fix common/ includes.
768 * unittests/scoped_fd-selftests.c: Fix common/ includes.
769 * unittests/rsp-low-selftests.c: Fix common/ includes.
770 * unittests/parse-connection-spec-selftests.c: Fix common/
771 includes.
772 * unittests/optional-selftests.c: Fix common/ includes.
773 * unittests/offset-type-selftests.c: Fix common/ includes.
774 * unittests/observable-selftests.c: Fix common/ includes.
775 * unittests/mkdir-recursive-selftests.c: Fix common/ includes.
776 * unittests/memrange-selftests.c: Fix common/ includes.
777 * unittests/memory-map-selftests.c: Fix common/ includes.
778 * unittests/lookup_name_info-selftests.c: Fix common/ includes.
779 * unittests/function-view-selftests.c: Fix common/ includes.
780 * unittests/environ-selftests.c: Fix common/ includes.
781 * unittests/copy_bitwise-selftests.c: Fix common/ includes.
782 * unittests/common-utils-selftests.c: Fix common/ includes.
783 * unittests/cli-utils-selftests.c: Fix common/ includes.
784 * unittests/array-view-selftests.c: Fix common/ includes.
785 * ui-file.c: Fix common/ includes.
786 * tui/tui-io.c: Fix common/ includes.
787 * tracepoint.h: Fix common/ includes.
788 * tracepoint.c: Fix common/ includes.
789 * tracefile-tfile.c: Fix common/ includes.
790 * top.h: Fix common/ includes.
791 * top.c: Fix common/ includes.
792 * thread.c: Fix common/ includes.
793 * target/waitstatus.h: Fix common/ includes.
794 * target/waitstatus.c: Fix common/ includes.
795 * target.h: Fix common/ includes.
796 * target.c: Fix common/ includes.
797 * target-memory.c: Fix common/ includes.
798 * target-descriptions.c: Fix common/ includes.
799 * symtab.h: Fix common/ includes.
800 * symfile.c: Fix common/ includes.
801 * stap-probe.c: Fix common/ includes.
802 * spu-linux-nat.c: Fix common/ includes.
803 * sparc-nat.c: Fix common/ includes.
804 * source.c: Fix common/ includes.
805 * solib.c: Fix common/ includes.
806 * solib-target.c: Fix common/ includes.
807 * ser-unix.c: Fix common/ includes.
808 * ser-tcp.c: Fix common/ includes.
809 * ser-pipe.c: Fix common/ includes.
810 * ser-base.c: Fix common/ includes.
811 * selftest-arch.c: Fix common/ includes.
812 * s12z-tdep.c: Fix common/ includes.
813 * rust-exp.y: Fix common/ includes.
814 * rs6000-aix-tdep.c: Fix common/ includes.
815 * riscv-tdep.c: Fix common/ includes.
816 * remote.c: Fix common/ includes.
817 * remote-notif.h: Fix common/ includes.
818 * remote-fileio.h: Fix common/ includes.
819 * remote-fileio.c: Fix common/ includes.
820 * regcache.h: Fix common/ includes.
821 * regcache.c: Fix common/ includes.
822 * record-btrace.c: Fix common/ includes.
823 * python/python.c: Fix common/ includes.
824 * python/py-type.c: Fix common/ includes.
825 * python/py-inferior.c: Fix common/ includes.
826 * progspace.h: Fix common/ includes.
827 * producer.c: Fix common/ includes.
828 * procfs.c: Fix common/ includes.
829 * proc-api.c: Fix common/ includes.
830 * printcmd.c: Fix common/ includes.
831 * ppc-linux-nat.c: Fix common/ includes.
832 * parser-defs.h: Fix common/ includes.
833 * osdata.c: Fix common/ includes.
834 * obsd-nat.c: Fix common/ includes.
835 * nat/x86-linux.c: Fix common/ includes.
836 * nat/x86-linux-dregs.c: Fix common/ includes.
837 * nat/x86-dregs.h: Fix common/ includes.
838 * nat/x86-dregs.c: Fix common/ includes.
839 * nat/ppc-linux.c: Fix common/ includes.
840 * nat/mips-linux-watch.h: Fix common/ includes.
841 * nat/mips-linux-watch.c: Fix common/ includes.
842 * nat/linux-waitpid.c: Fix common/ includes.
843 * nat/linux-ptrace.h: Fix common/ includes.
844 * nat/linux-ptrace.c: Fix common/ includes.
845 * nat/linux-procfs.c: Fix common/ includes.
846 * nat/linux-personality.c: Fix common/ includes.
847 * nat/linux-osdata.c: Fix common/ includes.
848 * nat/linux-namespaces.c: Fix common/ includes.
849 * nat/linux-btrace.h: Fix common/ includes.
850 * nat/linux-btrace.c: Fix common/ includes.
851 * nat/fork-inferior.c: Fix common/ includes.
852 * nat/amd64-linux-siginfo.c: Fix common/ includes.
853 * nat/aarch64-sve-linux-ptrace.c: Fix common/ includes.
854 * nat/aarch64-linux.c: Fix common/ includes.
855 * nat/aarch64-linux-hw-point.h: Fix common/ includes.
856 * nat/aarch64-linux-hw-point.c: Fix common/ includes.
857 * namespace.h: Fix common/ includes.
858 * mips-linux-tdep.c: Fix common/ includes.
859 * minsyms.c: Fix common/ includes.
860 * mi/mi-parse.h: Fix common/ includes.
861 * mi/mi-main.c: Fix common/ includes.
862 * mi/mi-cmd-env.c: Fix common/ includes.
863 * memrange.h: Fix common/ includes.
864 * memattr.c: Fix common/ includes.
865 * maint.h: Fix common/ includes.
866 * maint.c: Fix common/ includes.
867 * main.c: Fix common/ includes.
868 * machoread.c: Fix common/ includes.
869 * location.c: Fix common/ includes.
870 * linux-thread-db.c: Fix common/ includes.
871 * linux-nat.c: Fix common/ includes.
872 * linux-fork.c: Fix common/ includes.
873 * inline-frame.c: Fix common/ includes.
874 * infrun.c: Fix common/ includes.
875 * inflow.c: Fix common/ includes.
876 * inferior.h: Fix common/ includes.
877 * inferior.c: Fix common/ includes.
878 * infcmd.c: Fix common/ includes.
879 * inf-ptrace.c: Fix common/ includes.
880 * inf-child.c: Fix common/ includes.
881 * ia64-linux-nat.c: Fix common/ includes.
882 * i387-tdep.c: Fix common/ includes.
883 * i386-tdep.c: Fix common/ includes.
884 * i386-linux-tdep.c: Fix common/ includes.
885 * i386-linux-nat.c: Fix common/ includes.
886 * i386-go32-tdep.c: Fix common/ includes.
887 * i386-fbsd-tdep.c: Fix common/ includes.
888 * i386-fbsd-nat.c: Fix common/ includes.
889 * guile/scm-type.c: Fix common/ includes.
890 * guile/guile.c: Fix common/ includes.
891 * go32-nat.c: Fix common/ includes.
892 * gnu-nat.c: Fix common/ includes.
893 * gdbthread.h: Fix common/ includes.
894 * gdbarch-selftests.c: Fix common/ includes.
895 * gdb_usleep.c: Fix common/ includes.
896 * gdb_select.h: Fix common/ includes.
897 * gdb_bfd.c: Fix common/ includes.
898 * gcore.c: Fix common/ includes.
899 * fork-child.c: Fix common/ includes.
900 * findvar.c: Fix common/ includes.
901 * fbsd-nat.c: Fix common/ includes.
902 * event-top.c: Fix common/ includes.
903 * event-loop.c: Fix common/ includes.
904 * dwarf2read.c: Fix common/ includes.
905 * dwarf2loc.c: Fix common/ includes.
906 * dwarf2-frame.c: Fix common/ includes.
907 * dwarf-index-cache.c: Fix common/ includes.
908 * dtrace-probe.c: Fix common/ includes.
909 * disasm-selftests.c: Fix common/ includes.
910 * defs.h: Fix common/ includes.
911 * csky-tdep.c: Fix common/ includes.
912 * cp-valprint.c: Fix common/ includes.
913 * cp-support.h: Fix common/ includes.
914 * cp-support.c: Fix common/ includes.
915 * corelow.c: Fix common/ includes.
916 * completer.h: Fix common/ includes.
917 * completer.c: Fix common/ includes.
918 * compile/compile.c: Fix common/ includes.
919 * compile/compile-loc2c.c: Fix common/ includes.
920 * compile/compile-cplus-types.c: Fix common/ includes.
921 * compile/compile-cplus-symbols.c: Fix common/ includes.
922 * command.h: Fix common/ includes.
923 * cli/cli-dump.c: Fix common/ includes.
924 * cli/cli-cmds.c: Fix common/ includes.
925 * charset.c: Fix common/ includes.
926 * build-id.c: Fix common/ includes.
927 * btrace.h: Fix common/ includes.
928 * btrace.c: Fix common/ includes.
929 * breakpoint.h: Fix common/ includes.
930 * breakpoint.c: Fix common/ includes.
931 * ax.h:
932 (enum agent_op): Fix common/ includes.
933 * ax-general.c (struct aop_map): Fix common/ includes.
934 * ax-gdb.c: Fix common/ includes.
935 * auxv.c: Fix common/ includes.
936 * auto-load.c: Fix common/ includes.
937 * arm-tdep.c: Fix common/ includes.
938 * arch/riscv.c: Fix common/ includes.
939 * arch/ppc-linux-common.c: Fix common/ includes.
940 * arch/i386.c: Fix common/ includes.
941 * arch/arm.c: Fix common/ includes.
942 * arch/arm-linux.c: Fix common/ includes.
943 * arch/arm-get-next-pcs.c: Fix common/ includes.
944 * arch/amd64.c: Fix common/ includes.
945 * arch/aarch64.c: Fix common/ includes.
946 * arch/aarch64-insn.c: Fix common/ includes.
947 * arch-utils.c: Fix common/ includes.
948 * amd64-windows-tdep.c: Fix common/ includes.
949 * amd64-tdep.c: Fix common/ includes.
950 * amd64-sol2-tdep.c: Fix common/ includes.
951 * amd64-obsd-tdep.c: Fix common/ includes.
952 * amd64-nbsd-tdep.c: Fix common/ includes.
953 * amd64-linux-tdep.c: Fix common/ includes.
954 * amd64-linux-nat.c: Fix common/ includes.
955 * amd64-fbsd-tdep.c: Fix common/ includes.
956 * amd64-fbsd-nat.c: Fix common/ includes.
957 * amd64-dicos-tdep.c: Fix common/ includes.
958 * amd64-darwin-tdep.c: Fix common/ includes.
959 * agent.c: Fix common/ includes.
960 * ada-lang.h: Fix common/ includes.
961 * ada-lang.c: Fix common/ includes.
962 * aarch64-tdep.c: Fix common/ includes.
963
2f5c153e
TT
9642019-01-25 Tom Tromey <tom@tromey.com>
965
966 * common/create-version.sh: Use common/version.h.
967
adc6a863
PA
9682019-01-24 Pedro Alves <palves@redhat.com>
969
970 * infrun.c (signal_stop, signal_print, signal_program)
971 (signal_catch, signal_pass): Now arrays instead of pointers.
972 (update_signals_program_target, do_target_resume)
973 (signal_catch_update, handle_command, _initialize_infrun): Adjust.
974 * linux-nat.c (linux_nat_target::pass_signals)
975 (linux_nat_target::create_inferior, linux_nat_target::attach):
976 Adjust.
977 * linux-nat.h (linux_nat_target::pass_signals): Adjust.
978 * nto-procfs.c (nto_procfs_target::pass_signals): Adjust.
979 * procfs.c (procfs_target::pass_signals): Adjust.
980 * record-full.c (record_full_target::resume): Adjust.
981 * remote.c (remote_target::pass_signals)
982 (remote_target::program_signals): Adjust.
983 * target-debug.h (target_debug_print_signals): Now takes a
984 gdb::array_view as parameter. Adjust.
985 * target.h (target_ops) <pass_signals, program_signals>: Replace
986 pointer and length parameters with gdb::array_view.
987 (target_pass_signals, target_program_signals): Likewise.
988 * target-delegates.c: Regenerate.
989
3046d67a
PA
9902019-01-24 Pedro Alves <palves@redhat.com>
991
992 * common/forward-scope-exit.h
993 (forward_scope_exit::forward_scope_exit): Pass arguments to
994 m_bind_function directly, instead of creating a std::bind and
995 copying that.
996
353229bf
AH
9972019-01-24 Alan Hayward <alan.hayward@arm.com>
998
999 * aarch64-tdep.c (aapcs_is_vfp_call_or_return_candidate_1): Check
1000 for static members.
1001 (pass_in_v_vfp_candidate): Likewise.
1002
311dc83a
TT
10032019-01-23 Tom Tromey <tom@tromey.com>
1004 Pedro Alves <palves@redhat.com>
1005
1006 * regcache.c (class regcache_invalidator): Remove.
1007 (regcache::raw_write): Use make_scope_exit.
1008
296bd123
TT
10092019-01-23 Tom Tromey <tom@tromey.com>
1010
1011 * ui-out.h (class ui_out_emit_type): Update comment.
1012
979a0d13
TT
10132019-01-23 Tom Tromey <tom@tromey.com>
1014
1015 * infrun.c (fetch_inferior_event): Update comment.
1016
d238133d
TT
10172019-01-23 Tom Tromey <tom@tromey.com>
1018 Pedro Alves <palves@redhat.com>
1019
1020 * infrun.c (reinstall_readline_callback_handler_cleanup): Remove
1021 parameter.
1022 (fetch_inferior_event): Use SCOPE_EXIT.
1023
1024
9885e6bb
TT
10252019-01-23 Tom Tromey <tom@tromey.com>
1026 Pedro Alves <palves@redhat.com>
1027
1028 * infrun.c (disable_thread_events): Delete.
1029 (stop_all_threads): Use SCOPE_EXIT.
1030
286526c1
TT
10312019-01-23 Tom Tromey <tom@tromey.com>
1032 Pedro Alves <palves@redhat.com>
1033
1034 * symfile.c: Include forward-scope-exit.h.
1035 (clear_symtab_users_cleanup): Replace forward declaration with
1036 a FORWARD_SCOPE_EXIT.
1037 (syms_from_objfile_1): Use the forward_scope_exit and
1038 gdb::optional instead of cleanup_function.
1039 (reread_symbols): Use the forward_scope_exit instead of
1040 cleanup_function.
1041 (clear_symtab_users_cleanup): Remove function.
1042
1db93f14
TT
10432019-01-23 Tom Tromey <tom@tromey.com>
1044 Pedro Alves <palves@redhat.com>
1045
1046 * linux-nat.c: Include scope-exit.h.
1047 (cleanup_target_stop): Remove.
1048 (linux_nat_target::static_tracepoint_markers_by_strid): Use
1049 SCOPE_EXIT.
1050
2cc83d1e
TT
10512019-01-23 Tom Tromey <tom@tromey.com>
1052 Pedro Alves <palves@redhat.com>
1053
1054 * infcall.c (cleanup_delete_std_terminate_breakpoint): Remove.
1055 (call_function_by_hand_dummy): Use SCOPE_EXIT.
1056
694c6bf5
TT
10572019-01-23 Tom Tromey <tom@tromey.com>
1058 Andrew Burgess <andrew.burgess@embecosm.com>
1059 Pedro Alves <palves@redhat.com>
1060
1061 * infrun.c (fetch_inferior_event): Use scope_exit.
1062 * utils.h (make_bpstat_clear_actions_cleanup): Don't declare.
1063 * top.c (execute_command): Use scope_exit.
1064 * breakpoint.c (bpstat_do_actions): Use scope_exit.
1065 * utils.c (do_bpstat_clear_actions_cleanup)
1066 (make_bpstat_clear_actions_cleanup): Remove.
1067
4c41382a
TT
10682019-01-23 Tom Tromey <tom@tromey.com>
1069 Pedro Alves <palves@redhat.com>
1070
1071 * infrun.c: Include "common/scope-exit.h"
1072 (delete_just_stopped_threads_infrun_breakpoints_cleanup): Remove.
1073 (wait_for_inferior): Use SCOPE_EXIT.
1074 (fetch_inferior_event): Use scope_exit.
1075
89f8fb50
TT
10762019-01-23 Tom Tromey <tom@tromey.com>
1077 Pedro Alves <palves@redhat.com>
1078
1079 * breakpoint.c (create_breakpoint): Remove cleanup.
1080
5419bdae
TT
10812019-01-23 Tom Tromey <tom@tromey.com>
1082 Andrew Burgess <andrew.burgess@embecosm.com>
1083 Pedro Alves <palves@redhat.com>
1084
e587ef42
PA
10852019-01-23 Pedro Alves <palves@redhat.com>
1086
1087 * gdbarch-selftests.c (struct on_exit): Use SCOPE_EXIT.
1088
77f0e74c
PA
10892019-01-23 Pedro Alves <palves@redhat.com>
1090 Andrew Burgess <andrew.burgess@embecosm.com>
1091
1092 * gdbthread.h: Include "common/forward-scope-exit.h".
1093 (scoped_finish_thread_state): Redefine custom class in terms of
1094 forward_scope_exit.
1095
5b9b3e53
PA
10962019-01-23 Pedro Alves <palves@redhat.com>
1097 Andrew Burgess <andrew.burgess@embecosm.com>
1098
1099 * common/forward-scope-exit.h: New file.
1100
54b65c9b
PA
11012019-01-23 Pedro Alves <palves@redhat.com>
1102 Andrew Burgess <andrew.burgess@embecosm.com>
1103 Tom Tromey <tom@tromey.com>
1104
1105 * common/scope-exit.h: New file.
1106
cf08fb29
PA
11072019-01-23 Pedro Alves <palves@redhat.com>
1108
1109 * common/preprocessor.h (ESC): Rename to ...
1110 (ESC_PARENS): ... this.
1111 * common/valid-expr.h (CHECK_VALID_EXPR_1, CHECK_VALID_EXPR_2)
1112 (CHECK_VALID_EXPR_3, CHECK_VALID_EXPR_4): Adjust.
1113
ae73e2e2
TT
11142019-01-23 Tom Tromey <tom@tromey.com>
1115
1116 * language.h (class scoped_switch_to_sym_language_if_auto):
1117 Initialize m_lang in both cases.
1118
6594e122
AH
11192019-01-23 Alan Hayward <alan.hayward@arm.com>
1120
1121 * nat/aarch64-linux.c (aarch64_linux_new_thread): Replace XNEW
1122 with XCNEW.
1123
a7c9855d
TT
11242019-01-22 Tom Tromey <tom@tromey.com>
1125
1126 * corelow.c: Do not include sys/file.h.
1127
93cc1d53
TT
11282019-01-22 Tom Tromey <tom@tromey.com>
1129
1130 * tui/tui-wingeneral.h: Include gdb_curses.h.
1131
38561778
TT
11322019-01-22 Tom Tromey <tom@tromey.com>
1133
1134 * source-cache.h (class source_cache) <get_source_lines,
1135 get_plain_source_lines, extract_lines>: Rename "lines" parameter.
1136
37b3ab5b
TT
11372019-01-22 Tom Tromey <tom@tromey.com>
1138
1139 * remote-fileio.h (struct remote_target): Declare.
1140
3fabc016
TT
11412019-01-22 Tom Tromey <tom@tromey.com>
1142
1143 * python/py-arch.c: Do not include py-ref.h.
1144 * python/py-bpevent.c: Do not include py-ref.h.
1145 * python/py-cmd.c: Do not include py-ref.h.
1146 * python/py-continueevent.c: Do not include py-ref.h.
1147 * python/py-event.h: Do not include py-ref.h.
1148 * python/py-evtregistry.c: Do not include py-ref.h.
1149 * python/py-finishbreakpoint.c: Do not include py-ref.h.
1150 * python/py-frame.c: Do not include py-ref.h.
1151 * python/py-framefilter.c: Do not include py-ref.h.
1152 * python/py-function.c: Do not include py-ref.h.
1153 * python/py-infevents.c: Do not include py-ref.h.
1154 * python/py-linetable.c: Do not include py-ref.h.
1155 * python/py-objfile.c: Do not include py-ref.h.
1156 * python/py-param.c: Do not include py-ref.h.
1157 * python/py-prettyprint.c: Do not include py-ref.h.
1158 * python/py-progspace.c: Do not include py-ref.h.
1159 * python/py-symbol.c: Do not include py-ref.h.
1160 * python/py-symtab.c: Do not include py-ref.h.
1161 * python/py-type.c: Do not include py-ref.h.
1162 * python/py-unwind.c: Do not include py-ref.h.
1163 * python/py-utils.c: Do not include py-ref.h.
1164 * python/py-value.c: Do not include py-ref.h.
1165 * python/py-varobj.c: Do not include py-ref.h.
1166 * python/py-xmethods.c: Do not include py-ref.h.
1167 * python/python.c: Do not include py-ref.h.
1168 * varobj.c: Do not include py-ref.h.
1169
6b4d7774
TT
11702019-01-22 Tom Tromey <tom@tromey.com>
1171
1172 * objfiles.h (struct objfile_per_bfd_storage): Use "struct"
1173 keyword for bcache.
1174
7af7e9b5
TT
11752019-01-22 Tom Tromey <tom@tromey.com>
1176
1177 * compile/compile-cplus-types.c: Remove a comment by #include.
1178
951d1049
TT
11792019-01-22 Tom Tromey <tom@tromey.com>
1180
1181 * compile/gcc-c-plugin.h: Include compile-internal.h.
1182
d65d5705
TT
11832019-01-22 Tom Tromey <tom@tromey.com>
1184
1185 * stabsread.c (EXTERN): Do not define.
1186 (symnum, next_symbol_text_func, processing_gcc_compilation)
1187 (within_function, global_sym_chain, global_stabs)
1188 (previous_stab_code, this_object_header_files)
1189 (n_this_object_header_files)
1190 (n_allocated_this_object_header_files): Define.
1191 * stabsread.h (EXTERN): Never define. Use "extern".
1192
b6fb1ee5
PW
11932019-01-22 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1194
1195 * event-top.c (handle_line_of_input): use unique_xmalloc_ptr for
1196 history_value.
1197
be6d4f74
TT
11982019-01-21 Tom Tromey <tom@tromey.com>
1199
1200 * ui-out.c: Fix includes.
1201 * tui/tui-source.c: Fix includes.
1202 * target.c: Fix includes.
1203 * remote.c: Fix includes.
1204 * regcache.c: Fix includes.
1205 * python/py-block.c: Fix includes.
1206 * printcmd.c: Fix includes.
1207 * or1k-tdep.c: Fix includes.
1208 * mi/mi-main.c: Fix includes.
1209 * m32r-tdep.c: Fix includes.
1210 * csky-tdep.c: Fix includes.
1211 * compile/compile-cplus-types.c: Fix includes.
1212 * cli/cli-interp.c: Fix includes.
1213
73021deb
AH
12142019-01-21 Alan Hayward <alan.hayward@arm.com>
1215
1216 * aarch64-tdep.c (aapcs_is_vfp_call_or_return_candidate_1): Check
1217 for padding.
1218
7932255d
TT
12192019-01-16 Tom Tromey <tom@tromey.com>
1220
1221 * objfiles.h (struct minimal_symbol_iterator): Rename. Move
1222 earlier.
1223 (struct objfile) <msymbols_range>: Move from top level.
1224 <msymbols>: New method.
1225 (class objfile_msymbols): Remove.
1226 * symtab.c (default_collect_symbol_completion_matches_break_on):
1227 Update.
1228 * symmisc.c (dump_msymbols): Update.
1229 * stabsread.c (scan_file_globals): Update.
1230 * objc-lang.c (info_selectors_command, info_classes_command)
1231 (find_methods): Update.
1232 * minsyms.c (find_solib_trampoline_target): Update.
1233 * hppa-tdep.c (hppa_lookup_stub_minimal_symbol): Update.
1234 * coffread.c (coff_symfile_read): Update.
1235 * ada-lang.c (ada_lookup_simple_minsym)
1236 (ada_collect_symbol_completion_matches): Update.
1237
604b1bfb
TT
12382019-01-16 Tom Tromey <tom@tromey.com>
1239
1240 * objfiles.h (class objfile_msymbols) <iterator>: Change argument
1241 type. Remove no-argument constructor.
1242 <iterator::operator++>: Simplify.
1243 <begin>: Update.
1244 <end>: Use minimal_symbol_count.
1245
f252c6d5
TT
12462019-01-16 Tom Tromey <tom@tromey.com>
1247
1248 * objfiles.h (struct objfile) <psymtabs>: New method.
1249 (class objfile_psymtabs): Remove.
1250 * psymtab.h (class psymtab_storage) <partial_symtab_range>: New
1251 typedef.
1252 <range>: New method.
1253 (require_partial_symbols): Change return type.
1254 * psymtab.c (require_partial_symbols)
1255 (psym_expand_symtabs_matching): Update.
1256 * mdebugread.c (parse_partial_symbols): Update.
1257 * dbxread.c (dbx_end_psymtab): Update.
1258
b669c953
TT
12592019-01-15 Tom Tromey <tom@tromey.com>
1260
1261 * symtab.c (lookup_objfile_from_block)
1262 (lookup_symbol_in_objfile_symtabs)
1263 (basic_lookup_transparent_type_1, find_pc_sect_compunit_symtab)
1264 (find_line_symtab, info_sources_command)
1265 (default_collect_symbol_completion_matches_break_on)
1266 (make_source_files_completion_list): Update.
1267 * symmisc.c (print_objfile_statistics, dump_objfile)
1268 (maintenance_print_symbols, maintenance_info_symtabs)
1269 (maintenance_check_symtabs, maintenance_info_line_tables):
1270 Update.
1271 * source.c (select_source_symtab)
1272 (forget_cached_source_info_for_objfile): Update.
1273 * objfiles.h (class objfile_compunits): Remove.
1274 (struct objfile) <compunits_range>: New typedef.
1275 (compunits): New method.
1276 * objfiles.c (objfile_relocate1): Update.
1277 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update.
1278 * maint.c (count_symtabs_and_blocks): Update.
1279 * linespec.c (iterate_over_all_matching_symtabs): Update.
1280 * cp-support.c (add_symbol_overload_list_qualified): Update.
1281 * coffread.c (coff_symtab_read): Update.
1282 * ada-lang.c (add_nonlocal_symbols)
1283 (ada_collect_symbol_completion_matches)
1284 (ada_add_global_exceptions): Update.
1285
7e955d83
TT
12862019-01-15 Tom Tromey <tom@tromey.com>
1287
1288 * progspace.h (program_space) <objfiles_safe_range>: New
1289 typedef.
1290 <objfiles_safe>: New method.
1291 * objfiles.h (class all_objfiles_safe): Remove.
1292 * objfiles.c (free_all_objfiles, objfile_purge_solibs): Update.
1293 * jit.c (jit_inferior_exit_hook): Update.
1294
2030c079
TT
12952019-01-17 Tom Tromey <tom@tromey.com>
1296
1297 * progspace.h (program_space) <objfiles_range>: New typedef.
1298 <objfiles>: New method.
1299 <objfiles_head>: Rename from objfiles.
1300 (object_files): Update.
1301 * guile/scm-progspace.c (gdbscm_progspace_objfiles): Update.
1302 * guile/scm-pretty-print.c
1303 (ppscm_find_pretty_printer_from_objfiles): Update.
1304 * guile/scm-objfile.c (gdbscm_objfiles): Update.
1305 * python/py-xmethods.c (gdbpy_get_matching_xmethod_workers):
1306 Update.
1307 * python/py-progspace.c (pspy_get_objfiles): Update.
1308 * python/py-prettyprint.c (find_pretty_printer_from_objfiles):
1309 Update.
1310 * python/py-objfile.c (objfpy_lookup_objfile_by_name)
1311 (objfpy_lookup_objfile_by_build_id): Update.
1312 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update.
1313 * windows-tdep.c (windows_iterate_over_objfiles_in_search_order):
1314 Update.
1315 * symtab.c (iterate_over_symtabs, matching_obj_sections)
1316 (expand_symtab_containing_pc, lookup_objfile_from_block)
1317 (lookup_static_symbol, basic_lookup_transparent_type)
1318 (find_pc_sect_compunit_symtab, find_symbol_at_address)
1319 (find_line_symtab, info_sources_command)
1320 (default_collect_symbol_completion_matches_break_on)
1321 (make_source_files_completion_list, find_main_name): Update.
1322 * symmisc.c (print_symbol_bcache_statistics)
1323 (print_objfile_statistics, maintenance_print_symbols)
1324 (maintenance_print_msymbols, maintenance_print_objfiles)
1325 (maintenance_info_symtabs, maintenance_check_symtabs)
1326 (maintenance_expand_symtabs, maintenance_info_line_tables):
1327 Update.
1328 * symfile.c (remove_symbol_file_command, overlay_invalidate_all)
1329 (find_pc_overlay, find_pc_mapped_section, list_overlays_command)
1330 (map_overlay_command, unmap_overlay_command)
1331 (simple_overlay_update, expand_symtabs_matching)
1332 (map_symbol_filenames): Update.
1333 * symfile-debug.c (set_debug_symfile): Update.
1334 * spu-tdep.c (spu_overlay_update, spu_objfile_from_frame):
1335 Update.
1336 * source.c (select_source_symtab, forget_cached_source_info):
1337 Update.
1338 * solib.c (solib_read_symbols): Update.
1339 * solib-spu.c (append_ocl_sos): Update.
1340 * psymtab.c (maintenance_print_psymbols)
1341 (maintenance_info_psymtabs, maintenance_check_psymtabs): Update.
1342 * probe.c (parse_probes_in_pspace, find_probe_by_pc): Update.
1343 * printcmd.c (info_symbol_command): Update.
1344 * ppc-linux-tdep.c (ppc_linux_spe_context_inferior_created):
1345 Update.
1346 * objfiles.h (class all_objfiles): Remove.
1347 * objfiles.c (have_partial_symbols, have_full_symbols)
1348 (have_minimal_symbols, qsort_cmp, update_section_map)
1349 (shared_objfile_contains_address_p)
1350 (default_iterate_over_objfiles_in_search_order): Update.
1351 * objc-lang.c (info_selectors_command, info_classes_command)
1352 (find_methods): Update.
1353 * minsyms.c (find_solib_trampoline_target): Update.
1354 * maint.c (maintenance_info_sections)
1355 (maintenance_translate_address, count_symtabs_and_blocks):
1356 Update.
1357 * main.c (captured_main_1): Update.
1358 * linux-thread-db.c (try_thread_db_load_from_pdir)
1359 (has_libpthread): Update.
1360 * linespec.c (iterate_over_all_matching_symtabs)
1361 (search_minsyms_for_name): Update.
1362 * jit.c (jit_find_objf_with_entry_addr): Update.
1363 * hppa-tdep.c (find_unwind_entry)
1364 (hppa_lookup_stub_minimal_symbol): Update.
1365 * gcore.c (gcore_create_callback, objfile_find_memory_regions):
1366 Update.
1367 * elfread.c (elf_gnu_ifunc_resolve_by_cache)
1368 (elf_gnu_ifunc_resolve_by_got): Update.
1369 * dwarf2-frame.c (dwarf2_frame_find_fde): Update.
1370 * dwarf-index-write.c (save_gdb_index_command): Update.
1371 * cp-support.c (add_symbol_overload_list_qualified): Update.
1372 * breakpoint.c (create_overlay_event_breakpoint)
1373 (create_longjmp_master_breakpoint)
1374 (create_std_terminate_master_breakpoint)
1375 (create_exception_master_breakpoint): Update.
1376 * blockframe.c (find_pc_partial_function): Update.
1377 * ada-lang.c (ada_lookup_simple_minsym, add_nonlocal_symbols)
1378 (ada_collect_symbol_completion_matches)
1379 (ada_add_global_exceptions): Update.
1380
776489e0
TT
13812019-01-17 Tom Tromey <tom@tromey.com>
1382
1383 * solib-target.c (lm_info_target_p): Remove typedef. Don't
1384 declare VEC.
1385 (solib_target_parse_libraries): Change return type.
1386 (library_list_start_segment, library_list_start_section)
1387 (library_list_end_library, library_list_start_library); Update.
1388 (solib_target_free_library_list): Remove.
1389 (solib_target_parse_libraries): Remove cleanup. Change return
1390 type.
1391 (solib_target_current_sos): Update.
1392
6471e7d2
TT
13932019-01-17 Tom Tromey <tromey@bapiya>
1394
1395 * valprint.c: Replace "the the" with "the".
1396 * symtab.c: Replace "the the" with "the".
1397 * solib.c: Replace "the the" with "the".
1398 * solib-dsbt.c: Replace "the the" with "the".
1399 * linespec.c: Replace "the the" with "the".
1400 * dwarf2loc.h: Replace "the the" with "the".
1401 * amd64-windows-tdep.c: Replace "the the" with "the".
1402 * aarch64-tdep.c: Replace "the the" with "the".
1403
c24bdb02
KS
14042019-01-16 Keith Seitz <keiths@redhat.com>
1405
1406 PR gdb/23773
1407 * dwarf2read.c (dwarf2_cu) <ancestor>: New field.
1408 <builder>: Rename to ..
1409 <m_builder>: ... this and make private.
1410 (dwarf2_cu::get_builder): New method. Change all users of
1411 `builder' to use this method.
1412 (dwarf2_start_symtab): Move to ...
1413 (dwarf2_cu::start_symtab): ... here. Update all callers
1414 (setup_type_unit_groups): Move to ...
1415 (dwarf2_cu::setup_type_unit_groups): ... here. Update all
1416 callers.
1417 (dwarf2_cu::reset_builder): New method.
1418 (process_full_compunit, process_full_type_unit): Use
1419 dwarf2_cu::reset_builder.
1420 (follow_die_offset): Record the ancestor CU if it is different
1421 from the followed DIE's CU.
1422 (follow_die_sig_1): Likewise.
1423
8d64371b
TT
14242019-01-15 Tom Tromey <tom@tromey.com>
1425
1426 * remote.c (class remote_state) <buf>: Now a char_vector.
1427 <buf_size>: Remove.
1428 (remote_target::getpkt): Change type of buf. Remove sizeof_buf
1429 parameter.
1430 (remote_target::getpkt_or_notif_sane_1)
1431 (remote_target::getpkt_sane)
1432 (remote_target::getpkt_or_notif_sane): Likewise.
1433 (class remote_target) <putpkt>: New overload.
1434 (remote_target::read_frame): Change type of "buf_p". Remove
1435 sizeof_p parameter.
1436 (packet_ok): New overload.
1437 (packet_check_result): New overload.
1438 Update all uses.
1439
bb277751
TT
14402019-01-14 Tom Tromey <tom@tromey.com>
1441
1442 * remote-notif.c (handle_notification, remote_notif_ack)
1443 (remote_notif_parse): Make "buf" const.
1444 * remote-notif.h (struct notif_client) <parse, ack>: Make "buf"
1445 const.
1446 (remote_notif_parse, remote_notif_ack, handle_notification):
1447 Likewise.
1448 * remote.c (remote_notif_stop_parse): Make "buf" const.
1449 (remote_target::remote_parse_stop_reply): Make "buf" const.
1450 (remote_notif_stop_ack): Make "buf" const.
1451
05be00a8
TT
14522019-01-14 Tom Tromey <tom@tromey.com>
1453
1454 * remote.c (remote_console_output): Make parameter const.
1455
491adeca
TT
14562019-01-14 Tom Tromey <tom@tromey.com>
1457
1458 * target-debug.h (target_debug_print_signals): Constify.
1459 * nto-procfs.c (nto_procfs_target::pass_signals): Update.
1460 * procfs.c (procfs_target::pass_signals): Update.
1461 * linux-nat.c (linux_nat_target::pass_signals): Update.
1462 * linux-nat.h (class linux_nat_target) <pass_signals>: Update.
1463 * target-delegates.c: Rebuild.
1464 * remote.c (remote_target::program_signals): Update.
1465 (remote_target::pass_signals): Update.
1466 * target.c (target_pass_signals): Constify argument.
1467 (target_program_signals): Likewise.
1468 * target.h (struct target_ops) <pass_signals, program_signals>:
1469 Constify argument.
1470 (target_pass_signals, target_program_signals): Constify argument.
1471
bbd94648
TT
14722019-01-14 Tom Tromey <tom@tromey.com>
1473
1474 PR tui/28819:
1475 * tui/tui-io.c (gdb_wgetch): Print \r when needed.
1476
6f072a10
PFC
14772019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
1478
1479 * ppc-tdep.h (struct gdbarch_tdep) <ppc_v0_alias_regnum>: New
1480 field.
1481 * rs6000-tdep.c: Include reggroups.h.
1482 (IS_V_ALIAS_PSEUDOREG): Define.
1483 (rs6000_register_name): Return names for the "vX" aliases.
1484 (rs6000_pseudo_register_type): Return type for the "vX" aliases.
1485 (rs6000_pseudo_register_reggroup_p): Restore. Handle "vX"
1486 aliases. Call default_register_reggroup_p for all other
1487 pseudo-registers.
1488 (v_alias_pseudo_register_read, v_alias_pseudo_register_write):
1489 New functions.
1490 (rs6000_pseudo_register_read, rs6000_pseudo_register_write):
1491 Handle "vX" aliases.
1492 (v_alias_pseudo_register_collect): New function.
1493 (rs6000_ax_pseudo_register_collect): Handle "vX" aliases.
1494 (rs6000_gdbarch_init): Initialize "vX" aliases as
1495 pseudo-registers. Restore registration of
1496 rs6000_pseudo_register_reggroup_p with
1497 set_tdesc_pseudo_register_reggroup_p.
1498
1a782351
MF
14992019-01-13 Max Filippov <jcmvbkbc@gmail.com>
1500
1501 * xtensa-linux-tdep.c (xtensa_linux_init_abi): Update
1502 tdep->num_pseudo_regs. Add calls to set_gdbarch_num_regs and
1503 set_gdbarch_num_pseudo_regs.
1504
d73cff18
PW
15052019-01-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1506
1507 * cli/cli-style.h (class cli_style_option): <add_setshow_commands>
1508 Remove arg prefixname, add do_set and do_show.
1509 Add member functions set_list and show_list.
1510 * cli/cli-style.c (class cli_style_option): Update accordingly.
1511 (style_set_list): Move to file scope.
1512 (style_show_list): Likewise.
1513 (set_style): Call help_list.
1514 (show_style): Call cmd_show_list.
1515 (_initialize_cli_style): New macro STYLE_ADD_SETSHOW_COMMANDS.
1516 Update to use the new macro.
1517
60a90376
JB
15182019-10-12 Joel Brobecker <brobecker@adacore.com>
1519
1520 * ada-lang.c (_initialize_ada_language): Expand the help text
1521 for the "catch exception" command.
1522
9d7c67bf
PW
15232019-01-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1524
1525 * symtab.c (matching_obj_sections): Initialize obj,
1526 declare it closer to its usage.
1527
7cf47dc4
TT
15282019-01-10 Tom Tromey <tom@tromey.com>
1529
1530 * thread-iter.h (inf_threads_iterator): Use next_iterator.
1531 (basic_inf_threads_range): Remove.
1532 (inf_threads_range, inf_non_exited_threads_range)
1533 (safe_inf_threads_range): Use next_adapter.
1534
d3cb6808
KS
15352019-01-10 Keith Seitz <keiths@redhat.com>
1536
1537 PR gdb/23712
1538 PR symtab/23010
1539 * dwarf2read.c (dw2_add_symbol_to_list): Remove.
1540 (fixup_go_packaging, new_symbol): Use add_symbol_to_list.
1541
63a20375
KS
15422019-01-10 Keith Seitz <keiths@redhat.com>
1543
1544 PR gdb/23712
1545 PR symtab/23010
1546 * dictionary.c (pending_to_vector): Remove.
1547 (dict_create_hashed_1, dict_create_linear_1, dict_add_pending_1):
1548 Remove _1 suffix, replacing functions of the same name. Update
1549 all callers.
1550 (dict_create_hashed, dict_create_hashed_expandable)
1551 (dict_create_linear, dict_create_linear_expandable, dict_free)
1552 (dict_add_symbol, dict_add_pending, dict_size, dict_empty):
1553 Make functions static.
1554
b026f593
KS
15552019-01-10 Keith Seitz <keiths@redhat.com>
1556
1557 PR gdb/23712
1558 PR symtab/23010
1559 * dictionary.h (struct dictionary): Replace declaration with
1560 multidictionary.
1561 (dict_create_hashed, dict_create_hashed_expandable)
1562 (dict_create_linear, dict_create_linear_expandable)
1563 (dict_free, dict_add_symbol, dict_add_pending, dict_empty)
1564 (dict_iterator_first, dict_iterator_next, dict_iter_match_first)
1565 (dict_iter_match_next, dict_size): Rename to "mdict_" versions
1566 taking multidictionary argument.
1567 [ALL_DICT_SYMBOLS]: Update for multidictionary.
1568 * block.h (struct block) <dict>: Change to multidictionary
1569 and rename `multidict'.
1570 * block.c, buildsym.c, jit.c, mdebugread.c, objfiles.c,
1571 symmisc.c: Update all dictionary references to multidictionary.
1572
c7748ee9
KS
15732019-01-10 Keith Seitz <keiths@redhat.com>
1574
1575 PR gdb/23712
1576 PR symtab/23010
1577 * dictionary.c: Include unordered_map.
1578 (pending_to_vector): New function.
1579 (dict_create_hashed_1, dict_create_linear_1, dict_add_pending_1):
1580 Rewrite the non-"_1" functions to take vector instead
1581 of linked list.
1582 (dict_create_hashed, dict_create_linear, dict_add_pending): Use the
1583 "new" _1 versions of the same name.
1584 (multidictionary): Define.
1585 (std::hash<enum language): New definition.
1586 (collate_pending_symbols_by_language, mdict_create_hashed)
1587 (mdict_create_hashed_expandable, mdict_create_linear)
1588 (mdict_create_linear_expandable, mdict_free)
1589 (find_language_dictionary, create_new_language_dictionary)
1590 (mdict_add_symbol, mdict_add_pending, mdict_iterator_first)
1591 (mdict_iterator_next, mdict_iter_match_first, mdict_iter_match_next)
1592 (mdict_size, mdict_empty): New functions.
1593 * dictionary.h (mdict_iterator): Define.
1594
67aa1f3c
PA
15952019-01-10 Pedro Alves <palves@redhat.com>
1596
1597 * breakpoint.c (read_uploaded_action)
1598 (create_tracepoint_from_upload): Adjust to use
1599 gdb::unique_xmalloc_ptr.
1600 * ctf.c (ctf_write_uploaded_tp):
1601 (SET_ARRAY_FIELD): Use emplace_back.
1602 (SET_STRING_FIELD): Adjust to use gdb::unique_xmalloc_ptr.
1603 * tracefile-tfile.c (tfile_write_uploaded_tp):
1604 * tracepoint.c (parse_tracepoint_definition): Adjust to use
1605 gdb::unique_xmalloc_ptr.
1606 * tracepoint.h (struct uploaded_tp) <cond, actions, step_actions,
1607 at_string, cond_string, cmd_strings>: Replace char pointers
1608 with gdb::unique_xmalloc_ptr.
1609
2f667667
PA
16102019-01-10 Pedro Alves <palves@redhat.com>
1611
1612 * solib-target.c (library_list_start_library): Don't xstrdup name.
1613
36cb7237
PA
16142019-01-10 Pedro Alves <palves@redhat.com>
1615
1616 * mdebugread.c (parse_partial_symbols): Use
1617 gdb::unique_xmalloc_ptr to manage heap-allocated 'stabsstring'.
1618
da584958
AB
16192019-01-10 Andrew Burgess <andrew.burgess@embecosm.com>
1620
1621 * linux-fork.c (scoped_switch_fork_info)
1622 <~scoped_switch_fork_info>: Fix incorrect variable name.
1623
1ef8573c
AB
16242019-01-10 Andrew Burgess <andrew.burgess@embecosm.com>
1625
1626 * linux-fork.c (scoped_switch_fork_info)
1627 <scoped_switch_fork_info>: Make explicit.
1628 <~scoped_switch_fork_info>: Wrap core in TRY/CATCH.
1629
8d7bcccb
TT
16302019-01-10 Tom Tromey <tom@tromey.com>
1631
1632 * objfiles.h (objfile::reset_psymtabs): Update.
1633 * objfiles.c (objfile::objfile): Update.
1634 * psymtab.h (psymtab_storage::obstack): Update.
1635 (psymtab_storage::m_obstack): Use gdb::optional.
1636 (class psymtab_storage): Update comment. Remove objfile
1637 parameter.
1638 * psymtab.c (psymtab_storage::psymtab_storage): Update.
1639
b596a3c7
TT
16402019-01-10 Tom Tromey <tom@tromey.com>
1641
1642 * psymtab.h (psymtab_storage::allocate_psymtab): New method.
1643 <free_psymtabs>: Now private.
1644 * psymtab.c (psymtab_storage::allocate_psymtab): Implement.
1645 (allocate_psymtab): Use new method.
1646
a9342b62
TT
16472019-01-10 Tom Tromey <tom@tromey.com>
1648
1649 * xcoffread.c (xcoff_end_psymtab): Use allocate_dependencies.
1650 * psymtab.h (psymtab_storage::allocate_dependencies): New method.
1651 * mdebugread.c (parse_partial_symbols): Use
1652 allocate_dependencies.
1653 * dwarf2read.c (dwarf2_create_include_psymtab): Use
1654 allocate_dependencies.
1655 (process_psymtab_comp_unit_reader)
1656 (build_type_psymtab_dependencies): Likewise.
1657 * dbxread.c (dbx_end_psymtab): Use allocate_dependencies.
1658
5af70966
TT
16592019-01-10 Tom Tromey <tom@tromey.com>
1660
1661 * psymtab.c (add_psymbol_to_bcache): Pass psymtab obstack to
1662 PSYMBOL_SET_LANGUAGE.
1663 (allocate_psymtab): Allocate psymtab on the psymtab obstack.
1664
5923a04c
TT
16652019-01-10 Tom Tromey <tom@tromey.com>
1666
1667 * psymtab.h (psymtab_storage::obstack): New method.
1668 <m_obstack>: Rename from obstack; now private.
1669 * psymtab.c (psymtab_storage): Update.
1670 * dwarf2read.c (create_addrmap_from_index)
1671 (create_addrmap_from_aranges, dwarf2_build_psymtabs_hard):
1672 Update.
1673
6d6a12bf
TT
16742019-01-10 Tom Tromey <tom@tromey.com>
1675
1676 * symfile.c (reread_symbols): Call objfile->reset_psymtabs.
1677 * objfiles.h (objfile::reset_psymtabs): New method.
1678
d320c2b5
TT
16792019-01-10 Tom Tromey <tom@tromey.com>
1680
1681 * symmisc.c (print_symbol_bcache_statistics): Update.
1682 (print_objfile_statistics): Update.
1683 * symfile.c (reread_symbols): Update.
1684 * psymtab.h (class psymtab_storage): New.
1685 * psymtab.c (psymtab_storage): New constructor.
1686 (~psymtab_storage): New destructor.
1687 (require_partial_symbols): Update.
1688 (ALL_OBJFILE_PSYMTABS_REQUIRED): Rewrite.
1689 (find_pc_sect_psymtab, find_pc_sect_psymbol)
1690 (match_partial_symbol, lookup_partial_symbol, dump_psymtab)
1691 (psym_dump, recursively_search_psymtabs, psym_has_symbols)
1692 (psym_find_compunit_symtab_by_address, sort_pst_symbols)
1693 (start_psymtab_common, end_psymtab_common)
1694 (add_psymbol_to_bcache, add_psymbol_to_list, init_psymbol_list)
1695 (allocate_psymtab): Update.
1696 (psymtab_storage::discard_psymtab): Rename from discard_psymtab.
1697 Update.
1698 (dump_psymtab_addrmap, maintenance_print_psymbols)
1699 (maintenance_check_psymtabs): Update.
1700 (class objfile_psymtabs): Move to objfiles.h.
1701 * psympriv.h (discard_psymtab): Now inline.
1702 (psymtab_discarder::psymtab_discarder): Update.
1703 (psymtab_discarder::~psymtab_discarder): Update.
1704 (ALL_OBJFILE_PSYMTABS): Rewrite.
1705 * objfiles.h (struct objfile) <psymtabs, psymtabs_addrmap,
1706 free_psymtabs, psymbol_cache, global_psymbols, static_psymbols>:
1707 Remove fields.
1708 <partial_symtabs>: New field.
1709 (class objfile_psymtabs): Move from psymtab.h. Update.
1710 * objfiles.c (objfile::objfile): Initialize partial_symtabs, not
1711 psymbol_cache.
1712 (objfile::~objfile): Don't destroy psymbol_cache.
1713 * mdebugread.c (parse_partial_symbols): Update.
1714 * dwarf2read.c (create_addrmap_from_index)
1715 (create_addrmap_from_aranges, dw2_find_pc_sect_compunit_symtab)
1716 (process_psymtab_comp_unit_reader, dwarf2_build_psymtabs_hard)
1717 (add_partial_subprogram, dwarf2_ranges_read): Update.
1718 * dwarf-index-write.c (write_address_map)
1719 (write_one_signatured_type, recursively_write_psymbols)
1720 (class debug_names, class debug_names, write_psymtabs_to_index):
1721 Update.
1722
1d94a5a3
TT
17232019-01-10 Tom Tromey <tom@tromey.com>
1724
1725 * symtab.h (SYMBOL_SET_NAMES): Update.
1726 (symbol_set_names): Update.
1727 (MSYMBOL_SET_NAMES): Update.
1728 * symtab.c (symbol_set_names): Change argument to be an
1729 objfile_per_bfd_storage.
1730 * psymtab.c (add_psymbol_to_bcache): Update.
1731 * psympriv.h (PSYMBOL_SET_NAMES): Take per_bfd argument.
1732
0f14768a
TT
17332019-01-10 Tom Tromey <tom@tromey.com>
1734
1735 * symtab.c (create_demangled_names_hash): Change argument to be an
1736 objfile_per_bfd_storage.
1737 (symbol_set_names): Update.
1738
6eee24ce
TT
17392019-01-10 Tom Tromey <tom@tromey.com>
1740
1741 * xcoffread.c (xcoff_initial_scan): Unconditionally call
1742 init_psymbol_list.
1743 * psymtab.c (init_psymbol_list): Do nothing if already called.
1744 * psympriv.h (init_psymbol_list): Add comment.
1745 * dwarf2read.c (dwarf2_build_psymtabs): Unconditionally call
1746 init_psymbol_list.
1747 * dbxread.c (dbx_symfile_read): Unconditionally call
1748 init_psymbol_list.
1749
75aedd27
TT
17502019-01-10 Tom Tromey <tom@tromey.com>
1751
1752 * xcoffread.c (scan_xcoff_symtab): Update.
1753 * psymtab.c (add_psymbol_to_list): Replace "list" parameter with
1754 "where".
1755 * mdebugread.c (parse_partial_symbols)
1756 (handle_psymbol_enumerators): Update.
1757 * dwarf2read.c (add_partial_symbol, load_partial_dies): Update.
1758 * dbxread.c (read_dbx_symtab): Update.
1759 * psympriv.h (psymbol_placement): New enum.
1760 (add_psymbol_to_list): Update.
1761
939652a5
TT
17622019-01-10 Tom Tromey <tom@tromey.com>
1763
1764 * xcoffread.c (xcoff_start_psymtab): Remove global_psymbols and
1765 static_psymbols parameters.
1766 (scan_xcoff_symtab): Update.
1767 * psymtab.c (start_psymtab_common): Remove global_psymbols and
1768 static_psymbols parameters.
1769 * psympriv.h (start_psymtab_common): Update.
1770 * mdebugread.c (parse_partial_symbols): Update.
1771 * dwarf2read.c (create_partial_symtab): Update.
1772 * dbxread.c (read_dbx_symtab): Update.
1773 (start_psymtab): Remove global_psymbols and static_psymbols
1774 parameters.
1775
baa62830
TT
17762019-01-10 Tom Tromey <tom@tromey.com>
1777
1778 * xcoffread.c (xcoff_end_psymtab): Remove some initializations.
1779 * psymtab.c (allocate_psymtab): Add comment.
1780 * psympriv.h (allocate_psymtab): Add comment.
1781 * dwarf2read.c (dwarf2_create_include_psymtab): Remove some
1782 initializations.
1783 * dbxread.c (dbx_end_psymtab): Remove some initializations.
1784
0e8f53ba
TT
17852019-01-10 Tom Tromey <tom@tromey.com>
1786
1787 * symfile.h (mdebug_build_psymtabs, elfmdebug_build_psymtabs):
1788 Don't declare.
1789 * mipsread.c: Include mdebugread.h.
1790 * mdebugread.h (mdebug_build_psymtabs, elfmdebug_build_psymtabs):
1791 Declare.
1792 * elfread.c: Include mdebugread.h.
1793
b22a7c6a
TT
17942019-01-09 Tom Tromey <tom@tromey.com>
1795
1796 * dbxread.c (dbx_end_psymtab): Use objfile_psymtabs.
1797 * mdebugread.c (parse_partial_symbols): Use objfile_psymtabs.
1798 * psymtab.c (ALL_OBJFILE_PSYMTABS_REQUIRED): Remove.
1799 (psym_map_symtabs_matching_filename, find_pc_sect_psymtab)
1800 (psym_lookup_symbol, psym_find_last_source_symtab)
1801 (psym_forget_cached_source_info, psym_print_stats)
1802 (psym_expand_symtabs_for_function, psym_expand_all_symtabs)
1803 (psym_expand_symtabs_with_fullname, psym_map_symbol_filenames)
1804 (psym_map_matching_symbols, psym_expand_symtabs_matching)
1805 (psym_find_compunit_symtab_by_address)
1806 (maintenance_print_psymbols, maintenance_info_psymtabs)
1807 (maintenance_check_psymtabs): Use ranged for.
1808 * psymtab.h (class objfile_psymtabs): New.
1809 (require_partial_symbols): Return objfile_psymtabs.
1810 * psympriv.h (ALL_OBJFILE_PSYMTABS): Remove.
1811
3b9d3ac2
TT
18122019-01-09 Tom Tromey <tom@tromey.com>
1813
1814 * symfile.c (overlay_invalidate_all, find_pc_overlay)
1815 (find_pc_mapped_section, list_overlays_command)
1816 (map_overlay_command, unmap_overlay_command)
1817 (simple_overlay_update): Use all_objfiles.
1818 * spu-tdep.c (spu_overlay_update): Use all_objfiles.
1819 * printcmd.c (info_symbol_command): Use all_objfiles.
1820 * objfiles.h (ALL_OBJSECTIONS): Remove.
1821 * maint.c (maintenance_translate_address): Use all_objfiles.
1822 * gcore.c (gcore_create_callback): Use all_objfiles.
1823 (objfile_find_memory_regions): Likewise.
1824
8b31193a
TT
18252019-01-09 Tom Tromey <tom@tromey.com>
1826
1827 * symtab.c (find_line_symtab, info_sources_command)
1828 (make_source_files_completion_list): Use objfile_compunits.
1829 * source.c (select_source_symtab): Use objfile_compunits.
1830 * objfiles.h (struct objfile): Update comment.
1831 (ALL_OBJFILES): Remove.
1832 (ALL_FILETABS): Remove.
1833 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Use
1834 objfile_compunits.
1835
d5da8b3c
TT
18362019-01-09 Tom Tromey <tom@tromey.com>
1837
1838 * symmisc.c (print_objfile_statistics, dump_objfile)
1839 (maintenance_print_symbols): Use compunit_filetabs.
1840 * source.c (forget_cached_source_info_for_objfile): Use
1841 compunit_filetabs.
1842 * objfiles.h (ALL_OBJFILE_FILETABS): Remove.
1843 (ALL_FILETABS): Use compunit_filetabs.
1844 * objfiles.c (objfile_relocate1): Use compunit_filetabs.
1845 * coffread.c (coff_symtab_read): Use compunit_filetabs.
1846
5accd1a0
TT
18472019-01-09 Tom Tromey <tom@tromey.com>
1848
1849 * symtab.h (ALL_COMPUNIT_FILETABS): Remove.
1850 (compunit_filetabs): New.
1851 * symtab.c (iterate_over_some_symtabs, find_pc_sect_line): Use
1852 compunit_filetabs.
1853 (info_sources_command, make_source_files_completion_list): Remove
1854 declaration.
1855 * symmisc.c (print_objfile_statistics, dump_objfile)
1856 (maintenance_print_symbols): Remove declaration.
1857 (maintenance_info_symtabs): Use compunit_filetabs.
1858 (maintenance_info_line_tables): Likewise.
1859 * source.c (select_source_symtab): Change local variable name.
1860 (forget_cached_source_info_for_objfile): Remove declaration.
1861 * objfiles.h (ALL_OBJFILE_FILETABS): Use compunit_filetabs.
1862 * objfiles.c (objfile_relocate1): Remove declaration.
1863 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Remove
1864 declaration.
1865 * maint.c (count_symtabs_and_blocks): Use compunit_filetabs.
1866 * coffread.c (coff_symtab_read): Remove declaration.
1867 * buildsym.c (buildsym_compunit::end_symtab_with_blockvector): Use
1868 compunit_filetabs.
1869
d8aeb77f
TT
18702019-01-09 Tom Tromey <tom@tromey.com>
1871
1872 * symtab.c (lookup_objfile_from_block)
1873 (find_pc_sect_compunit_symtab, search_symbols)
1874 (default_collect_symbol_completion_matches_break_on): Use
1875 objfile_compunits.
1876 * objfiles.h (ALL_COMPUNITS): Remove.
1877 * maint.c (count_symtabs_and_blocks): Use objfile_compunits.
1878 * cp-support.c (add_symbol_overload_list_qualified): Use
1879 objfile_compunits.
1880 * ada-lang.c (ada_collect_symbol_completion_matches)
1881 (ada_add_global_exceptions): Use objfile_compunits.
1882
592553c4
TT
18832019-01-09 Tom Tromey <tom@tromey.com>
1884
1885 * source.c (select_source_symtab)
1886 (forget_cached_source_info_for_objfile): Remove declaration.
1887 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Remove
1888 declaration.
1889 * maint.c (count_symtabs_and_blocks): Remove declaration.
1890 * cp-support.c (add_symbol_overload_list_qualified): Remove
1891 declaration.
1892 * coffread.c (coff_symtab_read): Remove declaration.
1893 * symtab.c (lookup_symbol_in_objfile_symtabs)
1894 (basic_lookup_transparent_type_1): Use objfile_compunits.
1895 (lookup_objfile_from_block, find_pc_sect_compunit_symtab)
1896 (info_sources_command, search_symbols)
1897 (default_collect_symbol_completion_matches_break_on)
1898 (make_source_files_completion_list): Remove declaration.
1899 * ada-lang.c (add_nonlocal_symbols): Use objfile_compunits.
1900 (ada_collect_symbol_completion_matches)
1901 (ada_add_global_exceptions): Remove declaration.
1902 * linespec.c (iterate_over_all_matching_symtabs): Use
1903 objfile_compunits.
1904 * objfiles.h (ALL_OBJFILE_COMPUNITS): Remove.
1905 (class objfile_compunits): New.
1906 (ALL_COMPUNITS): Use objfile_compunits.
1907 * symmisc.c (print_objfile_statistics, maintenance_info_symtabs)
1908 (maintenance_check_symtabs, maintenance_info_line_tables): Use
1909 objfile_compunits.
1910 * objfiles.c (objfile_relocate1): Use objfile_compunits.
1911
5325b9bf
TT
19122019-01-09 Tom Tromey <tom@tromey.com>
1913
1914 * symtab.c (search_symbols)
1915 (default_collect_symbol_completion_matches_break_on): Use
1916 objfile_msymbols.
1917 * ada-lang.c (ada_lookup_simple_minsym)
1918 (ada_collect_symbol_completion_matches): Use objfile_msymbols.
1919 * minsyms.c (find_solib_trampoline_target): Use objfile_msymbols.
1920 * hppa-tdep.c (hppa_lookup_stub_minimal_symbol): Use
1921 objfile_msymbols.
1922 * coffread.c (coff_symfile_read): Use objfile_msymbols.
1923 * symmisc.c (dump_msymbols): Use objfile_msymbols.
1924 * objc-lang.c (find_methods): Use objfile_msymbols.
1925 (info_selectors_command, info_classes_command): Likewise.
1926 * stabsread.c (scan_file_globals): Use objfile_msymbols.
1927 * objfiles.h (class objfile_msymbols): New.
1928 (ALL_OBJFILE_MSYMBOLS): Remove.
1929 (ALL_MSYMBOLS): Remove.
1930
cac85af2
TT
19312019-01-09 Tom Tromey <tom@tromey.com>
1932
1933 * common/next-iterator.h (next_adapter): Add Iterator template
1934 parameter.
1935 * objfiles.h (ALL_OBJFILES_SAFE): Remove.
1936 (class all_objfiles_safe): New.
1937 * jit.c (jit_inferior_exit_hook): Use all_objfiles_safe.
1938 * objfiles.c (put_objfile_before): Update comment.
1939 (add_separate_debug_objfile): Likewise.
1940 (free_all_objfiles): Use all_objfiles_safe.
1941 (objfile_purge_solibs): Likewise.
1942
aed57c53
TT
19432019-01-09 Tom Tromey <tom@tromey.com>
1944
1945 * symtab.c (iterate_over_symtabs, matching_obj_sections)
1946 (expand_symtab_containing_pc, lookup_static_symbol)
1947 (basic_lookup_transparent_type, find_pc_sect_compunit_symtab)
1948 (find_symbol_at_address, find_line_symtab, find_main_name): Use
1949 all_objfiles.
1950 * probe.c (find_probe_by_pc, collect_probes): Use all_objfiles.
1951 * breakpoint.c (create_overlay_event_breakpoint)
1952 (create_longjmp_master_breakpoint)
1953 (create_std_terminate_master_breakpoint)
1954 (create_exception_master_breakpoint): Use all_objfiles.
1955 * linux-thread-db.c (try_thread_db_load_from_pdir)
1956 (has_libpthread): Use all_objfiles.
1957 * ada-lang.c (add_nonlocal_symbols): Use all_objfiles.
1958 * linespec.c (iterate_over_all_matching_symtabs)
1959 (search_minsyms_for_name): Use all_objfiles.
1960 * maint.c (maintenance_info_sections): Use all_objfiles.
1961 * main.c (captured_main_1): Use all_objfiles.
1962 * spu-tdep.c (spu_objfile_from_frame): Use all_objfiles.
1963 * guile/scm-objfile.c (gdbscm_objfiles): Use all_objfiles.
1964 * guile/scm-pretty-print.c
1965 (ppscm_find_pretty_printer_from_objfiles): Use all_objfiles.
1966 * solib-spu.c (append_ocl_sos): Use all_objfiles.
1967 * symmisc.c (maintenance_print_symbols): Use all_objfiles.
1968 (maintenance_print_msymbols): Use all_objfiles.
1969 * source.c (select_source_symtab): Use all_objfiles.
1970 * jit.c (jit_find_objf_with_entry_addr): Use all_objfiles.
1971 * symfile.c (remove_symbol_file_command)
1972 (expand_symtabs_matching, map_symbol_filenames): Use
1973 all_objfiles.
1974 * ppc-linux-tdep.c (ppc_linux_spe_context_inferior_created): Use
1975 all_objfiles.
1976 * dwarf2-frame.c (dwarf2_frame_find_fde): Use all_objfiles.
1977 * objc-lang.c (find_methods): Use all_objfiles.
1978 * objfiles.c (have_partial_symbols, have_full_symbols)
1979 (have_minimal_symbols, qsort_cmp)
1980 (default_iterate_over_objfiles_in_search_order): Use
1981 all_objfiles.
1982 * hppa-tdep.c (find_unwind_entry): Use all_objfiles.
1983 * psymtab.c (maintenance_print_psymbols): Use all_objfiles.
1984 (maintenance_check_psymtabs): Use all_objfiles.
1985 (ALL_PSYMTABS): Remove.
1986 * compile/compile-object-run.c (do_module_cleanup): Use
1987 all_objfiles.
1988 * blockframe.c (find_pc_partial_function): Use all_objfiles.
1989 * cp-support.c (add_symbol_overload_list_qualified): Use
1990 all_objfiles.
1991 * windows-tdep.c (windows_iterate_over_objfiles_in_search_order):
1992 Use all_objfiles.
1993 * dwarf-index-write.c (save_gdb_index_command): Use all_objfiles.
1994 * python/py-xmethods.c (gdbpy_get_matching_xmethod_workers): Use
1995 all_objfiles.
1996 * python/py-objfile.c (objfpy_lookup_objfile_by_name)
1997 (objfpy_lookup_objfile_by_build_id): Use all_objfiles.
1998 * python/py-prettyprint.c (find_pretty_printer_from_objfiles):
1999 Uses all_objfiles.
2000 * solib.c (solib_read_symbols): Use all_objfiles
2001
99d89cde
TT
20022019-01-09 Tom Tromey <tom@tromey.com>
2003
2004 * probe.c (parse_probes_in_pspace): Use all_objfiles.
2005 * guile/scm-progspace.c (gdbscm_progspace_objfiles): Use
2006 all_objfiles.
2007 * objfiles.h (ALL_PSPACE_OBJFILES): Remove.
2008 * symmisc.c (print_symbol_bcache_statistics)
2009 (print_objfile_statistics, maintenance_print_objfiles)
2010 (maintenance_info_symtabs, maintenance_check_symtabs)
2011 (maintenance_expand_symtabs, maintenance_info_line_tables): Use
2012 all_objfiles.
2013 * source.c (forget_cached_source_info): Use all_objfiles.
2014 * symfile-debug.c (set_debug_symfile): Use all_objfiles.
2015 * elfread.c (elf_gnu_ifunc_resolve_by_cache)
2016 (elf_gnu_ifunc_resolve_by_got): Use all_objfiles.
2017 * objfiles.c (update_section_map): Use all_objfiles.
2018 (shared_objfile_contains_address_p): Likewise.
2019 * psymtab.c (maintenance_info_psymtabs): Use all_objfiles.
2020 * python/py-progspace.c (pspy_get_objfiles): Use all_objfiles.
2021
21708325
TT
20222019-01-09 Tom Tromey <tom@tromey.com>
2023
2024 * common/next-iterator.h: New file.
2025 * objfiles.h (class all_objfiles): New.
2026 (struct objfile_iterator): New.
2027
669e09f6
PW
20282019-01-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2029
2030 * NEWS: Move the description of the changed "frame", "select-frame",
2031 and "info frame" commands to the Changed commands section.
2032
041be526
SM
20332019-01-09 Simon Marchi <simon.marchi@ericsson.com>
2034
2035 * gdbtypes.c (check_stub_method_group): Remove handling of old
2036 mangling schemes.
2037 * linespec.c (find_methods): Likewise.
2038 * stabsread.c (read_member_functions): Likewise.
2039 * valops.c (search_struct_method): Likewise.
2040 (value_struct_elt_for_reference): Likewise.
2041 * NEWS: Mention this change.
2042
0e2a2133
AB
20432019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
2044
2045 * cli/cli-cmds.c (list_command): Pass a source_lines_range to
2046 print_source_lines.
2047 * source.c (print_source_lines_base): Update line number check.
2048 (print_source_lines): New function.
2049 (source_lines_range::source_lines_range): New function.
2050 * source.h (class source_lines_range): New class.
2051 (print_source_lines): New declaration.
2052
1055a3b4
PW
20532019-01-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2054
2055 * linespec.c (linespec_state_destructor): Free self->canonical_names.
2056
cfeadda5
TT
20572019-01-08 Tom Tromey <tom@tromey.com>
2058 Simon Marchi <simon.marchi@ericsson.com>
2059
2060 PR gdb/24060
2061 * ada-exp.y (DOLLAR_VARIABLE): Rename from SPECIAL_VARIABLE.
2062 * ada-lex.l (DOLLAR_VARIABLE): Likewise.
2063 * c-exp.y (DOLLAR_VARIABLE): Rename from VARIABLE.
2064 * f-exp.y (DOLLAR_VARIABLE): Likewise.
2065 * m2-exp.y (DOLLAR_VARIABLE): Rename from INTERNAL_VAR.
2066 * p-exp.y (DOLLAR_VARIABLE): Rename from VARIABLE.
2067
583068ca
AB
20682019-01-08 Andrew Burgess <andrew.burgess@embecosm.com>
2069
2070 * source.c (select_source_symtab): Move header comment to
2071 declaration in source.h.
2072 (forget_cached_source_info_for_objfile): Likewise.
2073 (forget_cached_source_info): Likewise.
2074 (identify_source_line): Likewise.
2075 * source.h (identify_source_line): Move declaration from symtab.h
2076 and add comment from source.c
2077 (print_source_lines): Likewise.
2078 (forget_cached_source_info_for_objfile): Likewise.
2079 (forget_cached_source_info): Likewise.
2080 (select_source_symtab): Likewise.
2081 (enum print_source_lines_flag): Move definition from symtab.h.
2082 * symtab.h (identify_source_line): Move declaration to source.h.
2083 (print_source_lines): Likewise.
2084 (forget_cached_source_info_for_objfile): Likewise.
2085 (forget_cached_source_info): Likewise.
2086 (select_source_symtab): Likewise.
2087 (enum print_source_lines_flag): Move definition to source.h.
2088 * tui/tui-hooks.c: Add 'source.h' include.
2089
ec98a4ad
AB
20902019-01-08 Andrew Burgess <andrew.burgess@embecosm.com>
2091
2092 * source.c (print_source_lines_base): Handle requests to print
2093 reverse line number sequences, and guard against empty lines
2094 string.
2095
62ea19c1
AB
20962019-01-08 Andrew Burgess <andrew.burgess@embecosm.com>
2097
2098 * source.c (print_source_lines_base): Fix skip of '\r' if next
2099 character is '\n'.
2100
9d30e1fd
TT
21012019-01-06 Tom Tromey <tom@tromey.com>
2102
2103 * c-exp.y (struct c_parse_state) <macro_original_text,
2104 expansion_obstack>: New member.
2105 (macro_original_text, expansion_obstack): Remove globals.
2106 (scan_macro_expansion, scanning_macro_expansion)
2107 (finished_macro_expansion): Update.
2108 (scan_macro_cleanup): Remove.
2109 (yylex, c_parse): Update.
2110
c65bac38
TT
21112019-01-06 Tom Tromey <tom@tromey.com>
2112
2113 * c-exp.y (struct c_parse_state) <strings>: New member.
2114 (operator_stoken): Update.
2115
02e12e38
TT
21162019-01-06 Tom Tromey <tom@tromey.com>
2117
2118 * parser-defs.h (type_ptr): Remove typedef. Don't declare VEC.
2119 (union type_stack_elt) <typelist_val>: Now a pointer to
2120 std::vector.
2121 (type_stack_cleanup): Don't declare.
2122 (push_typelist): Update.
2123 * parse.c (pop_typelist): Return a std::vector.
2124 (push_typelist): Take a std::vector.
2125 (follow_types): Update. Do not free args.
2126 (type_stack_cleanup): Remove.
2127 * c-exp.y (struct c_parse_state): New.
2128 (cpstate): New global.
2129 (type_aggregate_p, exp, ptr_operator, parameter_typelist)
2130 (nonempty_typelist): Update.
2131 (func_mod): Create a new vector.
2132 (c_parse): Create a c_parse_state.
2133 (check_parameter_typelist): Do not delete params.
2134 (function_method): Update. Do not delete type_list.
2135
f097f5ad
TT
21362019-01-06 Tom Tromey <tom@tromey.com>
2137
2138 PR gdb/28155:
2139 * python/py-finishbreakpoint.c (bpfinishpy_init): Use
2140 check_typedef.
2141 * infcmd.c (finish_command_fsm_should_stop): Use check_typedef.
2142 (print_return_value): Likewise.
2143
d2adf9f1
TT
21442019-01-05 Tom Tromey <tom@tromey.com>
2145
2146 * contrib/cleanup_check.py: Remove.
2147 * contrib/gcc-with-excheck: Remove.
2148 * contrib/exsummary.py: Remove.
2149 * contrib/excheck.py: Remove.
2150
2eab46b1
JB
21512019-01-05 Joel Brobecker <brobecker@adacore.com>
2152
2153 * thread.c (delete_thread_1): Add gdb_assert that THR is not
2154 NULL. Initialize tpprev to NULL instead of assigning it
2155 to NULL on the next statement.
2156 * windows-nat.c (windows_delete_thread): Remove check for
2157 main_thread_id before printing thread exit notifications.
2158 (get_windows_debug_event) <EXIT_THREAD_DEBUG_EVENT>:
2159 Remove thread ID check against main_thread_id.
2160 <CREATE_PROCESS_DEBUG_EVENT>: Remove call to
2161 windows_delete_thread.
2162 <EXIT_PROCESS_DEBUG_EVENT>: Add call to windows_delete_thread.
2163
48c5e7e2
TT
21642019-01-04 Tom Tromey <tom@tromey.com>
2165
2166 * compile/compile.c (_initialize_compile): Use upper case for
2167 metasyntactic variables.
2168 * symmisc.c (_initialize_symmisc): Use upper case for
2169 metasyntactic variables.
2170 * psymtab.c (_initialize_psymtab): Use upper case for
2171 metasyntactic variables.
2172 * demangle.c (demangle_command): Use upper case for metasyntactic
2173 variables.
2174 (_initialize_demangler): Likewise.
2175 * ax-gdb.c (_initialize_ax_gdb): Use upper case for metasyntactic
2176 variables.
2177
986041cd
TT
21782019-01-03 Tom Tromey <tom@tromey.com>
2179
2180 * tui/tui-source.c (tui_set_source_content): Use xstrdup.
2181
7c711119
TT
21822019-01-03 Tom Tromey <tom@tromey.com>
2183
2184 * python/py-symtab.c (salpy_str): Update.
2185 (struct salpy_sal_object) <symtab>: Now a PyObject.
2186 (salpy_dealloc): Update.
2187 (del_objfile_sal): Use gdbpy_ref.
2188
1b20edf0
TT
21892019-01-03 Tom Tromey <tom@tromey.com>
2190
2191 * python/py-type.c (convert_field): Use new_reference. Return
2192 gdbpy_ref.
2193 (make_fielditem): Return gdbpy_ref.
2194 (typy_fields): Update.
2195 (typy_getitem): Update.
2196 (field_name): Return gdbpy_ref. Use new_reference.
2197 (typy_iterator_iternext): Update.
2198
ea41325b
TT
21992019-01-03 Tom Tromey <tom@tromey.com>
2200
2201 * python/py-record.c (gdbpy_stop_recording): Use Py_RETURN_NONE.
2202
2a3c71d6
TT
22032019-01-03 Tom Tromey <tom@tromey.com>
2204
2205 * python/py-value.c (valpy_dealloc): Use Py_XDECREF.
2206 * python/py-type.c (typy_fields_items): Use gdbpy_ref.
2207 * python/py-progspace.c (pspy_set_printers): Use gdbpy_ref.
2208 (pspy_set_frame_filters, pspy_set_frame_unwinders)
2209 (pspy_set_type_printers): Likewise.
2210 * python/py-function.c (fnpy_init): Use gdbpy_ref.
2211 * python/py-cmd.c (cmdpy_init): Use gdbpy_ref.
2212 * python/py-objfile.c (objfpy_set_printers): Use gdbpy_ref.
2213 (objfpy_set_frame_filters, objfpy_set_frame_unwinders)
2214 (objfpy_set_type_printers): Likewise.
2215
5c329e6a
TT
22162019-01-03 Tom Tromey <tom@tromey.com>
2217
2218 * python/python.c (gdbpy_enter, ~gdbpy_enter): Update.
2219 (gdbpy_print_stack): Use gdbpy_err_fetch.
2220 * python/python-internal.h (class gdbpy_err_fetch): New class.
2221 (class gdbpy_enter) <m_error_type, m_error_value,
2222 m_error_traceback>: Remove.
2223 <m_error>: New member.
2224 (gdbpy_exception_to_string): Don't declare.
2225 * python/py-varobj.c (py_varobj_iter_next): Use gdbpy_err_fetch.
2226 * python/py-value.c (convert_value_from_python): Use
2227 gdbpy_err_fetch.
2228 * python/py-utils.c (gdbpy_err_fetch::to_string): Rename from
2229 gdbpy_exception_to_string.
2230 (gdbpy_handle_exception): Use gdbpy_err_fetch.
2231 * python/py-prettyprint.c (print_stack_unless_memory_error): Use
2232 gdbpy_err_fetch.
2233
169bb27b
AB
22342019-01-03 Andrew Burgess <andrew.burgess@embecosm.com>
2235
2236 * linux-nat.c (delete_lwp_cleanup): Delete.
2237 (struct lwp_deleter): New struct.
2238 (lwp_info_up): New typedef.
2239 (linux_nat_target::follow_fork): Delete cleanup, and make use of
2240 lwp_info_up.
2241
a07c8880
AB
22422019-01-03 Andrew Burgess <andrew.burgess@embecosm.com>
2243
2244 * linux-fork.c (class scoped_switch_fork_info): New class.
2245 (inferior_call_waitpid): Update to use scoped_switch_fork_info.
2246
26089c49
AB
22472019-01-03 Andrew Burgess <andrew.burgess@embecosm.com>
2248
2249 * valops.c (find_overload_match): Remove use of null_cleanup, and
2250 calls to do_cleanups.
2251
06d3e5b0
AB
22522019-01-03 Andrew Burgess <andrew.burgess@embecosm.com>
2253
2254 * compile/compile-cplus-types.c
2255 (compile_cplus_instance::decl_name): Handle changes to
2256 cp_func_name.
2257 * cp-support.c (cp_func_name): Update header comment, update
2258 return type.
2259 * cp-support.h (cp_func_name): Update return type in declaration.
2260 * valops.c (find_overload_match): Move temp_func local to top
2261 level of function and change its type. Use temp_func to hold and
2262 delete temporary string obtained from cp_func_name.
2263
66644cd3
AB
22642019-01-03 Andrew Burgess <andrew.burgess@embecosm.com>
2265
2266 * remote.c (remote_target::remote_check_symbols): Convert `msg` to
2267 gdb::char_vector, remove cleanup, and update uses of `msg`.
2268
592d8c0a
JW
22692019-01-03 Jim Wilson <jimw@sifive.com>
2270
2271 * riscv-tdep.c (riscv_freg_feature): Drop s0 name from f8.
2272
c55d06ec
TT
22732019-01-02 Tom Tromey <tom@tromey.com>
2274
2275 * xml-tdesc.c (xml_cache): Hold a target_desc_up.
2276 (tdesc_parse_xml): Remove cleanups.
2277 * target-descriptions.h (make_cleanup_free_target_description):
2278 Don't declare.
2279 (target_desc_deleter): New struct.
2280 (target_desc_up): New typedef.
2281 * target-descriptions.c (target_desc_deleter::operator()): Rename
2282 from free_target_description.
2283 (make_cleanup_free_target_description): Remove.
2284
3a6ae42d
TT
22852019-01-02 Tom Tromey <tom@tromey.com>
2286
2287 * linespec.c (struct linespec_parser): Rename from ls_parser. Add
2288 constructor, destructor.
2289 (linespec_parser): Remove typedef.
2290 (~linespec_parser): Rename from linespec_parser_delete.
2291 (linespec_lex_to_end, linespec_complete_label)
2292 (linespec_complete): Update.
2293 (decode_line_full): Remove cleanups.
2294 (decode_line_1): Update.
2295
61fd3e73
TT
22962019-01-02 Tom Tromey <tom@tromey.com>
2297
2298 * python/python-internal.h (inferior_to_inferior_object): Change
2299 return type.
2300 * python/py-exitedevent.c (create_exited_event_object): Update.
2301 * python/py-inferior.c (inferior_to_inferior_object): Return
2302 gdbpy_ref.
2303 (python_new_inferior, python_inferior_deleted)
2304 (thread_to_thread_object, delete_thread_object)
2305 (build_inferior_list, gdbpy_selected_inferior): Update.
2306 * python/py-infthread.c (create_thread_object): Update. Also fail
2307 if inferior_to_inferior_object fails.
2308
d20172fc
SM
23092019-01-02 Simon Marchi <simon.marchi@ericsson.com>
2310
2311 * inferior.h (class inferior) <displaced_step_state>: New field.
2312 * infrun.h (struct displaced_step_state): Move here from
2313 infrun.c. Initialize fields, add constructor.
2314 <inf>: Remove field.
2315 <reset>: New method.
2316 * infrun.c (struct displaced_step_inferior_state): Move to
2317 infrun.h.
2318 (displaced_step_inferior_states): Remove.
2319 (get_displaced_stepping_state): Adust.
2320 (displaced_step_in_progress_any_inferior): Adjust.
2321 (displaced_step_in_progress_thread): Adjust.
2322 (displaced_step_in_progress): Adjust.
2323 (add_displaced_stepping_state): Remove.
2324 (get_displaced_step_closure_by_addr): Adjust.
2325 (remove_displaced_stepping_state): Remove.
2326 (infrun_inferior_exit): Call displaced_step_state.reset.
2327 (use_displaced_stepping): Don't check for NULL.
2328 (displaced_step_prepare_throw): Call
2329 get_displaced_stepping_state.
2330 (displaced_step_fixup): Don't check for NULL.
2331 (prepare_for_detach): Don't check for NULL.
2332
e3319240
PW
23332019-01-02 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2334
2335 * infcall.c (call_function_by_hand_dummy): cleanup/destroy sm
2336 in case of call that did not complete.
2337
5d36dfb9
AU
23382019-01-02 Andrey Utkin <autkin@undo.io>
2339
2340 * symfile.c (find_separate_debug_file): Fix search of debug files for
2341 remote debuggee.
2342
8833fbf0
TT
23432019-01-02 Tom Tromey <tom@tromey.com>
2344
2345 * python/py-inferior.c (gdbpy_initialize_inferior): Fix
2346 indentation.
2347 * python/py-frame.c (frapy_older): Remove cast.
2348 (frapy_newer): Likewise.
2349 * python/py-breakpoint.c (local_setattro): Remove cast.
2350 * python/py-arch.c (archpy_name): Remove local variable.
2351 * python/py-type.c (gdbpy_lookup_type): Remove cast.
2352
4ada3dfd
JB
23532019-01-02 Joel Brobecker <brobecker@adacore.com>
2354
2355 * unittests/basic_string_view/element_access/char/empty.cc:
2356 Fix year range in copyright header.
2357
113b7b81
AB
23582019-01-01 Andrew Burgess <andrew.burgess@embecosm.com>
2359
2360 * arch/riscv.h (struct riscv_gdbarch_features) <hw_float_abi>:
2361 Delete.
2362 <operator==>: Update with for removed field.
2363 <hash>: Likewise.
2364 * riscv-tdep.h (struct gdbarch_tdep) <features>: Renamed to...
2365 <isa_features>: ...this.
2366 <abi_features>: New field.
2367 (riscv_isa_flen): Update comment.
2368 (riscv_abi_xlen): New declaration.
2369 (riscv_abi_flen): New declaration.
2370 * riscv-tdep.c (riscv_isa_xlen): Update to get answer from
2371 isa_features.
2372 (riscv_abi_xlen): New function.
2373 (riscv_isa_flen): Update to get answer from isa_features.
2374 (riscv_abi_flen): New function.
2375 (riscv_has_fp_abi): Update to get answer from abi_features.
2376 (riscv_call_info::riscv_call_info): Use abi xlen and flen, not isa
2377 xlen and flen.
2378 (riscv_call_info) <xlen, flen>: Update comment.
2379 (riscv_call_arg_struct): Remove invalid assertions
2380 (riscv_features_from_gdbarch_info): Update now hw_float_abi field
2381 is removed.
2382 (riscv_gdbarch_init): Gather isa features and abi features
2383 separately, ensure both match on the gdbarch when reusing an old
2384 gdbarch. Relax an error check to allow 32-bit abi float to run on
2385 a target with 64-bit float hardware.
2386
b18ca514
PW
23872019-01-01 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2388
2389 * source.c (search_command_helper): Stop reverse search
2390 when line 1 has been searched.
2391
ec70d8db
PW
23922019-01-01 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2393
2394 * record-full.c (record_full_base_target::close): Rewrite
2395 record_full_core_buf_list free logic.
2396
5b38f9c1
PW
23972019-01-01 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2398
2399 * break-catch-syscall.c (print_one_catch_syscall): xfree
2400 the last text.
2401
66d91b39
JB
24022019-01-01 Joel Brobecker <brobecker@adacore.com>
2403
2404 * top.c (print_gdb_version): Update Copyright year in version
2405 message.
2406
42a4f53d
JB
24072019-01-01 Joel Brobecker <brobecker@adacore.com>
2408
2409 Update copyright year range in all GDB files.
2410
7e955d83 24112019-01-01, 19 Joel Brobecker <brobecker@adacore.com>
2139e8dc 2412
5bbd631d 2413 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2018.
2139e8dc 2414
5bbd631d 2415For older changes see ChangeLog-2018.
c906108c
SS
2416\f
2417Local Variables:
2418mode: change-log
2419left-margin: 8
2420fill-column: 74
2421version-control: never
57da7796 2422coding: utf-8
c906108c 2423End:
5bbd631d 2424
This page took 2.234298 seconds and 4 git commands to generate.