]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/ChangeLog
Fix a problem merging empty annobin notes on ppc64le targets.
[thirdparty/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
6a780b67
KB
12021-02-17 Kevin Buettner <kevinb@redhat.com>
2
3 * ada-lang.c (ada_fold_name): Check for non-empty string prior
4 to accessing it.
5 (ada_lookup_name_info): Likewise.
6
adeab0c5
MF
72021-02-13 Mike Frysinger <vapier@gentoo.org>
8
9 * aclocal.m4: Regenerate.
10
089436f7
TV
112021-02-12 Tom de Vries <tdevries@suse.de>
12
13 PR threads/26228
14 * linux-nat.c (lin_thread_get_thread_signals): Remove.
15 (lin_thread_signals): New static var.
16 (lin_thread_get_thread_signal_num, lin_thread_get_thread_signal):
17 New function.
18 * linux-nat.h (lin_thread_get_thread_signals): Remove.
19 (lin_thread_get_thread_signal_num, lin_thread_get_thread_signal):
20 Declare.
21 * linux-thread-db.c (check_thread_signals): Use
22 lin_thread_get_thread_signal_num and lin_thread_get_thread_signal.
23
96df3e28
AB
242021-02-12 Andrew Burgess <andrew.burgess@embecosm.com>
25
26 * f-exp.y (f77_keywords): Add allocated.
27 * f-lang.c (evaluate_subexp_f): Handle UNOP_FORTRAN_ALLOCATED.
28 (operator_length_f): Likewise.
29 (print_subexp_f): Likewise.
30 (dump_subexp_body_f): Likewise.
31 (operator_check_f): Likewise.
32 * std-operator.def (UNOP_FORTRAN_ALLOCATED): New operator.
33
05f68f52
TV
342021-02-11 Tom de Vries <tdevries@suse.de>
35
36 PR symtab/27353
37 * dwarf2/attribute.c (attribute::form_requires_reprocessing):
38 Return true for DW_FORM_strx.
39
b260f8d6
TT
402021-02-11 Tom Tromey <tromey@adacore.com>
41
42 PR gdb/27383:
43 * parse.c (write_exp_symbol_reference): Write sym.block.
44
bf3386f0
AB
452021-02-11 Andrew Burgess <andrew.burgess@embecosm.com>
46
47 * NEWS: Mention changes to 'maint info sections'.
48 * maint.c (match_substring): Return a bool, fix whitespace issue.
49 (struct single_bfd_flag_info): New struct.
50 (bfd_flag_info): New static global.
51 (match_bfd_flags): Return a bool, use bfd_flag_info.
52 (print_bfd_flags): Use bfd_flag_info.
53 (maint_print_section_info): Delete trailing whitespace.
54 (struct maint_info_sections_opts): New struct.
55 (maint_info_sections_option_defs): New static global.
56 (maint_info_sections_completer): New function.
57 (maintenance_info_sections): Use option parsing mechanism.
58 (_initialize_maint_cmds): Update command help text for 'maint info
59 sections' and register a command completer.
60
4790db14
AB
612021-02-11 Andrew Burgess <andrew.burgess@embecosm.com>
62
63 * maint.c (print_bfd_section_info_maybe_relocated): Delete,
64 functionality merged into...
65 (maint_print_all_sections): ...this new function.
66 (maintenance_info_sections): Make use of maint_print_all_sections,
67 allow all objects to be printed even where there's no executable.
68
1db66e34
AB
692021-02-11 Andrew Burgess <andrew.burgess@embecosm.com>
70
71 * breakpoint.c (resolve_sal_pc): Make use of
72 bound_minimal_symbol::obj_section.
73 * maint.c (maintenance_translate_address): Likewise.
74 * minsyms.c (minimal_symbol_upper_bound): Likewise.
75 * minsyms.h (struct bound_minimal_symbol) <obj_section>: New
76 member function.
77 * printcmd.c (info_address_command): Make use of
78 bound_minimal_symbol::obj_section.
79
18b8df43
AM
802021-02-11 Alan Modra <amodra@gmail.com>
81
82 * arm-symbian-tdep.c: Delete.
83 * NEWS: Mention arm-symbian removal.
84 * Makefile.in: Remove arm-symbian-tdep entries.
85 * configure.tgt: Remove arm*-*-symbianelf*.
86 * doc/gdb.texinfo: Remove mention of SymbianOS.
87 * osabi.c (gdb_osabi_names): Remove "Symbian".
88 * osabi.h (enum gdb_osabi): Remove GDB_OSABI_SYMBIAN.
89 * testsuite/gdb.base/ending-run.exp: Remove E32Main handling.
90 * testsuite/gdb.ada/catch_ex_std.exp: Remove arm*-*-symbianelf*
91 handling.
92 * testsuite/gdb.base/dup-sect.exp: Likewise.
93 * testsuite/gdb.base/long_long.exp: Likewise.
94 * testsuite/gdb.base/solib-weak.exp: Likewise.
95 * testsuite/gdb.guile/scm-section-script.exp: Likewise.
96 * testsuite/gdb.python/py-section-script.exp: Likewise.
97 * testsuite/lib/dwarf.exp: Likewise.
98 * testsuite/lib/gdb.exp: Likewise.
99
e92c8eb8
AB
1002021-02-10 Andrew Burgess <andrew.burgess@embecosm.com>
101
102 * f-exp.y (UNOP_OR_BINOP_INTRINSIC): New token.
103 (exp): New pattern using UNOP_OR_BINOP_INTRINSIC.
104 (one_or_two_args): New pattern.
105 (f77_keywords): Add lbound and ubound.
106 * f-lang.c (fortran_bounds_all_dims): New function.
107 (fortran_bounds_for_dimension): New function.
108 (evaluate_subexp_f): Handle FORTRAN_LBOUND and FORTRAN_UBOUND.
109 (operator_length_f): Likewise.
110 (print_subexp_f): Likewise.
111 (dump_subexp_body_f): Likewise.
112 (operator_check_f): Likewise.
113 * std-operator.def (FORTRAN_LBOUND): Define.
114 (FORTRAN_UBOUND): Define.
115
a52d653e
AB
1162021-02-10 Andrew Burgess <andrew.burgess@embecosm.com>
117
118 * coff-pe-read.c (add_pe_forwarded_sym): Make use of section_index
119 and set_section_index member functions where appropriate.
120 * coffread.c (coff_symtab_read): Likewise.
121 (process_coff_symbol): Likewise.
122 * ctfread.c (set_symbol_address): Likewise.
123 * dwarf2/read.c (add_partial_symbol): Likewise.
124 (var_decode_location): Likewise.
125 * language.c: Likewise.
126 * minsyms.c (minimal_symbol_reader::record_full): Likewise.
127 (compact_minimal_symbols): Likewise.
128 (minimal_symbol_upper_bound): Likewise.
129 * objfiles.c (relocate_one_symbol): Likewise.
130 * psympriv.h (partial_symbol::obj_section): Likewise.
131 (partial_symbol::address): Likewise.
132 * psymtab.c (partial_symtab::add_psymbol): Likewise.
133 * stabsread.c (scan_file_globals): Likewise.
134 * symmisc.c (dump_msymbols): Likewise.
135 * symtab.c (general_symbol_info::obj_section): Likewise.
136 (fixup_section): Likewise.
137 (get_msymbol_address): Likewise.
138 * symtab.h (general_symbol_info::section): Rename to...
139 (general_symbol_info::m_section): ...this.
140 (general_symbol_info::set_section_index): New member function.
141 (general_symbol_info::section_index): Likewise.
142 (SYMBOL_SECTION): Delete.
143 (MSYMBOL_VALUE_ADDRESS): Make use of section_index and
144 set_section_index member functions where appropriate.
145 (MSYMBOL_SECTION): Delete.
146 (symbol::symbol): Update to initialize 'm_section'.
147 * xcoffread.c (read_xcoff_symtab): Make use of set_section_index.
148 (process_xcoff_symbol): Likewise.
149
ebbc3a7d
AB
1502021-02-10 Andrew Burgess <andrew.burgess@embecosm.com>
151
152 * breakpoint.c (resolve_sal_pc): Replace SYMBOL_OBJ_SECTION and
153 MSYMBOL_OBJ_SECTION.
154 * findvar.c (language_defn::read_var_value): Likewise.
155 * infcmd.c (jump_command): Likewise.
156 * linespec.c (minsym_found): Likewise.
157 * maint.c (maintenance_translate_address): Likewise.
158 * minsyms.c (lookup_minimal_symbol_by_pc_section): Likewise.
159 (minimal_symbol_upper_bound): Likewise.
160 * parse.c (find_minsym_type_and_address): Likewise.
161 (operator_check_standard): Likewise.
162 * printcmd.c (info_address_command): Likewise.
163 * symmisc.c (dump_msymbols): Likewise.
164 (print_symbol): Likewise.
165 * symtab.c (general_symbol_info::obj_section): Define new
166 function.
167 (fixup_symbol_section): Replace SYMBOL_OBJ_SECTION.
168 (find_pc_sect_compunit_symtab): Likewise.
169 (find_function_start_sal): Likewise.
170 (skip_prologue_sal): Replace SYMBOL_OBJ_SECTION and
171 MSYMBOL_OBJ_SECTION.
172 * symtab.h (struct general_symbol_info) <obj_section>: Declare new
173 function.
174 (SYMBOL_OBJ_SECTION): Delete.
175 (MSYMBOL_OBJ_SECTION): Delete.
176
9bb305b3
TT
1772021-02-09 Tom Tromey <tom@tromey.com>
178
179 * stap-probe.c (stap_parse_argument_conditionally): Fix typo.
180
cf2b2075
TV
1812021-02-09 Tom de Vries <tdevries@suse.de>
182
183 PR symtab/27341
184 * dwarf2/read.c (read_array_type): Return NULL when not being able to
185 construct an array type. Add assert to ensure that element_type is
186 not being modified.
187
03642b71
AB
1882021-02-09 Andrew Burgess <andrew.burgess@embecosm.com>
189
190 * gcore.c (struct gcore_collect_regset_section_cb_data): Delete.
191 (gcore_collect_regset_section_cb): Delete.
192 (gcore_collect_thread_registers): Delete.
193 (gcore_build_thread_register_notes): Delete.
194 (gcore_find_signalled_thread): Delete.
195 * gcore.h: Remove 'gdbsupport/gdb_signals.h' include and delete
196 'gdbarch' and 'thread_info' declarations.
197 (gcore_build_thread_register_notes): Delete declaration.
198 (gcore_find_signalled_thread): Likewise.
199 * fbsd-tdep.c: Remove 'gcore.h' include.
200 (struct fbsd_collect_regset_section_cb_data): New struct.
201 (fbsd_collect_regset_section_cb): New function.
202 (fbsd_collect_thread_registers): New function.
203 (struct fbsd_corefile_thread_data): New struct.
204 (fbsd_corefile_thread): New function.
205 (fbsd_make_corefile_notes): Call FreeBSD specific code.
206 * linux-tdep.c: Remove 'gcore.h' include.
207 (struct linux_collect_regset_section_cb_data): New struct.
208 (linux_collect_regset_section_cb): New function.
209 (linux_collect_thread_registers): New function.
210 (linux_corefile_thread): Call Linux specific code.
211 (find_signalled_thread): New function.
212 (linux_make_corefile_notes): Call find_signalled_thread.
213
f73e424f
TT
2142021-02-09 Tom Tromey <tromey@adacore.com>
215
216 * ada-lang.c (coerce_unspec_val_to_type): Avoid making lazy
217 not_lval value.
218 * value.c (value_contents_copy_raw): Now static.
219 * value.h (value_contents_copy_raw): Don't declare.
220
a4f0544b
TT
2212021-02-09 Tom Tromey <tromey@adacore.com>
222
223 * gdbtypes.c (resolve_dynamic_struct): Handle structure with no
224 fields.
225
9b3e4b5d
SV
2262021-02-08 Shahab Vahedi <shahab@synopsys.com>
227
228 PR tdep/27369
229 * arc-linux-tdep.c (handle_atomic_sequence): New.
230 (arc_linux_software_single_step): Call handle_atomic_sequence().
231
29db1eb3
AB
2322021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
233
234 * python/py-tui.c (gdbpy_tui_window) <is_valid>: New member
235 function.
236 (REQUIRE_WINDOW): Call is_valid member function.
237 (REQUIRE_WINDOW_FOR_SETTER): New define.
238 (gdbpy_tui_is_valid): Call is_valid member function.
239 (gdbpy_tui_set_title): Call REQUIRE_WINDOW_FOR_SETTER instead.
240 * tui/tui-data.h (struct tui_win_info) <is_visible>: Check
241 tui_active too.
242 * tui/tui-layout.c (tui_apply_current_layout): Add an assert.
243 * tui/tui.c (tui_enable): Move setting of tui_active earlier in
244 the function.
245
e0c23e11
AB
2462021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
247
248 * python/py-tui.c (gdbpy_tui_set_title): Check that the new value
249 for the title is not nullptr.
250
1cf23996
AB
2512021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
252
253 * tui-layout.c (saved_tui_windows): Delete.
254 (tui_apply_current_layout): Don't make use of saved_tui_windows,
255 call new get_windows member function instead.
256 (tui_get_window_by_name): Check in tui_windows.
257 (tui_layout_window::apply): Don't add to tui_windows.
258 * tui-layout.h (tui_layout_base::get_windows): New member function.
259 (tui_layout_window::get_windows): Likewise.
260 (tui_layout_split::get_windows): Likewise.
261
a53a2657
AB
2622021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
263
264 * tui/tui-layout.c (tui_apply_current_layout): Restore the delete
265 of the window objects.
266
2708dbbd
AB
2672021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
268
269 * python/python.c (gdbpy_print_stack): Reformat an error message.
270
cd074e04
AB
2712021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
272
273 * tui/tui-interp.c (tui_command_line_handler): New function.
274 (tui_interp::resume): Register tui_command_line_handler as the
275 input_handler.
276 * tui/tui-io.c (tui_inject_newline_into_command_window): New
277 function.
278 (tui_getc_1): Delete handling of '\n' and '\r'.
279 * tui-io.h (tui_inject_newline_into_command_window): Declare.
280
4cf28e91
HD
2812021-02-07 Hannes Domani <ssbssa@yahoo.de>
282
283 * tui/tui-regs.c (tui_data_window::display_registers_from):
284 Mark invisible register sub windows.
285 (tui_data_window::check_register_values): Ignore invisible
286 register sub windows.
287
3537bc23
HD
2882021-02-07 Hannes Domani <ssbssa@yahoo.de>
289
290 * tui/tui-regs.c (tui_data_item_window::rerender): Don't call
291 n_spaces with a negative value.
292
5fc2d6aa
HD
2932021-02-07 Hannes Domani <ssbssa@yahoo.de>
294
295 * tui/tui-regs.c (tui_data_window::display_registers_from):
296 Add refresh_window call.
297
83962f83
HD
2982021-02-07 Hannes Domani <ssbssa@yahoo.de>
299
300 * python/py-frame.c (frapy_richcompare): Compare frame_id_is_next.
301
0110ec82
SM
3022021-02-05 Simon Marchi <simon.marchi@polymtl.ca>
303
304 * symmisc.c (std_in, std_out, std_err): Remove.
305 (_initialize_symmisc): Don't set std_in, std_out and std_err.
306
7c6944ab
TV
3072021-02-05 Tom de Vries <tdevries@suse.de>
308
309 PR breakpoints/27330
310 * breakpoint.c (create_exception_master_breakpoint): Handle case that
311 glibc object file has debug info.
312
e77b0004
TV
3132021-02-05 Tom de Vries <tdevries@suse.de>
314
315 PR symtab/27333
316 * dwarf2/read.c (process_psymtab_comp_unit): Handle DW_TAG_type_unit.
317
0e857c82
TV
3182021-02-05 Tom de Vries <tdevries@suse.de>
319
320 PR breakpoints/27313
321 * break-catch-syscall.c (catch_syscall_split_args): Reject negative
322 syscall numbers.
323
bdfea17e
TT
3242021-02-05 Tom Tromey <tom@tromey.com>
325
326 * compile/compile-c-support.c (get_compile_context)
327 (c_get_compile_context, cplus_get_compile_context): Change return
328 type.
329 * language.c (language_defn::get_compile_instance): New method.
330 * language.h (language_defn::get_compile_instance): Change return
331 type. No longer inline.
332 * c-lang.c (c_language::get_compile_instance): Change return type.
333 (cplus_language::get_compile_instance): Change return type.
334 * c-lang.h (c_get_compile_context, cplus_get_compile_context):
335 Change return type.
336 * compile/compile.c (compile_to_object): Update.
337
1b30f421
TT
3382021-02-05 Tom Tromey <tom@tromey.com>
339
340 * parser-defs.h (write_exp_symbol_reference): Declare.
341 * parse.c (write_exp_symbol_reference): New function.
342 * p-exp.y (variable): Use write_exp_symbol_reference.
343 * m2-exp.y (variable): Use write_exp_symbol_reference.
344 * f-exp.y (variable): Use write_exp_symbol_reference.
345 * d-exp.y (PrimaryExpression): Use write_exp_symbol_reference.
346 * c-exp.y (variable): Use write_exp_symbol_reference.
347
ae710496
TV
3482021-02-05 Tom de Vries <tdevries@suse.de>
349
350 PR exp/27265
351 * valarith.c (complex_binop): Throw an error if complex type can't
352 be created.
353
d3b54e63
TV
3542021-02-05 Tom de Vries <tdevries@suse.de>
355
356 PR symtab/27307
357 * dwarf2/read.c (create_cus_from_debug_names_list): Add missing
358 return.
359
fc9a13fb
TV
3602021-02-05 Tom de Vries <tdevries@suse.de>
361
362 * dwarf2/read.c (create_cus_from_debug_names_list): Fix indentation.
363
04b4939b
MF
3642021-02-04 Mike Frysinger <vapier@gentoo.org>
365
366 * configure.tgt (riscv*-*-*): Set gdb_sim.
367
6ff267e1
SM
3682021-02-04 Simon Marchi <simon.marchi@polymtl.ca>
369
370 * target.c (target_is_non_stop_p): Return bool.
371 * target.h (target_is_non_stop_p): Return bool.
372
fdbc5215
SM
3732021-02-04 Simon Marchi <simon.marchi@efficios.com>
374
375 * record-full.c (record_full_async_inferior_event_handler):
376 Don't clear async event handler.
377 (record_full_base_target::wait): Clear async event handler at
378 beginning.
379
85d3ad8e
SM
3802021-02-04 Simon Marchi <simon.marchi@efficios.com>
381
382 * record-btrace.c (record_btrace_handle_async_inferior_event):
383 Don't clear async event handler.
384 (record_btrace_target::wait): Clear async event handler at
385 beginning.
386
baa8575b
SM
3872021-02-04 Simon Marchi <simon.marchi@efficios.com>
388
389 * remote.c (remote_target::wait): Clear async event handler at
390 beginning, mark if needed at the end.
391 (remote_async_inferior_event_handler): Don't set or clear async
392 event handler.
393
6b36ddeb
SM
3942021-02-04 Simon Marchi <simon.marchi@efficios.com>
395
396 * async-event.h (async_event_handler_func): Add documentation.
397 * async-event.c (check_async_event_handlers): Don't clear
398 async_event_handler ready flag.
399 * infrun.c (infrun_async_inferior_event_handler): Clear ready
400 flag.
401 * record-btrace.c (record_btrace_handle_async_inferior_event):
402 Likewise.
403 * record-full.c (record_full_async_inferior_event_handler):
404 Likewise.
405 * remote-notif.c (remote_async_get_pending_events_handler):
406 Likewise.
407 * remote.c (remote_async_inferior_event_handler): Likewise.
408
72d383bb
SM
4092021-02-03 Simon Marchi <simon.marchi@polymtl.ca>
410
411 * infrun.c (handle_inferior_event): Move stop_soon variable to
412 inner scope.
413
408f6686
PA
4142021-02-03 Pedro Alves <pedro@palves.net>
415
416 * infcmd.c (detach_command): Hold strong reference to target, and
417 if all-stop on entry, restart threads on exit.
418 * infrun.c (switch_back_to_stepped_thread): Factor out bits to ...
419 (restart_stepped_thread): ... this new function. Also handle
420 trap_expected.
421 (restart_after_all_stop_detach): New function.
422 * infrun.h (restart_after_all_stop_detach): Declare.
423
ac7d717c
PA
4242021-02-03 Pedro Alves <pedro@palves.net>
425
426 * infrun.c (struct step_over_info): Initialize fields.
427 (prepare_for_detach): Handle ongoing in-line step over.
428
e87f0fe8
PA
4292021-02-03 Pedro Alves <pedro@palves.net>
430
431 * linux-nat.c (linux_nat_target::detach): Remove breakpoints
432 here...
433 * remote.c (remote_target::remote_detach_1): ... and here ...
434 * target.c (target_detach): ... instead of here.
435 * target.h (target_ops::detach): Add comment.
436
8ff53139
PA
4372021-02-03 Pedro Alves <pedro@palves.net>
438
439 * infrun.c (struct wait_one_event): Move higher up.
440 (prepare_for_detach): Abort in-progress displaced steps instead of
441 letting them complete.
442 (handle_one): If the inferior is detaching, don't add the thread
443 back to the global step-over chain.
444 (restart_threads): Don't restart threads if detaching.
445 (handle_signal_stop): Remove inferior::detaching reference.
446
91475068
PA
4472021-02-03 Pedro Alves <pedro@palves.net>
448
449 * infrun.c (prepare_for_detach): Don't release scoped_restore
450 before returning.
451
d758e62c
PA
4522021-02-03 Pedro Alves <pedro@palves.net>
453
454 * infrun.c (handle_one): New function, factored out from ...
455 (stop_all_threads): ... here.
456
b0083dd7
PA
4572021-02-03 Pedro Alves <pedro@palves.net>
458
459 * remote.c (remote_notif_stop_ack): Don't error out on
460 TARGET_WAITKIND_IGNORE; instead, just ignore the notification.
461 (remote_target::discard_pending_stop_replies): Don't delete
462 in-flight notification; instead, clear its contents.
463
621cc310
PA
4642021-02-03 Pedro Alves <pedro@palves.net>
465
466 * remote.c (extended_remote_target::attach): Set target async in
467 the target-non-stop path too.
468
2ab76a18
PA
4692021-02-03 Pedro Alves <pedro@palves.net>
470
471 PR gdb/27055
472 * infrun.c (handle_signal_stop): Move main context_switch call
473 earlier, before STOP_QUIETLY_NO_SIGSTOP.
474
2e3773ff
LS
4752021-02-02 Lancelot SIX <lsix@lancelotsix.com>
476
477 * NEWS (Changed commands): Add entry for the behavior change of
478 the inferior command.
479 * inferior.c (inferior_command): When no argument is given to the
480 inferior command, display info about the currently selected
481 inferior.
482
e57933dc
SM
4832021-02-02 Simon Marchi <simon.marchi@efficios.com>
484
485 * dwarf2/read.c (read_loclist_index, read_rnglist_index): Return
486 a sect_offset.
487 (read_attribute_reprocess): Adjust.
488
2b0c7f41
SM
4892021-02-02 Simon Marchi <simon.marchi@efficios.com>
490
491 * dwarf2/die.h (struct die_info) <ranges_base>: Split in...
492 <gnu_ranges_base>: ... this...
493 <rnglists_base>: ... and this.
494 * dwarf2/read.c (struct dwarf2_cu) <ranges_base>: Split in...
495 <gnu_ranges_base>: ... this...
496 <rnglists_base>: ... and this.
497 (read_cutu_die_from_dwo): Adjust
498 (dwarf2_get_pc_bounds): Adjust
499 (dwarf2_record_block_ranges): Adjust.
500 (read_full_die_1): Adjust
501 (partial_die_info::read): Adjust.
502 (read_rnglist_index): Adjust.
503
a1c40103
SM
5042021-02-02 Simon Marchi <simon.marchi@efficios.com>
505
506 PR gdb/26813
507 * dwarf2/read.c (read_loclists_rnglists_header): Add
508 header_offset parameter and use it.
509 (read_loclist_index): Read header of the current contribution,
510 not the one at the beginning of the section.
511 (read_rnglist_index): Likewise.
512
b1829e1b
SM
5132021-02-02 Simon Marchi <simon.marchi@efficios.com>
514
515 PR gdb/26813
516 * dwarf2/attribute.h (struct attribute) <set_unsigned>: Clear
517 requires_reprocessing flag.
518 * dwarf2/attribute.c (attribute::form_is_unsigned): Handle
519 DW_FORM_loclistx.
520 (attribute::form_requires_reprocessing): Handle DW_FORM_rnglistx
521 and DW_FORM_loclistx.
522 * dwarf2/read.c (read_attribute_reprocess): Use set_unsigned
523 instead of set_address for DW_FORM_loclistx and
524 DW_FORM_rnglistx.
525
0c800c6e
SM
5262021-02-02 Simon Marchi <simon.marchi@efficios.com>
527
528 * dwarf2/read.c (read_loclist_index): Remove bound check for
529 start of offset.
530 (read_rnglist_index): Likewise.
531
05787bad
SM
5322021-02-02 Simon Marchi <simon.marchi@efficios.com>
533
534 * dwarf2/read.c (read_loclist_index): Add bound check for the end
535 of the offset.
536
5e4d9bbc
SM
5372021-02-02 Simon Marchi <simon.marchi@efficios.com>
538
539 * dwarf2/read.c (read_rnglist_index): Fix bound check.
540
a0c1eeba
SM
5412021-02-02 Simon Marchi <simon.marchi@efficios.com>
542
543 * dwarf2/read.c (read_loclist_index): Change complaints into
544 errors.
545
2bd3e4b8
TV
5462021-02-02 Tom de Vries <tdevries@suse.de>
547
548 PR symtab/24620
549 * dwarf2/index-write.c (write_one_signatured_type): Skip if
550 psymtab == nullptr.
551
82a1fd3a
AB
5522021-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
553
554 * Makefile.in (HFILES_NO_SRCDIR): Add corefile.h.
555 * gcore.c (struct gcore_collect_regset_section_cb_data): Moved
556 here from linux-tdep.c and given a new name. Minor cleanups.
557 (gcore_collect_regset_section_cb): Likewise.
558 (gcore_collect_thread_registers): Likewise.
559 (gcore_build_thread_register_notes): Likewise.
560 (gcore_find_signalled_thread): Likewise.
561 * gcore.h (gcore_build_thread_register_notes): Declare.
562 (gcore_find_signalled_thread): Declare.
563 * fbsd-tdep.c: Add 'gcore.h' include.
564 (struct fbsd_collect_regset_section_cb_data): Delete.
565 (fbsd_collect_regset_section_cb): Delete.
566 (fbsd_collect_thread_registers): Delete.
567 (struct fbsd_corefile_thread_data): Delete.
568 (fbsd_corefile_thread): Delete.
569 (fbsd_make_corefile_notes): Call
570 gcore_build_thread_register_notes instead of the now deleted
571 FreeBSD code.
572 * linux-tdep.c: Add 'gcore.h' include.
573 (struct linux_collect_regset_section_cb_data): Delete.
574 (linux_collect_regset_section_cb): Delete.
575 (linux_collect_thread_registers): Delete.
576 (linux_corefile_thread): Call
577 gcore_build_thread_register_notes.
578 (find_signalled_thread): Delete.
579 (linux_make_corefile_notes): Call gcore_find_signalled_thread.
580
ebde6f2d
TV
5812021-01-29 Tom de Vries <tdevries@suse.de>
582
583 PR breakpoints/26063
584 * infrun.c (process_event_stop_test): Reset
585 ecs->event_thread->current_line to 0 if is-stmt=n and frame has
586 changed.
587
0f93c3a2
AB
5882021-01-28 Andrew Burgess <andrew.burgess@embecosm.com>
589
590 * thread.c (thr_try_catch_cmd): Replace swith_to_thread with an
591 assert. Extend the header comment.
592
f237f998
AB
5932021-01-28 Andrew Burgess <andrew.burgess@embecosm.com>
594
595 * Makefile.in (SUBDIR_TUI_SRCS): Add tui/tui-location.c.
596 (HFILES_NO_SRCDIR): Add tui/tui-location.h.
597 * tui/tui-data.h (TUI_STATUS_WIN): Define.
598 (tui_locator_win_info_ptr): Delete declaration.
599 * tui/tui-disasm.c: Add 'tui/tui-location.h' include.
600 (tui_disasm_window::set_contents): Fetch state from tui_location
601 global.
602 (tui_get_begin_asm_address): Likewise.
603 * tui/tui-layout.c (tui_apply_current_layout): Remove special case
604 for locator window.
605 (get_locator_window): Delete.
606 (initialize_known_windows): Treat locator window just like all the
607 rest.
608 * tui/tui-source.c: Add 'tui/tui-location.h' include.
609 (tui_source_window::set_contents): Fetch state from tui_location
610 global.
611 (tui_source_window::showing_source_p): Likewise.
612 * tui/tui-stack.c: Add 'tui/tui-location.h' include.
613 (_locator): Delete.
614 (tui_locator_win_info_ptr): Delete.
615 (tui_locator_window::make_status_line): Fetch state from
616 tui_location global.
617 (tui_locator_window::rerender): Remove check of 'handle',
618 reindent function body.
619 (tui_locator_window::set_locator_fullname): Delete.
620 (tui_locator_window::set_locator_info): Delete.
621 (tui_update_locator_fullname): Delete.
622 (tui_show_frame_info): Likewise.
623 (tui_show_locator_content): Access window through TUI_STATUS_WIN.
624 * tui/tui-stack.h (tui_locator_window::set_locator_info): Moved to
625 tui/tui-location.h and renamed to
626 tui_location_tracker::set_location.
627 (tui_locator_window::set_locator_fullname): Moved to
628 tui/tui-location.h and renamed to
629 tui_location_tracker::set_fullname.
630 (tui_locator_window::full_name): Delete.
631 (tui_locator_window::proc_name): Delete.
632 (tui_locator_window::line_no): Delete.
633 (tui_locator_window::addr): Delete.
634 (tui_locator_window::gdbarch): Delete.
635 (tui_update_locator_fullname): Delete declaration.
636 * tui/tui-wingeneral.c (tui_refresh_all): Removed special handling
637 for locator window.
638 * tui/tui-winsource.c: Add 'tui/tui-location.h' include.
639 (tui_display_main): Call function on tui_location directly.
640 * tui/tui.h (enum tui_win_type): Add STATUS_WIN.
641 * tui/tui-location.c: New file.
642 * tui/tui-location.h: New file.
643
8ee511af
SM
6442021-01-28 Simon Marchi <simon.marchi@polymtl.ca>
645
646 * gdbtypes.h (get_type_arch): Rename to...
647 (struct type) <arch>: ... this, update all users.
648
6ac37371
SM
6492021-01-28 Simon Marchi <simon.marchi@polymtl.ca>
650
651 * gdbtypes.h (struct type) <arch>: Rename to...
652 <arch_owner>: ... this, update all users.
653 <objfile>: Rename to...
654 <objfile_owner>: ... this, update all users.
655
24cf6389
AB
6562021-01-28 Andrew Burgess <andrew.burgess@embecosm.com>
657
658 * gdbcmd.h (execute_command_to_string): Update comment.
659 * top.c (execute_command_to_string): Update header comment.
660
2a7f6487
TV
6612021-01-28 Tom de Vries <tdevries@suse.de>
662
663 PR breakpoints/27205
664 * breakpoint.c (create_longjmp_master_breakpoint_probe)
665 (create_longjmp_master_breakpoint_names): New function, factored out
666 of ...
667 (create_longjmp_master_breakpoint): ... here. Only try to install
668 longjmp_names breakpoints in libc.so/libc.so.debug if installing probe
669 breakpoint in libc.so failed.
670
59b59f08
LS
6712021-01-27 Lancelot SIX <lsix@lancelotsix.com>
672
673 PR gdb/27133
674 * cli/cli-interp.c (cli_interp_base::set_logging): Ensure the
675 unique_ptr is released when the wrapped pointer is kept for later
676 use.
677
807f647c
MM
6782021-01-27 Matthew Malcomson <matthew.malcomson@arm.com>
679
680 * aarch64-tdep.c (aarch64_displaced_step_others): Account for
681 BLR and BR instructions.
682 * arch/aarch64-insn.h (enum aarch64_opcodes): Add BR opcode.
683 (enum aarch64_masks): New.
684
4ef367bf
TT
6852021-01-26 Tom Tromey <tromey@adacore.com>
686
687 * windows-nat.c (DEBUG_EXEC, DEBUG_EVENTS, DEBUG_MEM)
688 (DEBUG_EXCEPT): Use debug_prefixed_printf_cond.
689 (windows_init_thread_list, windows_nat::handle_load_dll)
690 (windows_nat::handle_unload_dll, windows_nat_target::resume)
691 (windows_nat_target::resume)
692 (windows_nat_target::get_windows_debug_event)
693 (windows_nat_target::interrupt, windows_xfer_memory)
694 (windows_nat_target::close): Update.
695 * nat/windows-nat.c (DEBUG_EVENTS): Use
696 debug_prefixed_printf_cond.
697 (matching_pending_stop, fetch_pending_stop)
698 (continue_last_debug_event): Update.
699
4cb1265b
MS
7002020-12-17 Mihails Strasuns <mihails.strasuns@intel.com>
701
702 * linux-tdep.c (linux_make_mappings_corefile_notes): Start using
703 elfcore_write_file_note.
704
d0cc52bd
SV
7052021-01-26 Shahab Vahedi <shahab@synopsys.com>
706
707 * arc-tdep.c (arc_add_reggroups): New function.
708 (arc_gdbarch_init): Call arc_add_reggroups.
709
ac3571d9 7102021-01-26 Anton Kolesov <anton.kolesov@synopsys.com>
d56834cb
AK
711
712 * arc-tdep.c (arc_skip_prologue): Log "pc" address.
713
9f6c202e
TV
7142021-01-25 Bernd Edlinger <bernd.edlinger@hotmail.de>
715 Simon Marchi <simon.marchi@polymtl.ca>
716 Tom de Vries <tdevries@suse.de>
717
718 * dwarf2/read.c (partial_die_info::read): Use as_unsigned () for
719 DW_AT_ranges.
720
a625a8c9
TT
7212021-01-25 Tom Tromey <tromey@adacore.com>
722
723 * dwarf2/read.c (get_mpz): New function.
724 (get_dwarf2_rational_constant): Use it.
725
19184910
TT
7262021-01-25 Tom Tromey <tromey@adacore.com>
727
728 * ada-lang.c (resolve_subexp): Handle array context.
729
b10bae18
TT
7302021-01-23 Tom Tromey <tom@tromey.com>
731
732 PR compile/25575
733 * compile/compile-loc2c.c (note_register): New function.
734 (pushf_register_address, pushf_register): Use it.
735
3637a558
TT
7362021-01-23 Tom Tromey <tom@tromey.com>
737
738 * symtab.h (struct symbol_computed_ops) <generate_c_location>:
739 Change type of "registers_used".
740 * dwarf2/loc.h (dwarf2_compile_property_to_c): Update.
741 * dwarf2/loc.c (dwarf2_compile_property_to_c)
742 (locexpr_generate_c_location, loclist_generate_c_location): Change
743 type of "registers_used".
744 * compile/compile.h (compile_dwarf_expr_to_c)
745 (compile_dwarf_bounds_to_c): Update.
746 * compile/compile-loc2c.c (pushf_register_address)
747 (pushf_register, do_compile_dwarf_expr_to_c)
748 (compile_dwarf_expr_to_c, compile_dwarf_bounds_to_c): Change type
749 of "registers_used".
750 * compile/compile-c.h (generate_c_for_variable_locations):
751 Update.
752 * compile/compile-c-symbols.c (generate_vla_size)
753 (generate_c_for_for_one_variable): Change type of
754 "registers_used".
755 (generate_c_for_variable_locations): Return std::vector.
756 * compile/compile-c-support.c (generate_register_struct): Change
757 type of "registers_used".
758 (compute): Update.
759
9f7f6cb8
TT
7602021-01-23 Tom Tromey <tom@tromey.com>
761
762 * compile/compile-internal.h (class compile_instance)
763 <set_arguments>: Change return type.
764 * compile/compile.c (compile_to_object): Remove call to reset.
765 (compile_instance::set_arguments): Change return type.
766
dd5ca05f
SM
7672021-01-23 Simon Marchi <simon.marchi@polymtl.ca>
768
769 * gdbtypes.c (copy_type_recursive): Use get_type_arch.
770 * gdbtypes.h (struct type) <set_owner>: Add asserts.
771
d3ee35db
LS
7722021-01-23 Lancelot SIX <lsix@lancelotsix.com>
773
774 * Makefile.in (SELFTESTS_SRCS): Add
775 unittests/gdb_tilde_expand-selftests.c.
776 * unittests/gdb_tilde_expand-selftests.c: New file.
777
9d2d8a16
AB
7782021-01-22 Andrew Burgess <andrew.burgess@embecosm.com>
779
780 PR cli/25956
781 * NEWS: Mention new command.
782 * cli/cli-style.c: Add 'cli/cli-setshow.h' include.
783 (version_style): Define.
784 (cli_style_option::cli_style_option): Add intensity parameter, and
785 use as appropriate.
786 (_initialize_cli_style): Register version style set/show commands.
787 * cli/cli-style.h (cli_style_option): Add intensity parameter.
788 (version_style): Declare.
789 * top.c (print_gdb_version): Use version_stype, and styled_string
790 to print the GDB version string.
791
e7b43072
AB
7922021-01-22 Andrew Burgess <andrew.burgess@embecosm.com>
793
794 * utils.c (emit_style_escape): Only emit an escape sequence if the
795 requested style is different than the current applied style.
796 (fputs_maybe_filtered): Adjust the juggling of the wrap_style, and
797 current applied_style.
798 (fputs_styled): Remove is_default check.
799 (fputs_styled_unfiltered): Likewise.
800 (vfprintf_styled_no_gdbfmt): Likewise.
801
2189c312
SM
8022021-01-22 Simon Marchi <simon.marchi@polymtl.ca>
803
804 * remote.h (remote_debug_printf): New.
805 (remote_debug_printf_nofunc): New.
806 (REMOTE_SCOPED_DEBUG_ENTER_EXIT): New.
807 * remote.c: Use above macros throughout file.
808
02349803
SM
8092021-01-22 Simon Marchi <simon.marchi@polymtl.ca>
810
811 * remote.h (remote_debug): Change to bool.
812 * remote.c (remote_debug): Change to bool.
813 (_initialize_remote): Adjust.
814
cda09ec9
SM
8152021-01-22 Simon Marchi <simon.marchi@polymtl.ca>
816
817 * target.h (remote_debug): Move to...
818 * remote.h (remote_debug): ... here.
819 * top.c (remote_debug): Move to...
820 * remote.c (remote_debug): ... here.
821 * remote-sim.c: Include remote.h.
822
baf2b57f
SM
8232021-01-22 Simon Marchi <simon.marchi@polymtl.ca>
824
825 * cli/cli-cmds.c (show_remote_debug): Remove.
826 (show_remote_timeout): Remove.
827 (_initialize_cli_cmds): Don't register commands.
828 * remote.c (show_remote_debug): Move here.
829 (show_remote_timeout): Move here.
830 (_initialize_remote): Register commands.
831
344e9841
SM
8322021-01-22 Simon Marchi <simon.marchi@polymtl.ca>
833
834 * gdbtypes.h (TYPE_OBJFILE): Remove, change all users to use the
835 type::objfile method instead.
836
30625020
SM
8372021-01-22 Simon Marchi <simon.marchi@polymtl.ca>
838
839 * gdbtypes.h (TYPE_OBJFILE_OWNED): Remove, update all users to
840 use the type::is_objfile_owned method.
841
5b7d941b
SM
8422021-01-22 Simon Marchi <simon.marchi@efficios.com>
843
844 * gdbtypes.h (TYPE_OBJFILE_OWNED): Adjust.
845 (TYPE_OWNER): Remove.
846 (TYPE_OBJFILE): Adjust.
847 (struct main_type) <flag_objfile_owned>: Rename to...
848 <m_flag_objfile_owned>: ... this.
849 <owner>: Rename to...
850 <m_owner>: ... this.
851 (struct type) <is_objfile_owned, set_owner, objfile, arch>: New
852 methods.
853 (TYPE_ALLOC): Adjust.
854 * gdbtypes.c (alloc_type): Adjust.
855 (alloc_type_arch): Adjust.
856 (alloc_type_copy): Adjust.
857 (get_type_arch): Adjust.
858 (smash_type): Adjust.
859 (lookup_array_range_type): Adjust.
860 (recursive_dump_type): Adjust.
861 (copy_type_recursive): Adjust.
862 * compile/compile-c-types.c (convert_func): Adjust.
863 (convert_type_basic): Adjust.
864 * compile/compile-cplus-types.c (compile_cplus_convert_func):
865 Adjust.
866 * language.c
867 (language_arch_info::type_and_symbol::alloc_type_symbol):
868 Adjust.
869
d5d24e12
LM
8702021-01-21 Luis Machado <luis.machado@linaro.org>
871
872 * coffread.c (enter_linenos): Passing string to complaint.
873 * valops.c (value_assign): Make array view.
874
a59902a7
SM
8752021-01-21 Simon Marchi <simon.marchi@polymtl.ca>
876
877 * auto-load.h (debug_auto_load): Move here.
878 (auto_load_debug_printf): New.
879 * auto-load.c: Use auto_load_debug_printf.
880 (debug_auto_load): Move to header.
881 * linux-thread-db.c (try_thread_db_load): Use
882 auto_load_debug_printf.
883 * main.c (captured_main_1): Likewise.
884
d3abc0ce
SM
8852021-01-21 Simon Marchi <simon.marchi@polymtl.ca>
886
887 * f-valprint.c (f77_array_offset_tbl): Remove.
888
1e15fcac
SM
8892021-01-21 Simon Marchi <simon.marchi@polymtl.ca>
890
891 * gdb_bfd.c (bfd_cache_debug_printf): New, use throughout file.
892
439706e6
SM
8932021-01-21 Simon Marchi <simon.marchi@polymtl.ca>
894
895 * ser-tcp.c (wait_for_connect): Use interruptible_select instead
896 of gdb_select.
897
325d39e4
HD
8982021-01-21 Hannes Domani <ssbssa@yahoo.de>
899
900 PR python/19151
901 * python/py-breakpoint.c (bppy_get_location): Handle
902 bp_hardware_breakpoint.
903 (bppy_init): Likewise.
904 (gdbpy_breakpoint_created): Likewise.
905
7cb6d92a
SM
9062021-01-21 Simon Marchi <simon.marchi@polymtl.ca>
907
908 * arm-tdep.c (arm_debug_printf): Add and use throughout file.
909
d4dd4fca
SM
9102021-01-20 Simon Marchi <simon.marchi@polymtl.ca>
911
912 * gdb_bfd.c (debug_bfd_cache): Change type to bool.
913 (_initialize_gdb_bfd): Adjust.
914
de53369b
SM
9152021-01-20 Simon Marchi <simon.marchi@polymtl.ca>
916
917 PR gdb/26828
918 * dwarf2/read.c (maybe_queue_comp_unit): Add assertion.
919
17e593e9
SM
9202021-01-20 Simon Marchi <simon.marchi@polymtl.ca>
921
922 * dwarf2/read.c (follow_die_offset): Add logging.
923 (dwarf2_per_objfile::age_comp_units): Add logging.
924
6bd434d6
SM
9252021-01-20 Simon Marchi <simon.marchi@polymtl.ca>
926
927 * aarch64-linux-tdep.c (aarch64_linux_record_tdep): Make static.
928 * aarch64-tdep.c (tdesc_aarch64_list, aarch64_prologue_unwind,
929 aarch64_stub_unwind, aarch64_normal_base, ): Make static.
930 * arm-linux-tdep.c (arm_prologue_unwind): Make static.
931 * arm-tdep.c (struct frame_unwind): Make static.
932 * auto-load.c (auto_load_safe_path_vec): Make static.
933 * csky-tdep.c (csky_stub_unwind): Make static.
934 * gdbarch.c (gdbarch_data_registry): Make static.
935 * gnu-v2-abi.c (gnu_v2_abi_ops): Make static.
936 * i386-netbsd-tdep.c (i386nbsd_mc_reg_offset): Make static.
937 * i386-tdep.c (i386_frame_setup_skip_insns,
938 i386_tramp_chain_in_reg_insns, i386_tramp_chain_on_stack_insns):
939 Make static.
940 * infrun.c (observer_mode): Make static.
941 * linux-nat.c (sigchld_action): Make static.
942 * linux-thread-db.c (thread_db_list): Make static.
943 * maint-test-options.c (maintenance_test_options_list):
944 * mep-tdep.c (mep_csr_registers): Make static.
945 * mi/mi-cmds.c (struct mi_cmd_stats): Remove struct type name.
946 (stats): Make static.
947 * nat/linux-osdata.c (struct osdata_type): Make static.
948 * ppc-netbsd-tdep.c (ppcnbsd_reg_offsets): Make static.
949 * progspace.c (last_program_space_num): Make static.
950 * python/py-param.c (struct parm_constant): Remove struct type
951 name.
952 (parm_constants): Make static.
953 * python/py-record-btrace.c (btpy_list_methods): Make static.
954 * python/py-record.c (recpy_gap_type): Make static.
955 * record.c (record_goto_cmdlist): Make static.
956 * regcache.c (regcache_descr_handle): Make static.
957 * registry.h (DEFINE_REGISTRY): Make definition static.
958 * symmisc.c (std_in, std_out, std_err): Make static.
959 * top.c (previous_saved_command_line): Make static.
960 * tracepoint.c (trace_user, trace_notes, trace_stop_notes): Make
961 static.
962 * unittests/command-def-selftests.c (nr_duplicates,
963 nr_invalid_prefixcmd, lists): Make static.
964 * unittests/observable-selftests.c (test_notification): Make
965 static.
966 * unittests/optional/assignment/1.cc (counter): Make static.
967 * unittests/optional/assignment/2.cc (counter): Make static.
968 * unittests/optional/assignment/3.cc (counter): Make static.
969 * unittests/optional/assignment/4.cc (counter): Make static.
970 * unittests/optional/assignment/5.cc (counter): Make static.
971 * unittests/optional/assignment/6.cc (counter): Make static.
972
a6c11cbb
JS
9732021-01-20 Joel Sherrill <joel@rtems.org>
974
975 PR gdb/27219
976 * remote.c (struct remote_thread_info) <resume_state>: Rename
977 to...
978 <get_resume_state>: ... this.
979 (remote_target::resume): Adjust.
980 (remote_target::commit_resume): Adjust.
981 (remote_target::select_thread_for_ambiguous_stop_reply): Adjust.
982
6f52fdf4
SDJ
9832021-01-20 Sergio Durigan Junior <sergiodj@sergiodj.net>
984 Tom Tromey <tom@tromey.com>
985
986 * stap-probe.c (stap_parse_single_operand): Handle '!'
987 operator.
988 (stap_parse_argument_conditionally): Likewise.
989 Skip spaces after processing open-parenthesis sub-expression.
990 (stap_parse_argument_1): Skip spaces after call to
991 stap_parse_argument_conditionally.
992 Handle case when right-side expression is a parenthesized
993 sub-expression.
994 Skip spaces after call to stap_parse_argument_1.
995
1c3b85ad
LS
9962021-01-19 Lancelot SIX <lsix@lancelotsix.com>
997
998 * top.h (switch_thru_all_uis): Use DISABLE_COPY_AND_ASSIGN.
999
a9a87d35
LM
10002021-01-19 Luis Machado <luis.machado@linaro.org>
1001
1002 * trad-frame.h (trad_frame_saved_reg) <set_value_bytes>: Allocate
1003 memory and save data.
1004 (trad_frame_set_value, trad_frame_set_realreg, trad_frame_set_addr)
1005 (trad_frame_set_unknown, trad_frame_set_value_bytes)
1006 (trad_frame_value_p, trad_frame_addr_p, trad_frame_realreg_p)
1007 (trad_frame_value_bytes_p): Remove.
1008 (trad_frame_reset_saved_regs): Adjust documentation.
1009 * trad-frame.c (trad_frame_alloc_saved_regs): Initialize via a
1010 constructor and reset the state of the registers.
1011 (trad_frame_value_p, trad_frame_addr_p, trad_frame_realreg_p)
1012 (trad_frame_value_bytes_p, trad_frame_set_value)
1013 (trad_frame_set_realreg, trad_frame_set_addr)
1014 (trad_frame_set_unknown, trad_frame_set_value_bytes): Remove.
1015 (trad_frame_set_reg_realreg): Update to call member function.
1016 (trad_frame_set_reg_addr, trad_frame_set_reg_value_bytes): Likewise.
1017 (trad_frame_get_prev_register): Likewise.
1018
1019 * aarch64-tdep.c (aarch64_analyze_prologue)
1020 (aarch64_analyze_prologue_test, aarch64_make_prologue_cache_1)
1021 (aarch64_prologue_prev_register): Update to use member functions.
1022 * alpha-mdebug-tdep.c (alpha_mdebug_frame_unwind_cache): Likewise.
1023 * alpha-tdep.c (alpha_heuristic_frame_unwind_cache): Likewise.
1024 * arc-tdep.c (arc_print_frame_cache, arc_make_frame_cache): Likewise.
1025 * arm-tdep.c (arm_make_prologue_cache, arm_exidx_fill_cache)
1026 (arm_make_epilogue_frame_cache): Likewise.
1027 * avr-tdep.c (avr_frame_unwind_cache)
1028 (avr_frame_prev_register): Likewise.
1029 * cris-tdep.c (cris_scan_prologue): Likewise.
1030 * csky-tdep.c (csky_frame_unwind_cache): Likewise.
1031 * frv-tdep.c (frv_analyze_prologue): Likewise.
1032 * hppa-tdep.c (hppa_frame_cache, hppa_fallback_frame_cache): Likewise.
1033 * lm32-tdep.c (lm32_frame_cache): Likewise.
1034 * m32r-tdep.c (m32r_frame_unwind_cache): Likewise.
1035 * m68hc11-tdep.c (m68hc11_frame_unwind_cache): Likewise.
1036 * mips-tdep.c (set_reg_offset, mips_insn16_frame_cache)
1037 (mips_micro_frame_cache, mips_insn32_frame_cache): Likewise.
1038 (reset_saved_regs): Adjust to set realreg.
1039 * riscv-tdep.c (riscv_scan_prologue, riscv_frame_cache): Adjust to
1040 call member functions.
1041 * rs6000-tdep.c (rs6000_frame_cache, rs6000_epilogue_frame_cache)
1042 * s390-tdep.c (s390_prologue_frame_unwind_cache)
1043 (s390_backchain_frame_unwind_cache): Likewise.
1044 * score-tdep.c (score7_analyze_prologue)
1045 (score3_analyze_prologue, score_make_prologue_cache): Likewise.
1046 * sparc-netbsd-tdep.c (sparc32nbsd_sigcontext_saved_regs): Likewise.
1047 * sparc-sol2-tdep.c (sparc32_sol2_sigtramp_frame_cache): Likewise.
1048 * sparc64-netbsd-tdep.c (sparc64nbsd_sigcontext_saved_regs): Likewise.
1049 * sparc64-sol2-tdep.c (sparc64_sol2_sigtramp_frame_cache): Likewise.
1050 * tilegx-tdep.c (tilegx_analyze_prologue)
1051 (tilegx_frame_cache): Likewise.
1052 * v850-tdep.c (v850_frame_cache): Likewise.
1053 * vax-tdep.c (vax_frame_cache): Likewise.
1054
bdec2917
LM
10552021-01-19 Luis Machado <luis.machado@linaro.org>
1056
1057 * frame.h (get_frame_register_bytes): Pass a gdb::array_view instead
1058 of buffer + length.
1059 (put_frame_register_bytes): Likewise.
1060 Adjust documentation.
1061 (get_frame_memory): Pass a gdb::array_view instead of buffer + length.
1062 (safe_frame_unwind_memory): Likewise.
1063 * frame.c (get_frame_register_bytes, put_frame_register_bytes)
1064 (get_frame_memory, safe_frame_unwind_memory): Adjust to use
1065 gdb::array_view.
1066 * amd64-fbsd-tdep.c (amd64fbsd_sigtramp_p): Likewise.
1067 * amd64-linux-tdep.c (amd64_linux_sigtramp_start): Likewise.
1068 * amd64-obsd-tdep.c (amd64obsd_sigtramp_p): Likewise.
1069 * arc-linux-tdep.c (arc_linux_is_sigtramp): Likewise.
1070 * cris-tdep.c (cris_sigtramp_start, cris_rt_sigtramp_start): Likewise.
1071 * dwarf2/loc.c (rw_pieced_value): Likewise.
1072 * hppa-tdep.c (hppa_frame_cache): Likewise.
1073 * i386-fbsd-tdep.c (i386fbsd_sigtramp_p): Likewise.
1074 * i386-gnu-tdep.c (i386_gnu_sigtramp_start): Likewise.
1075 * i386-linux-tdep.c (i386_linux_sigtramp_start)
1076 (i386_linux_rt_sigtramp_start): Likewise.
1077 * i386-obsd-tdep.c (i386obsd_sigtramp_p): Likewise.
1078 * i386-tdep.c (i386_register_to_value): Likewise.
1079 * i387-tdep.c (i387_register_to_value): Likewise.
1080 * ia64-tdep.c (ia64_register_to_value): Likewise.
1081 * m32r-linux-tdep.c (m32r_linux_sigtramp_start)
1082 (m32r_linux_rt_sigtramp_start): Likewise.
1083 * m68k-linux-tdep.c (m68k_linux_pc_in_sigtramp): Likewise.
1084 * m68k-tdep.c (m68k_register_to_value): Likewise.
1085 * mips-tdep.c (mips_register_to_value)
1086 (mips_value_to_register): Likewise.
1087 * ppc-fbsd-tdep.c (ppcfbsd_sigtramp_frame_sniffer)
1088 (ppcfbsd_sigtramp_frame_cache): Likewise.
1089 * ppc-obsd-tdep.c (ppcobsd_sigtramp_frame_sniffer)
1090 (ppcobsd_sigtramp_frame_cache): Likewise.
1091 * rs6000-tdep.c (rs6000_in_function_epilogue_frame_p)
1092 (rs6000_register_to_value): Likewise.
1093 * tilegx-tdep.c (tilegx_analyze_prologue): Likewise.
1094 * tramp-frame.c (tramp_frame_start): Likewise.
1095 * valops.c (value_assign): Likewise.
1096
ccbe4c82
LM
10972021-01-19 Luis Machado <luis.machado@linaro.org>
1098
1099 * aarch64-linux-tdep.c (aarch64_linux_restore_vreg): Pass in an
1100 array_view.
1101 * trad-frame.c (trad_frame_set_value_bytes): Use gdb::array_view
1102 instead of buffer and size.
1103 (trad_frame_set_reg_value_bytes): Likewise.
1104 * trad-frame.h (trad_frame_set_reg_value_bytes): Likewise.
1105 (trad_frame_set_value_bytes): Likewise.
1106
0e7620dc
MF
11072021-01-18 Mike Frysinger <vapier@gentoo.org>
1108
1109 * copyright.py (NOT_FSF_LIST): Delete sim/testsuite/sim/bfin/s21.s.
1110
6a9ad81c
AB
11112021-01-18 Andrew Burgess <andrew.burgess@embecosm.com>
1112
1113 * riscv-fbsd-tdep.c (riscv_fbsd_supply_gregset): Delete.
1114 (riscv_fbsd_gregset): Use riscv_supply_regset.
1115 (riscv_fbsd_fpregset): Likewise.
1116 * riscv-linux-tdep.c (riscv_linux_gregset): Likewise.
1117 (riscv_linux_fregset): Likewise.
1118 * riscv-tdep.c (riscv_supply_regset): Define new function.
1119 * riscv-tdep.h (riscv_supply_regset): Declare new function.
1120
d3d7d1ba
TV
11212021-01-18 Tom de Vries <tdevries@suse.de>
1122
1123 PR tdep/27172
1124 * nat/amd64-linux-siginfo.c (cpt_si_lower, cpt_si_upper, SEGV_BNDERR):
1125 New macro.
1126 (compat_siginfo_from_siginfo): Copy cpt_si_lower and cpt_si_upper
1127 for SEGV_BNDERR.
1128
aa2838cc
SM
11292021-01-18 Simon Marchi <simon.marchi@polymtl.ca>
1130
1131 * remote.c (class remote_target) <remote_hostio_send_command,
1132 remote_hostio_parse_result>: Constify parameter.
1133 (remote_hostio_parse_result): Likewise.
1134 (remote_target::remote_hostio_send_command): Adjust.
1135 (remote_target::remote_hostio_pread_vFile): Adjust.
1136 (remote_target::fileio_readlink): Adjust.
1137 (remote_target::fileio_fstat): Adjust.
1138
b5c8f22d
SM
11392021-01-18 Simon Marchi <simon.marchi@polymtl.ca>
1140
1141 * remote.c (remote_target::start_remote): Move wait_status to
1142 narrower scope.
1143
e3b2741b
SM
11442021-01-18 Simon Marchi <simon.marchi@polymtl.ca>
1145
1146 * remote.c (class remote_target):
1147 <add_current_inferior_and_thread>: Constify parameter.
1148 (stop_reply_extract_thread): Likewise.
1149 (remote_target::get_current_thread): Likewise.
1150 (remote_target::add_current_inferior_and_thread): Likewise.
1151
cecb1912
SM
11522021-01-18 Simon Marchi <simon.marchi@polymtl.ca>
1153
1154 * remote.c (class remote_target)
1155 <remote_unpack_thread_info_response,
1156 parse_threadlist_response>: Constify parameter and/or return
1157 value and or local variable.
1158 (stub_unpack_int): Likewise.
1159 (unpack_nibble): Likewise.
1160 (unpack_byte): Likewise.
1161 (unpack_int): Likewise.
1162 (unpack_string): Likewise.
1163 (unpack_threadid): Likewise.
1164 (remote_target::remote_unpack_thread_info_response): Likewise.
1165 (remote_target::parse_threadlist_response): Likewise.
1166
5a11fff0
AB
11672021-01-15 Andrew Burgess <andrew.burgess@embecosm.com>
1168
1169 * tui/tui.c (tui_is_window_visible): Compare to nullptr, not 0.
1170
17e89137
LS
11712021-01-14 Lancelot Six <lsix@lancelotsix.com>
1172
1173 * MAINTAINERS (Write After Approval): Add myself.
1174
58eadc4b
BE
11752021-01-14 Bernd Edlinger <bernd.edlinger@hotmail.de>
1176
1177 * trad-frame.c (trad_frame_alloc_saved_regs): Avoid compile-error
1178 because is_trivially_default_constructible was first implemented with
1179 gcc-5.
1180
5fae2a2c
TV
11812021-01-14 Tom de Vries <tdevries@suse.de>
1182
1183 PR breakpoints/27151
1184 * objfiles.h (in_plt_section): Handle .plt.sec.
1185
8f66807b
AB
11862021-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
1187
1188 PR gdb/26819
1189 * remote.c
1190 (remote_target::select_thread_for_ambiguous_stop_reply): New
1191 member function.
1192 (remote_target::process_stop_reply): Call
1193 select_thread_for_ambiguous_stop_reply.
1194
bd497355
SM
11952021-01-13 Simon Marchi <simon.marchi@efficios.com>
1196
1197 * record-btrace.c (class record_btrace_target): Remove.
1198 (record_btrace_target::commit_resume): Remove.
1199 * record-full.c (class record_full_target): Remove.
1200 (record_full_target::commit_resume): Remove.
1201
c9d22089
SM
12022021-01-13 Simon Marchi <simon.marchi@efficios.com>
1203
1204 * remote.c (enum class resume_state): New.
1205 (struct resumed_pending_vcont_info): New.
1206 (struct remote_thread_info) <resume_state, set_not_resumed,
1207 set_resumed_pending_vcont, resumed_pending_vcont_info,
1208 set_resumed, m_resume_state, m_resumed_pending_vcont_info>:
1209 New.
1210 <last_resume_step, last_resume_sig, vcont_resumed>: Remove.
1211 (remote_target::remote_add_thread): Adjust.
1212 (remote_target::process_initial_stop_replies): Adjust.
1213 (remote_target::resume): Adjust.
1214 (remote_target::commit_resume): Rely on state in
1215 remote_thread_info and not on tp->executing.
1216 (remote_target::process_stop_reply): Adjust.
1217
d8d1feb4
SM
12182021-01-13 Simon Marchi <simon.marchi@polymtl.ca>
1219
1220 * arc-tdep.h (arc_debug_printf): New.
1221 * arc-tdep.c: Use arc_debug_printf.
1222 * arc-linux-nat.c (arc_linux_nat_debug_printf): Add and use.
1223 * arc-linux-tdep.c (arc_linux_debug_printf): Add and use.
1224 * arc-newlib-tdep.c (arc_newlib_debug_printf): Add and use.
1225
fb0f5031
SM
12262021-01-13 Simon Marchi <simon.marchi@polymtl.ca>
1227
1228 * arc-tdep.h (arc_debug): Change type to bool.
1229 * arc-tdep.c (arc_debug): Change type to bool.
1230 (arc_analyze_prologue): Adjust.
1231 (_initialize_arc_tdep): Use add_setshow_boolean_cmd.
1232 * arc-linux-nat.c (ps_get_thread_area): Adjust.
1233
5bf7e91b
SM
12342021-01-13 Simon Marchi <simon.marchi@polymtl.ca>
1235
1236 * auto-load.c (auto_load_objfile_script_1): Use bool.
1237 (execute_script_contents): Use bool.
1238
db972fce
SM
12392021-01-13 Simon Marchi <simon.marchi@polymtl.ca>
1240
1241 * auto-load.h (auto_load_gdb_scripts_enabled): Return bool, move
1242 comment here.
1243 * auto-load.c (auto_load_gdb_scripts_enabled): Return bool, move
1244 comment to header.
1245 * extension-priv.h (struct extension_language_script_ops)
1246 <auto_load_enabled>: Return bool.
1247 * extension.h (ext_lang_auto_load_enabled): Return bool, move
1248 comment here.
1249 * extension.c (ext_lang_auto_load_enabled): Return bool, move
1250 comment to header.
1251 * guile/guile-header.h (gdbscm_auto_load_enabled): Return bool,
1252 move comment here.
1253 * guile/scm-auto-load.c (gdbscm_auto_load_enabled): Return bool,
1254 move comment to header.
1255 * python/python-header.h (gdbpy_auto_load_enabled): Return bool,
1256 move comment here.
1257 * python/py-auto-load.c (gdbpy_auto_load_enabled): Return bool,
1258 move comment to header.
1259
5e12f48f
SM
12602021-01-13 Simon Marchi <simon.marchi@polymtl.ca>
1261
1262 * auto-load.h (file_is_auto_load_safe): Change return type to
1263 bool, move comment here.
1264 * auto-load.c (file_is_auto_load_safe): Change return type and
1265 advice_printed to bool. Move comment to header.
1266
54ca9002
SM
12672021-01-13 Simon Marchi <simon.marchi@polymtl.ca>
1268
1269 * jit.c (jit_debug_printf): New, use throughout file.
1270
24a7f1b5
SM
12712021-01-12 Simon Marchi <simon.marchi@polymtl.ca>
1272
1273 * infrun.c (normal_stop): Fix indentation.
1274
fe7a351a
SM
12752021-01-12 Simon Marchi <simon.marchi@polymtl.ca>
1276
1277 * top.h (readnow_symbol_files, readnever_symbol_files): Move
1278 declarations to ...
1279 * symfile.h: ... here.
1280 * symfile.c: Update doc.
1281
16e9019e
SM
12822021-01-12 Simon Marchi <simon.marchi@polymtl.ca>
1283
1284 * target.h (baud_rate, serial_parity): Move declarations...
1285 * serial.h: ... here.
1286 * main.c: Include serial.h.
1287 * serial.c (baud_rate, serial_parity): Update doc.
1288
b2f2ae0d
SM
12892021-01-12 Simon Marchi <simon.marchi@polymtl.ca>
1290
1291 * top.c (pre_init_ui_hook): Remove.
1292
5291fe3c
SP
12932021-01-12 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
1294
1295 * aarch64-tdep.c (aarch64_vnh_type): Add "bf" field in h registers.
1296 (aarch64_vnv_type): Add "bf" type in h field of v registers.
1297 * features/aarch64-fpu.c (create_feature_aarch64_fpu): Regenerated.
1298 * features/aarch64-fpu.xml: Add bfloat16 type.
1299
ce38f5ed
AB
13002021-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
1301
1302 * expprint.c (dump_subexp_body_standard): Handle OP_BOOL.
1303
7c654b71
AB
13042021-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
1305
1306 * f-exp.y (dot_ops): Rename to...
1307 (fortran_operators): ...this. Add a header comment. Add symbol
1308 based operators.
1309 (yylex): Update to use fortran_operators not dot_ops. Remove
1310 special handling for '**', this is now included in
1311 fortran_operators.
1312
c6185dce
SM
13132021-01-11 Simon Marchi <simon.marchi@polymtl.ca>
1314
1315 * arch/aarch64-insn.h (aarch64_debug_printf): New.
1316 * arch/aarch64-insn.c: Use aarch64_debug_printf.
1317 * aarch64-tdep.c: Use aarch64_debug_printf.
1318
eef401dc
SM
13192021-01-11 Simon Marchi <simon.marchi@polymtl.ca>
1320
1321 * solib-aix.c (solib_aix_debug_printf): New, use throughout
1322 file.
1323
062eaacb
SM
13242021-01-11 Simon Marchi <simon.marchi@polymtl.ca>
1325
1326 * jit.c (jit_debug): Change type to bool.
1327 (_initialize_jit): Adjust.
1328
54585eee
TT
13292021-01-09 Tom Tromey <tom@tromey.com>
1330
1331 PR compile/23672
1332 * compile/compile.c (compile_to_object): Avoid crash when
1333 osabi_triplet_regexp returns NULL.
1334
bc167b6b
TT
13352021-01-09 Tom Tromey <tom@tromey.com>
1336
1337 * tracepoint.h (class collection_list) <append_exp>: Take a
1338 std::string.
1339 * tracepoint.c (collection_list::append_exp): Take a std::string.
1340 (encode_actions_1): Update.
1341
8fc48b79
TT
13422021-01-08 Tom Tromey <tromey@adacore.com>
1343
1344 * parse.c (parse_expression): Add void_context_p parameter. Use
1345 parse_exp_in_context.
1346 * printcmd.c (print_command_1): Change voidprint to bool. Pass to
1347 parse_expression.
1348 (print_command, call_command): Update.
1349 * expression.h (parse_expression): Add void_context_p parameter.
1350
3c8c6de2
AB
13512021-01-08 Andrew Burgess <andrew.burgess@embecosm.com>
1352
1353 * value.c (set_value_component_location): Adjust the VALUE_LVAL
1354 for internalvar components that have a dynamic location.
1355
1940319c
TV
13562021-01-08 Tom de Vries <tdevries@suse.de>
1357
1358 PR gdb/26881
1359 * breakpoint.c (create_exception_master_breakpoint_probe)
1360 (create_exception_master_breakpoint_hook): Factor out
1361 of ...
1362 (create_exception_master_breakpoint): ... here. Only try to install
1363 the master exception breakpoint in objfile.debug using the
1364 _Unwind_DebugHook method, if the install using probes in objfile
1365 failed.
1366
e3436813
AB
13672021-01-08 Andrew Burgess <andrew.burgess@embecosm.com>
1368
1369 * f-lang.c (fortran_value_subarray): Call value_from_component.
1370
e904f56d
MF
13712021-01-07 Mike Frysinger <vapier@gentoo.org>
1372
1373 * remote-sim.c: Include memory-map.h.
1374 (gdbsim_target): Define memory_map override.
1375 (gdbsim_target::memory_map): Define.
1376
959d6a67
TT
13772021-01-07 Tom Tromey <tromey@adacore.com>
1378
1379 * ada-lang.c (do_full_match): Conditionally skip "_ada_" prefix.
1380
d4813f10
TT
13812021-01-07 Tom Tromey <tromey@adacore.com>
1382
1383 * ada-lang.c (add_component_interval): Start loop using vector's
1384 updated size.
1385
b49180ac
TT
13862021-01-06 Tom Tromey <tromey@adacore.com>
1387
1388 * ada-lang.c (ada_evaluate_subexp) <BINOP_ADD, BINOP_SUB>:
1389 Do not cast result.
1390 * valarith.c (fixed_point_binop): Handle multiplication
1391 and division specially.
1392 * valops.c (value_to_gdb_mpq): New function.
1393 (value_cast_to_fixed_point): Use it.
1394
55195361
HD
13952021-01-05 Hannes Domani <ssbssa@yahoo.de>
1396
1397 * tui/tui-winsource.c (tui_source_window_base::refresh_window):
1398 Call wnoutrefresh instead of tui_win_info::refresh_window.
1399
1b6d4bb2
HD
14002021-01-05 Hannes Domani <ssbssa@yahoo.de>
1401
1402 * tui/tui-source.c (tui_source_window::show_line_number):
1403 Redraw second space after line number.
1404
b5ff370e
HD
14052021-01-05 Hannes Domani <ssbssa@yahoo.de>
1406
1407 PR tui/26927
1408 * tui/tui-winsource.c (tui_source_window_base::refresh_window):
1409 Fix source pad size in prefresh.
1410 (tui_source_window_base::show_source_content): Grow source pad
1411 if necessary.
1412
c68ea49f
MF
14132021-01-04 Mike Frysinger <vapier@gentoo.org>
1414
1415 * bfin-tdep.c (bfin_push_dummy_call): Use align_up.
1416 (bfin_frame_align): Use align_down.
1417
e4ad960a
TV
14182021-01-04 Tom de Vries <tdevries@suse.de>
1419
1420 * buildsym.c (buildsym_compunit::record_line): Filter out end-of-seq
1421 terminators that do not terminate anything.
1422
3ec3145c
SM
14232021-01-04 Simon Marchi <simon.marchi@efficios.com>
1424
1425 * debug.c (debug_print_depth): New.
1426 * infrun.h (INFRUN_SCOPED_DEBUG_START_END): New.
1427 (INFRUN_SCOPED_DEBUG_ENTER_EXIT): New.
1428 * infrun.c (start_step_over): Use
1429 INFRUN_SCOPED_DEBUG_ENTER_EXIT.
1430 (proceed): Use INFRUN_SCOPED_DEBUG_ENTER_EXIT and
1431 INFRUN_SCOPED_DEBUG_START_END.
1432 (fetch_inferior_event): Use INFRUN_SCOPED_DEBUG_ENTER_EXIT.
1433
e71daf80
SM
14342021-01-04 Simon Marchi <simon.marchi@efficios.com>
1435
1436 * infrun.c (print_target_wait_results): Use infrun_debug_printf.
1437
335709bc
SM
14382021-01-04 Simon Marchi <simon.marchi@efficios.com>
1439
1440 * utils.c (vfprintf_unfiltered): Print timestamp only when
1441 previous debug output ended with a newline.
1442
098caef4
LM
14432021-01-04 Luis Machado <luis.machado@linaro.org>
1444
1445 Update all users of trad_frame_saved_reg to use the new member
1446 functions.
1447
1448 Remote all struct keywords from declarations of trad_frame_saved_reg
1449 types, except on forward declarations.
1450
1451 * aarch64-tdep.c: Update.
1452 * alpha-mdebug-tdep.c: Update.
1453 * alpha-tdep.c: Update.
1454 * arc-tdep.c: Update.
1455 * arm-tdep.c: Update.
1456 * avr-tdep.c: Update.
1457 * cris-tdep.c: Update.
1458 * csky-tdep.c: Update.
1459 * frv-tdep.c: Update.
1460 * hppa-linux-tdep.c: Update.
1461 * hppa-tdep.c: Update.
1462 * hppa-tdep.h: Update.
1463 * lm32-tdep.c: Update.
1464 * m32r-linux-tdep.c: Update.
1465 * m32r-tdep.c: Update.
1466 * m68hc11-tdep.c: Update.
1467 * mips-tdep.c: Update.
1468 * moxie-tdep.c: Update.
1469 * riscv-tdep.c: Update.
1470 * rs6000-tdep.c: Update.
1471 * s390-linux-tdep.c: Update.
1472 * s390-tdep.c: Update.
1473 * score-tdep.c: Update.
1474 * sparc-netbsd-tdep.c: Update.
1475 * sparc-sol2-tdep.c: Update.
1476 * sparc64-fbsd-tdep.c: Update.
1477 * sparc64-netbsd-tdep.c: Update.
1478 * sparc64-obsd-tdep.c: Update.
1479 * sparc64-sol2-tdep.c: Update.
1480 * tilegx-tdep.c: Update.
1481 * v850-tdep.c: Update.
1482 * vax-tdep.c: Update.
1483
1484 * frame-unwind.c (frame_unwind_got_bytes): Make parameter const.
1485 * frame-unwind.h (frame_unwind_got_bytes): Likewise.
1486
1487 * trad-frame.c: Update.
1488 Remove TF_REG_* enum.
1489 (trad_frame_alloc_saved_regs): Add a static assertion to check for
1490 a trivially-constructible struct.
1491 (trad_frame_reset_saved_regs): Adjust to use member function.
1492 (trad_frame_value_p): Likewise.
1493 (trad_frame_addr_p): Likewise.
1494 (trad_frame_realreg_p): Likewise.
1495 (trad_frame_value_bytes_p): Likewise.
1496 (trad_frame_set_value): Likewise.
1497 (trad_frame_set_realreg): Likewise.
1498 (trad_frame_set_addr): Likewise.
1499 (trad_frame_set_unknown): Likewise.
1500 (trad_frame_set_value_bytes): Likewise.
1501 (trad_frame_get_prev_register): Likewise.
1502 * trad-frame.h: Update.
1503 (trad_frame_saved_reg_kind): New enum.
1504 (struct trad_frame_saved_reg) <addr, realreg, data>: Remove.
1505 <m_kind, m_reg>: New member fields.
1506 <set_value, set_realreg, set_addr, set_unknown, set_value_bytes>
1507 <kind, value, realreg, addr, value_bytes, is_value, is_realreg>
1508 <is_addr, is_unknown, is_value_bytes>: New member functions.
1509
9898e882
SM
15102021-01-02 Simon Marchi <simon.marchi@polymtl.ca>
1511
1512 * target-float.c: Fix typos.
1513
b66b4e65
HD
15142021-01-02 Hannes Domani <ssbssa@yahoo.de>
1515
1516 * gdb-gdb.py.in: Fix main_type.flds_bnds.bounds pretty printer.
1517
b5b5650a
JB
15182021-01-01 Joel Brobecker <brobecker@adacore.com>
1519
1520 * gdbarch.sh: Update copyright year range.
1521
3666a048
JB
15222021-01-01 Joel Brobecker <brobecker@adacore.com>
1523
1524 Update copyright year range in copyright header of all GDB files.
1525
ff7e39b6
JB
15262021-01-01 Joel Brobecker <brobecker@adacore.com>
1527
1528 * copyright.py (get_update_list): Add "gdbserver" and "gdbsupport"
1529 to the list of directories to update.
1530
2b47c078
JB
15312021-01-01 Joel Brobecker <brobecker@adacore.com>
1532
1533 * top.c (print_gdb_version): Update copyright year.
1534
476923f1 15352021-01-01 Joel Brobecker <brobecker@adacore.com>
c8f02daa 1536
476923f1 1537 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2020.
c8f02daa 1538
476923f1 1539For older changes see ChangeLog-2020.
c906108c
SS
1540\f
1541Local Variables:
1542mode: change-log
1543left-margin: 8
1544fill-column: 74
1545version-control: never
57da7796 1546coding: utf-8
c906108c 1547End: