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