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