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