gdb: symmisc.c: remove std_{in,out,err}
[binutils-gdb.git] / gdb / ChangeLog
1 2021-02-05 Simon Marchi <simon.marchi@polymtl.ca>
2
3 * symmisc.c (std_in, std_out, std_err): Remove.
4 (_initialize_symmisc): Don't set std_in, std_out and std_err.
5
6 2021-02-05 Tom de Vries <tdevries@suse.de>
7
8 PR breakpoints/27330
9 * breakpoint.c (create_exception_master_breakpoint): Handle case that
10 glibc object file has debug info.
11
12 2021-02-05 Tom de Vries <tdevries@suse.de>
13
14 PR symtab/27333
15 * dwarf2/read.c (process_psymtab_comp_unit): Handle DW_TAG_type_unit.
16
17 2021-02-05 Tom de Vries <tdevries@suse.de>
18
19 PR breakpoints/27313
20 * break-catch-syscall.c (catch_syscall_split_args): Reject negative
21 syscall numbers.
22
23 2021-02-05 Tom Tromey <tom@tromey.com>
24
25 * compile/compile-c-support.c (get_compile_context)
26 (c_get_compile_context, cplus_get_compile_context): Change return
27 type.
28 * language.c (language_defn::get_compile_instance): New method.
29 * language.h (language_defn::get_compile_instance): Change return
30 type. No longer inline.
31 * c-lang.c (c_language::get_compile_instance): Change return type.
32 (cplus_language::get_compile_instance): Change return type.
33 * c-lang.h (c_get_compile_context, cplus_get_compile_context):
34 Change return type.
35 * compile/compile.c (compile_to_object): Update.
36
37 2021-02-05 Tom Tromey <tom@tromey.com>
38
39 * parser-defs.h (write_exp_symbol_reference): Declare.
40 * parse.c (write_exp_symbol_reference): New function.
41 * p-exp.y (variable): Use write_exp_symbol_reference.
42 * m2-exp.y (variable): Use write_exp_symbol_reference.
43 * f-exp.y (variable): Use write_exp_symbol_reference.
44 * d-exp.y (PrimaryExpression): Use write_exp_symbol_reference.
45 * c-exp.y (variable): Use write_exp_symbol_reference.
46
47 2021-02-05 Tom de Vries <tdevries@suse.de>
48
49 PR exp/27265
50 * valarith.c (complex_binop): Throw an error if complex type can't
51 be created.
52
53 2021-02-05 Tom de Vries <tdevries@suse.de>
54
55 PR symtab/27307
56 * dwarf2/read.c (create_cus_from_debug_names_list): Add missing
57 return.
58
59 2021-02-05 Tom de Vries <tdevries@suse.de>
60
61 * dwarf2/read.c (create_cus_from_debug_names_list): Fix indentation.
62
63 2021-02-04 Mike Frysinger <vapier@gentoo.org>
64
65 * configure.tgt (riscv*-*-*): Set gdb_sim.
66
67 2021-02-04 Simon Marchi <simon.marchi@polymtl.ca>
68
69 * target.c (target_is_non_stop_p): Return bool.
70 * target.h (target_is_non_stop_p): Return bool.
71
72 2021-02-04 Simon Marchi <simon.marchi@efficios.com>
73
74 * record-full.c (record_full_async_inferior_event_handler):
75 Don't clear async event handler.
76 (record_full_base_target::wait): Clear async event handler at
77 beginning.
78
79 2021-02-04 Simon Marchi <simon.marchi@efficios.com>
80
81 * record-btrace.c (record_btrace_handle_async_inferior_event):
82 Don't clear async event handler.
83 (record_btrace_target::wait): Clear async event handler at
84 beginning.
85
86 2021-02-04 Simon Marchi <simon.marchi@efficios.com>
87
88 * remote.c (remote_target::wait): Clear async event handler at
89 beginning, mark if needed at the end.
90 (remote_async_inferior_event_handler): Don't set or clear async
91 event handler.
92
93 2021-02-04 Simon Marchi <simon.marchi@efficios.com>
94
95 * async-event.h (async_event_handler_func): Add documentation.
96 * async-event.c (check_async_event_handlers): Don't clear
97 async_event_handler ready flag.
98 * infrun.c (infrun_async_inferior_event_handler): Clear ready
99 flag.
100 * record-btrace.c (record_btrace_handle_async_inferior_event):
101 Likewise.
102 * record-full.c (record_full_async_inferior_event_handler):
103 Likewise.
104 * remote-notif.c (remote_async_get_pending_events_handler):
105 Likewise.
106 * remote.c (remote_async_inferior_event_handler): Likewise.
107
108 2021-02-03 Simon Marchi <simon.marchi@polymtl.ca>
109
110 * infrun.c (handle_inferior_event): Move stop_soon variable to
111 inner scope.
112
113 2021-02-03 Pedro Alves <pedro@palves.net>
114
115 * infcmd.c (detach_command): Hold strong reference to target, and
116 if all-stop on entry, restart threads on exit.
117 * infrun.c (switch_back_to_stepped_thread): Factor out bits to ...
118 (restart_stepped_thread): ... this new function. Also handle
119 trap_expected.
120 (restart_after_all_stop_detach): New function.
121 * infrun.h (restart_after_all_stop_detach): Declare.
122
123 2021-02-03 Pedro Alves <pedro@palves.net>
124
125 * infrun.c (struct step_over_info): Initialize fields.
126 (prepare_for_detach): Handle ongoing in-line step over.
127
128 2021-02-03 Pedro Alves <pedro@palves.net>
129
130 * linux-nat.c (linux_nat_target::detach): Remove breakpoints
131 here...
132 * remote.c (remote_target::remote_detach_1): ... and here ...
133 * target.c (target_detach): ... instead of here.
134 * target.h (target_ops::detach): Add comment.
135
136 2021-02-03 Pedro Alves <pedro@palves.net>
137
138 * infrun.c (struct wait_one_event): Move higher up.
139 (prepare_for_detach): Abort in-progress displaced steps instead of
140 letting them complete.
141 (handle_one): If the inferior is detaching, don't add the thread
142 back to the global step-over chain.
143 (restart_threads): Don't restart threads if detaching.
144 (handle_signal_stop): Remove inferior::detaching reference.
145
146 2021-02-03 Pedro Alves <pedro@palves.net>
147
148 * infrun.c (prepare_for_detach): Don't release scoped_restore
149 before returning.
150
151 2021-02-03 Pedro Alves <pedro@palves.net>
152
153 * infrun.c (handle_one): New function, factored out from ...
154 (stop_all_threads): ... here.
155
156 2021-02-03 Pedro Alves <pedro@palves.net>
157
158 * remote.c (remote_notif_stop_ack): Don't error out on
159 TARGET_WAITKIND_IGNORE; instead, just ignore the notification.
160 (remote_target::discard_pending_stop_replies): Don't delete
161 in-flight notification; instead, clear its contents.
162
163 2021-02-03 Pedro Alves <pedro@palves.net>
164
165 * remote.c (extended_remote_target::attach): Set target async in
166 the target-non-stop path too.
167
168 2021-02-03 Pedro Alves <pedro@palves.net>
169
170 PR gdb/27055
171 * infrun.c (handle_signal_stop): Move main context_switch call
172 earlier, before STOP_QUIETLY_NO_SIGSTOP.
173
174 2021-02-02 Lancelot SIX <lsix@lancelotsix.com>
175
176 * NEWS (Changed commands): Add entry for the behavior change of
177 the inferior command.
178 * inferior.c (inferior_command): When no argument is given to the
179 inferior command, display info about the currently selected
180 inferior.
181
182 2021-02-02 Simon Marchi <simon.marchi@efficios.com>
183
184 * dwarf2/read.c (read_loclist_index, read_rnglist_index): Return
185 a sect_offset.
186 (read_attribute_reprocess): Adjust.
187
188 2021-02-02 Simon Marchi <simon.marchi@efficios.com>
189
190 * dwarf2/die.h (struct die_info) <ranges_base>: Split in...
191 <gnu_ranges_base>: ... this...
192 <rnglists_base>: ... and this.
193 * dwarf2/read.c (struct dwarf2_cu) <ranges_base>: Split in...
194 <gnu_ranges_base>: ... this...
195 <rnglists_base>: ... and this.
196 (read_cutu_die_from_dwo): Adjust
197 (dwarf2_get_pc_bounds): Adjust
198 (dwarf2_record_block_ranges): Adjust.
199 (read_full_die_1): Adjust
200 (partial_die_info::read): Adjust.
201 (read_rnglist_index): Adjust.
202
203 2021-02-02 Simon Marchi <simon.marchi@efficios.com>
204
205 PR gdb/26813
206 * dwarf2/read.c (read_loclists_rnglists_header): Add
207 header_offset parameter and use it.
208 (read_loclist_index): Read header of the current contribution,
209 not the one at the beginning of the section.
210 (read_rnglist_index): Likewise.
211
212 2021-02-02 Simon Marchi <simon.marchi@efficios.com>
213
214 PR gdb/26813
215 * dwarf2/attribute.h (struct attribute) <set_unsigned>: Clear
216 requires_reprocessing flag.
217 * dwarf2/attribute.c (attribute::form_is_unsigned): Handle
218 DW_FORM_loclistx.
219 (attribute::form_requires_reprocessing): Handle DW_FORM_rnglistx
220 and DW_FORM_loclistx.
221 * dwarf2/read.c (read_attribute_reprocess): Use set_unsigned
222 instead of set_address for DW_FORM_loclistx and
223 DW_FORM_rnglistx.
224
225 2021-02-02 Simon Marchi <simon.marchi@efficios.com>
226
227 * dwarf2/read.c (read_loclist_index): Remove bound check for
228 start of offset.
229 (read_rnglist_index): Likewise.
230
231 2021-02-02 Simon Marchi <simon.marchi@efficios.com>
232
233 * dwarf2/read.c (read_loclist_index): Add bound check for the end
234 of the offset.
235
236 2021-02-02 Simon Marchi <simon.marchi@efficios.com>
237
238 * dwarf2/read.c (read_rnglist_index): Fix bound check.
239
240 2021-02-02 Simon Marchi <simon.marchi@efficios.com>
241
242 * dwarf2/read.c (read_loclist_index): Change complaints into
243 errors.
244
245 2021-02-02 Tom de Vries <tdevries@suse.de>
246
247 PR symtab/24620
248 * dwarf2/index-write.c (write_one_signatured_type): Skip if
249 psymtab == nullptr.
250
251 2021-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
252
253 * Makefile.in (HFILES_NO_SRCDIR): Add corefile.h.
254 * gcore.c (struct gcore_collect_regset_section_cb_data): Moved
255 here from linux-tdep.c and given a new name. Minor cleanups.
256 (gcore_collect_regset_section_cb): Likewise.
257 (gcore_collect_thread_registers): Likewise.
258 (gcore_build_thread_register_notes): Likewise.
259 (gcore_find_signalled_thread): Likewise.
260 * gcore.h (gcore_build_thread_register_notes): Declare.
261 (gcore_find_signalled_thread): Declare.
262 * fbsd-tdep.c: Add 'gcore.h' include.
263 (struct fbsd_collect_regset_section_cb_data): Delete.
264 (fbsd_collect_regset_section_cb): Delete.
265 (fbsd_collect_thread_registers): Delete.
266 (struct fbsd_corefile_thread_data): Delete.
267 (fbsd_corefile_thread): Delete.
268 (fbsd_make_corefile_notes): Call
269 gcore_build_thread_register_notes instead of the now deleted
270 FreeBSD code.
271 * linux-tdep.c: Add 'gcore.h' include.
272 (struct linux_collect_regset_section_cb_data): Delete.
273 (linux_collect_regset_section_cb): Delete.
274 (linux_collect_thread_registers): Delete.
275 (linux_corefile_thread): Call
276 gcore_build_thread_register_notes.
277 (find_signalled_thread): Delete.
278 (linux_make_corefile_notes): Call gcore_find_signalled_thread.
279
280 2021-01-29 Tom de Vries <tdevries@suse.de>
281
282 PR breakpoints/26063
283 * infrun.c (process_event_stop_test): Reset
284 ecs->event_thread->current_line to 0 if is-stmt=n and frame has
285 changed.
286
287 2021-01-28 Andrew Burgess <andrew.burgess@embecosm.com>
288
289 * thread.c (thr_try_catch_cmd): Replace swith_to_thread with an
290 assert. Extend the header comment.
291
292 2021-01-28 Andrew Burgess <andrew.burgess@embecosm.com>
293
294 * Makefile.in (SUBDIR_TUI_SRCS): Add tui/tui-location.c.
295 (HFILES_NO_SRCDIR): Add tui/tui-location.h.
296 * tui/tui-data.h (TUI_STATUS_WIN): Define.
297 (tui_locator_win_info_ptr): Delete declaration.
298 * tui/tui-disasm.c: Add 'tui/tui-location.h' include.
299 (tui_disasm_window::set_contents): Fetch state from tui_location
300 global.
301 (tui_get_begin_asm_address): Likewise.
302 * tui/tui-layout.c (tui_apply_current_layout): Remove special case
303 for locator window.
304 (get_locator_window): Delete.
305 (initialize_known_windows): Treat locator window just like all the
306 rest.
307 * tui/tui-source.c: Add 'tui/tui-location.h' include.
308 (tui_source_window::set_contents): Fetch state from tui_location
309 global.
310 (tui_source_window::showing_source_p): Likewise.
311 * tui/tui-stack.c: Add 'tui/tui-location.h' include.
312 (_locator): Delete.
313 (tui_locator_win_info_ptr): Delete.
314 (tui_locator_window::make_status_line): Fetch state from
315 tui_location global.
316 (tui_locator_window::rerender): Remove check of 'handle',
317 reindent function body.
318 (tui_locator_window::set_locator_fullname): Delete.
319 (tui_locator_window::set_locator_info): Delete.
320 (tui_update_locator_fullname): Delete.
321 (tui_show_frame_info): Likewise.
322 (tui_show_locator_content): Access window through TUI_STATUS_WIN.
323 * tui/tui-stack.h (tui_locator_window::set_locator_info): Moved to
324 tui/tui-location.h and renamed to
325 tui_location_tracker::set_location.
326 (tui_locator_window::set_locator_fullname): Moved to
327 tui/tui-location.h and renamed to
328 tui_location_tracker::set_fullname.
329 (tui_locator_window::full_name): Delete.
330 (tui_locator_window::proc_name): Delete.
331 (tui_locator_window::line_no): Delete.
332 (tui_locator_window::addr): Delete.
333 (tui_locator_window::gdbarch): Delete.
334 (tui_update_locator_fullname): Delete declaration.
335 * tui/tui-wingeneral.c (tui_refresh_all): Removed special handling
336 for locator window.
337 * tui/tui-winsource.c: Add 'tui/tui-location.h' include.
338 (tui_display_main): Call function on tui_location directly.
339 * tui/tui.h (enum tui_win_type): Add STATUS_WIN.
340 * tui/tui-location.c: New file.
341 * tui/tui-location.h: New file.
342
343 2021-01-28 Simon Marchi <simon.marchi@polymtl.ca>
344
345 * gdbtypes.h (get_type_arch): Rename to...
346 (struct type) <arch>: ... this, update all users.
347
348 2021-01-28 Simon Marchi <simon.marchi@polymtl.ca>
349
350 * gdbtypes.h (struct type) <arch>: Rename to...
351 <arch_owner>: ... this, update all users.
352 <objfile>: Rename to...
353 <objfile_owner>: ... this, update all users.
354
355 2021-01-28 Andrew Burgess <andrew.burgess@embecosm.com>
356
357 * gdbcmd.h (execute_command_to_string): Update comment.
358 * top.c (execute_command_to_string): Update header comment.
359
360 2021-01-28 Tom de Vries <tdevries@suse.de>
361
362 PR breakpoints/27205
363 * breakpoint.c (create_longjmp_master_breakpoint_probe)
364 (create_longjmp_master_breakpoint_names): New function, factored out
365 of ...
366 (create_longjmp_master_breakpoint): ... here. Only try to install
367 longjmp_names breakpoints in libc.so/libc.so.debug if installing probe
368 breakpoint in libc.so failed.
369
370 2021-01-27 Lancelot SIX <lsix@lancelotsix.com>
371
372 PR gdb/27133
373 * cli/cli-interp.c (cli_interp_base::set_logging): Ensure the
374 unique_ptr is released when the wrapped pointer is kept for later
375 use.
376
377 2021-01-27 Matthew Malcomson <matthew.malcomson@arm.com>
378
379 * aarch64-tdep.c (aarch64_displaced_step_others): Account for
380 BLR and BR instructions.
381 * arch/aarch64-insn.h (enum aarch64_opcodes): Add BR opcode.
382 (enum aarch64_masks): New.
383
384 2021-01-26 Tom Tromey <tromey@adacore.com>
385
386 * windows-nat.c (DEBUG_EXEC, DEBUG_EVENTS, DEBUG_MEM)
387 (DEBUG_EXCEPT): Use debug_prefixed_printf_cond.
388 (windows_init_thread_list, windows_nat::handle_load_dll)
389 (windows_nat::handle_unload_dll, windows_nat_target::resume)
390 (windows_nat_target::resume)
391 (windows_nat_target::get_windows_debug_event)
392 (windows_nat_target::interrupt, windows_xfer_memory)
393 (windows_nat_target::close): Update.
394 * nat/windows-nat.c (DEBUG_EVENTS): Use
395 debug_prefixed_printf_cond.
396 (matching_pending_stop, fetch_pending_stop)
397 (continue_last_debug_event): Update.
398
399 2020-12-17 Mihails Strasuns <mihails.strasuns@intel.com>
400
401 * linux-tdep.c (linux_make_mappings_corefile_notes): Start using
402 elfcore_write_file_note.
403
404 2021-01-26 Shahab Vahedi <shahab@synopsys.com>
405
406 * arc-tdep.c (arc_add_reggroups): New function.
407 (arc_gdbarch_init): Call arc_add_reggroups.
408
409 2021-01-26 Anton Kolesov <anton.kolesov@synopsys.com>
410
411 * arc-tdep.c (arc_skip_prologue): Log "pc" address.
412
413 2021-01-25 Bernd Edlinger <bernd.edlinger@hotmail.de>
414 Simon Marchi <simon.marchi@polymtl.ca>
415 Tom de Vries <tdevries@suse.de>
416
417 * dwarf2/read.c (partial_die_info::read): Use as_unsigned () for
418 DW_AT_ranges.
419
420 2021-01-25 Tom Tromey <tromey@adacore.com>
421
422 * dwarf2/read.c (get_mpz): New function.
423 (get_dwarf2_rational_constant): Use it.
424
425 2021-01-25 Tom Tromey <tromey@adacore.com>
426
427 * ada-lang.c (resolve_subexp): Handle array context.
428
429 2021-01-23 Tom Tromey <tom@tromey.com>
430
431 PR compile/25575
432 * compile/compile-loc2c.c (note_register): New function.
433 (pushf_register_address, pushf_register): Use it.
434
435 2021-01-23 Tom Tromey <tom@tromey.com>
436
437 * symtab.h (struct symbol_computed_ops) <generate_c_location>:
438 Change type of "registers_used".
439 * dwarf2/loc.h (dwarf2_compile_property_to_c): Update.
440 * dwarf2/loc.c (dwarf2_compile_property_to_c)
441 (locexpr_generate_c_location, loclist_generate_c_location): Change
442 type of "registers_used".
443 * compile/compile.h (compile_dwarf_expr_to_c)
444 (compile_dwarf_bounds_to_c): Update.
445 * compile/compile-loc2c.c (pushf_register_address)
446 (pushf_register, do_compile_dwarf_expr_to_c)
447 (compile_dwarf_expr_to_c, compile_dwarf_bounds_to_c): Change type
448 of "registers_used".
449 * compile/compile-c.h (generate_c_for_variable_locations):
450 Update.
451 * compile/compile-c-symbols.c (generate_vla_size)
452 (generate_c_for_for_one_variable): Change type of
453 "registers_used".
454 (generate_c_for_variable_locations): Return std::vector.
455 * compile/compile-c-support.c (generate_register_struct): Change
456 type of "registers_used".
457 (compute): Update.
458
459 2021-01-23 Tom Tromey <tom@tromey.com>
460
461 * compile/compile-internal.h (class compile_instance)
462 <set_arguments>: Change return type.
463 * compile/compile.c (compile_to_object): Remove call to reset.
464 (compile_instance::set_arguments): Change return type.
465
466 2021-01-23 Simon Marchi <simon.marchi@polymtl.ca>
467
468 * gdbtypes.c (copy_type_recursive): Use get_type_arch.
469 * gdbtypes.h (struct type) <set_owner>: Add asserts.
470
471 2021-01-23 Lancelot SIX <lsix@lancelotsix.com>
472
473 * Makefile.in (SELFTESTS_SRCS): Add
474 unittests/gdb_tilde_expand-selftests.c.
475 * unittests/gdb_tilde_expand-selftests.c: New file.
476
477 2021-01-22 Andrew Burgess <andrew.burgess@embecosm.com>
478
479 PR cli/25956
480 * NEWS: Mention new command.
481 * cli/cli-style.c: Add 'cli/cli-setshow.h' include.
482 (version_style): Define.
483 (cli_style_option::cli_style_option): Add intensity parameter, and
484 use as appropriate.
485 (_initialize_cli_style): Register version style set/show commands.
486 * cli/cli-style.h (cli_style_option): Add intensity parameter.
487 (version_style): Declare.
488 * top.c (print_gdb_version): Use version_stype, and styled_string
489 to print the GDB version string.
490
491 2021-01-22 Andrew Burgess <andrew.burgess@embecosm.com>
492
493 * utils.c (emit_style_escape): Only emit an escape sequence if the
494 requested style is different than the current applied style.
495 (fputs_maybe_filtered): Adjust the juggling of the wrap_style, and
496 current applied_style.
497 (fputs_styled): Remove is_default check.
498 (fputs_styled_unfiltered): Likewise.
499 (vfprintf_styled_no_gdbfmt): Likewise.
500
501 2021-01-22 Simon Marchi <simon.marchi@polymtl.ca>
502
503 * remote.h (remote_debug_printf): New.
504 (remote_debug_printf_nofunc): New.
505 (REMOTE_SCOPED_DEBUG_ENTER_EXIT): New.
506 * remote.c: Use above macros throughout file.
507
508 2021-01-22 Simon Marchi <simon.marchi@polymtl.ca>
509
510 * remote.h (remote_debug): Change to bool.
511 * remote.c (remote_debug): Change to bool.
512 (_initialize_remote): Adjust.
513
514 2021-01-22 Simon Marchi <simon.marchi@polymtl.ca>
515
516 * target.h (remote_debug): Move to...
517 * remote.h (remote_debug): ... here.
518 * top.c (remote_debug): Move to...
519 * remote.c (remote_debug): ... here.
520 * remote-sim.c: Include remote.h.
521
522 2021-01-22 Simon Marchi <simon.marchi@polymtl.ca>
523
524 * cli/cli-cmds.c (show_remote_debug): Remove.
525 (show_remote_timeout): Remove.
526 (_initialize_cli_cmds): Don't register commands.
527 * remote.c (show_remote_debug): Move here.
528 (show_remote_timeout): Move here.
529 (_initialize_remote): Register commands.
530
531 2021-01-22 Simon Marchi <simon.marchi@polymtl.ca>
532
533 * gdbtypes.h (TYPE_OBJFILE): Remove, change all users to use the
534 type::objfile method instead.
535
536 2021-01-22 Simon Marchi <simon.marchi@polymtl.ca>
537
538 * gdbtypes.h (TYPE_OBJFILE_OWNED): Remove, update all users to
539 use the type::is_objfile_owned method.
540
541 2021-01-22 Simon Marchi <simon.marchi@efficios.com>
542
543 * gdbtypes.h (TYPE_OBJFILE_OWNED): Adjust.
544 (TYPE_OWNER): Remove.
545 (TYPE_OBJFILE): Adjust.
546 (struct main_type) <flag_objfile_owned>: Rename to...
547 <m_flag_objfile_owned>: ... this.
548 <owner>: Rename to...
549 <m_owner>: ... this.
550 (struct type) <is_objfile_owned, set_owner, objfile, arch>: New
551 methods.
552 (TYPE_ALLOC): Adjust.
553 * gdbtypes.c (alloc_type): Adjust.
554 (alloc_type_arch): Adjust.
555 (alloc_type_copy): Adjust.
556 (get_type_arch): Adjust.
557 (smash_type): Adjust.
558 (lookup_array_range_type): Adjust.
559 (recursive_dump_type): Adjust.
560 (copy_type_recursive): Adjust.
561 * compile/compile-c-types.c (convert_func): Adjust.
562 (convert_type_basic): Adjust.
563 * compile/compile-cplus-types.c (compile_cplus_convert_func):
564 Adjust.
565 * language.c
566 (language_arch_info::type_and_symbol::alloc_type_symbol):
567 Adjust.
568
569 2021-01-21 Luis Machado <luis.machado@linaro.org>
570
571 * coffread.c (enter_linenos): Passing string to complaint.
572 * valops.c (value_assign): Make array view.
573
574 2021-01-21 Simon Marchi <simon.marchi@polymtl.ca>
575
576 * auto-load.h (debug_auto_load): Move here.
577 (auto_load_debug_printf): New.
578 * auto-load.c: Use auto_load_debug_printf.
579 (debug_auto_load): Move to header.
580 * linux-thread-db.c (try_thread_db_load): Use
581 auto_load_debug_printf.
582 * main.c (captured_main_1): Likewise.
583
584 2021-01-21 Simon Marchi <simon.marchi@polymtl.ca>
585
586 * f-valprint.c (f77_array_offset_tbl): Remove.
587
588 2021-01-21 Simon Marchi <simon.marchi@polymtl.ca>
589
590 * gdb_bfd.c (bfd_cache_debug_printf): New, use throughout file.
591
592 2021-01-21 Simon Marchi <simon.marchi@polymtl.ca>
593
594 * ser-tcp.c (wait_for_connect): Use interruptible_select instead
595 of gdb_select.
596
597 2021-01-21 Hannes Domani <ssbssa@yahoo.de>
598
599 PR python/19151
600 * python/py-breakpoint.c (bppy_get_location): Handle
601 bp_hardware_breakpoint.
602 (bppy_init): Likewise.
603 (gdbpy_breakpoint_created): Likewise.
604
605 2021-01-21 Simon Marchi <simon.marchi@polymtl.ca>
606
607 * arm-tdep.c (arm_debug_printf): Add and use throughout file.
608
609 2021-01-20 Simon Marchi <simon.marchi@polymtl.ca>
610
611 * gdb_bfd.c (debug_bfd_cache): Change type to bool.
612 (_initialize_gdb_bfd): Adjust.
613
614 2021-01-20 Simon Marchi <simon.marchi@polymtl.ca>
615
616 PR gdb/26828
617 * dwarf2/read.c (maybe_queue_comp_unit): Add assertion.
618
619 2021-01-20 Simon Marchi <simon.marchi@polymtl.ca>
620
621 * dwarf2/read.c (follow_die_offset): Add logging.
622 (dwarf2_per_objfile::age_comp_units): Add logging.
623
624 2021-01-20 Simon Marchi <simon.marchi@polymtl.ca>
625
626 * aarch64-linux-tdep.c (aarch64_linux_record_tdep): Make static.
627 * aarch64-tdep.c (tdesc_aarch64_list, aarch64_prologue_unwind,
628 aarch64_stub_unwind, aarch64_normal_base, ): Make static.
629 * arm-linux-tdep.c (arm_prologue_unwind): Make static.
630 * arm-tdep.c (struct frame_unwind): Make static.
631 * auto-load.c (auto_load_safe_path_vec): Make static.
632 * csky-tdep.c (csky_stub_unwind): Make static.
633 * gdbarch.c (gdbarch_data_registry): Make static.
634 * gnu-v2-abi.c (gnu_v2_abi_ops): Make static.
635 * i386-netbsd-tdep.c (i386nbsd_mc_reg_offset): Make static.
636 * i386-tdep.c (i386_frame_setup_skip_insns,
637 i386_tramp_chain_in_reg_insns, i386_tramp_chain_on_stack_insns):
638 Make static.
639 * infrun.c (observer_mode): Make static.
640 * linux-nat.c (sigchld_action): Make static.
641 * linux-thread-db.c (thread_db_list): Make static.
642 * maint-test-options.c (maintenance_test_options_list):
643 * mep-tdep.c (mep_csr_registers): Make static.
644 * mi/mi-cmds.c (struct mi_cmd_stats): Remove struct type name.
645 (stats): Make static.
646 * nat/linux-osdata.c (struct osdata_type): Make static.
647 * ppc-netbsd-tdep.c (ppcnbsd_reg_offsets): Make static.
648 * progspace.c (last_program_space_num): Make static.
649 * python/py-param.c (struct parm_constant): Remove struct type
650 name.
651 (parm_constants): Make static.
652 * python/py-record-btrace.c (btpy_list_methods): Make static.
653 * python/py-record.c (recpy_gap_type): Make static.
654 * record.c (record_goto_cmdlist): Make static.
655 * regcache.c (regcache_descr_handle): Make static.
656 * registry.h (DEFINE_REGISTRY): Make definition static.
657 * symmisc.c (std_in, std_out, std_err): Make static.
658 * top.c (previous_saved_command_line): Make static.
659 * tracepoint.c (trace_user, trace_notes, trace_stop_notes): Make
660 static.
661 * unittests/command-def-selftests.c (nr_duplicates,
662 nr_invalid_prefixcmd, lists): Make static.
663 * unittests/observable-selftests.c (test_notification): Make
664 static.
665 * unittests/optional/assignment/1.cc (counter): Make static.
666 * unittests/optional/assignment/2.cc (counter): Make static.
667 * unittests/optional/assignment/3.cc (counter): Make static.
668 * unittests/optional/assignment/4.cc (counter): Make static.
669 * unittests/optional/assignment/5.cc (counter): Make static.
670 * unittests/optional/assignment/6.cc (counter): Make static.
671
672 2021-01-20 Joel Sherrill <joel@rtems.org>
673
674 PR gdb/27219
675 * remote.c (struct remote_thread_info) <resume_state>: Rename
676 to...
677 <get_resume_state>: ... this.
678 (remote_target::resume): Adjust.
679 (remote_target::commit_resume): Adjust.
680 (remote_target::select_thread_for_ambiguous_stop_reply): Adjust.
681
682 2021-01-20 Sergio Durigan Junior <sergiodj@sergiodj.net>
683 Tom Tromey <tom@tromey.com>
684
685 * stap-probe.c (stap_parse_single_operand): Handle '!'
686 operator.
687 (stap_parse_argument_conditionally): Likewise.
688 Skip spaces after processing open-parenthesis sub-expression.
689 (stap_parse_argument_1): Skip spaces after call to
690 stap_parse_argument_conditionally.
691 Handle case when right-side expression is a parenthesized
692 sub-expression.
693 Skip spaces after call to stap_parse_argument_1.
694
695 2021-01-19 Lancelot SIX <lsix@lancelotsix.com>
696
697 * top.h (switch_thru_all_uis): Use DISABLE_COPY_AND_ASSIGN.
698
699 2021-01-19 Luis Machado <luis.machado@linaro.org>
700
701 * trad-frame.h (trad_frame_saved_reg) <set_value_bytes>: Allocate
702 memory and save data.
703 (trad_frame_set_value, trad_frame_set_realreg, trad_frame_set_addr)
704 (trad_frame_set_unknown, trad_frame_set_value_bytes)
705 (trad_frame_value_p, trad_frame_addr_p, trad_frame_realreg_p)
706 (trad_frame_value_bytes_p): Remove.
707 (trad_frame_reset_saved_regs): Adjust documentation.
708 * trad-frame.c (trad_frame_alloc_saved_regs): Initialize via a
709 constructor and reset the state of the registers.
710 (trad_frame_value_p, trad_frame_addr_p, trad_frame_realreg_p)
711 (trad_frame_value_bytes_p, trad_frame_set_value)
712 (trad_frame_set_realreg, trad_frame_set_addr)
713 (trad_frame_set_unknown, trad_frame_set_value_bytes): Remove.
714 (trad_frame_set_reg_realreg): Update to call member function.
715 (trad_frame_set_reg_addr, trad_frame_set_reg_value_bytes): Likewise.
716 (trad_frame_get_prev_register): Likewise.
717
718 * aarch64-tdep.c (aarch64_analyze_prologue)
719 (aarch64_analyze_prologue_test, aarch64_make_prologue_cache_1)
720 (aarch64_prologue_prev_register): Update to use member functions.
721 * alpha-mdebug-tdep.c (alpha_mdebug_frame_unwind_cache): Likewise.
722 * alpha-tdep.c (alpha_heuristic_frame_unwind_cache): Likewise.
723 * arc-tdep.c (arc_print_frame_cache, arc_make_frame_cache): Likewise.
724 * arm-tdep.c (arm_make_prologue_cache, arm_exidx_fill_cache)
725 (arm_make_epilogue_frame_cache): Likewise.
726 * avr-tdep.c (avr_frame_unwind_cache)
727 (avr_frame_prev_register): Likewise.
728 * cris-tdep.c (cris_scan_prologue): Likewise.
729 * csky-tdep.c (csky_frame_unwind_cache): Likewise.
730 * frv-tdep.c (frv_analyze_prologue): Likewise.
731 * hppa-tdep.c (hppa_frame_cache, hppa_fallback_frame_cache): Likewise.
732 * lm32-tdep.c (lm32_frame_cache): Likewise.
733 * m32r-tdep.c (m32r_frame_unwind_cache): Likewise.
734 * m68hc11-tdep.c (m68hc11_frame_unwind_cache): Likewise.
735 * mips-tdep.c (set_reg_offset, mips_insn16_frame_cache)
736 (mips_micro_frame_cache, mips_insn32_frame_cache): Likewise.
737 (reset_saved_regs): Adjust to set realreg.
738 * riscv-tdep.c (riscv_scan_prologue, riscv_frame_cache): Adjust to
739 call member functions.
740 * rs6000-tdep.c (rs6000_frame_cache, rs6000_epilogue_frame_cache)
741 * s390-tdep.c (s390_prologue_frame_unwind_cache)
742 (s390_backchain_frame_unwind_cache): Likewise.
743 * score-tdep.c (score7_analyze_prologue)
744 (score3_analyze_prologue, score_make_prologue_cache): Likewise.
745 * sparc-netbsd-tdep.c (sparc32nbsd_sigcontext_saved_regs): Likewise.
746 * sparc-sol2-tdep.c (sparc32_sol2_sigtramp_frame_cache): Likewise.
747 * sparc64-netbsd-tdep.c (sparc64nbsd_sigcontext_saved_regs): Likewise.
748 * sparc64-sol2-tdep.c (sparc64_sol2_sigtramp_frame_cache): Likewise.
749 * tilegx-tdep.c (tilegx_analyze_prologue)
750 (tilegx_frame_cache): Likewise.
751 * v850-tdep.c (v850_frame_cache): Likewise.
752 * vax-tdep.c (vax_frame_cache): Likewise.
753
754 2021-01-19 Luis Machado <luis.machado@linaro.org>
755
756 * frame.h (get_frame_register_bytes): Pass a gdb::array_view instead
757 of buffer + length.
758 (put_frame_register_bytes): Likewise.
759 Adjust documentation.
760 (get_frame_memory): Pass a gdb::array_view instead of buffer + length.
761 (safe_frame_unwind_memory): Likewise.
762 * frame.c (get_frame_register_bytes, put_frame_register_bytes)
763 (get_frame_memory, safe_frame_unwind_memory): Adjust to use
764 gdb::array_view.
765 * amd64-fbsd-tdep.c (amd64fbsd_sigtramp_p): Likewise.
766 * amd64-linux-tdep.c (amd64_linux_sigtramp_start): Likewise.
767 * amd64-obsd-tdep.c (amd64obsd_sigtramp_p): Likewise.
768 * arc-linux-tdep.c (arc_linux_is_sigtramp): Likewise.
769 * cris-tdep.c (cris_sigtramp_start, cris_rt_sigtramp_start): Likewise.
770 * dwarf2/loc.c (rw_pieced_value): Likewise.
771 * hppa-tdep.c (hppa_frame_cache): Likewise.
772 * i386-fbsd-tdep.c (i386fbsd_sigtramp_p): Likewise.
773 * i386-gnu-tdep.c (i386_gnu_sigtramp_start): Likewise.
774 * i386-linux-tdep.c (i386_linux_sigtramp_start)
775 (i386_linux_rt_sigtramp_start): Likewise.
776 * i386-obsd-tdep.c (i386obsd_sigtramp_p): Likewise.
777 * i386-tdep.c (i386_register_to_value): Likewise.
778 * i387-tdep.c (i387_register_to_value): Likewise.
779 * ia64-tdep.c (ia64_register_to_value): Likewise.
780 * m32r-linux-tdep.c (m32r_linux_sigtramp_start)
781 (m32r_linux_rt_sigtramp_start): Likewise.
782 * m68k-linux-tdep.c (m68k_linux_pc_in_sigtramp): Likewise.
783 * m68k-tdep.c (m68k_register_to_value): Likewise.
784 * mips-tdep.c (mips_register_to_value)
785 (mips_value_to_register): Likewise.
786 * ppc-fbsd-tdep.c (ppcfbsd_sigtramp_frame_sniffer)
787 (ppcfbsd_sigtramp_frame_cache): Likewise.
788 * ppc-obsd-tdep.c (ppcobsd_sigtramp_frame_sniffer)
789 (ppcobsd_sigtramp_frame_cache): Likewise.
790 * rs6000-tdep.c (rs6000_in_function_epilogue_frame_p)
791 (rs6000_register_to_value): Likewise.
792 * tilegx-tdep.c (tilegx_analyze_prologue): Likewise.
793 * tramp-frame.c (tramp_frame_start): Likewise.
794 * valops.c (value_assign): Likewise.
795
796 2021-01-19 Luis Machado <luis.machado@linaro.org>
797
798 * aarch64-linux-tdep.c (aarch64_linux_restore_vreg): Pass in an
799 array_view.
800 * trad-frame.c (trad_frame_set_value_bytes): Use gdb::array_view
801 instead of buffer and size.
802 (trad_frame_set_reg_value_bytes): Likewise.
803 * trad-frame.h (trad_frame_set_reg_value_bytes): Likewise.
804 (trad_frame_set_value_bytes): Likewise.
805
806 2021-01-18 Mike Frysinger <vapier@gentoo.org>
807
808 * copyright.py (NOT_FSF_LIST): Delete sim/testsuite/sim/bfin/s21.s.
809
810 2021-01-18 Andrew Burgess <andrew.burgess@embecosm.com>
811
812 * riscv-fbsd-tdep.c (riscv_fbsd_supply_gregset): Delete.
813 (riscv_fbsd_gregset): Use riscv_supply_regset.
814 (riscv_fbsd_fpregset): Likewise.
815 * riscv-linux-tdep.c (riscv_linux_gregset): Likewise.
816 (riscv_linux_fregset): Likewise.
817 * riscv-tdep.c (riscv_supply_regset): Define new function.
818 * riscv-tdep.h (riscv_supply_regset): Declare new function.
819
820 2021-01-18 Tom de Vries <tdevries@suse.de>
821
822 PR tdep/27172
823 * nat/amd64-linux-siginfo.c (cpt_si_lower, cpt_si_upper, SEGV_BNDERR):
824 New macro.
825 (compat_siginfo_from_siginfo): Copy cpt_si_lower and cpt_si_upper
826 for SEGV_BNDERR.
827
828 2021-01-18 Simon Marchi <simon.marchi@polymtl.ca>
829
830 * remote.c (class remote_target) <remote_hostio_send_command,
831 remote_hostio_parse_result>: Constify parameter.
832 (remote_hostio_parse_result): Likewise.
833 (remote_target::remote_hostio_send_command): Adjust.
834 (remote_target::remote_hostio_pread_vFile): Adjust.
835 (remote_target::fileio_readlink): Adjust.
836 (remote_target::fileio_fstat): Adjust.
837
838 2021-01-18 Simon Marchi <simon.marchi@polymtl.ca>
839
840 * remote.c (remote_target::start_remote): Move wait_status to
841 narrower scope.
842
843 2021-01-18 Simon Marchi <simon.marchi@polymtl.ca>
844
845 * remote.c (class remote_target):
846 <add_current_inferior_and_thread>: Constify parameter.
847 (stop_reply_extract_thread): Likewise.
848 (remote_target::get_current_thread): Likewise.
849 (remote_target::add_current_inferior_and_thread): Likewise.
850
851 2021-01-18 Simon Marchi <simon.marchi@polymtl.ca>
852
853 * remote.c (class remote_target)
854 <remote_unpack_thread_info_response,
855 parse_threadlist_response>: Constify parameter and/or return
856 value and or local variable.
857 (stub_unpack_int): Likewise.
858 (unpack_nibble): Likewise.
859 (unpack_byte): Likewise.
860 (unpack_int): Likewise.
861 (unpack_string): Likewise.
862 (unpack_threadid): Likewise.
863 (remote_target::remote_unpack_thread_info_response): Likewise.
864 (remote_target::parse_threadlist_response): Likewise.
865
866 2021-01-15 Andrew Burgess <andrew.burgess@embecosm.com>
867
868 * tui/tui.c (tui_is_window_visible): Compare to nullptr, not 0.
869
870 2021-01-14 Lancelot Six <lsix@lancelotsix.com>
871
872 * MAINTAINERS (Write After Approval): Add myself.
873
874 2021-01-14 Bernd Edlinger <bernd.edlinger@hotmail.de>
875
876 * trad-frame.c (trad_frame_alloc_saved_regs): Avoid compile-error
877 because is_trivially_default_constructible was first implemented with
878 gcc-5.
879
880 2021-01-14 Tom de Vries <tdevries@suse.de>
881
882 PR breakpoints/27151
883 * objfiles.h (in_plt_section): Handle .plt.sec.
884
885 2021-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
886
887 PR gdb/26819
888 * remote.c
889 (remote_target::select_thread_for_ambiguous_stop_reply): New
890 member function.
891 (remote_target::process_stop_reply): Call
892 select_thread_for_ambiguous_stop_reply.
893
894 2021-01-13 Simon Marchi <simon.marchi@efficios.com>
895
896 * record-btrace.c (class record_btrace_target): Remove.
897 (record_btrace_target::commit_resume): Remove.
898 * record-full.c (class record_full_target): Remove.
899 (record_full_target::commit_resume): Remove.
900
901 2021-01-13 Simon Marchi <simon.marchi@efficios.com>
902
903 * remote.c (enum class resume_state): New.
904 (struct resumed_pending_vcont_info): New.
905 (struct remote_thread_info) <resume_state, set_not_resumed,
906 set_resumed_pending_vcont, resumed_pending_vcont_info,
907 set_resumed, m_resume_state, m_resumed_pending_vcont_info>:
908 New.
909 <last_resume_step, last_resume_sig, vcont_resumed>: Remove.
910 (remote_target::remote_add_thread): Adjust.
911 (remote_target::process_initial_stop_replies): Adjust.
912 (remote_target::resume): Adjust.
913 (remote_target::commit_resume): Rely on state in
914 remote_thread_info and not on tp->executing.
915 (remote_target::process_stop_reply): Adjust.
916
917 2021-01-13 Simon Marchi <simon.marchi@polymtl.ca>
918
919 * arc-tdep.h (arc_debug_printf): New.
920 * arc-tdep.c: Use arc_debug_printf.
921 * arc-linux-nat.c (arc_linux_nat_debug_printf): Add and use.
922 * arc-linux-tdep.c (arc_linux_debug_printf): Add and use.
923 * arc-newlib-tdep.c (arc_newlib_debug_printf): Add and use.
924
925 2021-01-13 Simon Marchi <simon.marchi@polymtl.ca>
926
927 * arc-tdep.h (arc_debug): Change type to bool.
928 * arc-tdep.c (arc_debug): Change type to bool.
929 (arc_analyze_prologue): Adjust.
930 (_initialize_arc_tdep): Use add_setshow_boolean_cmd.
931 * arc-linux-nat.c (ps_get_thread_area): Adjust.
932
933 2021-01-13 Simon Marchi <simon.marchi@polymtl.ca>
934
935 * auto-load.c (auto_load_objfile_script_1): Use bool.
936 (execute_script_contents): Use bool.
937
938 2021-01-13 Simon Marchi <simon.marchi@polymtl.ca>
939
940 * auto-load.h (auto_load_gdb_scripts_enabled): Return bool, move
941 comment here.
942 * auto-load.c (auto_load_gdb_scripts_enabled): Return bool, move
943 comment to header.
944 * extension-priv.h (struct extension_language_script_ops)
945 <auto_load_enabled>: Return bool.
946 * extension.h (ext_lang_auto_load_enabled): Return bool, move
947 comment here.
948 * extension.c (ext_lang_auto_load_enabled): Return bool, move
949 comment to header.
950 * guile/guile-header.h (gdbscm_auto_load_enabled): Return bool,
951 move comment here.
952 * guile/scm-auto-load.c (gdbscm_auto_load_enabled): Return bool,
953 move comment to header.
954 * python/python-header.h (gdbpy_auto_load_enabled): Return bool,
955 move comment here.
956 * python/py-auto-load.c (gdbpy_auto_load_enabled): Return bool,
957 move comment to header.
958
959 2021-01-13 Simon Marchi <simon.marchi@polymtl.ca>
960
961 * auto-load.h (file_is_auto_load_safe): Change return type to
962 bool, move comment here.
963 * auto-load.c (file_is_auto_load_safe): Change return type and
964 advice_printed to bool. Move comment to header.
965
966 2021-01-13 Simon Marchi <simon.marchi@polymtl.ca>
967
968 * jit.c (jit_debug_printf): New, use throughout file.
969
970 2021-01-12 Simon Marchi <simon.marchi@polymtl.ca>
971
972 * infrun.c (normal_stop): Fix indentation.
973
974 2021-01-12 Simon Marchi <simon.marchi@polymtl.ca>
975
976 * top.h (readnow_symbol_files, readnever_symbol_files): Move
977 declarations to ...
978 * symfile.h: ... here.
979 * symfile.c: Update doc.
980
981 2021-01-12 Simon Marchi <simon.marchi@polymtl.ca>
982
983 * target.h (baud_rate, serial_parity): Move declarations...
984 * serial.h: ... here.
985 * main.c: Include serial.h.
986 * serial.c (baud_rate, serial_parity): Update doc.
987
988 2021-01-12 Simon Marchi <simon.marchi@polymtl.ca>
989
990 * top.c (pre_init_ui_hook): Remove.
991
992 2021-01-12 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
993
994 * aarch64-tdep.c (aarch64_vnh_type): Add "bf" field in h registers.
995 (aarch64_vnv_type): Add "bf" type in h field of v registers.
996 * features/aarch64-fpu.c (create_feature_aarch64_fpu): Regenerated.
997 * features/aarch64-fpu.xml: Add bfloat16 type.
998
999 2021-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
1000
1001 * expprint.c (dump_subexp_body_standard): Handle OP_BOOL.
1002
1003 2021-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
1004
1005 * f-exp.y (dot_ops): Rename to...
1006 (fortran_operators): ...this. Add a header comment. Add symbol
1007 based operators.
1008 (yylex): Update to use fortran_operators not dot_ops. Remove
1009 special handling for '**', this is now included in
1010 fortran_operators.
1011
1012 2021-01-11 Simon Marchi <simon.marchi@polymtl.ca>
1013
1014 * arch/aarch64-insn.h (aarch64_debug_printf): New.
1015 * arch/aarch64-insn.c: Use aarch64_debug_printf.
1016 * aarch64-tdep.c: Use aarch64_debug_printf.
1017
1018 2021-01-11 Simon Marchi <simon.marchi@polymtl.ca>
1019
1020 * solib-aix.c (solib_aix_debug_printf): New, use throughout
1021 file.
1022
1023 2021-01-11 Simon Marchi <simon.marchi@polymtl.ca>
1024
1025 * jit.c (jit_debug): Change type to bool.
1026 (_initialize_jit): Adjust.
1027
1028 2021-01-09 Tom Tromey <tom@tromey.com>
1029
1030 PR compile/23672
1031 * compile/compile.c (compile_to_object): Avoid crash when
1032 osabi_triplet_regexp returns NULL.
1033
1034 2021-01-09 Tom Tromey <tom@tromey.com>
1035
1036 * tracepoint.h (class collection_list) <append_exp>: Take a
1037 std::string.
1038 * tracepoint.c (collection_list::append_exp): Take a std::string.
1039 (encode_actions_1): Update.
1040
1041 2021-01-08 Tom Tromey <tromey@adacore.com>
1042
1043 * parse.c (parse_expression): Add void_context_p parameter. Use
1044 parse_exp_in_context.
1045 * printcmd.c (print_command_1): Change voidprint to bool. Pass to
1046 parse_expression.
1047 (print_command, call_command): Update.
1048 * expression.h (parse_expression): Add void_context_p parameter.
1049
1050 2021-01-08 Andrew Burgess <andrew.burgess@embecosm.com>
1051
1052 * value.c (set_value_component_location): Adjust the VALUE_LVAL
1053 for internalvar components that have a dynamic location.
1054
1055 2021-01-08 Tom de Vries <tdevries@suse.de>
1056
1057 PR gdb/26881
1058 * breakpoint.c (create_exception_master_breakpoint_probe)
1059 (create_exception_master_breakpoint_hook): Factor out
1060 of ...
1061 (create_exception_master_breakpoint): ... here. Only try to install
1062 the master exception breakpoint in objfile.debug using the
1063 _Unwind_DebugHook method, if the install using probes in objfile
1064 failed.
1065
1066 2021-01-08 Andrew Burgess <andrew.burgess@embecosm.com>
1067
1068 * f-lang.c (fortran_value_subarray): Call value_from_component.
1069
1070 2021-01-07 Mike Frysinger <vapier@gentoo.org>
1071
1072 * remote-sim.c: Include memory-map.h.
1073 (gdbsim_target): Define memory_map override.
1074 (gdbsim_target::memory_map): Define.
1075
1076 2021-01-07 Tom Tromey <tromey@adacore.com>
1077
1078 * ada-lang.c (do_full_match): Conditionally skip "_ada_" prefix.
1079
1080 2021-01-07 Tom Tromey <tromey@adacore.com>
1081
1082 * ada-lang.c (add_component_interval): Start loop using vector's
1083 updated size.
1084
1085 2021-01-06 Tom Tromey <tromey@adacore.com>
1086
1087 * ada-lang.c (ada_evaluate_subexp) <BINOP_ADD, BINOP_SUB>:
1088 Do not cast result.
1089 * valarith.c (fixed_point_binop): Handle multiplication
1090 and division specially.
1091 * valops.c (value_to_gdb_mpq): New function.
1092 (value_cast_to_fixed_point): Use it.
1093
1094 2021-01-05 Hannes Domani <ssbssa@yahoo.de>
1095
1096 * tui/tui-winsource.c (tui_source_window_base::refresh_window):
1097 Call wnoutrefresh instead of tui_win_info::refresh_window.
1098
1099 2021-01-05 Hannes Domani <ssbssa@yahoo.de>
1100
1101 * tui/tui-source.c (tui_source_window::show_line_number):
1102 Redraw second space after line number.
1103
1104 2021-01-05 Hannes Domani <ssbssa@yahoo.de>
1105
1106 PR tui/26927
1107 * tui/tui-winsource.c (tui_source_window_base::refresh_window):
1108 Fix source pad size in prefresh.
1109 (tui_source_window_base::show_source_content): Grow source pad
1110 if necessary.
1111
1112 2021-01-04 Mike Frysinger <vapier@gentoo.org>
1113
1114 * bfin-tdep.c (bfin_push_dummy_call): Use align_up.
1115 (bfin_frame_align): Use align_down.
1116
1117 2021-01-04 Tom de Vries <tdevries@suse.de>
1118
1119 * buildsym.c (buildsym_compunit::record_line): Filter out end-of-seq
1120 terminators that do not terminate anything.
1121
1122 2021-01-04 Simon Marchi <simon.marchi@efficios.com>
1123
1124 * debug.c (debug_print_depth): New.
1125 * infrun.h (INFRUN_SCOPED_DEBUG_START_END): New.
1126 (INFRUN_SCOPED_DEBUG_ENTER_EXIT): New.
1127 * infrun.c (start_step_over): Use
1128 INFRUN_SCOPED_DEBUG_ENTER_EXIT.
1129 (proceed): Use INFRUN_SCOPED_DEBUG_ENTER_EXIT and
1130 INFRUN_SCOPED_DEBUG_START_END.
1131 (fetch_inferior_event): Use INFRUN_SCOPED_DEBUG_ENTER_EXIT.
1132
1133 2021-01-04 Simon Marchi <simon.marchi@efficios.com>
1134
1135 * infrun.c (print_target_wait_results): Use infrun_debug_printf.
1136
1137 2021-01-04 Simon Marchi <simon.marchi@efficios.com>
1138
1139 * utils.c (vfprintf_unfiltered): Print timestamp only when
1140 previous debug output ended with a newline.
1141
1142 2021-01-04 Luis Machado <luis.machado@linaro.org>
1143
1144 Update all users of trad_frame_saved_reg to use the new member
1145 functions.
1146
1147 Remote all struct keywords from declarations of trad_frame_saved_reg
1148 types, except on forward declarations.
1149
1150 * aarch64-tdep.c: Update.
1151 * alpha-mdebug-tdep.c: Update.
1152 * alpha-tdep.c: Update.
1153 * arc-tdep.c: Update.
1154 * arm-tdep.c: Update.
1155 * avr-tdep.c: Update.
1156 * cris-tdep.c: Update.
1157 * csky-tdep.c: Update.
1158 * frv-tdep.c: Update.
1159 * hppa-linux-tdep.c: Update.
1160 * hppa-tdep.c: Update.
1161 * hppa-tdep.h: Update.
1162 * lm32-tdep.c: Update.
1163 * m32r-linux-tdep.c: Update.
1164 * m32r-tdep.c: Update.
1165 * m68hc11-tdep.c: Update.
1166 * mips-tdep.c: Update.
1167 * moxie-tdep.c: Update.
1168 * riscv-tdep.c: Update.
1169 * rs6000-tdep.c: Update.
1170 * s390-linux-tdep.c: Update.
1171 * s390-tdep.c: Update.
1172 * score-tdep.c: Update.
1173 * sparc-netbsd-tdep.c: Update.
1174 * sparc-sol2-tdep.c: Update.
1175 * sparc64-fbsd-tdep.c: Update.
1176 * sparc64-netbsd-tdep.c: Update.
1177 * sparc64-obsd-tdep.c: Update.
1178 * sparc64-sol2-tdep.c: Update.
1179 * tilegx-tdep.c: Update.
1180 * v850-tdep.c: Update.
1181 * vax-tdep.c: Update.
1182
1183 * frame-unwind.c (frame_unwind_got_bytes): Make parameter const.
1184 * frame-unwind.h (frame_unwind_got_bytes): Likewise.
1185
1186 * trad-frame.c: Update.
1187 Remove TF_REG_* enum.
1188 (trad_frame_alloc_saved_regs): Add a static assertion to check for
1189 a trivially-constructible struct.
1190 (trad_frame_reset_saved_regs): Adjust to use member function.
1191 (trad_frame_value_p): Likewise.
1192 (trad_frame_addr_p): Likewise.
1193 (trad_frame_realreg_p): Likewise.
1194 (trad_frame_value_bytes_p): Likewise.
1195 (trad_frame_set_value): Likewise.
1196 (trad_frame_set_realreg): Likewise.
1197 (trad_frame_set_addr): Likewise.
1198 (trad_frame_set_unknown): Likewise.
1199 (trad_frame_set_value_bytes): Likewise.
1200 (trad_frame_get_prev_register): Likewise.
1201 * trad-frame.h: Update.
1202 (trad_frame_saved_reg_kind): New enum.
1203 (struct trad_frame_saved_reg) <addr, realreg, data>: Remove.
1204 <m_kind, m_reg>: New member fields.
1205 <set_value, set_realreg, set_addr, set_unknown, set_value_bytes>
1206 <kind, value, realreg, addr, value_bytes, is_value, is_realreg>
1207 <is_addr, is_unknown, is_value_bytes>: New member functions.
1208
1209 2021-01-02 Simon Marchi <simon.marchi@polymtl.ca>
1210
1211 * target-float.c: Fix typos.
1212
1213 2021-01-02 Hannes Domani <ssbssa@yahoo.de>
1214
1215 * gdb-gdb.py.in: Fix main_type.flds_bnds.bounds pretty printer.
1216
1217 2021-01-01 Joel Brobecker <brobecker@adacore.com>
1218
1219 * gdbarch.sh: Update copyright year range.
1220
1221 2021-01-01 Joel Brobecker <brobecker@adacore.com>
1222
1223 Update copyright year range in copyright header of all GDB files.
1224
1225 2021-01-01 Joel Brobecker <brobecker@adacore.com>
1226
1227 * copyright.py (get_update_list): Add "gdbserver" and "gdbsupport"
1228 to the list of directories to update.
1229
1230 2021-01-01 Joel Brobecker <brobecker@adacore.com>
1231
1232 * top.c (print_gdb_version): Update copyright year.
1233
1234 2021-01-01 Joel Brobecker <brobecker@adacore.com>
1235
1236 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2020.
1237
1238 For older changes see ChangeLog-2020.
1239 \f
1240 Local Variables:
1241 mode: change-log
1242 left-margin: 8
1243 fill-column: 74
1244 version-control: never
1245 coding: utf-8
1246 End: