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