]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/ChangeLog
[testsuite] Don't use 'testfile' before 'standard_testfile'.
[thirdparty/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
f73e424f
TT
12021-02-09 Tom Tromey <tromey@adacore.com>
2
3 * ada-lang.c (coerce_unspec_val_to_type): Avoid making lazy
4 not_lval value.
5 * value.c (value_contents_copy_raw): Now static.
6 * value.h (value_contents_copy_raw): Don't declare.
7
a4f0544b
TT
82021-02-09 Tom Tromey <tromey@adacore.com>
9
10 * gdbtypes.c (resolve_dynamic_struct): Handle structure with no
11 fields.
12
9b3e4b5d
SV
132021-02-08 Shahab Vahedi <shahab@synopsys.com>
14
15 PR tdep/27369
16 * arc-linux-tdep.c (handle_atomic_sequence): New.
17 (arc_linux_software_single_step): Call handle_atomic_sequence().
18
29db1eb3
AB
192021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
20
21 * python/py-tui.c (gdbpy_tui_window) <is_valid>: New member
22 function.
23 (REQUIRE_WINDOW): Call is_valid member function.
24 (REQUIRE_WINDOW_FOR_SETTER): New define.
25 (gdbpy_tui_is_valid): Call is_valid member function.
26 (gdbpy_tui_set_title): Call REQUIRE_WINDOW_FOR_SETTER instead.
27 * tui/tui-data.h (struct tui_win_info) <is_visible>: Check
28 tui_active too.
29 * tui/tui-layout.c (tui_apply_current_layout): Add an assert.
30 * tui/tui.c (tui_enable): Move setting of tui_active earlier in
31 the function.
32
e0c23e11
AB
332021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
34
35 * python/py-tui.c (gdbpy_tui_set_title): Check that the new value
36 for the title is not nullptr.
37
1cf23996
AB
382021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
39
40 * tui-layout.c (saved_tui_windows): Delete.
41 (tui_apply_current_layout): Don't make use of saved_tui_windows,
42 call new get_windows member function instead.
43 (tui_get_window_by_name): Check in tui_windows.
44 (tui_layout_window::apply): Don't add to tui_windows.
45 * tui-layout.h (tui_layout_base::get_windows): New member function.
46 (tui_layout_window::get_windows): Likewise.
47 (tui_layout_split::get_windows): Likewise.
48
a53a2657
AB
492021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
50
51 * tui/tui-layout.c (tui_apply_current_layout): Restore the delete
52 of the window objects.
53
2708dbbd
AB
542021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
55
56 * python/python.c (gdbpy_print_stack): Reformat an error message.
57
cd074e04
AB
582021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
59
60 * tui/tui-interp.c (tui_command_line_handler): New function.
61 (tui_interp::resume): Register tui_command_line_handler as the
62 input_handler.
63 * tui/tui-io.c (tui_inject_newline_into_command_window): New
64 function.
65 (tui_getc_1): Delete handling of '\n' and '\r'.
66 * tui-io.h (tui_inject_newline_into_command_window): Declare.
67
4cf28e91
HD
682021-02-07 Hannes Domani <ssbssa@yahoo.de>
69
70 * tui/tui-regs.c (tui_data_window::display_registers_from):
71 Mark invisible register sub windows.
72 (tui_data_window::check_register_values): Ignore invisible
73 register sub windows.
74
3537bc23
HD
752021-02-07 Hannes Domani <ssbssa@yahoo.de>
76
77 * tui/tui-regs.c (tui_data_item_window::rerender): Don't call
78 n_spaces with a negative value.
79
5fc2d6aa
HD
802021-02-07 Hannes Domani <ssbssa@yahoo.de>
81
82 * tui/tui-regs.c (tui_data_window::display_registers_from):
83 Add refresh_window call.
84
83962f83
HD
852021-02-07 Hannes Domani <ssbssa@yahoo.de>
86
87 * python/py-frame.c (frapy_richcompare): Compare frame_id_is_next.
88
0110ec82
SM
892021-02-05 Simon Marchi <simon.marchi@polymtl.ca>
90
91 * symmisc.c (std_in, std_out, std_err): Remove.
92 (_initialize_symmisc): Don't set std_in, std_out and std_err.
93
7c6944ab
TV
942021-02-05 Tom de Vries <tdevries@suse.de>
95
96 PR breakpoints/27330
97 * breakpoint.c (create_exception_master_breakpoint): Handle case that
98 glibc object file has debug info.
99
e77b0004
TV
1002021-02-05 Tom de Vries <tdevries@suse.de>
101
102 PR symtab/27333
103 * dwarf2/read.c (process_psymtab_comp_unit): Handle DW_TAG_type_unit.
104
0e857c82
TV
1052021-02-05 Tom de Vries <tdevries@suse.de>
106
107 PR breakpoints/27313
108 * break-catch-syscall.c (catch_syscall_split_args): Reject negative
109 syscall numbers.
110
bdfea17e
TT
1112021-02-05 Tom Tromey <tom@tromey.com>
112
113 * compile/compile-c-support.c (get_compile_context)
114 (c_get_compile_context, cplus_get_compile_context): Change return
115 type.
116 * language.c (language_defn::get_compile_instance): New method.
117 * language.h (language_defn::get_compile_instance): Change return
118 type. No longer inline.
119 * c-lang.c (c_language::get_compile_instance): Change return type.
120 (cplus_language::get_compile_instance): Change return type.
121 * c-lang.h (c_get_compile_context, cplus_get_compile_context):
122 Change return type.
123 * compile/compile.c (compile_to_object): Update.
124
1b30f421
TT
1252021-02-05 Tom Tromey <tom@tromey.com>
126
127 * parser-defs.h (write_exp_symbol_reference): Declare.
128 * parse.c (write_exp_symbol_reference): New function.
129 * p-exp.y (variable): Use write_exp_symbol_reference.
130 * m2-exp.y (variable): Use write_exp_symbol_reference.
131 * f-exp.y (variable): Use write_exp_symbol_reference.
132 * d-exp.y (PrimaryExpression): Use write_exp_symbol_reference.
133 * c-exp.y (variable): Use write_exp_symbol_reference.
134
ae710496
TV
1352021-02-05 Tom de Vries <tdevries@suse.de>
136
137 PR exp/27265
138 * valarith.c (complex_binop): Throw an error if complex type can't
139 be created.
140
d3b54e63
TV
1412021-02-05 Tom de Vries <tdevries@suse.de>
142
143 PR symtab/27307
144 * dwarf2/read.c (create_cus_from_debug_names_list): Add missing
145 return.
146
fc9a13fb
TV
1472021-02-05 Tom de Vries <tdevries@suse.de>
148
149 * dwarf2/read.c (create_cus_from_debug_names_list): Fix indentation.
150
04b4939b
MF
1512021-02-04 Mike Frysinger <vapier@gentoo.org>
152
153 * configure.tgt (riscv*-*-*): Set gdb_sim.
154
6ff267e1
SM
1552021-02-04 Simon Marchi <simon.marchi@polymtl.ca>
156
157 * target.c (target_is_non_stop_p): Return bool.
158 * target.h (target_is_non_stop_p): Return bool.
159
fdbc5215
SM
1602021-02-04 Simon Marchi <simon.marchi@efficios.com>
161
162 * record-full.c (record_full_async_inferior_event_handler):
163 Don't clear async event handler.
164 (record_full_base_target::wait): Clear async event handler at
165 beginning.
166
85d3ad8e
SM
1672021-02-04 Simon Marchi <simon.marchi@efficios.com>
168
169 * record-btrace.c (record_btrace_handle_async_inferior_event):
170 Don't clear async event handler.
171 (record_btrace_target::wait): Clear async event handler at
172 beginning.
173
baa8575b
SM
1742021-02-04 Simon Marchi <simon.marchi@efficios.com>
175
176 * remote.c (remote_target::wait): Clear async event handler at
177 beginning, mark if needed at the end.
178 (remote_async_inferior_event_handler): Don't set or clear async
179 event handler.
180
6b36ddeb
SM
1812021-02-04 Simon Marchi <simon.marchi@efficios.com>
182
183 * async-event.h (async_event_handler_func): Add documentation.
184 * async-event.c (check_async_event_handlers): Don't clear
185 async_event_handler ready flag.
186 * infrun.c (infrun_async_inferior_event_handler): Clear ready
187 flag.
188 * record-btrace.c (record_btrace_handle_async_inferior_event):
189 Likewise.
190 * record-full.c (record_full_async_inferior_event_handler):
191 Likewise.
192 * remote-notif.c (remote_async_get_pending_events_handler):
193 Likewise.
194 * remote.c (remote_async_inferior_event_handler): Likewise.
195
72d383bb
SM
1962021-02-03 Simon Marchi <simon.marchi@polymtl.ca>
197
198 * infrun.c (handle_inferior_event): Move stop_soon variable to
199 inner scope.
200
408f6686
PA
2012021-02-03 Pedro Alves <pedro@palves.net>
202
203 * infcmd.c (detach_command): Hold strong reference to target, and
204 if all-stop on entry, restart threads on exit.
205 * infrun.c (switch_back_to_stepped_thread): Factor out bits to ...
206 (restart_stepped_thread): ... this new function. Also handle
207 trap_expected.
208 (restart_after_all_stop_detach): New function.
209 * infrun.h (restart_after_all_stop_detach): Declare.
210
ac7d717c
PA
2112021-02-03 Pedro Alves <pedro@palves.net>
212
213 * infrun.c (struct step_over_info): Initialize fields.
214 (prepare_for_detach): Handle ongoing in-line step over.
215
e87f0fe8
PA
2162021-02-03 Pedro Alves <pedro@palves.net>
217
218 * linux-nat.c (linux_nat_target::detach): Remove breakpoints
219 here...
220 * remote.c (remote_target::remote_detach_1): ... and here ...
221 * target.c (target_detach): ... instead of here.
222 * target.h (target_ops::detach): Add comment.
223
8ff53139
PA
2242021-02-03 Pedro Alves <pedro@palves.net>
225
226 * infrun.c (struct wait_one_event): Move higher up.
227 (prepare_for_detach): Abort in-progress displaced steps instead of
228 letting them complete.
229 (handle_one): If the inferior is detaching, don't add the thread
230 back to the global step-over chain.
231 (restart_threads): Don't restart threads if detaching.
232 (handle_signal_stop): Remove inferior::detaching reference.
233
91475068
PA
2342021-02-03 Pedro Alves <pedro@palves.net>
235
236 * infrun.c (prepare_for_detach): Don't release scoped_restore
237 before returning.
238
d758e62c
PA
2392021-02-03 Pedro Alves <pedro@palves.net>
240
241 * infrun.c (handle_one): New function, factored out from ...
242 (stop_all_threads): ... here.
243
b0083dd7
PA
2442021-02-03 Pedro Alves <pedro@palves.net>
245
246 * remote.c (remote_notif_stop_ack): Don't error out on
247 TARGET_WAITKIND_IGNORE; instead, just ignore the notification.
248 (remote_target::discard_pending_stop_replies): Don't delete
249 in-flight notification; instead, clear its contents.
250
621cc310
PA
2512021-02-03 Pedro Alves <pedro@palves.net>
252
253 * remote.c (extended_remote_target::attach): Set target async in
254 the target-non-stop path too.
255
2ab76a18
PA
2562021-02-03 Pedro Alves <pedro@palves.net>
257
258 PR gdb/27055
259 * infrun.c (handle_signal_stop): Move main context_switch call
260 earlier, before STOP_QUIETLY_NO_SIGSTOP.
261
2e3773ff
LS
2622021-02-02 Lancelot SIX <lsix@lancelotsix.com>
263
264 * NEWS (Changed commands): Add entry for the behavior change of
265 the inferior command.
266 * inferior.c (inferior_command): When no argument is given to the
267 inferior command, display info about the currently selected
268 inferior.
269
e57933dc
SM
2702021-02-02 Simon Marchi <simon.marchi@efficios.com>
271
272 * dwarf2/read.c (read_loclist_index, read_rnglist_index): Return
273 a sect_offset.
274 (read_attribute_reprocess): Adjust.
275
2b0c7f41
SM
2762021-02-02 Simon Marchi <simon.marchi@efficios.com>
277
278 * dwarf2/die.h (struct die_info) <ranges_base>: Split in...
279 <gnu_ranges_base>: ... this...
280 <rnglists_base>: ... and this.
281 * dwarf2/read.c (struct dwarf2_cu) <ranges_base>: Split in...
282 <gnu_ranges_base>: ... this...
283 <rnglists_base>: ... and this.
284 (read_cutu_die_from_dwo): Adjust
285 (dwarf2_get_pc_bounds): Adjust
286 (dwarf2_record_block_ranges): Adjust.
287 (read_full_die_1): Adjust
288 (partial_die_info::read): Adjust.
289 (read_rnglist_index): Adjust.
290
a1c40103
SM
2912021-02-02 Simon Marchi <simon.marchi@efficios.com>
292
293 PR gdb/26813
294 * dwarf2/read.c (read_loclists_rnglists_header): Add
295 header_offset parameter and use it.
296 (read_loclist_index): Read header of the current contribution,
297 not the one at the beginning of the section.
298 (read_rnglist_index): Likewise.
299
b1829e1b
SM
3002021-02-02 Simon Marchi <simon.marchi@efficios.com>
301
302 PR gdb/26813
303 * dwarf2/attribute.h (struct attribute) <set_unsigned>: Clear
304 requires_reprocessing flag.
305 * dwarf2/attribute.c (attribute::form_is_unsigned): Handle
306 DW_FORM_loclistx.
307 (attribute::form_requires_reprocessing): Handle DW_FORM_rnglistx
308 and DW_FORM_loclistx.
309 * dwarf2/read.c (read_attribute_reprocess): Use set_unsigned
310 instead of set_address for DW_FORM_loclistx and
311 DW_FORM_rnglistx.
312
0c800c6e
SM
3132021-02-02 Simon Marchi <simon.marchi@efficios.com>
314
315 * dwarf2/read.c (read_loclist_index): Remove bound check for
316 start of offset.
317 (read_rnglist_index): Likewise.
318
05787bad
SM
3192021-02-02 Simon Marchi <simon.marchi@efficios.com>
320
321 * dwarf2/read.c (read_loclist_index): Add bound check for the end
322 of the offset.
323
5e4d9bbc
SM
3242021-02-02 Simon Marchi <simon.marchi@efficios.com>
325
326 * dwarf2/read.c (read_rnglist_index): Fix bound check.
327
a0c1eeba
SM
3282021-02-02 Simon Marchi <simon.marchi@efficios.com>
329
330 * dwarf2/read.c (read_loclist_index): Change complaints into
331 errors.
332
2bd3e4b8
TV
3332021-02-02 Tom de Vries <tdevries@suse.de>
334
335 PR symtab/24620
336 * dwarf2/index-write.c (write_one_signatured_type): Skip if
337 psymtab == nullptr.
338
82a1fd3a
AB
3392021-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
340
341 * Makefile.in (HFILES_NO_SRCDIR): Add corefile.h.
342 * gcore.c (struct gcore_collect_regset_section_cb_data): Moved
343 here from linux-tdep.c and given a new name. Minor cleanups.
344 (gcore_collect_regset_section_cb): Likewise.
345 (gcore_collect_thread_registers): Likewise.
346 (gcore_build_thread_register_notes): Likewise.
347 (gcore_find_signalled_thread): Likewise.
348 * gcore.h (gcore_build_thread_register_notes): Declare.
349 (gcore_find_signalled_thread): Declare.
350 * fbsd-tdep.c: Add 'gcore.h' include.
351 (struct fbsd_collect_regset_section_cb_data): Delete.
352 (fbsd_collect_regset_section_cb): Delete.
353 (fbsd_collect_thread_registers): Delete.
354 (struct fbsd_corefile_thread_data): Delete.
355 (fbsd_corefile_thread): Delete.
356 (fbsd_make_corefile_notes): Call
357 gcore_build_thread_register_notes instead of the now deleted
358 FreeBSD code.
359 * linux-tdep.c: Add 'gcore.h' include.
360 (struct linux_collect_regset_section_cb_data): Delete.
361 (linux_collect_regset_section_cb): Delete.
362 (linux_collect_thread_registers): Delete.
363 (linux_corefile_thread): Call
364 gcore_build_thread_register_notes.
365 (find_signalled_thread): Delete.
366 (linux_make_corefile_notes): Call gcore_find_signalled_thread.
367
ebde6f2d
TV
3682021-01-29 Tom de Vries <tdevries@suse.de>
369
370 PR breakpoints/26063
371 * infrun.c (process_event_stop_test): Reset
372 ecs->event_thread->current_line to 0 if is-stmt=n and frame has
373 changed.
374
0f93c3a2
AB
3752021-01-28 Andrew Burgess <andrew.burgess@embecosm.com>
376
377 * thread.c (thr_try_catch_cmd): Replace swith_to_thread with an
378 assert. Extend the header comment.
379
f237f998
AB
3802021-01-28 Andrew Burgess <andrew.burgess@embecosm.com>
381
382 * Makefile.in (SUBDIR_TUI_SRCS): Add tui/tui-location.c.
383 (HFILES_NO_SRCDIR): Add tui/tui-location.h.
384 * tui/tui-data.h (TUI_STATUS_WIN): Define.
385 (tui_locator_win_info_ptr): Delete declaration.
386 * tui/tui-disasm.c: Add 'tui/tui-location.h' include.
387 (tui_disasm_window::set_contents): Fetch state from tui_location
388 global.
389 (tui_get_begin_asm_address): Likewise.
390 * tui/tui-layout.c (tui_apply_current_layout): Remove special case
391 for locator window.
392 (get_locator_window): Delete.
393 (initialize_known_windows): Treat locator window just like all the
394 rest.
395 * tui/tui-source.c: Add 'tui/tui-location.h' include.
396 (tui_source_window::set_contents): Fetch state from tui_location
397 global.
398 (tui_source_window::showing_source_p): Likewise.
399 * tui/tui-stack.c: Add 'tui/tui-location.h' include.
400 (_locator): Delete.
401 (tui_locator_win_info_ptr): Delete.
402 (tui_locator_window::make_status_line): Fetch state from
403 tui_location global.
404 (tui_locator_window::rerender): Remove check of 'handle',
405 reindent function body.
406 (tui_locator_window::set_locator_fullname): Delete.
407 (tui_locator_window::set_locator_info): Delete.
408 (tui_update_locator_fullname): Delete.
409 (tui_show_frame_info): Likewise.
410 (tui_show_locator_content): Access window through TUI_STATUS_WIN.
411 * tui/tui-stack.h (tui_locator_window::set_locator_info): Moved to
412 tui/tui-location.h and renamed to
413 tui_location_tracker::set_location.
414 (tui_locator_window::set_locator_fullname): Moved to
415 tui/tui-location.h and renamed to
416 tui_location_tracker::set_fullname.
417 (tui_locator_window::full_name): Delete.
418 (tui_locator_window::proc_name): Delete.
419 (tui_locator_window::line_no): Delete.
420 (tui_locator_window::addr): Delete.
421 (tui_locator_window::gdbarch): Delete.
422 (tui_update_locator_fullname): Delete declaration.
423 * tui/tui-wingeneral.c (tui_refresh_all): Removed special handling
424 for locator window.
425 * tui/tui-winsource.c: Add 'tui/tui-location.h' include.
426 (tui_display_main): Call function on tui_location directly.
427 * tui/tui.h (enum tui_win_type): Add STATUS_WIN.
428 * tui/tui-location.c: New file.
429 * tui/tui-location.h: New file.
430
8ee511af
SM
4312021-01-28 Simon Marchi <simon.marchi@polymtl.ca>
432
433 * gdbtypes.h (get_type_arch): Rename to...
434 (struct type) <arch>: ... this, update all users.
435
6ac37371
SM
4362021-01-28 Simon Marchi <simon.marchi@polymtl.ca>
437
438 * gdbtypes.h (struct type) <arch>: Rename to...
439 <arch_owner>: ... this, update all users.
440 <objfile>: Rename to...
441 <objfile_owner>: ... this, update all users.
442
24cf6389
AB
4432021-01-28 Andrew Burgess <andrew.burgess@embecosm.com>
444
445 * gdbcmd.h (execute_command_to_string): Update comment.
446 * top.c (execute_command_to_string): Update header comment.
447
2a7f6487
TV
4482021-01-28 Tom de Vries <tdevries@suse.de>
449
450 PR breakpoints/27205
451 * breakpoint.c (create_longjmp_master_breakpoint_probe)
452 (create_longjmp_master_breakpoint_names): New function, factored out
453 of ...
454 (create_longjmp_master_breakpoint): ... here. Only try to install
455 longjmp_names breakpoints in libc.so/libc.so.debug if installing probe
456 breakpoint in libc.so failed.
457
59b59f08
LS
4582021-01-27 Lancelot SIX <lsix@lancelotsix.com>
459
460 PR gdb/27133
461 * cli/cli-interp.c (cli_interp_base::set_logging): Ensure the
462 unique_ptr is released when the wrapped pointer is kept for later
463 use.
464
807f647c
MM
4652021-01-27 Matthew Malcomson <matthew.malcomson@arm.com>
466
467 * aarch64-tdep.c (aarch64_displaced_step_others): Account for
468 BLR and BR instructions.
469 * arch/aarch64-insn.h (enum aarch64_opcodes): Add BR opcode.
470 (enum aarch64_masks): New.
471
4ef367bf
TT
4722021-01-26 Tom Tromey <tromey@adacore.com>
473
474 * windows-nat.c (DEBUG_EXEC, DEBUG_EVENTS, DEBUG_MEM)
475 (DEBUG_EXCEPT): Use debug_prefixed_printf_cond.
476 (windows_init_thread_list, windows_nat::handle_load_dll)
477 (windows_nat::handle_unload_dll, windows_nat_target::resume)
478 (windows_nat_target::resume)
479 (windows_nat_target::get_windows_debug_event)
480 (windows_nat_target::interrupt, windows_xfer_memory)
481 (windows_nat_target::close): Update.
482 * nat/windows-nat.c (DEBUG_EVENTS): Use
483 debug_prefixed_printf_cond.
484 (matching_pending_stop, fetch_pending_stop)
485 (continue_last_debug_event): Update.
486
4cb1265b
MS
4872020-12-17 Mihails Strasuns <mihails.strasuns@intel.com>
488
489 * linux-tdep.c (linux_make_mappings_corefile_notes): Start using
490 elfcore_write_file_note.
491
d0cc52bd
SV
4922021-01-26 Shahab Vahedi <shahab@synopsys.com>
493
494 * arc-tdep.c (arc_add_reggroups): New function.
495 (arc_gdbarch_init): Call arc_add_reggroups.
496
ac3571d9 4972021-01-26 Anton Kolesov <anton.kolesov@synopsys.com>
d56834cb
AK
498
499 * arc-tdep.c (arc_skip_prologue): Log "pc" address.
500
9f6c202e
TV
5012021-01-25 Bernd Edlinger <bernd.edlinger@hotmail.de>
502 Simon Marchi <simon.marchi@polymtl.ca>
503 Tom de Vries <tdevries@suse.de>
504
505 * dwarf2/read.c (partial_die_info::read): Use as_unsigned () for
506 DW_AT_ranges.
507
a625a8c9
TT
5082021-01-25 Tom Tromey <tromey@adacore.com>
509
510 * dwarf2/read.c (get_mpz): New function.
511 (get_dwarf2_rational_constant): Use it.
512
19184910
TT
5132021-01-25 Tom Tromey <tromey@adacore.com>
514
515 * ada-lang.c (resolve_subexp): Handle array context.
516
b10bae18
TT
5172021-01-23 Tom Tromey <tom@tromey.com>
518
519 PR compile/25575
520 * compile/compile-loc2c.c (note_register): New function.
521 (pushf_register_address, pushf_register): Use it.
522
3637a558
TT
5232021-01-23 Tom Tromey <tom@tromey.com>
524
525 * symtab.h (struct symbol_computed_ops) <generate_c_location>:
526 Change type of "registers_used".
527 * dwarf2/loc.h (dwarf2_compile_property_to_c): Update.
528 * dwarf2/loc.c (dwarf2_compile_property_to_c)
529 (locexpr_generate_c_location, loclist_generate_c_location): Change
530 type of "registers_used".
531 * compile/compile.h (compile_dwarf_expr_to_c)
532 (compile_dwarf_bounds_to_c): Update.
533 * compile/compile-loc2c.c (pushf_register_address)
534 (pushf_register, do_compile_dwarf_expr_to_c)
535 (compile_dwarf_expr_to_c, compile_dwarf_bounds_to_c): Change type
536 of "registers_used".
537 * compile/compile-c.h (generate_c_for_variable_locations):
538 Update.
539 * compile/compile-c-symbols.c (generate_vla_size)
540 (generate_c_for_for_one_variable): Change type of
541 "registers_used".
542 (generate_c_for_variable_locations): Return std::vector.
543 * compile/compile-c-support.c (generate_register_struct): Change
544 type of "registers_used".
545 (compute): Update.
546
9f7f6cb8
TT
5472021-01-23 Tom Tromey <tom@tromey.com>
548
549 * compile/compile-internal.h (class compile_instance)
550 <set_arguments>: Change return type.
551 * compile/compile.c (compile_to_object): Remove call to reset.
552 (compile_instance::set_arguments): Change return type.
553
dd5ca05f
SM
5542021-01-23 Simon Marchi <simon.marchi@polymtl.ca>
555
556 * gdbtypes.c (copy_type_recursive): Use get_type_arch.
557 * gdbtypes.h (struct type) <set_owner>: Add asserts.
558
d3ee35db
LS
5592021-01-23 Lancelot SIX <lsix@lancelotsix.com>
560
561 * Makefile.in (SELFTESTS_SRCS): Add
562 unittests/gdb_tilde_expand-selftests.c.
563 * unittests/gdb_tilde_expand-selftests.c: New file.
564
9d2d8a16
AB
5652021-01-22 Andrew Burgess <andrew.burgess@embecosm.com>
566
567 PR cli/25956
568 * NEWS: Mention new command.
569 * cli/cli-style.c: Add 'cli/cli-setshow.h' include.
570 (version_style): Define.
571 (cli_style_option::cli_style_option): Add intensity parameter, and
572 use as appropriate.
573 (_initialize_cli_style): Register version style set/show commands.
574 * cli/cli-style.h (cli_style_option): Add intensity parameter.
575 (version_style): Declare.
576 * top.c (print_gdb_version): Use version_stype, and styled_string
577 to print the GDB version string.
578
e7b43072
AB
5792021-01-22 Andrew Burgess <andrew.burgess@embecosm.com>
580
581 * utils.c (emit_style_escape): Only emit an escape sequence if the
582 requested style is different than the current applied style.
583 (fputs_maybe_filtered): Adjust the juggling of the wrap_style, and
584 current applied_style.
585 (fputs_styled): Remove is_default check.
586 (fputs_styled_unfiltered): Likewise.
587 (vfprintf_styled_no_gdbfmt): Likewise.
588
2189c312
SM
5892021-01-22 Simon Marchi <simon.marchi@polymtl.ca>
590
591 * remote.h (remote_debug_printf): New.
592 (remote_debug_printf_nofunc): New.
593 (REMOTE_SCOPED_DEBUG_ENTER_EXIT): New.
594 * remote.c: Use above macros throughout file.
595
02349803
SM
5962021-01-22 Simon Marchi <simon.marchi@polymtl.ca>
597
598 * remote.h (remote_debug): Change to bool.
599 * remote.c (remote_debug): Change to bool.
600 (_initialize_remote): Adjust.
601
cda09ec9
SM
6022021-01-22 Simon Marchi <simon.marchi@polymtl.ca>
603
604 * target.h (remote_debug): Move to...
605 * remote.h (remote_debug): ... here.
606 * top.c (remote_debug): Move to...
607 * remote.c (remote_debug): ... here.
608 * remote-sim.c: Include remote.h.
609
baf2b57f
SM
6102021-01-22 Simon Marchi <simon.marchi@polymtl.ca>
611
612 * cli/cli-cmds.c (show_remote_debug): Remove.
613 (show_remote_timeout): Remove.
614 (_initialize_cli_cmds): Don't register commands.
615 * remote.c (show_remote_debug): Move here.
616 (show_remote_timeout): Move here.
617 (_initialize_remote): Register commands.
618
344e9841
SM
6192021-01-22 Simon Marchi <simon.marchi@polymtl.ca>
620
621 * gdbtypes.h (TYPE_OBJFILE): Remove, change all users to use the
622 type::objfile method instead.
623
30625020
SM
6242021-01-22 Simon Marchi <simon.marchi@polymtl.ca>
625
626 * gdbtypes.h (TYPE_OBJFILE_OWNED): Remove, update all users to
627 use the type::is_objfile_owned method.
628
5b7d941b
SM
6292021-01-22 Simon Marchi <simon.marchi@efficios.com>
630
631 * gdbtypes.h (TYPE_OBJFILE_OWNED): Adjust.
632 (TYPE_OWNER): Remove.
633 (TYPE_OBJFILE): Adjust.
634 (struct main_type) <flag_objfile_owned>: Rename to...
635 <m_flag_objfile_owned>: ... this.
636 <owner>: Rename to...
637 <m_owner>: ... this.
638 (struct type) <is_objfile_owned, set_owner, objfile, arch>: New
639 methods.
640 (TYPE_ALLOC): Adjust.
641 * gdbtypes.c (alloc_type): Adjust.
642 (alloc_type_arch): Adjust.
643 (alloc_type_copy): Adjust.
644 (get_type_arch): Adjust.
645 (smash_type): Adjust.
646 (lookup_array_range_type): Adjust.
647 (recursive_dump_type): Adjust.
648 (copy_type_recursive): Adjust.
649 * compile/compile-c-types.c (convert_func): Adjust.
650 (convert_type_basic): Adjust.
651 * compile/compile-cplus-types.c (compile_cplus_convert_func):
652 Adjust.
653 * language.c
654 (language_arch_info::type_and_symbol::alloc_type_symbol):
655 Adjust.
656
d5d24e12
LM
6572021-01-21 Luis Machado <luis.machado@linaro.org>
658
659 * coffread.c (enter_linenos): Passing string to complaint.
660 * valops.c (value_assign): Make array view.
661
a59902a7
SM
6622021-01-21 Simon Marchi <simon.marchi@polymtl.ca>
663
664 * auto-load.h (debug_auto_load): Move here.
665 (auto_load_debug_printf): New.
666 * auto-load.c: Use auto_load_debug_printf.
667 (debug_auto_load): Move to header.
668 * linux-thread-db.c (try_thread_db_load): Use
669 auto_load_debug_printf.
670 * main.c (captured_main_1): Likewise.
671
d3abc0ce
SM
6722021-01-21 Simon Marchi <simon.marchi@polymtl.ca>
673
674 * f-valprint.c (f77_array_offset_tbl): Remove.
675
1e15fcac
SM
6762021-01-21 Simon Marchi <simon.marchi@polymtl.ca>
677
678 * gdb_bfd.c (bfd_cache_debug_printf): New, use throughout file.
679
439706e6
SM
6802021-01-21 Simon Marchi <simon.marchi@polymtl.ca>
681
682 * ser-tcp.c (wait_for_connect): Use interruptible_select instead
683 of gdb_select.
684
325d39e4
HD
6852021-01-21 Hannes Domani <ssbssa@yahoo.de>
686
687 PR python/19151
688 * python/py-breakpoint.c (bppy_get_location): Handle
689 bp_hardware_breakpoint.
690 (bppy_init): Likewise.
691 (gdbpy_breakpoint_created): Likewise.
692
7cb6d92a
SM
6932021-01-21 Simon Marchi <simon.marchi@polymtl.ca>
694
695 * arm-tdep.c (arm_debug_printf): Add and use throughout file.
696
d4dd4fca
SM
6972021-01-20 Simon Marchi <simon.marchi@polymtl.ca>
698
699 * gdb_bfd.c (debug_bfd_cache): Change type to bool.
700 (_initialize_gdb_bfd): Adjust.
701
de53369b
SM
7022021-01-20 Simon Marchi <simon.marchi@polymtl.ca>
703
704 PR gdb/26828
705 * dwarf2/read.c (maybe_queue_comp_unit): Add assertion.
706
17e593e9
SM
7072021-01-20 Simon Marchi <simon.marchi@polymtl.ca>
708
709 * dwarf2/read.c (follow_die_offset): Add logging.
710 (dwarf2_per_objfile::age_comp_units): Add logging.
711
6bd434d6
SM
7122021-01-20 Simon Marchi <simon.marchi@polymtl.ca>
713
714 * aarch64-linux-tdep.c (aarch64_linux_record_tdep): Make static.
715 * aarch64-tdep.c (tdesc_aarch64_list, aarch64_prologue_unwind,
716 aarch64_stub_unwind, aarch64_normal_base, ): Make static.
717 * arm-linux-tdep.c (arm_prologue_unwind): Make static.
718 * arm-tdep.c (struct frame_unwind): Make static.
719 * auto-load.c (auto_load_safe_path_vec): Make static.
720 * csky-tdep.c (csky_stub_unwind): Make static.
721 * gdbarch.c (gdbarch_data_registry): Make static.
722 * gnu-v2-abi.c (gnu_v2_abi_ops): Make static.
723 * i386-netbsd-tdep.c (i386nbsd_mc_reg_offset): Make static.
724 * i386-tdep.c (i386_frame_setup_skip_insns,
725 i386_tramp_chain_in_reg_insns, i386_tramp_chain_on_stack_insns):
726 Make static.
727 * infrun.c (observer_mode): Make static.
728 * linux-nat.c (sigchld_action): Make static.
729 * linux-thread-db.c (thread_db_list): Make static.
730 * maint-test-options.c (maintenance_test_options_list):
731 * mep-tdep.c (mep_csr_registers): Make static.
732 * mi/mi-cmds.c (struct mi_cmd_stats): Remove struct type name.
733 (stats): Make static.
734 * nat/linux-osdata.c (struct osdata_type): Make static.
735 * ppc-netbsd-tdep.c (ppcnbsd_reg_offsets): Make static.
736 * progspace.c (last_program_space_num): Make static.
737 * python/py-param.c (struct parm_constant): Remove struct type
738 name.
739 (parm_constants): Make static.
740 * python/py-record-btrace.c (btpy_list_methods): Make static.
741 * python/py-record.c (recpy_gap_type): Make static.
742 * record.c (record_goto_cmdlist): Make static.
743 * regcache.c (regcache_descr_handle): Make static.
744 * registry.h (DEFINE_REGISTRY): Make definition static.
745 * symmisc.c (std_in, std_out, std_err): Make static.
746 * top.c (previous_saved_command_line): Make static.
747 * tracepoint.c (trace_user, trace_notes, trace_stop_notes): Make
748 static.
749 * unittests/command-def-selftests.c (nr_duplicates,
750 nr_invalid_prefixcmd, lists): Make static.
751 * unittests/observable-selftests.c (test_notification): Make
752 static.
753 * unittests/optional/assignment/1.cc (counter): Make static.
754 * unittests/optional/assignment/2.cc (counter): Make static.
755 * unittests/optional/assignment/3.cc (counter): Make static.
756 * unittests/optional/assignment/4.cc (counter): Make static.
757 * unittests/optional/assignment/5.cc (counter): Make static.
758 * unittests/optional/assignment/6.cc (counter): Make static.
759
a6c11cbb
JS
7602021-01-20 Joel Sherrill <joel@rtems.org>
761
762 PR gdb/27219
763 * remote.c (struct remote_thread_info) <resume_state>: Rename
764 to...
765 <get_resume_state>: ... this.
766 (remote_target::resume): Adjust.
767 (remote_target::commit_resume): Adjust.
768 (remote_target::select_thread_for_ambiguous_stop_reply): Adjust.
769
6f52fdf4
SDJ
7702021-01-20 Sergio Durigan Junior <sergiodj@sergiodj.net>
771 Tom Tromey <tom@tromey.com>
772
773 * stap-probe.c (stap_parse_single_operand): Handle '!'
774 operator.
775 (stap_parse_argument_conditionally): Likewise.
776 Skip spaces after processing open-parenthesis sub-expression.
777 (stap_parse_argument_1): Skip spaces after call to
778 stap_parse_argument_conditionally.
779 Handle case when right-side expression is a parenthesized
780 sub-expression.
781 Skip spaces after call to stap_parse_argument_1.
782
1c3b85ad
LS
7832021-01-19 Lancelot SIX <lsix@lancelotsix.com>
784
785 * top.h (switch_thru_all_uis): Use DISABLE_COPY_AND_ASSIGN.
786
a9a87d35
LM
7872021-01-19 Luis Machado <luis.machado@linaro.org>
788
789 * trad-frame.h (trad_frame_saved_reg) <set_value_bytes>: Allocate
790 memory and save data.
791 (trad_frame_set_value, trad_frame_set_realreg, trad_frame_set_addr)
792 (trad_frame_set_unknown, trad_frame_set_value_bytes)
793 (trad_frame_value_p, trad_frame_addr_p, trad_frame_realreg_p)
794 (trad_frame_value_bytes_p): Remove.
795 (trad_frame_reset_saved_regs): Adjust documentation.
796 * trad-frame.c (trad_frame_alloc_saved_regs): Initialize via a
797 constructor and reset the state of the registers.
798 (trad_frame_value_p, trad_frame_addr_p, trad_frame_realreg_p)
799 (trad_frame_value_bytes_p, trad_frame_set_value)
800 (trad_frame_set_realreg, trad_frame_set_addr)
801 (trad_frame_set_unknown, trad_frame_set_value_bytes): Remove.
802 (trad_frame_set_reg_realreg): Update to call member function.
803 (trad_frame_set_reg_addr, trad_frame_set_reg_value_bytes): Likewise.
804 (trad_frame_get_prev_register): Likewise.
805
806 * aarch64-tdep.c (aarch64_analyze_prologue)
807 (aarch64_analyze_prologue_test, aarch64_make_prologue_cache_1)
808 (aarch64_prologue_prev_register): Update to use member functions.
809 * alpha-mdebug-tdep.c (alpha_mdebug_frame_unwind_cache): Likewise.
810 * alpha-tdep.c (alpha_heuristic_frame_unwind_cache): Likewise.
811 * arc-tdep.c (arc_print_frame_cache, arc_make_frame_cache): Likewise.
812 * arm-tdep.c (arm_make_prologue_cache, arm_exidx_fill_cache)
813 (arm_make_epilogue_frame_cache): Likewise.
814 * avr-tdep.c (avr_frame_unwind_cache)
815 (avr_frame_prev_register): Likewise.
816 * cris-tdep.c (cris_scan_prologue): Likewise.
817 * csky-tdep.c (csky_frame_unwind_cache): Likewise.
818 * frv-tdep.c (frv_analyze_prologue): Likewise.
819 * hppa-tdep.c (hppa_frame_cache, hppa_fallback_frame_cache): Likewise.
820 * lm32-tdep.c (lm32_frame_cache): Likewise.
821 * m32r-tdep.c (m32r_frame_unwind_cache): Likewise.
822 * m68hc11-tdep.c (m68hc11_frame_unwind_cache): Likewise.
823 * mips-tdep.c (set_reg_offset, mips_insn16_frame_cache)
824 (mips_micro_frame_cache, mips_insn32_frame_cache): Likewise.
825 (reset_saved_regs): Adjust to set realreg.
826 * riscv-tdep.c (riscv_scan_prologue, riscv_frame_cache): Adjust to
827 call member functions.
828 * rs6000-tdep.c (rs6000_frame_cache, rs6000_epilogue_frame_cache)
829 * s390-tdep.c (s390_prologue_frame_unwind_cache)
830 (s390_backchain_frame_unwind_cache): Likewise.
831 * score-tdep.c (score7_analyze_prologue)
832 (score3_analyze_prologue, score_make_prologue_cache): Likewise.
833 * sparc-netbsd-tdep.c (sparc32nbsd_sigcontext_saved_regs): Likewise.
834 * sparc-sol2-tdep.c (sparc32_sol2_sigtramp_frame_cache): Likewise.
835 * sparc64-netbsd-tdep.c (sparc64nbsd_sigcontext_saved_regs): Likewise.
836 * sparc64-sol2-tdep.c (sparc64_sol2_sigtramp_frame_cache): Likewise.
837 * tilegx-tdep.c (tilegx_analyze_prologue)
838 (tilegx_frame_cache): Likewise.
839 * v850-tdep.c (v850_frame_cache): Likewise.
840 * vax-tdep.c (vax_frame_cache): Likewise.
841
bdec2917
LM
8422021-01-19 Luis Machado <luis.machado@linaro.org>
843
844 * frame.h (get_frame_register_bytes): Pass a gdb::array_view instead
845 of buffer + length.
846 (put_frame_register_bytes): Likewise.
847 Adjust documentation.
848 (get_frame_memory): Pass a gdb::array_view instead of buffer + length.
849 (safe_frame_unwind_memory): Likewise.
850 * frame.c (get_frame_register_bytes, put_frame_register_bytes)
851 (get_frame_memory, safe_frame_unwind_memory): Adjust to use
852 gdb::array_view.
853 * amd64-fbsd-tdep.c (amd64fbsd_sigtramp_p): Likewise.
854 * amd64-linux-tdep.c (amd64_linux_sigtramp_start): Likewise.
855 * amd64-obsd-tdep.c (amd64obsd_sigtramp_p): Likewise.
856 * arc-linux-tdep.c (arc_linux_is_sigtramp): Likewise.
857 * cris-tdep.c (cris_sigtramp_start, cris_rt_sigtramp_start): Likewise.
858 * dwarf2/loc.c (rw_pieced_value): Likewise.
859 * hppa-tdep.c (hppa_frame_cache): Likewise.
860 * i386-fbsd-tdep.c (i386fbsd_sigtramp_p): Likewise.
861 * i386-gnu-tdep.c (i386_gnu_sigtramp_start): Likewise.
862 * i386-linux-tdep.c (i386_linux_sigtramp_start)
863 (i386_linux_rt_sigtramp_start): Likewise.
864 * i386-obsd-tdep.c (i386obsd_sigtramp_p): Likewise.
865 * i386-tdep.c (i386_register_to_value): Likewise.
866 * i387-tdep.c (i387_register_to_value): Likewise.
867 * ia64-tdep.c (ia64_register_to_value): Likewise.
868 * m32r-linux-tdep.c (m32r_linux_sigtramp_start)
869 (m32r_linux_rt_sigtramp_start): Likewise.
870 * m68k-linux-tdep.c (m68k_linux_pc_in_sigtramp): Likewise.
871 * m68k-tdep.c (m68k_register_to_value): Likewise.
872 * mips-tdep.c (mips_register_to_value)
873 (mips_value_to_register): Likewise.
874 * ppc-fbsd-tdep.c (ppcfbsd_sigtramp_frame_sniffer)
875 (ppcfbsd_sigtramp_frame_cache): Likewise.
876 * ppc-obsd-tdep.c (ppcobsd_sigtramp_frame_sniffer)
877 (ppcobsd_sigtramp_frame_cache): Likewise.
878 * rs6000-tdep.c (rs6000_in_function_epilogue_frame_p)
879 (rs6000_register_to_value): Likewise.
880 * tilegx-tdep.c (tilegx_analyze_prologue): Likewise.
881 * tramp-frame.c (tramp_frame_start): Likewise.
882 * valops.c (value_assign): Likewise.
883
ccbe4c82
LM
8842021-01-19 Luis Machado <luis.machado@linaro.org>
885
886 * aarch64-linux-tdep.c (aarch64_linux_restore_vreg): Pass in an
887 array_view.
888 * trad-frame.c (trad_frame_set_value_bytes): Use gdb::array_view
889 instead of buffer and size.
890 (trad_frame_set_reg_value_bytes): Likewise.
891 * trad-frame.h (trad_frame_set_reg_value_bytes): Likewise.
892 (trad_frame_set_value_bytes): Likewise.
893
0e7620dc
MF
8942021-01-18 Mike Frysinger <vapier@gentoo.org>
895
896 * copyright.py (NOT_FSF_LIST): Delete sim/testsuite/sim/bfin/s21.s.
897
6a9ad81c
AB
8982021-01-18 Andrew Burgess <andrew.burgess@embecosm.com>
899
900 * riscv-fbsd-tdep.c (riscv_fbsd_supply_gregset): Delete.
901 (riscv_fbsd_gregset): Use riscv_supply_regset.
902 (riscv_fbsd_fpregset): Likewise.
903 * riscv-linux-tdep.c (riscv_linux_gregset): Likewise.
904 (riscv_linux_fregset): Likewise.
905 * riscv-tdep.c (riscv_supply_regset): Define new function.
906 * riscv-tdep.h (riscv_supply_regset): Declare new function.
907
d3d7d1ba
TV
9082021-01-18 Tom de Vries <tdevries@suse.de>
909
910 PR tdep/27172
911 * nat/amd64-linux-siginfo.c (cpt_si_lower, cpt_si_upper, SEGV_BNDERR):
912 New macro.
913 (compat_siginfo_from_siginfo): Copy cpt_si_lower and cpt_si_upper
914 for SEGV_BNDERR.
915
aa2838cc
SM
9162021-01-18 Simon Marchi <simon.marchi@polymtl.ca>
917
918 * remote.c (class remote_target) <remote_hostio_send_command,
919 remote_hostio_parse_result>: Constify parameter.
920 (remote_hostio_parse_result): Likewise.
921 (remote_target::remote_hostio_send_command): Adjust.
922 (remote_target::remote_hostio_pread_vFile): Adjust.
923 (remote_target::fileio_readlink): Adjust.
924 (remote_target::fileio_fstat): Adjust.
925
b5c8f22d
SM
9262021-01-18 Simon Marchi <simon.marchi@polymtl.ca>
927
928 * remote.c (remote_target::start_remote): Move wait_status to
929 narrower scope.
930
e3b2741b
SM
9312021-01-18 Simon Marchi <simon.marchi@polymtl.ca>
932
933 * remote.c (class remote_target):
934 <add_current_inferior_and_thread>: Constify parameter.
935 (stop_reply_extract_thread): Likewise.
936 (remote_target::get_current_thread): Likewise.
937 (remote_target::add_current_inferior_and_thread): Likewise.
938
cecb1912
SM
9392021-01-18 Simon Marchi <simon.marchi@polymtl.ca>
940
941 * remote.c (class remote_target)
942 <remote_unpack_thread_info_response,
943 parse_threadlist_response>: Constify parameter and/or return
944 value and or local variable.
945 (stub_unpack_int): Likewise.
946 (unpack_nibble): Likewise.
947 (unpack_byte): Likewise.
948 (unpack_int): Likewise.
949 (unpack_string): Likewise.
950 (unpack_threadid): Likewise.
951 (remote_target::remote_unpack_thread_info_response): Likewise.
952 (remote_target::parse_threadlist_response): Likewise.
953
5a11fff0
AB
9542021-01-15 Andrew Burgess <andrew.burgess@embecosm.com>
955
956 * tui/tui.c (tui_is_window_visible): Compare to nullptr, not 0.
957
17e89137
LS
9582021-01-14 Lancelot Six <lsix@lancelotsix.com>
959
960 * MAINTAINERS (Write After Approval): Add myself.
961
58eadc4b
BE
9622021-01-14 Bernd Edlinger <bernd.edlinger@hotmail.de>
963
964 * trad-frame.c (trad_frame_alloc_saved_regs): Avoid compile-error
965 because is_trivially_default_constructible was first implemented with
966 gcc-5.
967
5fae2a2c
TV
9682021-01-14 Tom de Vries <tdevries@suse.de>
969
970 PR breakpoints/27151
971 * objfiles.h (in_plt_section): Handle .plt.sec.
972
8f66807b
AB
9732021-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
974
975 PR gdb/26819
976 * remote.c
977 (remote_target::select_thread_for_ambiguous_stop_reply): New
978 member function.
979 (remote_target::process_stop_reply): Call
980 select_thread_for_ambiguous_stop_reply.
981
bd497355
SM
9822021-01-13 Simon Marchi <simon.marchi@efficios.com>
983
984 * record-btrace.c (class record_btrace_target): Remove.
985 (record_btrace_target::commit_resume): Remove.
986 * record-full.c (class record_full_target): Remove.
987 (record_full_target::commit_resume): Remove.
988
c9d22089
SM
9892021-01-13 Simon Marchi <simon.marchi@efficios.com>
990
991 * remote.c (enum class resume_state): New.
992 (struct resumed_pending_vcont_info): New.
993 (struct remote_thread_info) <resume_state, set_not_resumed,
994 set_resumed_pending_vcont, resumed_pending_vcont_info,
995 set_resumed, m_resume_state, m_resumed_pending_vcont_info>:
996 New.
997 <last_resume_step, last_resume_sig, vcont_resumed>: Remove.
998 (remote_target::remote_add_thread): Adjust.
999 (remote_target::process_initial_stop_replies): Adjust.
1000 (remote_target::resume): Adjust.
1001 (remote_target::commit_resume): Rely on state in
1002 remote_thread_info and not on tp->executing.
1003 (remote_target::process_stop_reply): Adjust.
1004
d8d1feb4
SM
10052021-01-13 Simon Marchi <simon.marchi@polymtl.ca>
1006
1007 * arc-tdep.h (arc_debug_printf): New.
1008 * arc-tdep.c: Use arc_debug_printf.
1009 * arc-linux-nat.c (arc_linux_nat_debug_printf): Add and use.
1010 * arc-linux-tdep.c (arc_linux_debug_printf): Add and use.
1011 * arc-newlib-tdep.c (arc_newlib_debug_printf): Add and use.
1012
fb0f5031
SM
10132021-01-13 Simon Marchi <simon.marchi@polymtl.ca>
1014
1015 * arc-tdep.h (arc_debug): Change type to bool.
1016 * arc-tdep.c (arc_debug): Change type to bool.
1017 (arc_analyze_prologue): Adjust.
1018 (_initialize_arc_tdep): Use add_setshow_boolean_cmd.
1019 * arc-linux-nat.c (ps_get_thread_area): Adjust.
1020
5bf7e91b
SM
10212021-01-13 Simon Marchi <simon.marchi@polymtl.ca>
1022
1023 * auto-load.c (auto_load_objfile_script_1): Use bool.
1024 (execute_script_contents): Use bool.
1025
db972fce
SM
10262021-01-13 Simon Marchi <simon.marchi@polymtl.ca>
1027
1028 * auto-load.h (auto_load_gdb_scripts_enabled): Return bool, move
1029 comment here.
1030 * auto-load.c (auto_load_gdb_scripts_enabled): Return bool, move
1031 comment to header.
1032 * extension-priv.h (struct extension_language_script_ops)
1033 <auto_load_enabled>: Return bool.
1034 * extension.h (ext_lang_auto_load_enabled): Return bool, move
1035 comment here.
1036 * extension.c (ext_lang_auto_load_enabled): Return bool, move
1037 comment to header.
1038 * guile/guile-header.h (gdbscm_auto_load_enabled): Return bool,
1039 move comment here.
1040 * guile/scm-auto-load.c (gdbscm_auto_load_enabled): Return bool,
1041 move comment to header.
1042 * python/python-header.h (gdbpy_auto_load_enabled): Return bool,
1043 move comment here.
1044 * python/py-auto-load.c (gdbpy_auto_load_enabled): Return bool,
1045 move comment to header.
1046
5e12f48f
SM
10472021-01-13 Simon Marchi <simon.marchi@polymtl.ca>
1048
1049 * auto-load.h (file_is_auto_load_safe): Change return type to
1050 bool, move comment here.
1051 * auto-load.c (file_is_auto_load_safe): Change return type and
1052 advice_printed to bool. Move comment to header.
1053
54ca9002
SM
10542021-01-13 Simon Marchi <simon.marchi@polymtl.ca>
1055
1056 * jit.c (jit_debug_printf): New, use throughout file.
1057
24a7f1b5
SM
10582021-01-12 Simon Marchi <simon.marchi@polymtl.ca>
1059
1060 * infrun.c (normal_stop): Fix indentation.
1061
fe7a351a
SM
10622021-01-12 Simon Marchi <simon.marchi@polymtl.ca>
1063
1064 * top.h (readnow_symbol_files, readnever_symbol_files): Move
1065 declarations to ...
1066 * symfile.h: ... here.
1067 * symfile.c: Update doc.
1068
16e9019e
SM
10692021-01-12 Simon Marchi <simon.marchi@polymtl.ca>
1070
1071 * target.h (baud_rate, serial_parity): Move declarations...
1072 * serial.h: ... here.
1073 * main.c: Include serial.h.
1074 * serial.c (baud_rate, serial_parity): Update doc.
1075
b2f2ae0d
SM
10762021-01-12 Simon Marchi <simon.marchi@polymtl.ca>
1077
1078 * top.c (pre_init_ui_hook): Remove.
1079
5291fe3c
SP
10802021-01-12 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
1081
1082 * aarch64-tdep.c (aarch64_vnh_type): Add "bf" field in h registers.
1083 (aarch64_vnv_type): Add "bf" type in h field of v registers.
1084 * features/aarch64-fpu.c (create_feature_aarch64_fpu): Regenerated.
1085 * features/aarch64-fpu.xml: Add bfloat16 type.
1086
ce38f5ed
AB
10872021-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
1088
1089 * expprint.c (dump_subexp_body_standard): Handle OP_BOOL.
1090
7c654b71
AB
10912021-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
1092
1093 * f-exp.y (dot_ops): Rename to...
1094 (fortran_operators): ...this. Add a header comment. Add symbol
1095 based operators.
1096 (yylex): Update to use fortran_operators not dot_ops. Remove
1097 special handling for '**', this is now included in
1098 fortran_operators.
1099
c6185dce
SM
11002021-01-11 Simon Marchi <simon.marchi@polymtl.ca>
1101
1102 * arch/aarch64-insn.h (aarch64_debug_printf): New.
1103 * arch/aarch64-insn.c: Use aarch64_debug_printf.
1104 * aarch64-tdep.c: Use aarch64_debug_printf.
1105
eef401dc
SM
11062021-01-11 Simon Marchi <simon.marchi@polymtl.ca>
1107
1108 * solib-aix.c (solib_aix_debug_printf): New, use throughout
1109 file.
1110
062eaacb
SM
11112021-01-11 Simon Marchi <simon.marchi@polymtl.ca>
1112
1113 * jit.c (jit_debug): Change type to bool.
1114 (_initialize_jit): Adjust.
1115
54585eee
TT
11162021-01-09 Tom Tromey <tom@tromey.com>
1117
1118 PR compile/23672
1119 * compile/compile.c (compile_to_object): Avoid crash when
1120 osabi_triplet_regexp returns NULL.
1121
bc167b6b
TT
11222021-01-09 Tom Tromey <tom@tromey.com>
1123
1124 * tracepoint.h (class collection_list) <append_exp>: Take a
1125 std::string.
1126 * tracepoint.c (collection_list::append_exp): Take a std::string.
1127 (encode_actions_1): Update.
1128
8fc48b79
TT
11292021-01-08 Tom Tromey <tromey@adacore.com>
1130
1131 * parse.c (parse_expression): Add void_context_p parameter. Use
1132 parse_exp_in_context.
1133 * printcmd.c (print_command_1): Change voidprint to bool. Pass to
1134 parse_expression.
1135 (print_command, call_command): Update.
1136 * expression.h (parse_expression): Add void_context_p parameter.
1137
3c8c6de2
AB
11382021-01-08 Andrew Burgess <andrew.burgess@embecosm.com>
1139
1140 * value.c (set_value_component_location): Adjust the VALUE_LVAL
1141 for internalvar components that have a dynamic location.
1142
1940319c
TV
11432021-01-08 Tom de Vries <tdevries@suse.de>
1144
1145 PR gdb/26881
1146 * breakpoint.c (create_exception_master_breakpoint_probe)
1147 (create_exception_master_breakpoint_hook): Factor out
1148 of ...
1149 (create_exception_master_breakpoint): ... here. Only try to install
1150 the master exception breakpoint in objfile.debug using the
1151 _Unwind_DebugHook method, if the install using probes in objfile
1152 failed.
1153
e3436813
AB
11542021-01-08 Andrew Burgess <andrew.burgess@embecosm.com>
1155
1156 * f-lang.c (fortran_value_subarray): Call value_from_component.
1157
e904f56d
MF
11582021-01-07 Mike Frysinger <vapier@gentoo.org>
1159
1160 * remote-sim.c: Include memory-map.h.
1161 (gdbsim_target): Define memory_map override.
1162 (gdbsim_target::memory_map): Define.
1163
959d6a67
TT
11642021-01-07 Tom Tromey <tromey@adacore.com>
1165
1166 * ada-lang.c (do_full_match): Conditionally skip "_ada_" prefix.
1167
d4813f10
TT
11682021-01-07 Tom Tromey <tromey@adacore.com>
1169
1170 * ada-lang.c (add_component_interval): Start loop using vector's
1171 updated size.
1172
b49180ac
TT
11732021-01-06 Tom Tromey <tromey@adacore.com>
1174
1175 * ada-lang.c (ada_evaluate_subexp) <BINOP_ADD, BINOP_SUB>:
1176 Do not cast result.
1177 * valarith.c (fixed_point_binop): Handle multiplication
1178 and division specially.
1179 * valops.c (value_to_gdb_mpq): New function.
1180 (value_cast_to_fixed_point): Use it.
1181
55195361
HD
11822021-01-05 Hannes Domani <ssbssa@yahoo.de>
1183
1184 * tui/tui-winsource.c (tui_source_window_base::refresh_window):
1185 Call wnoutrefresh instead of tui_win_info::refresh_window.
1186
1b6d4bb2
HD
11872021-01-05 Hannes Domani <ssbssa@yahoo.de>
1188
1189 * tui/tui-source.c (tui_source_window::show_line_number):
1190 Redraw second space after line number.
1191
b5ff370e
HD
11922021-01-05 Hannes Domani <ssbssa@yahoo.de>
1193
1194 PR tui/26927
1195 * tui/tui-winsource.c (tui_source_window_base::refresh_window):
1196 Fix source pad size in prefresh.
1197 (tui_source_window_base::show_source_content): Grow source pad
1198 if necessary.
1199
c68ea49f
MF
12002021-01-04 Mike Frysinger <vapier@gentoo.org>
1201
1202 * bfin-tdep.c (bfin_push_dummy_call): Use align_up.
1203 (bfin_frame_align): Use align_down.
1204
e4ad960a
TV
12052021-01-04 Tom de Vries <tdevries@suse.de>
1206
1207 * buildsym.c (buildsym_compunit::record_line): Filter out end-of-seq
1208 terminators that do not terminate anything.
1209
3ec3145c
SM
12102021-01-04 Simon Marchi <simon.marchi@efficios.com>
1211
1212 * debug.c (debug_print_depth): New.
1213 * infrun.h (INFRUN_SCOPED_DEBUG_START_END): New.
1214 (INFRUN_SCOPED_DEBUG_ENTER_EXIT): New.
1215 * infrun.c (start_step_over): Use
1216 INFRUN_SCOPED_DEBUG_ENTER_EXIT.
1217 (proceed): Use INFRUN_SCOPED_DEBUG_ENTER_EXIT and
1218 INFRUN_SCOPED_DEBUG_START_END.
1219 (fetch_inferior_event): Use INFRUN_SCOPED_DEBUG_ENTER_EXIT.
1220
e71daf80
SM
12212021-01-04 Simon Marchi <simon.marchi@efficios.com>
1222
1223 * infrun.c (print_target_wait_results): Use infrun_debug_printf.
1224
335709bc
SM
12252021-01-04 Simon Marchi <simon.marchi@efficios.com>
1226
1227 * utils.c (vfprintf_unfiltered): Print timestamp only when
1228 previous debug output ended with a newline.
1229
098caef4
LM
12302021-01-04 Luis Machado <luis.machado@linaro.org>
1231
1232 Update all users of trad_frame_saved_reg to use the new member
1233 functions.
1234
1235 Remote all struct keywords from declarations of trad_frame_saved_reg
1236 types, except on forward declarations.
1237
1238 * aarch64-tdep.c: Update.
1239 * alpha-mdebug-tdep.c: Update.
1240 * alpha-tdep.c: Update.
1241 * arc-tdep.c: Update.
1242 * arm-tdep.c: Update.
1243 * avr-tdep.c: Update.
1244 * cris-tdep.c: Update.
1245 * csky-tdep.c: Update.
1246 * frv-tdep.c: Update.
1247 * hppa-linux-tdep.c: Update.
1248 * hppa-tdep.c: Update.
1249 * hppa-tdep.h: Update.
1250 * lm32-tdep.c: Update.
1251 * m32r-linux-tdep.c: Update.
1252 * m32r-tdep.c: Update.
1253 * m68hc11-tdep.c: Update.
1254 * mips-tdep.c: Update.
1255 * moxie-tdep.c: Update.
1256 * riscv-tdep.c: Update.
1257 * rs6000-tdep.c: Update.
1258 * s390-linux-tdep.c: Update.
1259 * s390-tdep.c: Update.
1260 * score-tdep.c: Update.
1261 * sparc-netbsd-tdep.c: Update.
1262 * sparc-sol2-tdep.c: Update.
1263 * sparc64-fbsd-tdep.c: Update.
1264 * sparc64-netbsd-tdep.c: Update.
1265 * sparc64-obsd-tdep.c: Update.
1266 * sparc64-sol2-tdep.c: Update.
1267 * tilegx-tdep.c: Update.
1268 * v850-tdep.c: Update.
1269 * vax-tdep.c: Update.
1270
1271 * frame-unwind.c (frame_unwind_got_bytes): Make parameter const.
1272 * frame-unwind.h (frame_unwind_got_bytes): Likewise.
1273
1274 * trad-frame.c: Update.
1275 Remove TF_REG_* enum.
1276 (trad_frame_alloc_saved_regs): Add a static assertion to check for
1277 a trivially-constructible struct.
1278 (trad_frame_reset_saved_regs): Adjust to use member function.
1279 (trad_frame_value_p): Likewise.
1280 (trad_frame_addr_p): Likewise.
1281 (trad_frame_realreg_p): Likewise.
1282 (trad_frame_value_bytes_p): Likewise.
1283 (trad_frame_set_value): Likewise.
1284 (trad_frame_set_realreg): Likewise.
1285 (trad_frame_set_addr): Likewise.
1286 (trad_frame_set_unknown): Likewise.
1287 (trad_frame_set_value_bytes): Likewise.
1288 (trad_frame_get_prev_register): Likewise.
1289 * trad-frame.h: Update.
1290 (trad_frame_saved_reg_kind): New enum.
1291 (struct trad_frame_saved_reg) <addr, realreg, data>: Remove.
1292 <m_kind, m_reg>: New member fields.
1293 <set_value, set_realreg, set_addr, set_unknown, set_value_bytes>
1294 <kind, value, realreg, addr, value_bytes, is_value, is_realreg>
1295 <is_addr, is_unknown, is_value_bytes>: New member functions.
1296
9898e882
SM
12972021-01-02 Simon Marchi <simon.marchi@polymtl.ca>
1298
1299 * target-float.c: Fix typos.
1300
b66b4e65
HD
13012021-01-02 Hannes Domani <ssbssa@yahoo.de>
1302
1303 * gdb-gdb.py.in: Fix main_type.flds_bnds.bounds pretty printer.
1304
b5b5650a
JB
13052021-01-01 Joel Brobecker <brobecker@adacore.com>
1306
1307 * gdbarch.sh: Update copyright year range.
1308
3666a048
JB
13092021-01-01 Joel Brobecker <brobecker@adacore.com>
1310
1311 Update copyright year range in copyright header of all GDB files.
1312
ff7e39b6
JB
13132021-01-01 Joel Brobecker <brobecker@adacore.com>
1314
1315 * copyright.py (get_update_list): Add "gdbserver" and "gdbsupport"
1316 to the list of directories to update.
1317
2b47c078
JB
13182021-01-01 Joel Brobecker <brobecker@adacore.com>
1319
1320 * top.c (print_gdb_version): Update copyright year.
1321
476923f1 13222021-01-01 Joel Brobecker <brobecker@adacore.com>
c8f02daa 1323
476923f1 1324 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2020.
c8f02daa 1325
476923f1 1326For older changes see ChangeLog-2020.
c906108c
SS
1327\f
1328Local Variables:
1329mode: change-log
1330left-margin: 8
1331fill-column: 74
1332version-control: never
57da7796 1333coding: utf-8
c906108c 1334End: