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