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