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