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