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