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