gdb/ChangeLog:
2021-01-08  Oguzhan Karakaya  <oguzhan.karakaya@intel.com>

        * intelgt-tdep.c (intelgt_make_corefile_notes): read in-memory
          content to section in case so file is not resides on the disk.

gdb/ChangeLog:
2021-01-08  Mihails Strasuns  <mihails.strasuns@intel.com>

	* intelgt-tdep.c (intelgt_core_load_hook): New function.
	  Implements a gdbarch_core_load_hook.

gdb/ChangeLog:
2021-06-24  Mihails Strasuns  <mihails.strasuns@intel.com>

        * corelow.c: Extra earlier target_find_description call.

gdb/ChangeLog:
2020-12-17  Mihails Strasuns  <mihails.strasuns@intel.com>

        * gcore.c (section_userdata_is_contents): New function.
          (gcore_copy_callback): Check section_userdata_is_contents.

gdb/ChangeLog:
2022-10-21  Oguzhan Karakaya  <oguzhan.karakaya@intel.com>

	* gdbarch-components.py (gdbarch_core_load_hook): New function
	  that can be optionally provided by a gdbarch.
	* gdbarch-gen.h: Regenerated.
	* gdbarch.c: Regenerated.
	* corelow.c (core_target_open): Call gdbarch_core_load_hook if
	  provided.

gdb/ChangeLog:
2020-12-01  Mihails Strasuns  <mihails.strasuns@intel.com>

	* intelgt-tdep.c (intelgt_make_corefile_notes): Enhance to
	  generate NT_FILE notes too.

bfd/ChangeLog:
2020-12-01  Mihails Strasuns  <mihail.strasuns@intel.com>

	* elf64-intelgt.c (intelgt_elf_write_core_note,
	  intelgt_elf_grok_prstatus, intelgt_elf_grok_psinfo): New functions.

gdb/ChangeLog:
2020-12-01  Mihails Strasuns  <mihail.strasuns@intel.com>

	* intelgt-tdep.c (intelgt_iterate_over_regset_sections,
	  intelgt_collect_regset_section_cb,
	  intelgt_collect_thread_registers, intelgt_corefile_thread,
	  intelgt_make_corefile_notes, intelgt_core_pid_to_str,
	  intelgt_find_memory_region): New functions.

gdb/ChangeLog:
2021-01-02  Mihails Strasuns  <mihails.strasuns@intel.com>

	* unittests/elfnote-file.c: New file.
	* Makefile.in: Add elfnote-file.c.

gdb/ChangeLog:
2020-12-28  Mihails Strasuns  <mihails.strasuns@intel.com>

	* elfnote-file.h, elfnote-file.c (iterate_file_mappings): New function.
	* linux-tdep.c (linux_read_core_file_mappings): Start using
	  elfnote-file.

gdb/ChangeLog:
2020-12-17  Mihails Strasuns  <mihails.strasuns@intel.com>

	* elfnote-file.h, elfnote-file.c (file_mappings_builder): Switch to
	  byte vector.
	* linux-tdep.c (linux_make_mappings_corefile_notes): Adapt to
	  file_mappings_builder API changes.

gdb/ChangeLog:
2020-12-17  Mihails Strasuns  <mihails.strasuns@intel.com>

	* elfnote-file.h: New file.
	* elfnote-file.c: New file.
	* linux-tdep.c (linux_make_mappings_corefile_notes): Start using
	  elfnote-file.

gdb/ChangeLog:
2021-08-02  Abdul Basit Ijaz  <abdul.b.ijaz@intel.com>

	* gdbtypes.c (resolve_dynamic_array_or_string): Improve handling
	of TYPE_CODE_STRING code to use return value of create_string_type
	outcome for this case.
	* c-valprint.c (c_value_print_inner): Handle String type code
	in the same way as the Array type code.

gdb/testsuite/ChangeLog:
2021-08-02  Abdul Basit Ijaz  <abdul.b.ijaz@intel.com>

	* gdb.fortran/vla-array.f90: New fie.
	* gdb.fortran/vla-array.exp: New fie.

gdb/ChangeLog:
2022-06-03  Abdul Basit Ijaz  <abdul.b.ijaz@intel.com>

	* f-exp.y (parse_number):
	Replace contents of parse_number fortran parser function types and
	value handling with the c parser function.

gdb/testsuite/ChangeLog:
2022-06-03  Abdul Basit Ijaz  <abdul.b.ijaz@intel.com>

	* gdb.fortran/types.exp: Update test for long long and long types.

gdb/ChangeLog:
2022-04-13  Stephan Rohr  <stephan.rohr@intel.com>

	* dwarf2/loc.c (rw_pieced_value): Fix check on 'type' and
	'enlcosing_type' when reading pieced value 'v'.

gdb/testsuite/ChangeLog:
2022-04-13  Stephan Rohr  <stephan.rohr@intel.com>

	* gdb.dwarf2/shortpiece.exp: Added test cases.

gdb/ChangeLog:
2022-09-07  Oguzhan Karakaya  <oguzhan.karakaya@intel.com>

	* python/lib/gdb/function/intelgt_auto_attach.py: Add
	new function setup_hook_bp.  Modify handle_error and
	init_gt_inferiors functions.

gdb/testsuite/ChangeLog:
2022-11-28  Matti Puputti  <matti.puputti@intel.com>

	* gdb.numba/dppy-basic.exp: file renamed as
	gdb.numba/dpex-basic.exp.
	* gdb.numba/dppy-call-stack.exp: file renamed as
	gdb.numba/dppy-call-stack.exp.
	* gdb.numba/dppy-cond-bp.exp: file renamed as
	gdb.numba/dpex-cond-bp.exp.
	* gdb.numba/dppy-cond-bp.py: file renamed as
	gdb.numba/dpex-cond-bp.py.
	* gdb.numba/dppy-func.py: file renamed as gdb.numba/dpex-func.py.
	* gdb.numba/dppy-info-args.exp: file renamed as
	gdb.numba/dpex-info-args.exp.
	* gdb.numba/dppy-ptype.exp: file renamed as
	gdb.numba/dpex-ptype.exp.
	* gdb.numba/dppy-variable-lifetime.exp: file renamed as
	gdb.numba/dpex-variable-lifetime.exp.
	* lib/numba-dppy-devices.py: file renamed as
	lib/numba-dpex-devices.py.
	* lib/numba-dppy-hello.py: file renamed as lib/numba-dpex-hello.py.
	* lib/numba.exp: dppy renamed as dpex.
	* lib/numba_util.py: dppy renamed as dpex.

gdb/testsuite/ChangeLog:
2022-11-28  Matti Puputti  <matti.puputti@intel.com>

	* gdb.numba/njit-basic.exp: 'backtrace' test moved to
	njit-call-stack.exp. 'jump' test slightly modified, to avoid the
	issue SAT-5146, which is better covered in njit-cond-bp.exp.
	Function arguments removed from the expected outputs of 'info
	locals'. Kfails moved to a separate commit.
	* gdb.numba/dppy-basic.exp: Sames as njit-basic.exp. New test for
	running to termination.
	* gdb.numba/dppy-call-stack.exp: Expected output of 'backtrace'
	updated, as with the new Numba compiler it now shows function
	arguments.
	* gdb.numba/njit-info-args.exp: Simplified the test 'continue', to
	avoid the issue SAT-5146, which is better covered in
	dppy-cond-bp.exp. Kfails removed.
	* gdb.numba/dppy-info-args.exp: Same as njit-info-args.exp.
	* gdb.numba/njit-cond-bp.exp: Test updated to enable it run through
	when JIRA SAT/5146 occurs. Kfail added in separate commit.
	* gdb.numba/dppy-cond-bp.exp: Same as njit-cond-bp.exp.
	* gdb.numba/dppy-func.py: Tag added at function definition line.
	* gdb.numba/njit-ptype.exp: Update the expected output of 'ptype',
	as the new Numba compiler has changed integer from 'i64' to 'int64'
	and numpy array now shows also the members of the array object.
	Kfails removed.
	* gdb.numba/dppy-ptype.exp: Same as njit-ptype.exp.
	* gdb.numba/njit-variable-lifetime.exp: Kfails moved to separate
	commit.
	* gdb.numba/dppy-variable-lifetime.exp: Same as
	njit-variable-lifetime.exp.

gdb/testsuite/ChangeLog:
2022-11-28  Matti Puputti  <matti.puputti@intel.com>

	* gdb.numba/dppy-basic.exp: Get the available devices and iterate
	over them to run same test on all applicable devices.
	* gdb.numba/dppy-call-stack.exp: Ditto.
	* gdb.numba/dppy-cond-bp.exp: Ditto.
	* gdb.numba/dppy-info-args.exp: Ditto.
	* gdb.numba/dppy-ptype.exp: Ditto.
	* gdb.numba/dppy-variable-lifetime.exp: Ditto.
	* gdb.numba/njit-basic.exp: Ditto.
	* gdb.numba/njit-call-stack.exp: Ditto.
	* gdb.numba/njit-cond-bp.exp: Ditto.
	* gdb.numba/njit-info-args.exp: Ditto.
	* gdb.numba/njit-ptype.exp: Ditto.
	* gdb.numba/njit-variable-lifetime.exp: Ditto.
	* lib/numba-dppy-devices.py: Print the available devices for
	offload.
	* lib/numba.exp: (skip_numba_test): Deleted.
	(skip_numba_njit_test): Deleted.
	(skip_numba_dppy_test): Deleted.
	(start_numba_script): Deleted.
	(dppy_device): Deleted.
	(init_numba_njit_devices_list): New function to get list of devices
	supporting Vanilla NUMBA.
	(init_numba_dppy_devices_list): New function to get list of devices
	supporting NUMBA-DPPy.
	(numba_init_device): New function to run the NUMBA script to
	uniform marker.
	(numba_device_filter): New function to get current device filter.
	(numba_device_name): New function to get current device name.
	* lib/numba_util.py: Script argument changed to filter_string.
	* boards/numba-cpu.exp: Removed.
	* boards/numba-fpga.exp: Removed.
	* boards/numba-gpu.exp: Removed.

gdb/testsuite/ChangeLog:
2022-10-21  Oguzhan Karakaya  <oguzhan.karakaya@intel.com>

	* gdb.sycl/intelgt-auto-attach.exp (get_host_pid,
	prepare_nonstop_test_scenario, run_detach_host_scenario,
	run_kill_host_scenario): New methods.

gdb/ChangeLog:
2022-09-14  Oguzhan Karakaya  <oguzhan.karakaya@intel.com>

	* python/lib/gdb/function/intelgt_auto_attach.py
	(handle_exited_event): Remove non-stop mode check.

gdb/testsuite/ChangeLog:
2022-08-26  Oguzhan Karakaya  <oguzhan.karakaya@intel.com>

	* gdb.sycl/intelgt-live-attach.exp: New file.
	* gdb.sycl/spinning-kernel.cpp: New file.

gdb/ChangeLog:
2022-09-15  Oguzhan Karakaya  <oguzhan.karakaya@intel.com>

	* python/lib/gdb/function/intelgt_auto_attach.py: add new class
	with static methods ‘log_call’ and ‘log’ as well as
	‘debug_log_is_enabled’ to check environment variable
	‘INTELGT_AUTO_ATTACH_VERBOSE_LOG’

gdb/testsuite/ChangeLog:
2022-09-29  Abdul Basit Ijaz  <abdul.b.ijaz@intel.com>

	* gdb.openmp/break_aot.exp: New file.

gdb/testsuite/ChangeLog:
2022-02-01  Abdul Basit Ijaz  <abdul.b.ijaz@intel.com>

	* lib/openmp.exp (omp_is_level_zero_debug_api): New proc.

gdb/testsuite/ChangeLog:
2022-10-05  Abdul Basit Ijaz  <abdul.b.ijaz@intel.com>

	* lib/sycl.exp (is_sycl_device_filtered): Read the global
	"OFFLOAD_BACKEND_GROUP" then return 1 only if available devices
	backend matches to the value set in this variable.

bfd/ChangeLog:
2022-09-14  Christoph Rotte  <christoph.rotte@intel.com>

	* elf64-x86-64.c (elf_x86_64_grok_psinfo): Check for
	elf_external_linux_prpsinfo32_ugid32.

gdb/ChangeLog:
2022-09-19  Ari Hannula  <ari.hannula@intel.com>

	* thread.c (print_thread_row): Add qualified-id field.
	* gdbthread.h: Move info_threads_opts struct.
	* mi/mi-main.c (mi_cmd_thread_info): Handle --qid argument.

gdb/testsuite/ChangeLog:
2022-09-19  Ari Hannula  <ari.hannula@intel.com>

	* gdb.threads/simd-mi-thread-info.exp: New test cases for the new
	argument.

gdb/ChangeLog:
2022-09-12  Natalia Saiapova  <natalia.saiapova@intel.com>

	* gdb/infrun.c (handle_inferior_event): Do not create a new
	thread for process events.

gdb/ChangeLog:
2022-09-20  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* remote.c (remote_target::start_remote): Set the remote's general
	thread before finishing startup.

gdbserver/ChangeLog:
2022-09-20  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* server.cc (attach_inferior): Adjust pid after the target
	attaches.

gdb/ChangeLog:
2022-09-19  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* remote.c (remote_target::remote_notice_new_inferior): Fetch
	target description if a new inferior is detected.

gdb/ChangeLog:
2022-09-15  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* remote.c (remote_target::remote_notice_new_inferior): Setup
	a brand new inferior even when the remote target is starting up.

gdbserver/ChangeLog:
2022-02-03  Abdul Basit Ijaz  <abdul.basitijaz@intel.com>

	* intelgt-low.cc (create_target_description): Update Accumulator
	registers handling for GEN12p71 intelgt targets.

gdb/testsuite/ChangeLog:
2022-02-03  Abdul Basit Ijaz  <abdul.basitijaz@intel.com>

	* lib/sycl.exp (is_gdb12p71): Check if GEN12p71 intelgt target.
	* gdb.arch/intelgt-info-reg.exp: Check mme and acc registers,
	depending on the intelgt targets.

gdb/ChangeLog:
2022-09-13  Ari Hannula  <ari.hannula@intel.com>

	* thread.c (print_thread_row): Add thread-group field.

gdb/testsuite/ChangeLog:
2022-09-13  Ari Hannula  <ari.hannula@intel.com>

	* gdb.threads/simd-mi-thread-info.exp: Include new field in
	relevant test cases.

gdb/ChangeLog:
2022-09-12  Natalia Saiapova  <natalia.saiapova@intel.com>

	* gdb/dwarf2/loc.c (dwarf2_get_symbol_read_needs): Add cases for
	Intel specific DWARF ops.

gdb/ChangeLog:
2022-09-05  Felix Willgerodt  <felix.willgerodt@intel.com>

	* symtab.c (completion_list_add_fields): Also look at members of
	symols of class LOC_COMPUTED and of pointer type.

gdb/testsuite/ChangeLog:
2020-09-05  Felix Willgerodt  <felix.willgerodt@intel.com>

	* gdb.cp/cpcompletion.exp: Add new tests for complete in member
	functions of anonymous structs.
	* testsuite/gdb.cp/pr9594.cc (a): New member unique_name_foo.

gdb/testsuite/ChangeLog:
2022-08-22  Abdul Basit Ijaz  <abdul.b.ijaz@intel.com>

	* gdb.sycl/break_aot.exp: New file.

gdb/testsuite/ChangeLog:
2022-04-19  Abdul Basit Ijaz  <abdul.b.ijaz@intel.com>

	* gdb.arch/intelgt-always-insert.exp: Get the available devices and iterate
	over them to run same test on all applicable devices.
	* gdb.arch/intelgt-disassemble.exp: Ditto.
	* gdb.arch/intelgt-emask.exp: Ditto.
	* gdb.arch/intelgt-framedesc.exp: Ditto.
	* gdb.arch/intelgt-info-reg.exp: Ditto.
	* gdb.arch/intelgt-program-bp.exp: Ditto.
	* gdb.arch/intelgt-stop-inactive.exp: Ditto.
	* gdb.sycl/accessor1d.exp: Ditto.
	* gdb.sycl/accessor2d.exp: Ditto.
	* gdb.sycl/accessor3d.exp: Ditto.
	* gdb.sycl/bitfields-packed.exp: Ditto.
	* gdb.sycl/bp-at-last-line.exp: Ditto.
	* gdb.sycl/break-at-kernel-symbol.exp: Ditto.
	* gdb.sycl/break-at-kernel-symbol2.exp: Ditto.
	* gdb.sycl/break-before-kernel-workaround.exp: Ditto.
	* gdb.sycl/break-before-kernel.exp: Ditto.
	* gdb.sycl/break-with-filename.exp: Ditto.
	* gdb.sycl/break.exp: Ditto.
	* gdb.sycl/break2.exp: Ditto.
	* gdb.sycl/call-operator.exp: Ditto.
	* gdb.sycl/call-stack-work-group.exp: Ditto.
	* gdb.sycl/call-stack.exp: Ditto.
	* gdb.sycl/cond-bp-on-local.exp: Ditto.
	* gdb.sycl/delete-bp.exp: Ditto.
	* gdb.sycl/disable-bp.exp: Ditto.
	* gdb.sycl/infcall-more.exp: Ditto.
	* gdb.sycl/infcall-parallel-for.exp: Ditto.
	* gdb.sycl/infcall.exp: Ditto.
	* gdb.sycl/info-locals-and-args.exp: Ditto.
	* gdb.sycl/intelcpu-ocl-var.exp: Ditto.
	* gdb.sycl/intelgt-auto-attach.exp: Ditto.
	* gdb.sycl/intelgt-continue-when-pending-attach.exp: Ditto.
	* gdb.sycl/intelgt-no-sched-multi.exp: Ditto.
	* gdb.sycl/intelgt-resume-in-other-context.exp: Ditto.
	* gdb.sycl/intelgt-return-value.exp: Ditto.
	* gdb.sycl/intelgt-run-inf2.exp: Ditto.
	* gdb.sycl/intelgt-run-tui.exp: Ditto.
	* gdb.sycl/intelgt-simd-lane-mask.exp: Ditto.
	* gdb.sycl/intelgt-info-devices.exp: Ditto.
	* gdb.sycl/intelgt-info-inferiors.exp: Ditto.
	* gdb.sycl/intelgt-info-devices-multi-device.exp: Ditto.
	* gdb.sycl/intelgt-info-inferiors-multi-device.exp: Ditto.
	* gdb.sycl/intelgt-mi-device-info.exp: Ditto.
	* gdb.sycl/kernel-jump.exp: Ditto.
	* gdb.sycl/mi-async-bp.exp: Ditto.
	* gdb.sycl/multi-device-parallel-for-1D-disable-bp.exp: Ditto.
	* gdb.sycl/multi-device-parallel-for-1D.exp: Ditto.
	* gdb.sycl/multi-device-single-task.exp: Ditto.
	* gdb.sycl/multi-kernel-async.exp: Ditto.
	* gdb.sycl/multi-kernel-unnamed.exp: Ditto.
	* gdb.sycl/multi-kernel.exp: Ditto.
	* gdb.sycl/multi-queue.exp: Ditto.
	* gdb.sycl/nd_item.exp: Ditto.
	* gdb.sycl/ns-break-single.exp: Ditto.
	* gdb.sycl/ns-individual-continue.exp: Ditto.
	* gdb.sycl/ns-interrupt.exp: Ditto.
	* gdb.sycl/ns-run-to-termination.exp: Ditto.
	* gdb.sycl/optimized-kernel.exp: Ditto.
	* gdb.sycl/parallel-for-1D.exp: Ditto.
	* gdb.sycl/parallel-for-2D.exp: Ditto.
	* gdb.sycl/pretty-print.exp: Ditto.
	* gdb.sycl/ptype.exp: Ditto.
	* gdb.sycl/read.exp: Ditto.
	* gdb.sycl/run-to-termination.exp: Ditto.
	* gdb.sycl/scheduler-locking.exp: Ditto.
	* gdb.sycl/simd-locations.exp: Ditto.
	* gdb.sycl/step-inline.exp: Ditto.
	* gdb.sycl/step-into-function.exp: Ditto.
	* gdb.sycl/step-parallel-for.exp: Ditto.
	* gdb.sycl/step.exp: Ditto.
	* gdb.sycl/temporary-bp.exp: Ditto.
	* gdb.sycl/unified-shared-memory.exp: Ditto.
	* gdb.sycl/work-item-index.exp: Ditto.
	* gdb.sycl/work-item-index2.exp: Ditto.
	* gdb.sycl/write-data.exp: Ditto.
	* gdb.sycl/write-local.exp: Ditto.
	* gdb.sycl/intelgt-stop-on-solib-event.exp: Ditto.
	* gdb.threads/simd-bp-multi-lane.exp: Ditto.
	* gdb.threads/simd-bp.exp: Ditto.
	* gdb.threads/simd-commands.exp: Ditto.
	* gdb.threads/simd-info-threads-inactive.exp: Ditto.
	* gdb.threads/simd-info-threads.exp: Ditto.
	* gdb.threads/simd-mi-bp.exp: Ditto.
	* gdb.threads/simd-mi-hit-lanes-mask.exp: Ditto.
	* gdb.threads/simd-mi-lane-option.exp: Ditto.
	* gdb.threads/simd-mi-next.exp: Ditto.
	* gdb.threads/simd-mi-thread-emask.exp: Ditto.
	* gdb.threads/simd-mi-thread-info.exp: Ditto.
	* gdb.threads/simd-mi-thread-simd-width.exp: Ditto.
	* gdb.threads/simd-switch.exp: Ditto.
	* gdb.threads/simd-thread-apply.exp: Ditto.
	* gdb.threads/simd-thread.exp: Ditto.
	* gdb.threads/simd-width.exp: Ditto.
	* gdb.threads/simd-logging.exp: Ditto.
	* lib/sycl-devices.cpp: Print the available devices for offload.
	* lib/sycl-util.cpp (get_sycl_devices): Add new argument 'backend'.
	(get_backendtype): Return the backend Enum type against the string
	value.
	* lib/sycl.exp (sycl_compilation_options): Deleted.
	(prepare_sycl_for_testing): Deleted.
	(skip_sycl_tests): Deleted.
	(sycl_init_device): Initializes test prefix and environment for
	the target device.
	(init_sycl_devices_list): Reads the devices list and then
	initializes the global list of SYCL devices.
	(test_initialize): New common function for all tests to
	traverse through available list, initialize it and run tests.
	(is_sycl_offload_supported_compiler): Check for the compiler if
	it is supported for SYCL testing.
	(get_sycl_supported_devices): Run SYCL kernel offload program
	to check if program run to the end and update the SYCL devices list
	accordingly.

gdb/ChangeLog:
2022-02-24  Mohamed Bouhaouel  <mohamed.bouhaouel@intel.com>

	* intelgt-tdep.c (intelgt_gdbarch_init): Disable infcall related
	methodes for Windows.

gdb/ChangeLog:
2022-06-23  Natalia Saiapova  <natalia.saiapova@intel.com>

	* intelgt-tdep.c (intelgt_gdbarch_data::framedesc_base_regnum):
	New function.  Returns the number of GRF register where frame
	descriptors are stored.
	(intelgt_frame_prev_register): Use new function.
	(intelgt_pseudo_register_read_value): Likewise.
	(intelgt_pseudo_register_write): Likewise.
	(intelgt_dwarf2_prev_framedesc): Likewise.

gdb/ChangeLog:
2022-06-23  Natalia Saiapova  <natalia.saiapova@intel.com>

	* symfile.c (symfile_map_offsets_to_segments): Set section
	offsets to 0x0 for EM_INTELGT.

gdb/testsuite/ChangeLog:
2022-08-01  Natalia Saiapova  <natalia.saiapova@intel.com>

	* gdb/testsuite/gdb.arch/intelgt-stop-inactive.exp: New file.

gdb/testsuite/ChangeLog:
2022-08-03  Stephan Rohr  <stephan.rohr@intel.com>

	* gdb.sycl/intelgt-stop-on-solib-event.exp: New file.

gdb/ChangeLog:
2022-09-01  Thomas Bininda  <thomas.bininda@intel.com>
	    Felix Willgerodt  <felix.willgerodt@intel.com>
	    Christina Schimpe  <christina.schimpe@inte.com>

	* x86-cet-cmds.c: Undef getline.

gdbsupport/ChangeLog:
2022-09-01  Thomas Bininda  <thomas.bininda@intel.com>
	    Felix Willgerodt  <felix.willgerodt@intel.com>
	    Christina Schimpe  <christina.schimpe@intel.com>

	* ptid.h: Undef getline.

gdb/ChangeLog:
2017-11-17  Tim Wiederhake  <tim.wiederhake@intel.com>

	* top.c: Add bug report url.

gdb/ChangeLog:
2022-07-14  Felix Willgerodt  <felix.willgerodt@intel.com>

	* i386-tdep.h: Update stale comment.

gdb/testsuite/ChangeLog:
2022-07-21  Stephan Rohr  <stephan.rohr@intel.com>

	* gdb.sycl/intelgt-simd-lane-mask.exp: New file.
	* gdb.sycl/intelgt-simd-lane-mask.cpp: New file.

gdb/ChangeLog:
2022-07-20  Ari Hannula  <ari.hannula@intel.com>

	* mi/mi-cmds.c: Add new command.
	* mi/mi-cmds.h: Add declarations.
	* mi/mi-main.c: New command implementation.
	* NEWS: Document changes.

gdb/doc/ChangeLog:
2022-07-20  Ari Hannula  <ari.hannula@intel.com>

	* gdb.texinfo: Add documentation of the command.

gdb/testsuite/ChangeLog:
2022-07-20  Ari Hannula  <ari.hannula@intel.com>

	* gdb.threads/simd-mi-hit-lanes-mask.exp: New file.

gdb/ChangeLog:
2022-07-21  Ari Hannula  <ari.hannula@intel.com>

	* mi/mi-main.c (mi_cmd_list_features): add new feature.

gdb/testsuite/ChangeLog:
2022-07-21  Ari Hannula  <ari.hannula@intel.com>

	* gdb.threads/simd-mi-lane-option.exp: add test.

gdb/ChangeLog:
2022-07-21  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* thread.c (should_print_thread): Take thread unavailability
	into account.

gdb/testsuite/ChangeLog:
2022-07-21  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* gdb.threads/simd-info-threads-inactive.exp: New file.

gdb/ChangeLog:
2022-07-21  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* thread.c (struct info_threads_opts) <show_stopped_threads>:
	New field.
	(should_print_thread): Check the '-stopped' (show_stopped_threads)
	option.
	(print_thread_info_1): Use the command options in an output message.
	(print_thread_info): Update the option values.
	* NEWS: Document the '-stopped' flag.

gdb/doc/ChangeLog:
2022-07-27  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* gdb.texinfo (Threads): Document the '-stopped' flag for the
	"info threads" command.

gdb/testsuite/ChangeLog:
2022-07-21  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* gdb.base/options.exp: Update the test to include "-stopped"
	for the "info threads" command.
	* gdb.threads/info-threads-stopped.c: New file.
	* gdb.threads/info-threads-stopped.exp: New file.

gdb/ChangeLog:
2022-07-21  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* thread.c (struct info_threads_opts): Move upwards in the file.
	(should_print_thread): Add a new info_threads_opts parameter.
	(print_thread_row): Replace the "int show_global_ids" parameter
	with an info_threads_opts object.
	(print_thread_info_1): Ditto.
	(print_thread_info): Update the call to print_thread_info_1.
	(info_threads_command): Update the call to print_thread_info_1.

gdb/ChangeLog:
2022-07-21  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* thread.c (should_print_thread): Convert the return type from
	int to bool.

gdb/testsuite/ChangeLog:
2022-07-27  Mohamed Bouhaouel  <mohamed.bouhaouel@intel.com>

	* intelgt-auto-attach.exp: Handle multiple inferiors.

gdb/ChangeLog:
2022-07-25  Ari Hannula  <ari.hannula@intel.com>

	* thread.c (print_thread_row): Add field to the output.
	* NEWS: Mentioned changes.

gdb/doc/ChangeLog:
2022-07-25  Ari Hannula  <ari.hannula@intel.com>

	* gdb.texinfo: Documented -thread-info output changes.

gdb/testsuite/ChangeLog:
2022-07-25  Ari Hannula  <ari.hannula@intel.com>

	* gdb.threads/simd-mi-thread-info.exp: Added a test case.

gdb/testsuite/ChangeLog:
2022-07-20  Nils-Christian Kempke  <nils-christian.kempke@intel.com>

	* lib/gdb.exp: Handle icc/icpc deprecation warnings.

gdb/ChangeLog:
2022-07-11  Ari Hannula  <ari.hannula@intel.com>

	* mi/mi-cmds.c: Add new command.
	* mi/mi-cmds.h: Add declarations.
	* mi/mi-main.c: New command implementation.
	* NEWS: Document changes.

gdb/doc/ChangeLog:
2022-07-11  Ari Hannula  <ari.hannula@intel.com>

	* gdb.texinfo: Add documentation of the command.

gdb/testsuite/ChangeLog:
2022-07-11  Ari Hannula  <ari.hannula@intel.com>

	* gdb.threads/simd-mi-thread-emask.exp: New file.

gdb/ChangeLog:
2022-07-14  Ari Hannula  <ari.hannula@intel.com>

	* mi/mi-cmds.c: Add new command.
	* mi/mi-cmds.h: Add declarations.
	* mi/mi-main.c: New command implementation.
	* NEWS: Document changes.

gdb/doc/ChangeLog:
2022-07-14  Ari Hannula  <ari.hannula@intel.com>

	* gdb.texinfo: Add documentation of the command.

gdb/testsuite/ChangeLog:
2022-07-14  Ari Hannula  <ari.hannula@intel.com>

	* gdb.threads/simd-mi-thread-simd-width.exp: New file.

gdbserver/ChangeLog:
2022-07-12  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* ze-low.h (class ze_target): Override 'has_fixed_thread_list'.

gdb/ChangeLog:
2022-07-12  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* remote.c (remote_target::remote_query_fixed_thread_list): New
	method.
	(remote_target::update_thread_list): Skip the update if the target
	has a fixed list of threads.
	(remote_target::start_remote): Call 'remote_query_fixed_thread_list'.
	(_initialize_remote): Add packet config for 'qFixedThreadList'.
        * NEWS: Announce 'qFixedThreadList'.

gdb/doc/ChangeLog:
2022-07-12  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* gdb.texinfo: Document 'qFixedThreadList'.

gdbserver/ChangeLog:
2022-07-12  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* server.cc (handle_query): Handle 'qFixedThreadList'.
	* target.h (class process_stratum_target) <has_fixed_thread_list>:
	New method declaration.
	* target.cc (process_stratum_target::has_fixed_thread_list):
	New method implementation.

gdb/testsuite/ChangeLog:
2022-04-19  Abdul Basit Ijaz  <abdul.b.ijaz@intel.com>

	* lib/gdb.exp (gdb_compile_sycl): New function to support compilation
	of SYCL programs for icpx compiler.
	(gdb_compile_openmp): Function is updated to support offload options
	for openmp programs for icpx and ifx compilers.
	* README: Add 'sycl' flag usage descriptions and update it for
	'openmp'.

gdb/testsuite/ChangeLog:
2022-06-10  Abdul Basit Ijaz  <abdul.b.ijaz@intel.com>

	* lib/gdb.exp (gdb_compile_openmp): Add compile option qopenmp
	in OpenMP compilation function for Intel next gen compilers.
	* README: Add missing description for 'openmp' compile option.

gdb/testsuite/ChangeLog:
2022-04-19  Abdul Basit Ijaz  <abdul.b.ijaz@intel.com>

	* boards/intel-offload.exp: New board file for JIT testing.

gdb/ChangeLog:
2022-07-01  Ari Hannula  <ari.hannula@intel.com>

	* breakpoint.c (bkpt_print_it): Add new fields to the output.
	* mi/mi-interp.c (mi_on_normal_stop_1): Add new fields to output.
	* NEWS: Document changes.

gdb/doc/ChangeLog:
2022-07-01  Ari Hannula  <ari.hannula@intel.com>

	* gdb.texinfo: Add documentation of the new fields.

gdb/testsuite/ChangeLog:
2022-07-01  Ari Hannula  <ari.hannula@intel.com>

	* gdb.threads/simd-mi-bp.exp: Add support for new fields.
	* gdb.threads/simd-mi-next.exp: New file.
	* gdb.sycl/mi-async-bp.exp: Fixed.
	* lib/mi-support.exp: Add new function mi_next_extra.

gdb/ChangeLog:
2022-08-09  Nils-Christian Kempke  <nils-christian.kempke@intel.com>

	* NEWS: Add skip-trampoline-functions to 'New commands' section.
	* infrun.c (skip_trampoline-functions): New static variable.
	(process_event_stop_test): Step into/through trampolines.
	(show_skip_trampoline_functions): New helper for the
	skip-trampoline-functions setting.
	(_initialize_infrun): Add skip-trampoline-functions setting.

gdb/doc/ChangeLog:
2022-08-09  Nils-Christian Kempke  <nils-christian.kempke@intel.com>

	* gdb.texinfo: Add section on skip-trampoline-functions setting.

gdb/testsuite/ChangeLog:
2022-08-09  Nils-Christian Kempke  <nils-christian.kempke@intel.com>

	* gdb.dwarf2/dw2-function-trampolines.c: New test source.
	* gdb.dwarf2/dw2-function-trampolines.exp: New test case.

gdb/ChangeLog:
2022-08-09  Nils-Christian Kempke  <nils-christian.kempke@intel.com>

	* symtab.h (in_trampoline_function): New function
	(find_function_trampoline_target): New function.
	* symtab.c (in_trampoline_function): New function implementation.
	(find_function_trampoline_target): New implementation of
	trampoline target lookup.

gdb/ChangeLog:
2022-08-09  Nils-Christian Kempke  <nils-christian.kempke@intel.com>

	* dwarf2/read.c (read_subroutine_type): Read in DW_AT_trampoline.
	* gdbtypes.c (print_trampoline_target_info): New helper method.
	(recursive_dump_type): Add trampoline info.
	(copy_type_recursive): Copy trampoline info.
	* gdbtypes.h (func_type): Add trampoline specific fields.
	(trampoline_target_kind): New enum.
	(trampoline_target): New struct for storing DW_AT_trampoline's
	value.
	(TYPE_IS_TRAMPOLINE): New define.
	(TYPE_TRAMPOLINE_TARGET): New define.

gdb/ChangeLog:
2022-07-01  Ari Hannula  <ari.hannula@intel.com>

	* inferior.c (print_devices): Add MI output.
	* mi/mi-cmds.h: Declare new function for the command.
	* mi/mi-cmds.c: Define new command.
	* NEWS: Described the changes.

gdb/testsuite/ChangeLog:
2022-06-09  Ari Hannula  <ari.hannula@intel.com>

	* gdb.sycl/intelgt-mi-device-info.exp: Add tests.

gdb/doc/ChangeLog:
2022-06-13  Ari Hannula  <ari.hannula@intel.com>

	* gdb.texinfo: Add documentation of the -device-info command.

gdb/testsuite/ChangeLog:
2022-06-13  Abdul Basit Ijaz  <abdul.b.ijaz@intel.com>

	* lib/gdb.exp (skip_btrace_pt_tests): Use 'pt' in local variable
	'me' value.
	(skip_btrace_bts_tests): Renamed skip_btrace_tests function to this
	new name, use 'bts' as recording method and in the value of local
	variable 'me'.
	(skip_btrace_tests): New wrapper function to call skip function of
	the required recording method.
	(target_supports_btrace): New cache function to test if target
	support btrace from each test file before building.
	* gdb.btrace/buffer-size.exp: Adapted test for the above change.
	* gdb.btrace/data.exp: Ditto.
	* gdb.btrace/delta.exp: Ditto.
	* gdb.btrace/dlopen.exp: Ditto.
	* gdb.btrace/enable-new-thread.exp: Ditto.
	* gdb.btrace/enable-running.exp: Ditto.
	* gdb.btrace/enable.exp: Ditto.
	* gdb.btrace/exception.exp: Ditto.
	* gdb.btrace/function_call_history.exp: Ditto.
	* gdb.btrace/gcore.exp: Ditto.
	* gdb.btrace/instruction_history.exp: Ditto.
	* gdb.btrace/multi-inferior.exp: Ditto.
	* gdb.btrace/multi-thread-step.exp: Ditto.
	* gdb.btrace/nohist.exp: Ditto.
	* gdb.btrace/non-stop.exp: Ditto.
	* gdb.btrace/reconnect.exp: Ditto.
	* gdb.btrace/record_goto-step.exp: Ditto.
	* gdb.btrace/record_goto.exp: Ditto.
	* gdb.btrace/rn-dl-bind.exp: Ditto.
	* gdb.btrace/segv.exp: Ditto.
	* gdb.btrace/server-multithreaded-function-call-history.exp: Ditto.
	* gdb.btrace/step.exp: Ditto.
	* gdb.btrace/stepi.exp: Ditto.
	* gdb.btrace/tailcall-only.exp: Ditto.
	* gdb.btrace/tailcall.exp: Ditto.
	* gdb.btrace/unknown_functions.exp: Ditto.
	* gdb.btrace/vdso.exp: Ditto.
	* gdb.btrace/ptwrite.exp: Adopt the test for new check to test
	if target supports btrace.
	* gdb.btrace/tsx: Ditto.
	* gdb.btrace/uli: Ditto.

gdb/ChangeLog:
2022-06-08  Mohamed Bouhaouel  <mohamed.bouhaouel@intel.com>

	* intelgt-tdep.c (intelgt_dwarf2_prev_emask): New function.
	(intelgt_init_reg): Updated to handle $emask unwinding.

gdb/ChangeLog:
2022-06-08  Mohamed Bouhaouel  <mohamed.bouhaouel@intel.com>

	* intelgt-tdep.c (intelgt_dwarf2_prev_framedesc): New function.
	(intelgt_init_reg): Updated to handle $framedesc unwinding.

gdb/testsuite/ChangeLog:
2022-06-08  Mohamed Bouhaouel  <mohamed.bouhaouel@intel.com>

	* gdb.arch/intelgt-framedesc.exp: New file.
	* gdb.arch/intelgt-framedesc.cpp: New file.

gdb/ChangeLog:
2022-06-27  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* remote.c (remote_target::resume): Remove an assertion.

gdb/ChangeLog:
2021-11-04  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* infrun.c (stop_all_threads): Consider TARGET_WAITKIND_UNAVAILABLE
	as a stop request result.

gdb/testsuite/ChangeLog:
2022-06-27  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* lib/mi-support.exp (mi_send_resuming_command_raw): Refactor
	the regexps to allow matching long output.

gdbserver/ChangeLog:
2021-11-03  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* intelgt-ze-low.cc (intelgt_ze_target::is_at_breakpoint):
	Extract out from...
	(intelgt_ze_target::prepare_thread_resume): ...here.

gdb/ChangeLog:
2021-11-15  Oguzhan Karakaya  <oguzhan.karakaya@intel.com>

	* python/lib/gdb/function/intelgt_auto_attach.py: Adapt to
	auto attach a running process.

gdb/ChangeLog:
2021-10-20  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* python/lib/gdb/function/intelgt_auto_attach.py: Adapt to use
	gdbserver-ze.

gdbserver/ChangeLog:
2022-06-23  Stephan Rohr  <stephan.rohr@intel.com>

	* ze-low.cc (ze_target::fetch_events): Ignore 'empty' module load
	and unload events.

gdbserver/ChangeLog:
2022-06-13  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* intelgt-ze-low.cc: Add device attributes to tdesc.

gdb/testsuite/ChangeLog:
2022-02-01  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* lib/sycl.exp (is_level_zero_debug_api): New proc.

gdb/ChangeLog:
2022-04-20  Markus Metzger  <markus.t.metzger@intel.com>

	* intelgt-tdep.c (intelgt_dwarf_reg_to_regnum): add scrbase2, remove
	isabase, iobase, and dynbase; they do not have DWARF numbers.

gdbserver/ChangeLog:
2022-04-20  Markus Metzger  <markus.t.metzger@intel.com>

	* intelgt-ze-low.cc (intelgt_ze_target::add_regset): add scrbase2.

gdbserver/ChangeLog:
2020-11-26  Markus Metzger  <markus.t.metzger@intel.com>
	* ze-low.cc (ze_target::fetch_events): Handle
	ZET_DEBUG_EVENT_TYPE_MODULE_LOAD and
	ZET_DEBUG_EVENT_TYPE_MODULE_UNLOAD.
	(ze_target::ack_library): New.
	(ze_target::ack_in_memory_library): New.
	* ze-low.h (events_t): New typedef.
	(struct ze_device_info) <ack_pending>: New.
	(class ze_target)<ack_library, ack_in_memory_library>: New.

gdb/ChangeLog:
2021-07-23  Markus Metzger  <markus.t.metzger@intel.com>

	* solib-target.c (_initialize_solib_target): Replace
	gdb_bfd_open_from_target_memory with
	solib_bfd_open_from_target_memory.
	* solib.c (solib_bfd_open): Split into this and ...
	(solib_bfd_init): ... this.
	(solib_bfd_open_from_target_memory): New.
	* solist.h (solib_bfd_open_from_target_memory): New.

gdbserver/ChangeLog:
2022-01-25  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* ze-low.h (class ze_target) <supports_pid_to_exec_file,
	pid_to_exec_file>: New.

gdbserver/ChangeLog:
2021-07-21  Markus Metzger  <markus.t.metzger@intel.com>

	* intelgt-ze-low.cc (intelgt_ze_target::set_thread_stepping): New.
	(intelgt_ze_target::clear_thread_stepping): New.
	* ze-low.cc (ze_exec_state): New.
	(ze_clear_resume_state): New.
	(ze_set_resume_state): New.
	(ze_resume_state): New.
	(ze_resume): New.
	(ze_interrupt): New.
	(ze_target::attach): Interrupt in all-stop mode.
	(ze_target::resume): New.
	(ze_target::resume): Implement.
	(ze_target::wait): Implement.
	(ze_target::request_interrupt): Implement.
	(ze_target::pause_all): Implement.
	(ze_target::unpause_all): Implement.
	* ze-low.h (class ze_target)<resume>: New.
	(enum ze_thread_resume_state_t): New.
	(struct ze_thread_info)<resume_state>: New.

gdbserver/ChangeLog:
2021-07-07  Markus Metzger  <markus.t.metzger@intel.com>

	* ze-low.cc (ze_target::fetch_events): Implement
	ZET_DEBUG_EVENT_TYPE_THREAD_UNAVAILABLE event.

gdbserver/ChangeLog:
2021-05-04  Markus Metzger  <markus.t.metzger@intel.com>

	* intelgt-ze-low.cc
	(intelgt_ze_target::stopped_by_sw_breakpoint): Implement.

gdbserver/ChangeLog:
2021-05-05  Markus Metzger  <markus.t.metzger@intel.com>

	* intelgt-ze-low.cc (intelgt_ze_target::read_pc): Implement.
	(intelgt_ze_target::write_pc): Implement.

gdbserver/ChangeLog:
2021-05-12  Markus Metzger  <markus.t.metzger@intel.com>

	* intelgt-ze-low.cc (intelgt_read_cr0): New.
	(intelgt_write_cr0): New.
	(intelgt_ze_target::get_stop_reason): New.
	* ze-low.cc (ze_thread_in): New.
	(for_each_thread): New.
	(ze_discard_regcache): New.
	(ze_target::fetch_events): Implement thread stopped case.
	* ze-low.h (struct ze_thread_info)<stop_reason>: New.
	(class ze_target)<get_stop_reason>: New.

gdbserver/ChangeLog:
2021-05-06  Markus Metzger  <markus.t.metzger@intel.com>

	* ze-low.cc (ze_find_regset): New.
	(ze_fetch_all_registers): New.
	(ze_fetch_register): New.
	(ze_store_all_registers): New.
	(ze_store_register): New.
	(ze_target::fetch_registers): Implement.
	(ze_target::store_registers): Implement.

gdbserver/ChangeLog:
2020-11-24  Markus Metzger  <markus.t.metzger@intel.com>

	* ze-low.cc (ze_exec_state): New.
	(ze_thread_device): New.
	(ze_target::read_memory): Implement.
	(ze_target::write_memory): Implement.

gdbserver/ChangeLog:
2021-05-19  Markus Metzger  <markus.t.metzger@intel.com>

	* ze-low.cc (ze_show_process): New.
	(ze_hide_process): New.
	(ze_target::fetch_events): Implement process entry/exit events.

gdbserver/ChangeLog:
2020-11-24  Markus Metzger  <markus.t.metzger@intel.com>

	* ze-low.cc (ze_device_detached): New.
	(ze_target::fetch_events): Support ZET_DEBUG_EVENT_TYPE_DETACHED.
	(ze_target::wait): Support TARGET_WAITKIND_EXITED.

gdbserver/ChangeLog:
2020-11-18  Markus Metzger  <markus.t.metzger@intel.com>

	* ze-low.h (struct ze_thread_info)<waitstatus>: New.
	* ze-low.cc (ze_device_ptid): New.
	(ze_detach_reason_str): New.
	(ze_debug_info_format_str): New.
	(ze_event_str): New.
	(ze_ack_event): New.
	(ze_process_event): New.
	(ze_fetch_events): New.
	(ze_has_waitstatus): New
	(ze_move_waitstatus): New
	(ze_target::wait): Implement.

gdbserver/ChangeLog:
2020-11-11  Markus Metzger  <markus.t.metzger@intel.com>

	* ze-low.cc (level_zero_target::attach_to_device): Control attach
	behaviour via environment variables.

gdbserver/ChangeLog:
2021-04-15  Markus Metzger  <markus.t.metzger@intel.com>

	* arch/intelgt.h (feature_emask, feature_sr, feature_cr)
	(feature_ntf, feature_tdr, feature_ce, feature_sp, feature_tm)
	(feature_fc, feature_dbg, feature_sba): New.
	* intelgt-ze-low.cc: Include arch/intelgt.h.
	Include zet_intel_gpu_debug.h.
	(dprintf): New.
	(intelgt_uint_reg_type): New.
	(intelgt_add_regset): New.
	(intelgt_ze_target::is_device_supported): New.
	(intelgt_ze_target::create_tdesc): New.
	(intelgt_ze_target::add_regset): New.
	* ze-low.cc (dprintf): New.
	(uuid_str): New.
	(driver_uuid_str): New.
	(ze_target::attach_to_devices): New.
	(ze_target::attach_to_device): New.
	(ze_process_state_str): New.
	(ze_add_process): New.
	(ze_attach): New.
	(ze_target::attach): Implement.
	(ze_target::find_device): New.
	* ze-low.h (struct ze_device_info)<process>: New.
	(enum ze_process_state): New.
	(struct process_info_private): New.
	(struct ze_regset_info):
	(struct ze_device_info): New.
	(class ze_target)<is_device_supported>: New.
	(class ze_target)<create_tdesc>: New.
	(class ze_target)<find_device>: New.

gdbserver/ChangeLog:
2021-04-20  Markus Metzger  <markus.t.metzger@intel.com>

	* ze-low.cc (ze_target::thread_stopped): Implement.
	(ze_thread_id_component_str): New.
	(ze_thread_id_str): New.
	* ze-low.h (enum ze_thread_exec_state_t): New.
	(struct ze_thread_info)<exec_state>: New.
	(ze_thread): New.
	(ze_thread_id_all): New.
	(ze_thread_id): New.
	(ze_thread_id_str): New.
	(class ze_target):<supports_thread_stopped>: New.
	(class ze_target):<thread_stopped>: New.

gdbserver/ChangeLog:
2021-07-21  Markus Metzger  <markus.t.metzger@intel.com>

	* ze-low.cc (ze_is_async): New.
	(ze_async_flush): New.
	(ze_async_mark): New.
	(ze_target::async): New.
	* ze-low.h (class ze_target)<async>: New.

ChangeLog:
2020-10-14  Markus Metzger  <markus.t.metzger@intel.com>

	* config.sub: Add zebin as os type.

gdbserver/ChangeLog:
2020-10-14  Markus Metzger  <markus.t.metzger@intel.com>

	* configure.ac: Check for libze_loader.
	Restrict libigfxdbg requirement to intelgt-*-elf targets.
	* configure.srv: Add intelgt-*-zebin target.
	* configure: Regenerated.
	* config.in: Regenerated.
	* intelgt-ze-low.cc: New file.
	* ze-low.cc: New file.
	* ze-low.h: New file.

gdb/ChangeLog:
2021-07-13  Markus Metzger  <markus.t.metzger@intel.com>

	* intelgt-tdep.c (intelgt_active_lanes_mask): Call
	regcache_cooked_read_unsigned.

gdb/ChangeLog:
2022-01-25  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* remote.c (remote_target::process_stop_reply): Handle a generic
	process PID.

gdb/ChangeLog:
2022-04-28  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* remote.c (remote_target::remote_notice_new_inferior): Return
	if 'currthread' is a pid.

gdb/ChangeLog:
2022-04-28  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* remote.c (remote_target::remote_notice_new_inferior): Do
	'remote_add_inferior' earlier.

gdbserver/ChangeLog:
2022-01-25  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* server.cc (handle_target_event): Report
	TARGET_WAITKIND_UNAVAILABLE events if dlls have changed.

gdb/ChangeLog:
2021-08-02  Markus Metzger  <markus.t.metzger@intel.com>

	* remote.c: Handle U;library.

gdb/doc/ChangeLog:
2021-08-02  Markus Metzger  <markus.t.metzger@intel.com>

	* gdb.texinfo: Document U;library.

gdbserver/ChangeLog:
2021-08-02  Markus Metzger  <markus.t.metzger@intel.com>

	* remote-utils.cc (prepare_resume_reply): Provide U;library.

gdb/ChangeLog:
2021-07-07  Markus Metzger  <markus.t.metzger@intel.com>

	* remote.c (remote_target::remote_query_supported): Support U stop
	reply.
	(remote_target::wait_as): Likewise.
	* NEWS: Announce U stop reply.

gdb/doc/ChangeLog:
2021-07-07  Markus Metzger  <markus.t.metzger@intel.com>

	* gdb.texinfo: Document U stop reply.

gdbserver/ChangeLog:
2021-07-07  Markus Metzger  <markus.t.metzger@intel.com>

	* remote-utils.cc (prepare_resume_reply): Support U stop reply.
	* server.cc (handle_query): Likewise.
	(resume): Likewise.
	(handle_target_event): Likewise.

gdb/ChangeLog:
2021-07-20  Markus Metzger  <markus.t.metzger@intel.com>

	* infrun.c (resume_1): Call regcache_read_pc_protected if !step.

gdb/testsuite/ChangeLog:
2022-02-03  Markus Metzger  <markus.t.metzger@intel.com>

	* gdb.threads/killed-outside.exp: Add expected output case.

gdb/ChangeLog:
2021-08-02  Markus Metzger  <markus.t.metzger@intel.com>

	* infrun.c (handle_one): Call regcache_read_pc_protected.

gdb/ChangeLog:
2021-08-06  Markus Metzger  <markus.t.metzger@intel.com>

	* inferior.h (struct inferior_control_state)<waitstatus>
	<waitstatus_pending_p>: New.
	* infrun.c (resume_1): Check inferior's pending waitstatus.
	(do_target_wait_1): Likewise.
	(stop_all_threads): Store inferior's pending waitstatus.

gdb/ChangeLog:
2021-07-13  Markus Metzger  <markus.t.metzger@intel.com>

	* remote.c (struct threads_listing_context): Call set_continue_thread
	with any_thread_ptid.

gdb/ChangeLog:
2020-12-03  Markus Metzger  <markus.t.metzger@intel.com>

	* features/library-list.dtd: Add ack attribute to library and
	in-memory-library.
	* remote.c (class remote_target) <ack_library>: New.
	(class remote_target) <ack_in_memory_library>: New.
	(PACKET_vAck_library): New.
	(PACKET_vAck_in_memory_library): New.
	(remote_protocol_features): Add vAck:library and
	vAck:in-memory-library.
	(remote_target::remote_query_supported): Handle vAck:library and
	vAck:in-memory-library.
	(remote_target::ack_library): New.
	(remote_target::ack_in_memory_library): New.
	(_initialize_remote): Initialize vAck:library and
	vAck:in-memory-library.
	* solib-target.c (struct lm_info_target) <need_ack>: New.
	(library_ack): New.
	(library_list_start_library): Call library_ack.
	(in_memory_library_list_start_library): Likewise.
	(library_list_start_list): Handle version 1.2.
	(library_attributes): Add ack.
	(in_memory_library_attributes): Add ack.
	(solib_target_ack_library): New.
	(_initialize_solib_target): Initialize ack_library.
	* solib.c (solib_add): Call solib_ack_library.
	(solib_ack_library): New.
	* solist.h (struct target_so_ops) <ack_library>: New.
	(solib_ack_library): New.
	* target-delegates.c: Regenerated.
	* target.c (target_ack_library): New.
	(target_ack_in_memory_library): New.
	* target.h (struct target_ops) <ack_library>: New.
	(struct target_ops) <ack_in_memory_library>: New.
	(target_ack_library): New.
	(target_ack_in_memory_library): New.
	* NEWS: Announce it.

gdb/doc/ChangeLog:
2020-12-03  Markus Metzger  <markus.t.metzger@intel.com>

	* gdb.texinfo (Remote Serial Protocol): Document the vAck packet and
	the ack attribute of qXfer:libraries:read responses.

gdbserver/ChangeLog:
2020-12-03  Markus Metzger  <markus.t.metzger@intel.com>

	* dll.cc (loaded_dll): Add need_ack parameter.
	(ack_dll): New.
	* dll.h (struct dll_info) <need_ack>: New.
	(loaded_dll): Add need_ack_parameter.
	(ack_dll): New.
	* server.cc (print_qxfer_libraries_entry): Add ack attribute.
	(library_list_version_needed): Handle version 1.2.
	(handle_qxfer_libraries): Set need_ack.
	(handle_query): Handle vAck:library and vAck:in-memory-library.
	(handle_v_ack): New.
	(handle_v_requests): Call handle_v_ack.
	* server.h (struct client_state) <vack_library_supported>: New.
	(struct client_state) <vack_in_memory_library_supported>: New.
	* target.h (class process_stratum_target) <ack_library>: New.

gdb/ChangeLog:
2020-11-25  Markus Metzger  <markus.t.metzger@intel.com>

	* features/library-list.dtd: Add in-memory-library.
	* remote.c (remote_target::remote_query_supported): Indicate support
	for qXfer:libraries:read:in-memory-library.
	* solib-target.c (enum lm_location_t): New.
	(struct lm_info_target) <location, begin, end>: New.
	(library_list_start_library): Supply location.
	(in_mem_library_list_start_library): New.
	(library_list_start_list): Update version check.
	(solib_target_current_sos): Support in-memory libraries.
	(_initialize_solib_target): Initialize
	target_so_ops.bfd_open_from_target_memory.
	* solib.c (solib_map_sections): Support in-memory libraries.
	* solist.h (struct so_list) <begin, end>: New.
	(struct target_so_ops) <bfd_open_from_target_memory>: New.
	* NEWS: Announce it.

gdbserver/ChangeLog:
2020-11-25  Markus Metzger  <markus.t.metzger@intel.com>

	* dll.cc (loaded_dll): New.
	(unloaded_dll): New.
	* dll.h (struct dll_info) <location>: New.
	(loaded_dll): New.
	(unloaded_dll): New.
	* server.cc (dll_to_tmpfile): New.
	(print_qxfer_libraries_entry): New.
	(library_list_version_needed): New.
	(handle_qxfer_libraries): Handle in-memory libraries.
	(handle_query): Handle qXfer:libraries:read:in-memory-library+.

gdb/doc/ChangeLog:
2020-11-25  Markus Metzger  <markus.t.metzger@intel.com>

	* gdb.texi: Document in-memory qxfer:libraries:read response.

gdbsupport/ChangeLog:
2020-11-25  Markus Metzger  <markus.t.metzger@intel.com>

	* filestuff.cc (struct tmpfilekeeper_s): New.
	(gdb_create_tmpfile): New.
	* filestuff.h (gdb_create_tmpfile): New.

gdb/ChangeLog:
2022-04-19  Christina Schimpe  <christina.schimpe@intel.com>

	* infrun.c (init_wait_for_inferior): Remove obsolete backup of
	current SIMD state.

gdb/ChangeLog:
2022-03-21  Natalia Saiapova  <natalia.saiapova@intel.com>

	* thread.c (simd_width_make_value): New convenience variable
	computation.
	(simd_width_funcs) Implementation of $_simd_width.
	(_initialize_thread): Define $_simd_width.

gdb/testsuite/ChangeLog:
2022-03-23  Natalia Saiapova  <natalia.saiapova@intel.com>

	* gdb.base/default.exp: Test $_simd_width.
	* gdb.threads/simd-width.exp: New file.

gdb/ChangeLog:
2022-05-11  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* intelgt-tdep.c (intelgt_active_lanes_mask): Mask the return
	value with the simd width.

gdb/ChangeLog:
2022-04-29  Oguzhan Karakaya  <oguzhan.karakaya@intel.com>

	* intelgt-tdep.c (intelgt_active_lanes_mask): Mask the emask
	register value with the dispatch mask.

gdbserver/ChangeLog:
2022-05-04  Oguzhan Karakaya  <oguzhan.karakaya@intel.com>

	* intelgt-low.cc (add_new_gt_process): Add sr0 to the expedite
	registers.

gdb/testsuite/ChangeLog:
2022-06-02  Natalia Saiapova  <natalia.saiapova@intel.com>

	* gdb.sycl/call-stack.cpp (second): Make the inner stack deeper
	and introduce `third` and `fourth` functions.
	* gdb.sycl/call-stack.exp: Extend tests to test a deeper call
	stack.  Add backtrace tests at every instruction of the
	innermost frame.
	* gdb.sycl/infcall.exp: Update test with new values.
	* gdb.sycl/info-locals-and-args.exp: Update test with new values.

gdb/ChangeLog:
2022-05-20  Christina Schimpe  <christina.schimpe@intel.com>

	* thread.c (thread_apply_all_command_1):
        Switch to thread if not already selected.

gdb/testsuite/ChangeLog
2022-06-01  Christina Schimpe  <christina.schimpe@intel.com>

	* gdb.threads/simd-thread-apply.exp: Add test.

gdb/ChangeLog:
2022-05-23  Ari Hannula  <ari.hannula@intel.com>

	* thread.c (print_thread_info_1): Remove extra if statement.

gdb/testsuite/ChangeLog:
2022-05-22  Nils-Christian Kempke  <nils-christian.kempke@intel.com>

	* gdb.mi/mi-vla-fortran.exp: Adapt test for ifort's Fortran
	pointer representation.

gdb/testsuite/ChangeLog:
2022-05-16  Mohamed Bouhaouel  <mohamed.bouhaouel@intel.com>

	* gdb.sycl/call-operator.exp: New file.

gdb/testsuite/ChangeLog:

	* boards/testgdb-native.exp: Remove f77compiler.
	* boards/testgdb-remote.exp: Dito.
	* boards/testgdbserver-native.exp: Dito.

gdb/testsuite/ChangeLog:
2021-11-11  Nils-Christian Kempke  <nils-christian.kempke@intel.com>

	* gdb.sycl/intelgt-info-devices.exp: New test.
	* gdb.sycl/intelgt-info-devices-multi-device.exp: New test.
	* gdb.sycl/intelgt-info-inferiors.exp: New test.
	* gdb.sycl/intelgt-info-inferiors-multi-device.exp: New test.

gdb/ChangeLog:
2021-11-22  Nils-Christian Kempke  <nils-christian.kempke@intel.com>

	* cli/cli-utils.c (number_is_in_list): Add extra error message
	case for index zero in list.

gdb/testsuite/ChangeLog:
2021-11-22  Nils-Christian Kempke  <nils-christian.kempke@intel.com>

	* gdb.base/info-inferior.exp: New test.

gdb/ChangeLog:
2021-11-09  Nils-Christian Kempke  <nils-christian.kempke@intel.com>

	* intel-tdep.c (intelgt_gdbarch_init): Mark intelgt inferiors as
	devices.

gdbserver/ChangeLog:
2021-11-09  Nils-Christian Kempke  <nils-christian.kempke@intel.com>

	* intelgt-low.cc (convert_pci_slot_to_string): New method.
	(create_target_description): Extend target description for
	info devices command.

gdb/doc/ChangeLog:
2021-11-09  Nils-Christian Kempke  <nils-christian.kempke@intel.com>

        * gdb.texinfo (Inferiors Connections and Programs): Add
        explanation and cindex/anchor for new keyword ID List.  Use ID
        list to correclty explain 'info inferiors' and 'info
        connections' arguments.

gdb/ChangeLog:
2021-11-09  Nils-Christian Kempke  <nils-christian.kempke@intel.com>

	* inferior.c (inferior_pid_to_str): Adjust output for devices.
	(print_inferior): Increase size of 'description' column.

gdb/doc/ChangeLog:
2021-11-09  Nils-Christian Kempke  <nils-christian.kempke@intel.com>

	* gdb.texinfo (Inferiors Connections and Programs): Document the
	changes to the info inferiors command for devices.

gdb/ChangeLog:
2021-11-09  Nils-Christian Kempke  <nils-christian.kempke@intel.com>

	* inferior.h (process_target): New const getter method.

gdbserver/ChangeLog:
2021-11-09  Nils-Christian Kempke  <nils-christian.kempke@intel.com>

	* intelgt-device-names.h: New file.  Getter methods for intelgt
	devices.
	* intelgt-device-names.inl: New file.  Names for all intelgt
	devices.  Generated with intelgt-device-names.py.
	* intelgt-device-names.py: New file.  Generator for
	intelgt-device-names.inl.

gdb/ChangeLog:
2021-11-08  Nils-Christian Kempke  <nils-christian.kempke@intel.com>

	* features/gdb-target.dtd: Extend XML description for target
	description to include device_info and device_attr fields.
	* intelgt-tdep.c (intelgt_gdbarch_init): Use device_info to
	select IGA version.
	* target-descriptions.c (struct target_desc): Add device_info
	field.
	(tdesc_device_name): Deleted.
	(tdesc_device_info): New getter method.
	(tdesc_add_device_attribute): New setter method.
	(tdesc_find_device_info_attribute): New getter method.
	(set_tdesc_device): Deleted.
	(set_tdesc_device_info): New setter method.
	(print_c_tdesc::visit_pre): Add print for device_info.
	* target-descriptions.h (tdesc_find_device_info_attribute): New
	getter method.
	* xml-tdesc.c (tdesc_end_device): Deleted.
	(tdesc_start_device_attr): New function to parse <device_info> tag.
	(struct device_attr_attributes): New gdb_xml_attribute struct to
	describe XML device_attr field.
	(struct device_info_children): New gdb_xml_element struct to
	describe device_info children.
	(target_children): Add device_info tag, remove device tag.

gdbserver/ChangeLog:
2021-11-08  Nils-Christian Kempke  <nils-christian.kempke@intel.com>

	* intelgt-low.cc (create_target_description): Set gen_major and
	gen_minor in target description, remove setting device.
	* tdesc.cc (tdesc_device_name): Deleted.
	(tdesc_device_info): New getter method.
	(set_tdesc_device): Deleted.
	(set_tdesc_device_info): New setter method.
	(tdesc_add_device_attribute): New setter method.
	* tdesc.h (struct target_desc): Add device_info field.

gdbsupport/ChangeLog:
2021-11-08  Nils-Christian Kempke  <nils-christian.kempke@intel.com>

	* tdesc.cc (print_xml_feature::visit_pre): Print device_info into
	XML, remove device tag.
	* tdesc.h (typedef device_info): Add device_info type.
	(set_tdesc_device): Deleted.
	(set_tdesc_device_info): New setter.
	(tdesc_device_name): Deleted.
	(tdesc_device_info): New getter.
	(tdesc_add_device_attribute): New setter.

gdb/ChangeLog:
2022-04-06  Nils-Christian Kempke  <nils-christian.kempke@intel.com>

	* infrun.c: Convert 8 spaces to tabs.
	* remote.c: Dito.

gdb/ChangeLog:
2022-04-06  Nils-Christian Kempke  <nils-christian.kempke@intel.com>

	* infcmd.c (continue_command): Remove redundant call to
	ERROR_NO_INFERIOR.

gdb/ChangeLog:
2022-03-24  Felix Willgerodt  <felix.willgerodt@intel.com>

	* amd64-linux-tdep.c (amd64_linux_write_pc): Reset tilecfg.start_row.

gdb/testsuite/ChangeLog:
2022-03-24  Felix Willgerodt  <felix.willgerodt@intel.com>

	* gdb.arch/amd64-amx-startrow.c: New file.
	* gdb.arch/amd64-amx-startrow.exp: Same.

gdb/testsuite/ChangeLog:
2022-04-19  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* lib/mi-support.exp (mi_expect_stop): Account for long output
	by consuming lines in smaller batches.

gdb/testsuite/ChangeLog:
2022-03-21  Mohamed Bouhaouel  <mohamed.bouhaouel@intel.com>

	* gdb.sycl/bitfields-packed.cpp: New file.
	* gdb.sycl/bitfields-packed.exp: New file.

gdb/testsuite/ChangeLog:
2022-03-21  Oguzhan Karakaya  <oguzhan.karakaya@intel.com>

	* lib/sycl.exp: Add new function to determine the first stopped
	thread that is not filtered by given list of IDs to ignore
	* gdb.threads/simd-info-threads.exp: Use function provided
	in lib/sycl.exp to determine the second thread
	* gdb.threads/simd-bp-multi-lane.exp: Use function provided
        in lib/sycl.exp to determine the second thread
	* gdb.threads/simd-thread.exp: Use function provided
	in lib/sycl.exp to determine the second thread
	* gdb.threads/simd-bp.exp: Use function provided
        in lib/sycl.exp to determine the second and the third thread

gdb/testsuite/ChangeLog:
2022-03-14  Natalia Saiapova  <natalia.saiapova@intel.com>

	* lib/mi-support.expi (mi_expect_stop): Allow additional output
	between inferior normal exit event and MI prompt.

gdb/testsuite/ChangeLog:
2022-02-15  Natalia Saiapova  <natalia.saiapova@intel.com>

	* gdb.sycl/mi-async-bp.exp: New file.
	* lib/sycl.exp (start_sycl_program_helper): Add a helper
	function to start a SYCL program.
	(start_sycl_program): Use the helper function.
	(mi_start_sycl_program): New function to start SYCL program
	in MI mode.

gdb/testsuite/ChangeLog:
2022-02-15  Natalia Saiapova  <natalia.saiapova@intel.com>

	* lib/mi-support.exp (mi_send_resuming_command_raw): Allow
	multiple entries of "running,thread-id=..." in regex after
	sending a resuming command.

gdb/ChangeLog:
2022-01-31  Nils-Christian Kempke  <nils-christain.kempke@intel.com>

	* python/lib/gdb/function/intelgt_auto_attach.py
	(enable_schedule_multiple_at_gt_removal): New member for marking
	whether we have to re-enable the schedule-multiple feature.
	(remove_gt_inf_if_stored_for_removal): Re-enable
	schedule-multiple if it was disabled on host exit.
	(handle_exited_event): Disable schedule-multiple on host exit.

gdb/ChangeLog:
2022-01-05  Nils-Christian Kempke  <nils-christian.kempke@intel.com>

	* python/lib/gdb/function/intelgt_auto_attach.py:
	(remove_gt_inf_if_stored_for_removal): New function.
	(handle_before_prompt_event): Move deletion of gt inferiors
	for marked host inferiors to separate function and call it.
	(handle_exit_event): Call remove_gt_inf_if_stored_for_removal
	instead of handle_before_prompt_event.
	(init_gt_inferiors): Call remove_get_inf_if_stored_for_removal
	before trying to initialze new gt inferiors.

gdb/ChangeLog:
2021-03-18  Eduard Sargsyan  <eduard.sargsyan@intel.com>

	* regcache.c (regcache::raw_write): Add check for pointer validity.

gdb/testsuite/ChangeLog:
2022-03-21  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* gdb.sycl/work-item-index2.exp: New file.

gdb/ChangeLog:
2022-03-11 Ari Hannula <ari.hannula@intel.com>

	* python/lib/gdb/function/intelgt_auto_attach.py: Do not send
	"continue" in Eclipse at the hook breakpoint hit.

gdb/testsuite/ChangeLog:
2022-03-08  Abdul Basit Ijaz  <abdul.b.ijaz@intel.com>

	* boards/testgdb-native.exp: Add OpenMP AOT compiler
	configurations

gdb/ChangeLog:
2022-02-04  Stephan Rohr  <stephan.rohr@intel.com>

	* python/lib/gdb/function/intelgt_auto_attach.py: Catch and handle the
	'KeyboardInterrupt' exception.

gdb/testsuite/ChangeLog:
2022-02-12  Eduard Sargsyan  <eduard.sargsyan@intel.com>

	* gdb.sycl/multi-device-parallel-for-1D.cpp: New file.
	* gdb.sycl/multi-device-parallel-for-1D.exp: New file.
	* gdb.sycl/multi-device-parallel-for-1D-disable-bp.exp: New file.

gdb/ChangeLog:
2022-01-28  Eduard Sargsyan  <eduard.sargsyan@intel.com>

	* intelgt-tdep.c (intelgt_gdbarch_init): Set `can_leave_breakpoints` to
	true.

gdb/testsuite/ChangeLog:
2022-02-16  Eduard Sargsyan  <eduard.sargsyan@intel.com>

	* gdb.arch/intelgt-always-insert.cpp: New file.
	* gdb.arch/intelgt-always-insert.cxp: New file.

gdb/testsuite/ChangeLog:
2022-02-10  Matti Puputti  <matti.puputti@intel.com>

	* boards/numba-cpu.exp: New file.
	* boards/numba-fpga.exp: New file.
	* boards/numba-gpu.exp: New file.
	* gdb.numba/dppy-basic.exp: New file.
	* gdb.numba/dppy-call-stack.exp: New file.
	* gdb.numba/dppy-cond-bp.exp: New file.
	* gdb.numba/dppy-cond-bp.py: New file.
	* gdb.numba/dppy-func.py: New file.
	* gdb.numba/dppy-info-args.exp: New file.
	* gdb.numba/dppy-ptype.exp: New file.
	* gdb.numba/dppy-variable-lifetime.exp: New file.
	* gdb.numba/njit-basic.exp: New file.
	* gdb.numba/njit-call-stack.exp: New file.
	* gdb.numba/njit-cond-bp.exp: New file.
	* gdb.numba/njit-cond-bp.py: New file.
	* gdb.numba/njit-func.py: New file.
	* gdb.numba/njit-info-args.exp: New file.
	* gdb.numba/njit-ptype.exp: New file.
	* gdb.numba/njit-variable-lifetime.exp: New file.
	* lib/numba-dppy-hello.py: New file.
	* lib/numba-njit-hello.py: New file.
	* lib/numba.exp: New file.
	* lib/numba_util.py: New file.

gdb/testsuite/ChangeLog:
2022-02-02  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* gdb.sycl/optimized-kernel.exp: New file.

gdb/ChangeLog:
2021-11-5  Oguzhan Karakaya  <oguzhan.karakaya@intel.com>

	* intelgt-tdep.c (intelgt_gdbarch_init): Remove deprecated
	iga_gen_t for 12th Gen.  Introduce the new iga_gen_t for
	IGA_XE and IGA_XE_HP.

gdbserver/ChangeLog:
2021-11-5  Oguzhan Karakaya  <oguzhan.karakaya@intel.com>

	* intelgt-low.cc (create_target_description): Set target_desc
	.device as 'gen_major'.'gen_minor'.

gdb/testsuite/ChangeLog:
2022-03-22  Nils-Christian Kempke  <nils-christian.kempke@intel.com>

	* gdb.openmp/intelgt-auto-attach.exp: New procedure for restart
	scenario, ran in all-stop and non-stop mode.
	* gdb.sycl/intelgt-auto-attach.exp: New procedure for restart
        scenario, ran in all-stop and non-stop mode.

gdb/testsuite/ChangeLog:
2022-01-31  Nils-Christian Kempke  <nils-christian.kempke@intel.com>

	* gdb.sycl/intelgt-auto-attach: Add restart scenario and prefix
	both restart tests.
	* gdb.openmp/intelgt-auto-attach: Add restart scenario and
	prefix both restart tests.

gdb/testsuite/ChangeLog:
2022-02-14  Nils-Christian Kempke  <nils-christian.kempke@intel.com>

	* gdb.sycl/intelgt-auto-attach: Add restart scenario.
	* gdb.openmp/intelgt-auto-attach: Add restart scenario.

gdbserver/ChangeLog:
2022-02-14  Nils-Christian Kempke  <nils-christian.kempke@intel.com>

	* intelgt-low.cc (supports_run_command): New method.

gdbserver/ChangeLog:
2022-02-14  Nils-Christian Kempke  <nils-christian.kempke@intel.com>

	* server.cc (handle_query): Return vRun and R not supported when
	not supported by target.
	(handle_v_requests): Only execute when supported by target.
	(process_serial_event): Only execute restart when supported by
	target.
	* target.cc (supports_run_command): New method, true by default.
	* target.h (supports_run_command): New method.

gdb/testsuite/ChangeLog:
2021-12-23  Nils-Christian Kempke  <nils-christian.kempke@intel.com>

	* gdb.server/extended-remote-disable-run-command.exp: New file.

gdbserver/ChangeLog:
2021-12-23  Nils-Christian Kempke  <nils-christian.kempke@intel.com>

	* server.cc (handle_query): Handle vRun and R queries.
	(handle_v_requests): Only execute vRun when not disabled.
	(process_serial_event): Only execute restart when not
	disabled.
	(captured_main): Add support for --disable-packet=vRun and
	--disable-packet=R.
	(gdbserver_show_disableable): Add R and vRun packet.
	* server.cc (gdbserver_usage): Add R and vRun packet.
	* server.h: Add disable_packet_R and disable_packet_vRun
	as new members to server.

gdb/ChangeLog:
2021-12-23  Nils-Christian Kempke  <nils-christian.kempke@intel.com>

	* remote.c (can_create_inferior): Make dependent on the support
	status of PACKET_vRun and PACKET_R.
	(extended_remote_restart): Do not restart the extended remote
	when PACKET_R has been disabled.
	(remote_query_supported): Add vRun and R packet to the queried
	packets.
	(struct remote_protocol_features): Add vRun and R packet.
	(_initialize_remote): Add R packet to packets that can be
	modified by the user on host side.

gdb/ChangeLog:
2021-12-13  Christina Schimpe  <christina.schimpe@intel.com>

	* remote.c: Remove supports_vCont_probed check workaround.

gdb/ChangeLog:
2021-12-13  Christina Schimpe  <christina.schimpe@intel.com>

	* remote.c: Add per-remote target variables for memory
	read and write configuration.  Adapt logging for the 'set remote
	memory-write-packet-size fixed' command.

gdb/testsuite/ChangeLog:
2021-12-22  Christina Schimpe  <christina.schimpe@intel.com>

	* gdb.base/remote.exp: Adapt test.

gdb/ChangeLog:
2022-08-04  Christina Schimpe  <christina.schimpe@intel.com>

	* remote.c: Add per remote target array class.

gdb/testsuite/ChangeLog:
2021-12-13  Christina Schimpe  <christina.schimpe@intel.com>

	* gdb.multi/multi-target-info-inferiors.exp: Set
	multiprocess-feature-packet parameter in setup procedure.
	* gdb.multi/multi-target.exp.tcl: Add optional parameter for
	multiprocess-feature-packet.

gdb/ChangeLog:
2021-12-06  Cristian Sandu  <cristian.sandu@intel.com>

	* gdb/thread.c: Change width of thread id field according to
	number of active lanes.

gdb/ChangeLog:
2021-12-01  Natalia Saiapova  <natalia.saiapova@intel.com>

	* intelgt-tdep.c (intelgt_dwarf_reg_to_regnum): For SBA regset
	first find the corresponding name, and then find regnum using
	the name.

gdb/testsuite/ChangeLog:
2021-10-26  Sandu Cristian  <cristian.sandu@intel.com>

	* gdb.openmp/derived-type-striding.exp: New file.
	* gdb.openmp/derived-type-striding.f90: New file.

gdb/testsuite/ChangeLog:
2021-10-25  Sandu Cristian  <cristian.sandu@intel.com>

	* gdb.openmp/derived-type-function.exp: New file.
	* gdb.openmp/derived-type-function.f90: New file.

gdb/testsuite/ChangeLog:
2021-10-21  Sandu Cristian  <cristian.sandu@intel.com>

	* gdb.openmp/vla-array.exp: New file.
	* gdb.openmp/vla-array.f90: New file.

gdb/testsuite/ChangeLog:
2021-10-19  Sandu Cristian  <cristian.sandu@intel.com>

	* gdb.openmp/module.exp: New file.
	* gdb.openmp/module.f90: New file.

gdb/testsuite/ChangeLog:
2021-10-08  Sandu Cristian  <cristian.sandu@intel.com>

	* gdb.openmp/mixed-lang-stack.exp: New file.
	* gdb.openmp/mixed-lang-stack.f90: New file.
	* gdb.openmp/mixed-lang-stack.cpp: New file.

gdb/testsuite/ChangeLog:
2021-03-03  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* gdb.sycl/multi-device-single-task.cpp: New file.
	* gdb.sycl/multi-device-single-task.exp: New file.

gdb/ChangeLog:
2021-11-05  Abdul Basit Ijaz  <abdul.b.ijaz@intel.com>

	* arch-utils.c (gdbarch_get_intelgt_lookup_initialized_tdesc): New.

gdb/testsuite/ChangeLog:
2021-10-21  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* boards/sycl-intelgt-dg1.exp: New file.
	* boards/sycl-intelgt-gen9.exp: New file.
	* boards/sycl-intelgt-tgl.exp: New file.
	* boards/testgdb-native.exp: Update the board file selection
	with glob matching.

gdb/testsuite/ChangeLog:
2021-10-18  Mohamed Bouhaouel  <mohamed.bouhaouel@intel.com>

	* gdb.sycl/kernel-jump.exp: New file.

gdb/ChangeLog:
2021-08-31  Natalia Saiapova  <natalia.saiapova@intel.com>

	* intelgt-tdep.c (defined): use device info to select IGA
	version.

gdbserver/ChangeLog:
2021-08-31  Natalia Saiapova  <natalia.saiapova@intel.com>

	* intelgt-low.cc (create_target_description): New argument
	GTDeviceInfo.

gdb/ChangeLog:
2021-08-31  Natalia Saiapova  <natalia.saiapova@intel.com>

	* target-descriptions.c (struct target_desc): New field device.
	(tdesc_device_name): New getter method.
	(set_tdesc_device): New setter method.
	* xml-tdesc.c (tdesc_end_device): New function to parse <device>
	tag.

gdbserver/ChangeLog:
2021-08-31  Natalia Saiapova  <natalia.saiapova@intel.com>

	(add_new_gt_process): Pass GTDeviceInnfo argument.
	* tdesc.cc (target_desc::~target_desc): Clean device.
	(tdesc_device_name): New getter.
	(set_tdesc_device): New setter.
	* tdesc.h (struct target_desc): New device field.

gdbsupport/ChangeLog:
2021-08-31  Natalia Saiapova  <natalia.saiapova@intel.com>

	* tdesc.cc (print_xml_feature::visit_pre): Print device into
	XML.
	* tdesc.h (set_tdesc_device): New setter.
	(tdesc_device_name): New getter.

gdb/ChangeLog:
2021-11-23  Cristian Sandu  <cristian.sandu@intel.com>

	* mi/mi-cmd-stack.c: Add shadowed variable attribute.
	* printcmd.c: Add shadowed variable print.

gdb/doc/ChangeLog:
2021-11-23  Cristian Sandu  <cristian.sandu@intel.com>

	* gdb.texinfo: Update with shadowed variable line info.

gdb/testsuite/ChangeLog:
2021-11-23  Cristian Sandu  <cristian.sandu@intel.com>

	* gdb.base/var-shadowing.c: Add new comments to
	refer lines.
	* gdb.base/var-shadowing.exp: Change test cases to
	support the shadowed variable print feature.
	* gdb.mi/mi-var-shadowing.c: Add new comments to
	refer lines.
	* gdb.mi/mi-var-shadowing.exp: Change test cases to
	support the shadowed variable print feature.
	* gdb.mi/mi2-amd64-entry-value.c: Add new comments to
	refer lines.
	* gdb.mi/mi2-amd64-entry-value.exp: Change test cases to
	support the shadowed variable print feature.
	* gdb.openmp/call-stack.cpp: Add new comments to
	refer lines.
	* gdb.openmp/info-locals-and-args.exp: Change test cases to
	support the shadowed variable print feature.
	* gdb.opt/inline-locals.c: Add new comments to
	refer lines.
	* gdb.opt/inline-locals.exp: Change test cases to
	support the shadowed variable print feature.
	* gdb.trace/entry-values.exp: Change test cases to
	support the shadowed variable print feature.

gdb/ChangeLog:
2021-07-21  Abdul Basit Ijaz  <abdul.b.ijaz@intel.com>

	* mi/mi-cmd-stack.c (list_arg_or_local): Print shadowed field
	with value true after the value of super-block variable in
	case of variable shadowing.
	(list_args_or_locals): Declare unordered_set type object and
	pass it to function 'list_arg_or_local'.

gdb/testsuite/ChangeLog:
2021-07-21  Abdul Basit Ijaz  <abdul.b.ijaz@intel.com>

	* gdb.mi/mi2-amd64-entry-value.exp: Update regex expressions for
	testing '-stack-list-variables' mi command output to handle shadowed
	field.
	* gdb.trace/entry-values.exp: Ditto.
	* gdb.mi/mi-var-shadowing.c: New file.
	* gdb.mi/mi-var-shadowing.exp: New file.

gdb/ChangeLog:
2021-07-05  Mihails Strasuns  <mihails.strasuns@intel.com>

	* intelgt-tdep.c: Compute $ip and $pc if necessary.  Supply
	$pc via read_pc/write_pc gdbarch callbacks.

gdbserver/ChangeLog:
2021-07-05  Mihails Strasuns  <mihails.strasuns@intel.com>

	* intelgt-low.cc: Remove $ip from the target description.
	Compute $pc from CR0.2

gdb/ChangeLog:
2021-07-05  Mihails Strasuns  <mihails.strasuns@intel.com>

	* intelgt-tdep.c (intelgt_pseudo_register_name): New function.
	(intelgt_pseudo_register_type): New function.
	(intelgt_pseudo_register_read_value): New function.
	(intelgt_pseudo_register_write): New function.
	(intelgt_gdbarch_init): Enhance initialization
	with pseudo-register method support.

gdbserver/ChangeLog:
2021-07-05  Mihails Strasuns  <mihails.strasuns@intel.com>

	* intelgt-low.cc (create_target_description): do not provide
	sp feature.
	(add_new_gt_process): stop expediting "sp" register

gdb/testsuite/ChangeLog:
2021-07-01  Matti Puputti  <matti.puputti@intel.com>

	* gdb.sycl/ptype.cpp: New file.
	* gdb.sycl/ptype.exp: New file.

gdbserver/ChangeLog:
2021-05-11  Felix Willgerodt  <felix.willgerodt@intel.com>

	* remote-utils.cc (decode_search_memory_packet): Add new addr_space
	argument and enable decoding it.
	* remote-utils.h (decode_search_memory_packet): Add new addr_space
	argument.
	* server.cc (handle_search_memory): Enable decoding different
	address spaces.

gdb/ChangeLog:
2021-05-11  Felix Willgerodt  <felix.willgerodt@intel.com>

	* intelgt-tdep.c (intelgt_address_space_from_type_flags): New.
	(intelgt_gdbarch_init): Call set_gdbarch_address_space_from_type_flags.

gdb/ChangeLog:
2021-05-11  Felix Willgerodt  <felix.willgerodt@intel.com>

	* remote.c (PACKET_multi_address_space_feature): New enum value.
	(remote_multi_address_space_p): New function.
	(remote_protocol_features): Add multi_addr_space.
	(remote_target::remote_query_supported): Same.
	(_initialize_remote): Same.

gdb/doc/ChangeLog:
2021-05-11  Felix Willgerodt  <felix.willgerodt@intel.com>

	* gdb.texinfo (Debugging Remote Programs)
	(Remote Serial Protocol): Document multi-address-space extensions.

gdbserver/ChangeLog:
2021-05-11  Felix Willgerodt  <felix.willgerodt@intel.com>

	* server.cc (handle_query): Handle multi-address-space.
	* server.h (client_state): Add multi_addr_space.

gdb/ChangeLog:
2021-05-11  Felix Willgerodt  <felix.willgerodt@intel.com>

	* intelgt-tdep.c (INTELGT_TYPE_INSTANCE_FLAG_SLM): New define.
	(INTELGT_SLM_ADDRESS_QUALIFIER): Same
	(intelgt_address_class_type_flags_to_name): New.
	(intelgt_address_class_name_to_type_flags): New.
	(intelgt_gdbarch_init): Set the new functions.

gdb/testsuite/ChangeLog:
2021-05-25  Natalia Saiapova  <natalia.saiapova@intel.com>

	* gdb.sycl/return-value.cpp: New test.
	* gdb.sycl/return-value.exp: New file.

gdb/ChangeLog:
2021-05-17  Natalia Saiapova  <natalia.saiapova@intel.com>

	* gdb/arch/intelgt.c (class arch_info_gen9):
	(arch_info_gen9::retval_regnum): New method.
	* gdb/arch/intelgt.h (class arch_info):
	(arch_info::retval_regnum): New virtual method.
	* gdb/intelgt-tdep.c (intelgt_return_value): Implementation of
						     gdbarch's return_value method.
	(intelgt_gdbarch_init): Set gdbarch_return_value for intelgt.

gdb/testsuite/ChangeLog:
2021-05-12  Natalia Saiapova  <natalia.saiapova@intel.com>

	* gdb.sycl/call-stack-work-group.cpp: New test.
	* gdb.sycl/call-stack-work-group.exp: New file.

gdb/testsuite/ChangeLog:
2021-05-12  Natalia Saiapova  <natalia.saiapova@intel.com>

        * gdb.sycl/call-stack.cpp (main): Remove unnecessary parameter.
        * gdb.sycl/call-stack.exp: Test various configurations of call
	stack.  Test last instructions of a function.

gdb/ChangeLog:
2021-05-12  Natalia Saiapova  <natalia.saiapova@intel.com>

	* intelgt-tdep.c (intelgt_gdbarch_init): Use core_addr_greaterthan
	to detect inner frames.

gdb/ChangeLog:
2021-05-12  Natalia Saiapova  <natalia.saiapova@intel.com>

	* intelgt-tdep.c (intelgt_skip_prologue): New function.

gdb/testsuite/ChangeLog:
2021-05-31  Abdul Basit Ijaz  <abdul.b.ijaz@intel.com>

	* gdb.perf/lib/perftest/measure.py: Replace time.clock()
	with time.perf_counter() to support Python 3.9 and update
	cpu clock time measurement to milliseconds.
	* gdb.perf/lib/perftest/reporter.pyy: Update cpu time unit
	to milliseconds.
	* gdb.perf/sycl-breakpoint.exp: New file.
	* gdb.perf/sycl-breakpoint.py: New file.
	* gdb.perf/sycl-falsecondbp.exp: New file.
	* gdb.perf/sycl-falsecondbp.py: New file.
	* gdb.perf/sycl-parallel.cpp: New file.
	* gdb.perf/sycl-step.exp: New file.
	* gdb.perf/sycl-step.py: New file.
	* gdb.perf/sycl-thread.exp: New file.
	* gdb.perf/sycl-thread.py: New file.

gdb/ChangeLog:
2021-04-30  Aleksandar Paunovic  <aleksandar.paunovic@intel.com>

        * infrun.c (keep_going_stepped_thread): Do not resume an
	already executing thread.

gdb/testsuite/ChangeLog:
2021-04-30  Aleksandar Paunovic  <aleksandar.paunovic@intel.com>

	* gdb.base/breakpoint-running-inferior.exp: Add a start_step
	function check.

gdb/ChangeLog:
2021-04-30  Aleksandar Paunovic  <aleksandar.paunovic@intel.com>

	* infrun.c (keep_going_stepped_thread): Switch to correct
	inferior and check if thread is executing.

gdb/testsuite/ChangeLog:
2021-04-30  Aleksandar Paunovic  <aleksandar.paunovic@intel.com>

	* gdb.base/breakpoint-running-inferior-1.c: New file.
	* gdb.base/breakpoint-running-inferior-2.c: New file.
	* gdb.base/breakpoint-running-inferior.exp: New file.

gdb/ChangeLog:
2021-05-05  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* infcmd.c (setup_inferior): Use inferior's pid instead of
	inferior_ptid.

gdb/ChangeLog:
2021-05-05  Mihails Strasuns  <mihails.strasuns@intel.com>

	* features/intelgt-arf11.xml, features/intelgt-arf12.xml,
	  features/intelgt-arf9.xml, features/intelgt-debug.xml:
	  Move iemask/emask definition to the debug feature.
	* features/intelgt-arf11.c, features/intelgt-arf12.c,
	  features/intelgt-arf9.c, features/intelgt-debug.c:
	  Regenerated.
	* arch/intelgt.c: Adapt to new register order.

gdb/ChangeLog:
2021-04-29  Mihails Strasuns  <mihails.strasuns@intel.com>

	* arch/intelgt.h (arch_info): New fields/methods for debug regs.
	* arch/intelgt.c (arch_info_gen9): Extend implementation for
	  the debug regs.
	* features/intelgt-debug.c: New file.
	* features/intelgt-debug.xml: New file.
	* features/Makefile (FEATURE_XMLFILES): Add
	  features/intelgt-debug.xml.
	* intelgt-tdep.c: Support for the new feature file and reg
	  numbers.

gdb/gdbserver/ChangeLog:
2021-04-29  Mihails Strasuns  <mihails.strasuns@intel.com>

	* configure.srv: Add intelgt-debug.xml.
	* intelgt-low.cc: Add new feature file support.

gdbserver/ChangeLog:
2021-05-05  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* server.cc (handle_v_attach):

gdb/testsuite/ChangeLog:
2022-07-04  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* gdb.threads/simd-thread-apply.exp: Revise the test to not
	have fixed thread ids.

gdb/ChangeLog:
2021-04-28  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* target.h: Update the comment to mention the semantics for
	the empty string as the return value.
	* exec.c (exec_file_locate_attach): Check for empty string.

gdb/ChangeLog:
2021-04-27  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* inferior.c (remove_inferior_with_number): New function, extracted
	out from...
	(remove_inferior_command): ...this.

gdb/ChangeLog:
2021-03-09  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* remote.c (remote_target::remote_notice_new_inferior): Mark
	newly noticed inferior as 'needs_setup'.

gdb/ChangeLog:
2021-04-09  Matti Puputti  <matti.puputti@intel.com>

	* infcmd.c (jump_command): Ignore sals from other object file(s).

gdb/testsuite/ChangeLog:
2021-04-09  Matti Puputti  <matti.puputti@intel.com>

	* gdb.base/jump2.exp: New file.
	* gdb.base/jump2.c: New file.
	* gdb.base/jump2_foo.c: New file.
	* gdb.base/jump2.h: New file.

gdb/testsuite/ChangeLog:
2021-01-15  Felix Willgerodt  <felix.willgerodt@intel.com>

	* gdb.btrace/uli.c: New file.
	* gdb.btrace/uli.exp New file.
	* lib/gdb.exp (skip_uli_tests): New function.

gdb/testsuite/ChangeLog:
2021-02-16  Felix Willgerodt  <felix.willgerodt@intel.com>

	* lib/gdb.exp: Adjust call of tcl_version_at_least.
	(version_at_least): Add revision args, simplify check and adjust
	return value.
	(tcl_version_at_least): Adjust call of version_at_least.
	(skip_uli_tests): New function.

gdb/testsuite/ChangeLog:
2021-03-16  Matti Puputti  <matti.puputti@intel.com>

	* gdb.sycl/bp-at-last-line.exp: New file.
	* gdb.sycl/bp-at-last-line.cpp: New file.

gdb/testsuite/ChangeLog:
2021-03-15  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* gdb.sycl/intelgt-no-sched-multi.exp: New file.

gdb/testsuite/ChangeLog:
2020-12-16  Natalia Saiapova  <natalia.saiapova@intel.com>

	* gdb.sycl/step-inline.cpp: New test.
	* gdb.sycl/step-inline.exp: New file.

gdb/ChangeLog:
2021-03-01  Matti Puputti  <matti.puputti@intel.com>

	* linespec.c (add_matching_symbols_to_info): search inlined functions
	with filename.

gdb/testsuite/ChangeLog:
2021-03-01  Matti Puputti  <matti.puputti@intel.com>

	* gdb.sycl/break-with-filename.exp: Add tests for setting a breakpoint
	in kernel using file and function names.

gdb/testsuite/ChangeLog:
2021-02-04  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* gdb.sycl/intelgt-resume-in-other-context.exp: New file.

gdb/testsuite/ChangeLog:
2021-01-12  Matti Puputti  <matti.puputti@intel.com>

	* lib/sycl.exp: Updates in continue_and_get_device_name.

gdb/testsuite/ChangeLog:
2020-11-25  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* gdb.arch/intelgt-program-bp.exp: New file.

gdb/testsuite/ChangeLog:
2020-12-03  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* gdb.sycl/break-at-kernel-symbol.exp: New file.

gdb/testsuite/ChangeLog:
2020-10-29  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* gdb.sycl/intelcpu-ocl-var.exp: New file.

gdb/ChangeLog:
2020-10-16  Natalia Saiapova  <natalia.saiapova@intel.com>

	* infrun.c: Set scheduler_mode to schedlock_step.

gdb/testsuite/ChangeLog:
2020-10-08  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* gdb.sycl/unified-shared-memory.cpp: New file.
	* gdb.sycl/unified-shared-memory.exp: New file.

gdb/testsuite/ChangeLog:
2020-10-21  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* gdb.sycl/intelgt-run-tui.exp: New file.

gdb/ChangeLog:
2020-10-20  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* regcache.c (readable_regcache::raw_read): Return REG_UNAVAILABLE
	if raw_update raises NOT_AVAILABLE_ERROR.

gdb/ChangeLog:
2020-09-11  Natalia Saiapova  <natalia.saiapova@intel.com>

	* linux-nat.c (linux_nat_target::thread_address_space): Add
	check for nullptr.

gdb/ChangeLog:
2020-09-11  Natalia Saiapova  <natalia.saiapova@intel.com>

	* mi/mi-main.c (mi_cmd_thread_select): Set a specified SIMD
	lane.
	(mi_execute_command): Add notification when SIMD lane is
	changed.
	(mi_cmd_execute): If SIMD lanes is specified and valid, set
	this lane in the selected thread.  If a user skips thread ID,
	the current thread is taken.
	* mi/mi-parse.c (mi_parse::mi_parse): Initialize simd_lane.
	(mi_parse): Parse simd_lane.
	* mi/mi-parse.h (struct mi_parse) <simd_lane>: New int field.
	* thread.c (thread_command): Add notification on SIMD lane
	change.

gdb/ChangeLog:
2020-09-10  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* observable.h (about_to_proceed): Add a boolean 'step' parameter.
	* breakpoint.c (breakpoint_about_to_proceed): Adjust for the new
	'step' parameter.
	* infrun.c (clear_proceed_status): Ditto.
	* mi/mi-interp.c (mi_about_to_proceed): Ditto.

gdb/testsuite/ChangeLog:
2020-08-26  Natalia Saiapova  <natalia.saiapova@intel.com>

	* gdb.threads/infcall-bp-cond.c: New test.
	* gdb.threads/infcall-bp-cond.exp: New file.

gdb/ChangeLog:
2020-08-26  Natalia Saiapova  <natalia.saiapova@intel.com>
	    Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>

	* infrun.c (do_target_wait): Match an inferior PID with the
        expected PID.
	(fetch_inferior_event): In condition evaluation, wait for the
        event from the current inferior.

gdb/ChangeLog:
2020-08-26  Natalia Saiapova  <natalia.saiapova@intel.com>
	    Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>

	* infrun.c (user_visible_resume_ptid): In BP condition
        evaluation, resume only the current thread

gdb/ChangeLog:
2020-08-27  Natalia Saiapova  <natalia.saiapova@intel.com>
	    Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>

	* breakpoint.c (bpstat_check_breakpoint_conditions): Set/unset
        thread->control.in_cond_eval.
	* gdbthread.h (struct thread_control_state):
        <in_cond_eval>: New boolean field.

gdb/testsuite/ChangeLog:
2020-05-28  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* gdb.sycl/intelgt-auto-attach.exp: Disable some tests on Gen12.

gdbsupport/ChangeLog:
2020-09-15  Mihails Strasuns  <mihails.strasuns@intel.com>

	* scope-exit.h (~scope_exit_base): Add a catch-all statement.

gdb/testsuite/ChangeLog:
2020-09-15  Matti Puputti  <matti.puputti@intel.com>

	* gdb.sycl/infcall.exp: Disable test on GPU.
	* gdb.sycl/infcall-parallel-for.exp: Likewise.
	* gdb.sycl/nd_item.exp
	* gdb.openmp/infcall-parallel-for.exp: Likewise.

gdb/ChangeLog:
2020-08-10  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* arch/intelgt.h (enum class reg_group) <Mme>: New enum case.
	(class arch_info): Add `num_mmes` parameter to the constructor.
	<mme_reg_count>: New method declaration.
	<num_mmes>: New field.
	* arch/intelgt.c (arch_info::arch_info): Update the parameters.
	(arch_info::mme_reg_count): New method implementation.
	(arch_info_gen9::arch_info_gen9): Update.
	* features/intelgt-arf9.xml: Add the 'mme' registers.
	* features/intelgt-arf11.xml: Ditto.
	* features/intelgt-arf12.xml: Ditto.
	* features/intelgt-arf9.c: Regenerate.
	* features/intelgt-arf11.c: Regenerate.
	* features/intelgt-arf12.c: Regenerate.
	* intelgt-tdep.c (intelgt_dwarf_reg_to_regnum): Handle the 'mme'
	registers.

gdbserver/ChangeLog:
2020-08-10  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* intelgt-low.cc (igfxdbg_reg_type): Handle the 'Mme' type.

gdb/testsuite/ChangeLog:
2020-08-10  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* gdb.arch/intelgt-info-reg.exp: Extend the test for MME registers.

gdb/testsuite/ChangeLog:
2020-08-17  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* gdb.sycl/scheduler-locking.exp: New file.

gdb/ChangeLog:
2020-08-07  Markus Metzger  <markus.t.metzger@intel.com>

	* breakpoint.c (bpstat_do_actions_1): Do not switch lanes for
	non-breakpoint stops.

binutils/ChangeLog:

2022-07-29  Markus Metzger  <markus.t.metzger@intel.com>

	* dwarf.c (decode_location_expression):  Support
	DW_OP_INTEL_regval_bits.

gdb/ChangeLog:

2022-07-29  Markus Metzger  <markus.t.metzger@intel.com>

	* dwarf2/expr.c (dwarf_expr_context::execute_stack_op): Support
	DW_OP_INTEL_regval_bits.
	* dwarf2/loc.c (disassemble_dwarf_expression): Likewise.

include/ChangeLog:

2022-07-29  Markus Metzger  <markus.t.metzger@intel.com>

	* dwarf2.def (DW_OP): Add DW_OP_INTEL_regval_bits.

gdb/testsuite/ChangeLog:
2020-08-05  Markus Metzger  <markus.t.metzger@intel.com>

	* gdb.sycl/simd-locations.cpp (main): Split increment operations.

gdb/testsuite/ChangeLog:
2020-07-02  Markus Metzger  <markus.t.metzger@intel.com>

	* gdb.sycl/simd-locations.cpp: New test.
	* gdb.sycl/simd-locations.exp: New file.
	* lib/gdb.exp (gdb_test_expr_eq): New.
	* lib/sycl.exp (current_thread_has_simd_lanes): New.

gdb/testsuite/ChangeLog:
2020-08-05  Markus Metzger  <markus.t.metzger@intel.com>

	* gdb.dwarf2/amd64-simd-sse.S: New test.
	* gdb.dwarf2/amd64-simd-sse.c: New test.
	* gdb.dwarf2/amd64-simd.c: New test.
	* gdb.dwarf2/amd64-simd.exp: New file.
	* gdb.dwarf2/amd64-simd.h: New test.

gdb/ChangeLog:
2020-08-05  Markus Metzger  <markus.t.metzger@intel.com>

	* valarith.c (value_subscripted_rvalue): Also exclude lval_computed.

gdb/ChangeLog:
2020-08-05  Markus Metzger  <markus.t.metzger@intel.com>

	* value.c (value_from_component): Remove VALUE_LVAL check.

gdb/ChangeLog:
2020-08-05  Markus Metzger  <markus.t.metzger@intel.com>

	* compile/compile-loc2c.c (do_compile_dwarf_expr_to_c): Remove call to
	dwarf_expr_require_composition.
	* dwarf2/expr.c (dwarf_expr_require_composition): Remove.
	(dwarf_expr_context::execute_stack_op): Remove call to
	dwarf_expr_require_composition.
	* dwarf2/expr.h (dwarf_expr_require_composition): Remove.
	* dwarf2/loc.c (dwarf2_compile_expr_to_ax): Remove call to
	dwarf_expr_require_composition.

binutils/ChangeLog:
2020-08-05  Markus Metzger  <markus.t.metzger@intel.com>

	* dwarf.c (decode_location_expression): Add
	DW_OP_INTEL_push_simd_lane, DW_OP_INTEL_piece_stack, and
	DW_OP_INTEL_bit_piece_stack.

gdb/ChangeLog:
2020-08-05  Markus Metzger  <markus.t.metzger@intel.com>

	* dwarf2/expr.c (dwarf_expr_context::execute_stack_op): Add support
	for DW_OP_INTEL_push_simd_lane, DW_OP_INTEL_piece_stack, and
	DW_OP_INTEL_bit_piece_stack.
	(dwarf_expr_context::get_simd_lane): New.
	* dwarf2/expr.h (struct dwarf_expr_context) <get_simd_lane>: New.
	* dwarf2/loc.c (dwarf2_compile_expr_to_ax): Call unimplemented for
	DW_OP_INTEL_push_simd_lane, DW_OP_INTEL_piece_stack, and
	DW_OP_INTEL_bit_piece_stack.

include/ChangeLog:
2020-08-05  Markus Metzger  <markus.t.metzger@intel.com>

	* dwarf2.def (DW_OP): Add DW_OP_INTEL_push_simd_lane,
	DW_OP_INTEL_piece_stack, and DW_OP_INTEL_bit_piece_stack.

gdb/ChangeLog:
2020-07-30  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* arch/intelgt.h (class arch_info): Add 3 new parameters to the
	constructor.
	<num_addresses, num_accumulators, num_flags>: New fields.
	<address_reg_count, acc_reg_count, flag_reg_count>: New method
	declarations.
	* arch/intelgt.c (arch_info::arch_info): Update the ctor
	implementation.
	(arch_info::address_reg_count)
	(arch_info::acc_reg_count)
	(arch_info::flag_reg_count): New method implementation.
	(arch_info_gen9::arch_info_gen9): Update the call to base class
	constructor.
	* intelgt-tdep.c (intelgt_dwarf_reg_to_regnum): New function.
	(intelgt_gdbarch_init): Set the 'dwarf2_reg_to_regnum' gdbarch op.

gdb/ChangeLog:
2020-07-02  Felix Willgerodt  <felix.willgerodt@intel.com>

	* nat/x86-gcc-cpuid.h: Replace with copy of cpuid.h
	from gcc 10.01 branch.

gdb/ChangeLog:
2019-02-18  Felix Willgerodt  <felix.willgerodt@intel.com>

	* btrace.c (handle_pt_insn_events): Handle ptev_ptwrite.

gdb/testsuite/ChangeLog:
2019-02-18  Felix Willgerodt  <felix.willgerodt@intel.com>

	* gdb.btrace/ptwrite.c: New file.
	* gdb.btrace/ptwrite.exp: New file.
	* gdb.btrace/x86_64-ptwrite.S: New file.
	* lib/gdb.exp (skip_btrace_ptw_tests): New function.

gdb/doc/ChangeLog:
2019-02-18  Felix Willgerodt  <felix.willgerodt@intel.com>

	* python.texi (gdb.ptwrite): New documentation.

gdb/ChangeLog:
2019-02-28  Felix Willgerodt  <felix.willgerodt@intel.com>

	* btrace.h (btrace_thread_info): New member ptw_callback_fun.
	* python/py-record-btrace.c (recpy_call_listener): New function.
	(recpy_initialize_listener): Save recpy_call_listener in btinfo.

gdb/ChangeLog:
2018-05-15  Felix Willgerodt  <felix.willgerodt@intel.com>

	* btrace.c (ftrace_add_pt): Add call to
	apply_ext_lang_ptwrite_listener.
	* btrace.h (btrace_thread_info): New member ptw_listener.
	* data-directory/Makefile.in: Add ptwrite.py.
	* extension-priv.h (struct extension_language_ops): New member
	apply_ptwrite_listener.
	* extension.c (apply_ext_lang_ptwrite_listener): New function.
	* extension.h (apply_ext_lang_ptwrite_listener): New declaration.
	* guile/guile.c (guile_extension_ops): Add
	gdbscm_load_ptwrite_listener.
	* python/lib/gdb/ptwrite.py: New file.
	* python/py-record-btrace.c (recpy_initialize_listener,
	get_ptwrite_listener): New function.
	* python/py-record-btrace.h (recpy_initialize_listener): New
	declaration.
	* python/py-record.c (gdbpy_load_ptwrite_listener): New function.
	* python/python-internal.h (gdbpy_load_ptwrite_listener): New
	declaration.
	* python/python.c (python_extension_ops): New member
	gdbpy_load_ptwrite_listener.

gdb/ChangeLog:
2018-05-29  Felix Willgerodt  <felix.willgerodt@intel.com>

	* nat/linux-btrace.c (linux_supports_ptw): New function.
	(linux_enable_pt): Set attr.config if ptwrite is supported.

gdb/ChangeLog:
2018-02-21  Felix Willgerodt  <felix.willgerodt@intel.com>

	* py-record-btrace.c (btpy_insn_or_gap_new): Removed.
	(btpy_item_new): New function.
	(btpy_list_item): Call btpy_item_new instead of recpy_insn_new.
	(recpy_bt_replay_position): Call btpy_item_new instead of
	btpy_insn_or_gap_new.
	(recpy_bt_begin): Call btpy_item_new instead of btpy_insn_or_gap_new.
	(recpy_bt_end): Call btpy_item_new instead of btpy_insn_or_gap_new.
	* py-record.c (recpy_aux_type): New static object.
	(recpy_aux_object): New typedef.
	(recpy_aux_new, recpy_aux_number, recpy_aux_data): New function.
	(recpy_aux_getset): New static object.
	(gdbpy_initialize_record): Initialize gdb.RecordAuxiliary type.

gdb/doc/ChangeLog:
2018-02-21  Felix Willgerodt  <felix.willgerodt@intel.com>

	* python.texi (gdb.RecordAuxiliary): New documentation.

gdb/ChangeLog:
2018-05-28  Felix Willgerodt  <felix.willgerodt@intel.com>

	* record-btrace.c: (record_btrace_single_step_forward): Handle
	BTRACE_INSN_AUX.
	(record_btrace_single_step_backward): Likewise.
	(record_btrace_goto): Likewise.

gdb/ChangeLog:
2018-06-07  Felix Willgerodt  <felix.willgerodt@intel.com>

	* btrace.h (btrace_function_flag): Add BFUN_AUX_DECODED.
	* record-btrace.c (btrace_print_aux_insn): New function.
	(btrace_call_history): Handle BTRACE_INSN_AUX.
	* record.c: (get_call_history_modifiers): Add /s modifier.
	* record.h (record_print_flag): New value RECORD_DONT_PRINT_AUX.

gdb/doc/ChangeLog:
2018-06-07  Felix Willgerodt  <felix.willgerodt@intel.com>

	* gdb.texinfo (record function-call-history): Document /s modifier.

gdb/ChangeLog:
2018-06-06  Felix Willgerodt  <felix.willgerodt@intel.com>

	* record-btrace.c (btrace_insn_history): Handle BTRACE_INSN_AUX.

gdb/ChangeLog:
2019-02-18  Felix Willgerodt  <felix.willgerodt@intel.com>

	* btrace.c (btrace_clear_history): Clear aux_data.
	* btrace.h (btrace_insn_class): Add BTRACE_INSN_AUX.
	(btrace_insn): New union.
	(btrace_thread_info): New member aux_data.

gdb/doc/ChangeLog:
2019-02-18  Felix Willgerodt  <felix.willgerodt@intel.com>

	* gdb.texinfo (Process Record and Replay): Document printing of auxiliary
	information.

gdb/ChangeLog:
2020-04-28  Markus Metzger  <markus.t.metzger@intel.com>

	* arch/intelgt.c (class arch_info_gen9)<breakpoint_inst>
	<breakpoint_inst_length>: Remove.
	(arch_info_gen9::breakpoint_inst): Remove.
	(arch_info_gen9::breakpoint_inst_length): Remove.
	* arch/intelgt.h (class arch_info)<breakpoint_inst>
	<breakpoint_inst_length>: Remove.

gdb/ChangeLog:
2020-05-05  Markus Metzger  <markus.t.metzger@intel.com>

	* intelgt-tdep.c (intelgt_sw_breakpoint_from_kind): Return nullptr.

gdb/ChangeLog:
2020-05-06  Markus Metzger  <markus.t.metzger@intel.com>

	* intelgt-tdep.c (intelgt_program_breakpoint_here_p): New.
	(intelgt_gdbarch_init): Call set_gdbarch_program_breakoint_here_p.

gdb/ChangeLog:
2020-05-05  Markus Metzger  <markus.t.metzger@intel.com>

	* intelgt-tdep.c (intelgt_memory_insert_breakpoint): New.
	(intelgt_memory_remove_breakpoint): New.
	(intelgt_gdbarch_init): Set memory_insert_breakpoint and
	memory_remove_breakpoint gdbarch methods.

gdb/testsuite/ChangeLog:
2020-05-06  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* gdb.sycl/ns-break-single.exp: New file.
	* gdb.sycl/ns-individual-continue.exp: New file.
	* gdb.sycl/ns-interrupt.exp: New file.
	* gdb.sycl/ns-run-to-termination.exp: New file.
	* gdb.sycl/parallel-for-branch.cpp: New file.
	* lib/sycl.exp: Query the non-stop mode and take action
	accordingly.

gdb/ChangeLog:

2020-04-28  Markus Metzger  <markus.t.metzger@intel.com>

	* arch/intelgt.c (class arch_info_gen9)<inst_length>: New.
	(class arch_info_gen9)<inst_length_compacted, inst_length_full>:
	Declare const.
	(arch_info_gen9::inst_length_compacted): Declare const.
	(arch_info_gen9::inst_length_full): Declare const.
	(arch_info_gen9::inst_length): New.
	* arch/intelgt.h (class arch_info)<inst_length>: New.
	(class arch_info)<inst_length_compacted, inst_length_full>: Declare
	const.

gdb/ChangeLog:

2020-04-28  Markus Metzger  <markus.t.metzger@intel.com>

	* arch/intelgt.c (class arch_info_gen9)<set_breakpoint>
	<clear_breakpoint, has_breakpoint, breakpoint_bit_offset>: Declare.
	(class arch_info_gen9)<is_compacted_inst>: Declare const.
	(get_inst_bit): New.
	(set_inst_bit): New.
	(clear_inst_bit): New.
	(arch_info_gen9::is_compacted_inst): Declare const.
	(arch_info_gen9::set_breakpoint): New.
	(arch_info_gen9::clear_breakpoint): New.
	(arch_info_gen9::has_breakpoint): New.
	(arch_info_gen9::breakpoint_bit_offset): New.
	* arch/intelgt.h (class arch_info)<set_breakpoint, clear_breakpoint>
	<has_breakpoint, breakpoint_bit_offset>: Declare.
	MAX_INST_LENGTH: New.
	(class arch_info)<is_compacted_inst>: Declare const.

gdb/ChangeLog:
2020-05-27  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* remote.c (remote_notif_stop_parse): Use magic_null_ptid for the
	stop-reply's ptid if multi-process extensions are not available
	and the received event is an exit event.

gdbserver/ChangeLog:
2020-05-14  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* remote-utils.cc (read_ptid): Update to handle an already-gone
	process in case multiprocess extensions are off.
	* server.cc (handle_v_cont): Go to the error case if a ptid
	cannot be read.

gdb/gdbserver/ChangeLog:
2020-03-25  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* server.c (handle_target_event): Do not print a debug message
	in non-stop mode.

gdb/testsuite/ChangeLog:
2020-05-29  Natalia Saiapova  <natalia.saiapova@intel.com>

	* gdb.threads/simd-bp.exp: Update.
	* gdb.threads/simd-commands.exp: Update.
	* lib/sycl.exp (get_var_for_lane): New funtion.

gdb/ChangeLog:
2020-05-13  Natalia Saiapova  <natalia.saiapova@intel.com>
        * thread.c (thread_apply_all_command): Update.
        (thread_apply_all_command_1): New helper function.
        (thread_apply_all_lanes_command): New command.

gdb/doc/ChangeLog:
2020-05-13  Natalia Saiapova  <natalia.saiapova@intel.com>
        * gdb.texinfo: Describe new command `thread apply all-lanes'.

gdb/testsuite/ChangeLog:
2020-05-13  Natalia Saiapova  <natalia.saiapova@intel.com>
        * gdb.threads/simd-thread-apply.exp: Add tests for `thread apply
        all-lanes'

gdb/ChangeLog:
2020-05-13  Natalia Saiapova  <natalia.saiapova@intel.com>
	* thread.c (struct tp_emask): New struct.
	(tp_array_compar_ascending): Use tp_emask.
	(tp_array_compar_descending): Use tp_emask.
	(thread_apply_all_command): Use tp_emask when saving threads.

gdb/ChangeLog:
2020-05-13  Natalia Saiapova  <natalia.saiapova@intel.com>
	* gdbthread.h (enum class simd_lane_kind): New enum class.

gdb/ChangeLog:
2020-05-13  Natalia Saiapova  <natalia.saiapova@intel.com>
	* thread.c (thread_apply_command): Update.
	* tid-parse.c (tid_range_parser::tid_range_parser): Update.
	(tid_range_parser::init): Update.
	(tid_range_parser::finished): Update.
	(tid_range_parser::cur_tok): Update.
	(tid_range_parser::is_state_simd_lane): Implement new method.
	(tid_range_parser::skip_range): Update.
	(tid_range_parser::skip_simd_lane_range): Implement new method.
	(tid_range_parser::process_inferior_state): Add processing of ':'.
	(tid_range_parser::process_thread_state): Add processing of ':'.
	(tid_range_parser::process_simd_lane_state): Add parsing of SIMD
	lane range state.
	(tid_range_parser::get_tid_or_range): Add SIMD lane phase.
	(tid_range_parser::get_tid_range): Update.
	(tid_range_parser::get_tid): Update.
	(tid_range_parser::in_thread_star_range): Update.
	(tid_range_parser::in_simd_lane_star_range): Implement new
	method.
	(tid_is_in_list): Update.
	* tid-parse.h (class tid_range_parser):
	<tid_range_parser>: Add default_thr_num argument.
	<init>: Add default_thr_num argument.
	<get_tid>: Add simd_lane_num argument.
	<in_state_simd_lane>: New public method.
	<in_simd_lane_star_range>: New public method.
	<m_in_simd_lane_star_range>: New private field.
	<skip_simd_lane_range>: New public method.
	<process_thread_state>: Add new argument.
	<process_simd_lane_state>: New private method.
	<m_state>: Add STATE_SIMD_LANE_RANGE.
	<m_simd_lane_range_parser>: New private field.
	<m_simd_lane_num>: New private field.
	<m_default_thr_num>: New private field.

gdb/doc/ChangeLog:
2020-05-13  Natalia Saiapova  <natalia.saiapova@intel.com>
	* gdb.texinfo: Describe SIMD ranges.

gdb/testsuite/ChangeLog:
2020-05-13  Natalia Saiapova  <natalia.saiapova@intel.com>
	* gdb.threads/simd-thread-apply.cpp: New test.
	* gdb.threads/simd-thread-apply.exp: New file.

gdb/ChangeLog:
2022-02-02  Mohamed Bouhaouel  <mohamed.bouhaouel@intel.com>

	* gdb/gdbthread.h (get_simd_width): New function.
	* gdb/thread.c (thread_info::get_simd_width): Function body.

gdb/ChangeLog:
2021-07-05  Markus Metzger  <markus.t.metzger@intel.com>

	* thread.c (print_thread_info_1): Check thread state.
	(thread_command): Likewise.
	(print_selected_thread_frame): Likewise.

gdb/ChangeLog:
2020-05-13  Natalia Saiapova  <natalia.saiapova@intel.com>
	* tid-parse.c (tid_range_parser::process_thread_state): Update.
	(tid_range_parser::get_tid_or_range): Implement new method.
	* tid-parse.h (class tid_range_parser):
	<process_thread_state>: New private method.

gdb/ChangeLog:
2020-05-13  Natalia Saiapova  <natalia.saiapova@intel.com>
	* tid-parse.c (tid_range_parser::get_tid_or_range): Update.
	(tid_range_parser::process_inferior_state): Implement new
	method.
	* tid-parse.h (class tid_range_parser):
	<process_inferior_state>: New private method.

gdb/ChangeLog:
2020-05-14  Natalia Saiapova  <natalia.saiapova@intel.com>
	* cli/cli-utils.c (number_or_range_parser::set_end_ptr):
	Implement new method.
	* cli/cli-utils.h (class number_or_range_parser): New public
	method.

gdb/ChangeLog:
2020-05-13  Natalia Saiapova  <natalia.saiapova@intel.com>
	* cli/cli-utils.c (number_or_range_parser::init): Update.
	(number_or_range_parser::get_number): Use m_end_trailer.
	* cli/cli-utils.h (class number_or_range_parser):
	<init>: New argument.
	<m_end_trailer>: New field.

gdb/testsuite/ChangeLog:
2020-05-25  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* gdb.sycl/intelgt-auto-attach.exp: New file.

gdb/testsuite/ChangeLog:
2020-05-18  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* gdb.base/coredump-filter.exp: Remove paths from test results.

bfd/ChangeLog:
2020-05-13  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* cpu-intelgt.c: Update the copyright year.
	* elf64-intelgt.c: Ditto.

gdb/ChangeLog:
2020-05-13  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* arch/intelgt.c: Update the copyright year.
	* arch/intelgt.h: Ditto.
	* features/intelgt-arf9.xml: Ditto.
	* features/intelgt-grf.xml: Ditto.
	* intelgt-tdep.c: Ditto.
	* python/lib/gdb/function/sycl_accessors.py: Ditto.
	* python/lib/gdb/printer/sycl_printers.py: Ditto.

gdb/testsuite/ChangeLog:
2020-05-13  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* boards/sycl-cpu-intel.exp: Update the copyright year.
	* boards/sycl-cpu.exp: Ditto.
	* boards/sycl-host.exp: Ditto.
	* boards/sycl-intelfpga.exp: Ditto.
	* boards/sycl-intelgt.exp: Ditto.
	* gdb.arch/intelgt-disassemble.exp: Ditto.
	* gdb.arch/intelgt-emask.cpp: Ditto.
	* gdb.arch/intelgt-emask.exp: Ditto.
	* gdb.arch/intelgt-info-reg.exp: Ditto.
	* gdb.arch/sycl-simple.cpp: Ditto.
	* gdb.base/jit-reregister.c: Ditto.
	* gdb.multi/schedule-multi-allstop.c: Ditto.
	* gdb.multi/schedule-multi-allstop.exp: Ditto.
	* gdb.sycl/accessor1d.cpp: Ditto.
	* gdb.sycl/accessor1d.exp: Ditto.
	* gdb.sycl/accessor2d.cpp: Ditto.
	* gdb.sycl/accessor2d.exp: Ditto.
	* gdb.sycl/accessor3d.cpp: Ditto.
	* gdb.sycl/accessor3d.exp: Ditto.
	* gdb.sycl/break-before-kernel-workaround.exp: Ditto.
	* gdb.sycl/break-before-kernel.exp: Ditto.
	* gdb.sycl/break.exp: Ditto.
	* gdb.sycl/break2.exp: Ditto.
	* gdb.sycl/call-stack.cpp: Ditto.
	* gdb.sycl/call-stack.exp: Ditto.
	* gdb.sycl/cond-bp-on-local.exp: Ditto.
	* gdb.sycl/delete-bp.exp: Ditto.
	* gdb.sycl/disable-bp.exp: Ditto.
	* gdb.sycl/infcall-parallel-for.exp: Ditto.
	* gdb.sycl/infcall.exp: Ditto.
	* gdb.sycl/info-locals-and-args.exp: Ditto.
	* gdb.sycl/multi-kernel-async.cpp: Ditto.
	* gdb.sycl/multi-kernel-async.exp: Ditto.
	* gdb.sycl/multi-kernel-unnamed.cpp: Ditto.
	* gdb.sycl/multi-kernel-unnamed.exp: Ditto.
	* gdb.sycl/multi-kernel.cpp: Ditto.
	* gdb.sycl/multi-kernel.exp: Ditto.
	* gdb.sycl/multi-queue.cpp: Ditto.
	* gdb.sycl/multi-queue.exp: Ditto.
	* gdb.sycl/nd_item.cpp: Ditto.
	* gdb.sycl/nd_item.exp: Ditto.
	* gdb.sycl/parallel-for-1D.cpp: Ditto.
	* gdb.sycl/parallel-for-1D.exp: Ditto.
	* gdb.sycl/parallel-for-2D.cpp: Ditto.
	* gdb.sycl/parallel-for-2D.exp: Ditto.
	* gdb.sycl/pretty-print.cpp: Ditto.
	* gdb.sycl/pretty-print.exp: Ditto.
	* gdb.sycl/read.exp: Ditto.
	* gdb.sycl/run-to-termination.exp: Ditto.
	* gdb.sycl/single-task.cpp: Ditto.
	* gdb.sycl/step-into-function.exp: Ditto.
	* gdb.sycl/step-parallel-for.exp: Ditto.
	* gdb.sycl/step.exp: Ditto.
	* gdb.sycl/temporary-bp.exp: Ditto.
	* gdb.sycl/work-item-index.exp: Ditto.
	* gdb.sycl/write-data.exp: Ditto.
	* gdb.sycl/write-local.exp: Ditto.
	* gdb.threads/simd-info-threads.exp: Ditto.
	* lib/sycl-hello.cpp: Ditto.
	* lib/sycl-util.cpp: Ditto.
	* lib/sycl.exp: Ditto.

gdb/testsuite/ChangeLog:
2020-05-13  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* boards/testgdb-native.exp: Increase gdb test timeout for GPU
	and FPGA tests.

gdb/testsuite/ChangeLog:
2020-04-20  Abdul Basit Ijaz  <abdul.b.ijaz@intel.com>
	    Aleksandar Paunovic  <aleksandar.paunovic@intel.com>

	* boards/openmp-cpu.exp: New file.
	* boards/openmp-gpu.exp: New file.
	* boards/openmp-host.exp: New file.
	* lib/openmp.exp: New file.
	* lib/openmp-devices.cpp: New file.
	* lib/openmp-devices.f90: New file.
	* gdb.openmp/break-before-kernel-workaround.exp: New file.
	* gdb.openmp/break-before-kernel.exp: New file.
	* gdb.openmp/break-inside-kernel.exp: New file.
	* gdb.openmp/break.exp: New file.
	* gdb.openmp/break2.exp: New file.
	* gdb.openmp/cond-bp-on-local.exp: New file.
	* gdb.openmp/delete-bp.exp: New file.
	* gdb.openmp/disable-bp.exp: New file.
	* gdb.openmp/parallel-for-1D.cpp: New file.
	* gdb.openmp/parallel-for-1D.f90: New file.
	* gdb.openmp/temporary-bp.exp: New file.
	* gdb.openmp/infcall-parallel-for.exp: New file.
	* gdb.openmp/step-parallel-for.exp: New file.
	* gdb.openmp/local-vars.cpp: New file.
	* gdb.openmp/local-vars.f90: New file.
	* gdb.openmp/single-task.cpp: New file.
	* gdb.openmp/single-task.f90: New file.
	* gdb.openmp/call-stack.cpp: New file.
	* gdb.openmp/call-stack.exp: New file.
	* gdb.openmp/call-stack.f90: New file.
	* gdb.openmp/parallel-for-2D.exp: New file.
	* gdb.openmp/parallel-for-2D.cpp: New file.
	* gdb.openmp/parallel-for-2D.f90: New file.
	* gdb.openmp/read.exp: New file.
	* gdb.openmp/step-into-function.exp: New file.
	* gdb.openmp/step.exp: New file.
	* gdb.openmp/write-local.exp: New file.
	* gdb.openmp/multi-kernel-async.cpp: New file.
	* gdb.openmp/multi-kernel-async.exp: New file.
	* gdb.openmp/multi-kernel-async.f90: New file.
	* gdb.openmp/multi-kernel-unnamed.cpp: New file.
	* gdb.openmp/multi-kernel-unnamed.exp: New file.
	* gdb.openmp/multi-kernel-unnamed.f90: New file.
	* gdb.openmp/multi-kernel.cpp: New file.
	* gdb.openmp/multi-kernel.exp: New file.
	* gdb.openmp/multi-kernel.f90: New file.
	* gdb.openmp/info-locals-and-args.exp: New file.
	* gdb.openmp/intelgt-auto-attach.exp: New file.
	* gdb.openmp/intelgt-run-inf2.exp: New file.
	* gdb.openmp/run-to-termination.exp: New file.

gdb/ChangeLog:
2020-05-05  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* remote.c (remote_target::remote_detach_1): Tolerate an error
	in the detach request if there exists a pending exit event.

gdb/testsuite/ChangeLog:
2019-04-17  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* gdb.multi/schedule-multi-allstop.c: New file.
	* gdb.multi/schedule-multi-allstop.exp: New file.

gdb/ChangeLog:
2020-05-04  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* gdbthread.h (first_non_exited_thread_of_inferior): New function
	declaration.
	* thread.c (first_non_exited_thread_of_inferior): New function
	implementation.

gdb/ChangeLog:
2019-05-28  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* infrun.c (clear_proceed_status): Clear proceed status of
	threads' inferiors.

gdb/testsuite/ChangeLog:
2019-09-16  Mihails Strasuns  <mihails.strasuns@intel.com>

	* gdb.sycl/accessor1d.cpp: New file.
	* gdb.sycl/accessor1d.exp: New file.
	* gdb.sycl/accessor2d.cpp: New file.
	* gdb.sycl/accessor2d.exp: New file.
	* gdb.sycl/accessor3d.cpp: New file.
	* gdb.sycl/accessor3d.exp: New file.

gdb/ChangeLog:
2020-06-16  Mihails Strasuns  <mihails.strasuns@intel.com>

	* breakpoint.c (disable_breakpoints_in_unloaded_shlib): Renamed
	to 'disable_breakpoints_in_unloaded_objfile` and changed to
	accept an objfile as an argument.
	(disable_breakpoints_in_unloaded_shlib): New function.
	disable_breakpoints_in_unloaded_jit_objects): New function.
	* jit.c (jit_unregister_code): New function, called to handle
	JIT_UNREGISTER and discard a jit objfile properly.
	* observable.c, observable.h: New observable, 'jit_object_unloaded'.

gdb/testsuite/ChangeLog:
2020-06-16  Mihails Strasuns  <mihails.strasuns@intel.com>

	* gdb.base/jit-elf-reregister.c, gdb.base/jit-elf-reregister.exp: New
	test case, verifies that breakpoints still hit if a jit object
	that contains them gets reloaded and mapped again to the same
	base address.

gdb/testsuite/ChangeLog:
2020-03-19  Natalia Saiapova  <natalia.saiapova@intel.com>
	* gdb.threads/simd.cpp: Update.
	* gdb.threads/simd-bp-multi-lane.exp: New file.
	* gdb.threads/simd-bp.exp: Update.
	* gdb.threads/simd-commands.exp: New file.

gdb/testsuite/ChangeLog:
2019-09-16  Natalia Saiapova  <natalia.saiapova@intel.com>

	* gdb/testsuite/gdb.threads/simd-bp.exp: New file.
	* gdb/testsuite/gdb.threads/simd-info-threads.exp: New file.
	* gdb/testsuite/gdb.threads/simd-thread.exp: New file.
	* gdb/testsuite/gdb.threads/simd.cpp: New test.
	* gdb/testsuite/lib/sycl.exp:
	(get_current_thread): New function.

gdb/ChangeLog:
2019-07-17  Natalia Saiapova  <natalia.saiapova@intel.com>

	* gdbthread.h (thread_info::<simd_lane_num>): New field.
	(print_thread_id): Add LANES parameter.
	(class scoped_restore_current_simd_lane): New class declaration.
	(thread_select): Add SIMD_LANE_NUM parameter.
	(find_first_active_simd_lane): New function.
	(for_active_lanes): New function.
	* thread.c (thread_info::has_simd_lanes): New method.
	(thread_info::active_simd_lanes_mask): New method.
	(thread_info::current_simd_lane): New method.
	(thread_info::set_current_simd_lane): New method.
	(thread_info::is_simd_lane_active): New method.
	(find_first_active_simd_lane): New function.
	(print_thread_row): New static function.
	(print_thread_info_1): Update for SIMD lanes.
	(scoped_restore_current_simd_lane::scoped_restore_current_simd_lane):
	Constructor implementation.
	(scoped_restore_current_simd_lane::~scoped_restore_current_simd_lane):
	Destructor implementation.
	(print_thread_id): Update for the new parameter.
	(thread_should_execute): New static function.
	(thread_apply_to_lane): New static function.
	(thr_try_catch_cmd): Update for SIMD lanes.
	(thread_command): Update for SIMD lanes.
	(thread_select): Update for the new parameter.
	(print_selected_thread_frame): Update for SIMD lanes.
	* infrun.c (process_event_stop_test): Update for SIMD lane.
	(normal_stop): Update for SIMD lane.
	* tid-parse.h (parse_thread_id): Add SIMD_LANE_NUM parameter.
	* tid-parse.c (parse_thread_id): Update for the new parameter.

gdb/doc/ChangeLog:
2019-07-17  Natalia Saiapova  <natalia.saiapova@intel.com>

	* gdb.texinfo: Update with SIMD lane information.

gdb/ChangeLog:
2019-07-17  Natalia Saiapova  <natalia.saiapova@intel.com>

	* cli/cli-utils.c (make_ranges_from_sorted_vector): New function.
	* cli/cli-utils.h (make_ranges_from_sorted_vector): New function.

gdb/ChangeLog:
2019-07-17  Natalia Saiapova  <natalia.saiapova@intel.com>

	* gdb/intelgt-tdep.c
	(intelgt_active_lanes_mask): New function.
	(intelgt_gdbarch_init): Call set_gdbarch_active_lanes_mask.

gdb/ChangeLog:
2019-07-17  Natalia Saiapova  <natalia.saiapova@intel.com>

	* gdbarch.sh (active_lanes_mask): New method.
	* gdbarch.c: Regenerate.
	* gdbarch.h: Regenerate.

gdb/ChangeLog:
2022-04-06  Nils-Christian Kempke  <nils-christian.kempke@intel.com>

	* gdbthread.h (has_inferior_thread): New declaration.
	* thread.c (has_inferior_thread): New method.

gdb/ChangeLog:
2019-12-04  Felix Willgerodt  <felix.willgerodt@intel.com>

	* gdb.c (__declspec): New windows keyword.

gdb/gdbserver/ChangeLog:
2019-12-04  Felix Willgerodt  <felix.willgerodt@intel.com>

	* server.c (__declspec): New windows keyword.

gdb/testsuite/ChangeLog:
2019-09-17  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* gdb.sycl/pretty-print.cpp: New test.
	* gdb.sycl/pretty-print.exp: New file.

gdb/ChangeLog:
2019-09-10  Natalia Saiapova  <natalia.saiapova@intel.com>

	* intelgt-tdep.c: Set gdbarch_has_dos_based_file_system to 1
	on Windows.

gdb/testsuite/ChangeLog:
2019-11-27  Mihails Strasuns  <mihails.strasuns@intel.com>

	* gdb.sycl/break-before-kernel-workaround.exp: New test case.

gdb/testsuite/ChangeLog:
2019-08-06  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* gdb.arch/intelgt-emask.exp: New test.
	* gdb.arch/intelgt-emask.cpp: New file.

gdb/testsuite/ChangeLog:
2019-08-06  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* gdb.arch/intelgt-info-reg.exp: New test.

gdb/ChangeLog:
2019-09-04  Mihails Strasuns  <mihails.strasuns@intel.com>

	* infrun.c (do_target_wait): assertion for a possibly
	uninitialized variable.

gdb/testsuite/ChangeLog:
2020-01-20  Albertano Caruso  <albertano.caruso@intel.com>

	* gdb.sycl/intelgt-run-inf2.exp: New file.

gdb/ChangeLog:
2019-07-10  Albertano Caruso  <albertano.caruso@intel.com>
	    Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>
	    Mihails Strasuns  <mihails.strasuns@intel.com>

	* data-directory/Makefile.in: Update.
	* python/lib/gdb/function/intelgt_auto_attach.py: New file.

gdb/ChangeLog:
2020-09-24  Felix Willgerodt  <felix.willgerodt@intel.com>

	* configure.ac: Use C++ compiler for testing libiga dependency.
	* configure: Regenerated.

gdb/ChangeLog:
2019-03-07  Mircea Gherzan  <mircea.gherzan@intel.com>
	    Fabian Schnell  <fabian.schnell@intel.com>
	    Ofir Cohen  <ofir.o.cohen@intel.com>
	    Arik Adler 	<arik.adler@intel.com>
	    Sanimir Agovic  <sanimir.agovic@intel.com>
	    Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* Makefile.in (ALL_64_TARGET_OBS): Add intelgt files.
	* configure.tgt (intelgt-*-elf): New target.
	* intelgt-tdep.c: New file.

gdb/ChangeLog:
2019-03-07  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* arch/intelgt.c: New file.
	* arch/intelgt.h: New file.

gdb/gdbserver/ChangeLog:
2019-03-07  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* acinclude.m4: Include ../../config/lib-ld.m4,
	include ../../config/lib-prefix.m4,
	include ../../config/lib-link.m4.

gdb/ChangeLog:
2019-03-07  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* gdbsupport/tdesc.c (tdesc_predefined_types): Add int256 and
	uint256.
	* gdbsupport/tdesc.h (enum tdesc_type_kind) <TDESC_TYPE_INT256>: New
	enum value.
	(enum tdesc_type_kind) <TDESC_TYPE_UINT256>: New enum value.
	* target-descriptions.c (make_gdb_type): Update to handle the
	new cases, TDESC_TYPE_INT256 and TDESC_TYPE_UINT256.
	* gdbtypes.h (struct builtin_type) <builtin_int256>: New field.
	(struct builtin_type) <builtin_uint256>: New field.
	* gdbtypes.c (gdbtypes_post_init): Update to initialize the
	two new fields, builtin_int256 and builtin_uint256.

gdb/doc/ChangeLog:
2019-03-07  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* gdb.texinfo (Predefined Target Types): Add int256 and uint256.

gdb/testsuite/ChangeLog:
2019-01-31  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* gdb.sycl/info-locals-and-args.exp: New file.

gdb/testsuite/ChangeLog:
2019-01-31  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* gdb.sycl/infcall-parallel-for.exp: New file.
	* gdb.sycl/infcall.exp: New file.
	* gdb.sycl/parallel-for-1D.cpp (get_dim): New function.
        (main): Call it.

gdb/testsuite/ChangeLog:
2019-01-31  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* gdb.sycl/cond-bp-on-local.exp: New file.

gdb/testsuite/ChangeLog:
2019-01-31  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* gdb.sycl/nd_item.cpp: New file.
	* gdb.sycl/nd_item.exp: New file.

gdb/testsuite/ChangeLog:
2019-01-31  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* gdb.sycl/parallel-for-1D.cpp: New file.
	* gdb.sycl/parallel-for-1D.exp: New file.
	* gdb.sycl/parallel-for-2D.cpp: New file.
	* gdb.sycl/parallel-for-2D.exp: New file.
	* gdb.sycl/step-parallel-for.exp: New file.
	* gdb.sycl/work-item-index.exp: New file.

gdb/testsuite/ChangeLog:
2019-01-31  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* gdb.sycl/read.exp: New file.
	* gdb.sycl/step-into-function.exp: New file.
	* gdb.sycl/step.exp: New file.
	* gdb.sycl/write-data.exp: New file.
	* gdb.sycl/write-local.exp: New file.

gdb/testsuite/ChangeLog:
2019-10-17  Mihails Strasuns  <mihails.strasuns@intel.com>

	* gdb.sycl/multi-queue.cpp: New test.
	* gdb.sycl/multi-queue.exp: New file.

gdb/testsuite/ChangeLog:
2019-01-31  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* gdb.sycl/multi-kernel-async.cpp: New test.
	* gdb.sycl/multi-kernel-async.exp: New file.
	* gdb.sycl/multi-kernel-unnamed.cpp: New test.
	* gdb.sycl/multi-kernel-unnamed.exp: New file.
	* gdb.sycl/multi-kernel.cpp: New file.
	* gdb.sycl/multi-kernel.exp: New file.

gdb/testsuite/ChangeLog:
2019-01-31  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* gdb.sycl/delete-bp.exp: New file.
	* gdb.sycl/disable-bp.exp: New file.
	* gdb.sycl/temporary-bp.exp: New file.

gdb/testsuite/ChangeLog:
2018-11-23  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* lib/sycl.exp (require_sycl_device): New function.

gdb/testsuite/ChangeLog:
2018-11-15  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* gdb.sycl/call-stack.cpp: New file.
	* gdb.sycl/call-stack.exp: New file.

gdb/testsuite/ChangeLog:
2018-11-15  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* boards/sycl-cpu-intel.exp: New file.
	* boards/sycl-cpu.exp: New file.
	* boards/sycl-host.exp: New file.
	* boards/sycl-intelfpga.exp: New file.
	* boards/sycl-intelgt.exp: New file.
	* gdb.sycl/break-before-kernel.exp: New file.
	* gdb.sycl/break.exp: New file.
	* gdb.sycl/break2.exp: New file.
	* gdb.sycl/run-to-termination.exp: New file.
	* gdb.sycl/single-task.cpp: New file.
	* lib/sycl-hello.cpp: New file.
	* lib/sycl-util.cpp: New file.
	* lib/sycl.exp: New file.

gdb/ChangeLog:
2019-05-13  Natalia Saiapova  <natalia.saiapova@intel.com>

	* gdb/NEWS: New set/show scheduler-locking-eval commands.
	* gdb/infrun.c (user_visible_resume_ptid):
	(schedlock_applies): Update for eval mode.
	(show_schedlock_eval): New function.
	(show_schedlock_eval): New function.
	(scheduler_locking): New structure.

gdb/doc/ChangeLog:
2019-05-13  Natalia Saiapova  <natalia.saiapova@intel.com>

	* gdb.texinfo (All-Stop Mode): Document `set/show
	scheduler-locking-eval` commands.

gdb/testsuite/ChangeLog:
2019-05-13  Natalia Saiapova  <natalia.saiapova@intel.com>

	* gdb/testsuite/gdb.threads/schedlock.exp: Add tests for
	scheduler-locking-eval setting.

gdb/ChangeLog:
2019-03-21  Markus Metzger  <markus.t.metzger@intel.com>

	* jit.c: Include filestuff.h.
	(maint_jit_cmdlist): New.
	(maint_jit_command, maint_jit_dump_command): New.
	(_initialize_jit): Initialize maint jit dump command.
	* NEWS: Announce maint jit dump.

gdb/doc/ChangeLog:
2019-03-21  Markus Metzger  <markus.t.metzger@intel.com>

	* gdb.texinfo (Maintenance Commands): Document maint jit dump.

gdb/ChangeLog:
2020-04-14  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* infrun.c (proceed): Remove the 'check_multi_target_resumption'
	call.
	(check_multi_target_resumption): Remove.

gdbserver/ChangeLog:
2020-04-29  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* configure.srv: Use $target for $gdbserver_host.

gdb/ChangeLog:
2019-01-03  Tim Wiederhake  <tim.wiederhake@intel.com>

	* python/python.c: Set Python Home.

gdb/ChangeLog:
2020-01-07  Felix Willgerodt  <felix.willgerodt@intel.com>

	* top.c (print_gdb_version): Add Intel copyright lines.

gdb/doc/ChangeLog:
2020-01-07  Felix Willgerodt  <felix.willgerodt@intel.com>

	* gdb.texinfo: Add Intel copyright lines.

gdb/gdbserver/ChangeLog:
2020-01-07  Felix Willgerodt  <felix.willgerodt@intel.com>

	* gdbreplay.c (gdbreplay_version): Add Intel copyright lines.
	* server.c (gdbserver_version): Add Intel copyright lines.

gdb/testsuite/ChangeLog:
2020-01-07  Felix Willgerodt  <felix.willgerodt@intel.com>

	* gdb.gdb/selftest.exp: Add Intel copyright lines.

ChangeLog:
2020-03-26  Felix Willgerodt  <felix.willgerodt@intel.com>

	* Makefile.in: Add Windows properties.

gdb/ChangeLog:
2020-03-26  Felix Willgerodt  <felix.willgerodt@intel.com>

	* Makefile.in: Add Windows properties.
	* configure.ac: Ditto
	* configure: Regenerate.
	* gdb_exe_properties.rc: New file.

gdbserver/ChangeLog:
2020-03-26  Felix Willgerodt  <felix.willgerodt@intel.com>

	* Makefile.in: Add Windows properties.
	* configure.ac: Ditto.
	* configure: Regenerate.

gdb/testsuite/ChangeLog:
2020-05-07  Felix Willgerodt  <felix.willgerodt@intel.com>

	* boards/testgdb-native.exp: New file.
	* boards/testgdbserver-native.exp: New file.

ChangeLog:

	* libsframe/doc/sframe-spec.texi

ChangeLog:

	* testsuite/gas/cfi-sframe/cfi-sframe-aarch64-2.d: New test.
	* testsuite/gas/cfi-sframe/cfi-sframe-aarch64-2.s: Likewise.
	* testsuite/gas/cfi-sframe/cfi-sframe.exp: Adjust the list
	accordingly.

ChangeLog:

        * libsframe/sframe-dump.c (dump_sframe_func_with_fres): Postfix
	with "[s]" if RA is signed with authorization code.

include/ChangeLog:

	* sframe-api.h (sframe_fre_get_ra_mangled_p): New declaration.

ChangeLog:

	* libsframe/sframe.c (sframe_get_fre_ra_mangled_p): New
	definition.
	(sframe_fre_get_ra_mangled_p): New static function.

ChangeLog:

	* gas/gen-sframe.c (sframe_v1_set_fre_info): Add new argument
	for mangled_ra_p.
	(sframe_set_fre_info): Likewise.
	(output_sframe_row_entry): Handle mangled_ra_p.
	(sframe_row_entry_new): Reset mangled_ra_p.
	(sframe_row_entry_initialize): Initialize mangled_ra_p.
	(sframe_xlate_do_gnu_window_save): New definition.
	(sframe_do_cfi_insn): Handle DW_CFA_GNU_window_save.
	* gas/gen-sframe.h (struct sframe_row_entry): New member.
	(struct sframe_version_ops): Add a new argument for
	mangled_ra_p.
	* gas/testsuite/gas/cfi-sframe/cfi-sframe.exp: Remove test.
	* gas/testsuite/gas/cfi-sframe/common-empty-4.d: Removed.
	* gas/testsuite/gas/cfi-sframe/common-empty-4.s: Removed.

include/ChangeLog:

	* sframe.h (SFRAME_V1_FRE_INFO_UPDATE_MANGLED_RA_P): New macro.
	(SFRAME_V1_FRE_MANGLED_RA_P): Likewise.

ChangeLog:

	PR libsframe/29856
	* bfd/elf64-x86-64.c: Adjust as the struct members have been
	reordered.
	* libsframe/sframe.c (sframe_decode_fre_start_address): Use
	memcpy to perform 16-bit/32-bit reads.
	* libsframe/testsuite/libsframe.encode/encode-1.c: Adjust as the
	struct members have been reordered.

include/ChangeLog:

	PR libsframe/29856
	* sframe-api.h: Reorder fre_offsets for natural alignment.

gas/ChangeLog:

        * config/tc-riscv.c (arg_lookup): Add string length check for operands.
        * testsuite/gas/riscv/vector-insns-fail-vsew.d: New testcase for an illegal vsew.
        * testsuite/gas/riscv/vector-insns-fail-vsew.l: Likewise.
        * testsuite/gas/riscv/vector-insns-fail-vsew.s: Likewise.

bfd/ChangeLog:

	* elf-linker-x86.h (struct elf_linker_x86_params): Remove
	bndplt.
	* elf64-x86-64.c (elf_x86_64_scan_relocs): Ignore
        R_X86_64_PLT32_BND.
	(elf_x86_64_relocate_section): Similarly here.
	(elf_x86_64_link_setup_gnu_properties): Ignore bndplt.
	* elfxx-x86.c: Likewise.
	* elfxx-x86.h: Likewise.

gold/ChangeLog:

	* NEWS: Document -z bndplt.
	* options.h (class General_options): Remove bndplt option.
	* x86_64.cc (class Output_data_plt_x86_64_bnd): Remove.
	(Target_x86_64::do_make_data_plt): Do not use
	Output_data_plt_x86_64_bnd.
	(Target_x86_64::Scan::get_reference_flags): Likewise.
	(Target_x86_64::Scan::check_non_pic): Likewise.
	(Target_x86_64::Scan::local): Likewise.
	(Target_x86_64::Scan::global): Likewise.

ld/ChangeLog:

	* NEWS: Document -z bndplt.
	* emulparams/elf_x86_64.sh: Remove bndplt option.
	* ld.texi: Likewise.
	* testsuite/ld-x86-64/x86-64.exp:
	* testsuite/ld-x86-64/bnd-branch-1-now.d: Removed.
	* testsuite/ld-x86-64/bnd-branch-1.d: Removed.
	* testsuite/ld-x86-64/bnd-branch-1.s: Removed.
	* testsuite/ld-x86-64/bnd-ifunc-1-now.d: Removed.
	* testsuite/ld-x86-64/bnd-ifunc-1.d: Removed.
	* testsuite/ld-x86-64/bnd-ifunc-1.s: Removed.
	* testsuite/ld-x86-64/bnd-ifunc-2-now.d: Removed.
	* testsuite/ld-x86-64/bnd-ifunc-2.d: Removed.
	* testsuite/ld-x86-64/bnd-ifunc-2.s: Removed.
	* testsuite/ld-x86-64/bnd-plt-1-now.d: Removed.
	* testsuite/ld-x86-64/bnd-plt-1.d: Removed.
	* testsuite/ld-x86-64/mpx.exp: Removed.
	* testsuite/ld-x86-64/mpx1.out: Removed.
	* testsuite/ld-x86-64/mpx1a.c: Removed.
	* testsuite/ld-x86-64/mpx1a.rd: Removed.
	* testsuite/ld-x86-64/mpx1b.c: Removed.
	* testsuite/ld-x86-64/mpx1c.c: Removed.
	* testsuite/ld-x86-64/mpx1c.rd: Removed.
	* testsuite/ld-x86-64/mpx2.out: Removed.
	* testsuite/ld-x86-64/mpx2a.c: Removed.
	* testsuite/ld-x86-64/mpx2a.rd: Removed.
	* testsuite/ld-x86-64/mpx2b.c: Removed.
	* testsuite/ld-x86-64/mpx2c.c: Removed.
	* testsuite/ld-x86-64/mpx2c.rd: Removed.
	* testsuite/ld-x86-64/mpx3.dd: Removed.
	* testsuite/ld-x86-64/mpx3a.s: Removed.
	* testsuite/ld-x86-64/mpx3b.s: Removed.
	* testsuite/ld-x86-64/mpx3n.dd: Removed.
	* testsuite/ld-x86-64/mpx4.dd: Removed.
	* testsuite/ld-x86-64/mpx4a.s: Removed.
	* testsuite/ld-x86-64/mpx4b.s: Removed.
	* testsuite/ld-x86-64/mpx4n.dd: Removed.
	* testsuite/ld-x86-64/pr20800a.S: Removed.
	* testsuite/ld-x86-64/pr20800b.S: Removed.
	* testsuite/ld-x86-64/pr21038a-now.d: Removed.
	* testsuite/ld-x86-64/pr21038a.d: Removed.
	* testsuite/ld-x86-64/pr21038a.s: Removed.
	* testsuite/ld-x86-64/pr21038b-now.d: Removed.
	* testsuite/ld-x86-64/pr21038b.d: Removed.
	* testsuite/ld-x86-64/pr21038b.s: Removed.
	* testsuite/ld-x86-64/pr21038c-now.d: Removed.
	* testsuite/ld-x86-64/pr21038c.d: Removed.
	* testsuite/ld-x86-64/pr21038c.s: Removed.

ChangeLog:

	* libctf/Makefile.in: Regenerated.
	* libctf/aclocal.m4: Likewise.
	* libctf/config.h.in: Likewise.
	* libctf/configure: Likewise.
	* libctf/configure.ac: Remove ZSTD_LIBS from LIBS.  Cleanup
	unused AC_ZSTD.

ChangeLog:

	* libctf/configure: Regenerated.
	* libctf/configure.ac: remove AC_CONFIG_MACRO_DIR usage.

ChangeLog:

	* libctf/configure: Regenerated.
	* libctf/configure.ac: remove zlib from LDFLAGS and LIBS.

ChangeLog:

	* binutils/objdump.c (dump_section_sframe): free up contents and
	SFrame decoder context on exit.

ChangeLog:

	* bfd/elfxx-x86.c (_bfd_x86_elf_create_sframe_plt): Use new
	name.
	* libsframe/sframe.c (sframe_fde_create_func_info): Rename
	sframe_fde_func_info to this.
	* libsframe/testsuite/libsframe.encode/encode-1.c: Use new name.

include/ChangeLog:

	* sframe-api.h (sframe_fde_create_func_info): Rename
	sframe_fde_func_info to this.

ChangeLog:

	* gas/gen-sframe.c (create_func_info_exp): New definition.
	(output_sframe_funcdesc): Call create_func_info_exp.
	* gas/sframe-opt.c (sframe_estimate_size_before_relax): The
	associated fragment uses O_modulus now.
	(sframe_convert_frag): Adjust the fragment fixup code according
	to the new composite exp.

ChangeLog:

	* gas/sframe-opt.c (sframe_estimate_size_before_relax):
	(sframe_convert_frag): Do not use magic numbers.
	* libsframe/sframe.c (sframe_calc_fre_type): Likewise.

include/ChangeLog:

	* sframe.h (SFRAME_FRE_TYPE_ADDR1_LIMIT): New constant.
	(SFRAME_FRE_TYPE_ADDR2_LIMIT): Likewise.
	(SFRAME_FRE_TYPE_ADDR4_LIMIT): Likewise.

include/ChangeLog:

	* sframe.h (SFRAME_V1_FUNC_INFO): Use specific bits only.
	(SFRAME_V1_FRE_INFO): Likewise.

ChangeLog:

	* libsframe/sframe.c: Fix formatting nits.

opcodes/ChangeLog:

	* i386-dis.c (OP_E_memory): Remove vex.w check for xh_mode.

bfd/ChangeLog:

	* elfnn-loongarch.c (loongarch_elf_relocate_section): Likewise.

binutils/ChangeLog:

	* dwarf.c (display_debug_loc): Adjust holes detections for
	headers and locviews.

ChangeLog:

        * src-release.sh (GDB_SUPPORT_DIRS): Add libsframe.

bfd/ChangeLog:

	* elfnn-riscv.c (riscv_merge_std_ext): Add 'H' extension merging.

gas/ChangeLog:

	* testsuite/gas/riscv/insn.s: Add testcases such that big number
	handling is required and should be disassembled as long ".byte"
	sequence with correct instruction bits.
	* testsuite/gas/riscv/insn.d: Likewise.
	* testsuite/gas/riscv/insn-na.d: Likewise.
	* testsuite/gas/riscv/insn-dwarf.d: Likewise.

gas/ChangeLog:

	* config/tc-riscv.c (struct riscv_cl_insn): Add long opcode field.
	(create_insn) Clear long opcode marker.
	(install_insn) Install longer opcode as well.
	(s_riscv_insn) Likewise.
	(riscv_ip_hardcode): Make big number handling stricter. Length and
	the value conflicts only if the bignum size exceeds the expected
	maximum length.

opcodes/ChangeLog:

	* riscv-dis.c (riscv_disassemble_insn): Print unknown instruction
	using the new argument packet.
	(riscv_disassemble_data): Add unused argument packet.
	(print_insn_riscv): Pass packet to the disassemble function.

bfd/ChangeLog:

	* elfxx-riscv.c: Add 'smaia' and 'ssaia' to the list
	of known standard extensions.

gas/ChangeLog:

	* config/tc-riscv.c (enum riscv_csr_class):
	(riscv_csr_address): Add CSR classes for Smaia/Ssaia.
	* testsuite/gas/riscv/csr-dw-regnums.d: Add new CSRs.
	* testsuite/gas/riscv/csr-dw-regnums.s: Likewise.
	* testsuite/gas/riscv/csr-version-1p10.d: Likewise.
	* testsuite/gas/riscv/csr-version-1p10.l: Likewise.
	* testsuite/gas/riscv/csr-version-1p11.d: Likewise.
	* testsuite/gas/riscv/csr-version-1p11.l: Likewise.
	* testsuite/gas/riscv/csr-version-1p12.d: Likewise.
	* testsuite/gas/riscv/csr-version-1p12.l: Likewise.
	* testsuite/gas/riscv/csr-version-1p9p1.d: Likewise.
	* testsuite/gas/riscv/csr-version-1p9p1.l: Likewise.
	* testsuite/gas/riscv/csr.s: Likewise.

include/ChangeLog:

	* opcode/riscv-opc.h (CSR_MISELECT): New CSR macro.
	(CSR_MIREG): Likewise.
	(CSR_MTOPEI): Likewise.
	(CSR_MTOPI): Likewise.
	(CSR_MVIEN): Likewise.
	(CSR_MVIP): Likewise.
	(CSR_MIDELEGH): Likewise.
	(CSR_MIEH): Likewise.
	(CSR_MVIENH): Likewise.
	(CSR_MVIPH): Likewise.
	(CSR_MIPH): Likewise.
	(CSR_SISELECT): Likewise.
	(CSR_SIREG): Likewise.
	(CSR_STOPEI): Likewise.
	(CSR_STOPI): Likewise.
	(CSR_SIEH): Likewise.
	(CSR_SIPH): Likewise.
	(CSR_HVIEN): Likewise.
	(CSR_HVICTL): Likewise.
	(CSR_HVIPRIO1): Likewise.
	(CSR_HVIPRIO2): Likewise.
	(CSR_VSISELECT): Likewise.
	(CSR_VSIREG): Likewise.
	(CSR_VSTOPEI): Likewise.
	(CSR_VSTOPI): Likewise.
	(CSR_HIDELEGH): Likewise.
	(CSR_HVIENH): Likewise.
	(CSR_HVIPH): Likewise.
	(CSR_HVIPRIO1H): Likewise.
	(CSR_HVIPRIO2H): Likewise.
	(CSR_VSIEH): Likewise.
	(CSR_VSIPH): Likewise.
	(DECLARE_CSR): Add CSRs for Smaia and Ssaia.

Changes for v3:
- Imply ssaia for smaia
- Imply zicsr for ssaia (and transitively smaia)
- Move hypervisor CSRs to Ssaia+H
- Rebase on upstream/master

Changes for v2:
- Add hypervisor and VS CSRs
- Fix whitespace issue

ChangeLog:

	* libsframe/doc/sframe-spec.texi: Remove usage of
	xrefautomaticsectiontitle.

binutils/ChangeLog:

	* readelf.c (get_symbol_type): Consider STT_GNU_IFUNC as
	reserved name.

bfd/ChangeLog:

        * elfnn-riscv.c (riscv_elf_relocate_section): Take the R_RISCV_SUB6
	lower 6 bits as the significant bit.
        * elfxx-riscv.c (riscv_elf_add_sub_reloc): Likewise.

opcodes/ChangeLog:

	* arc-regs.h: Change isa_config address to 0xc1.
	isa_config exists for ARC700 and ARCV2 and not ARCALL.

bfd/ChangeLog:

	* elfxx-riscv.c (riscv_implicit_subsets): Update implication rules.
	(riscv_supported_std_s_ext) Add 'Ssstateen' extension.

gas/ChangeLog:

	* config/tc-riscv.c (enum riscv_csr_class): Rename
	CSR_CLASS_SMSTATEEN_AND_H{,_32} to CSR_CLASS_SSSTATEEN_...
	Add CSR_CLASS_SSSTATEEN.
	(riscv_csr_address): Support new/renamed CSR classes.
	* testsuite/gas/riscv/csr.s: Add 'Ssstateen' extension to comment.
	* testsuite/gas/riscv/csr-version-1p9p1.l: Reflect changes to
	error messages.
	* testsuite/gas/riscv/csr-version-1p10.l: Likewise.
	* testsuite/gas/riscv/csr-version-1p11.l: Likewise.
	* testsuite/gas/riscv/csr-version-1p12.l: Likewise.
	* testsuite/gas/riscv/ssstateen-csr.s: Test for 'Ssstateen' CSRs.
	* testsuite/gas/riscv/ssstateen-csr.d: Likewise.
	* testsuite/gas/riscv/smstateen-csr-s.d: Test to make sure that
	supervisor/hypervisor part of 'Smstateen' CSRs are accessible from
	'RV32IH_Smstateen', not just from 'RV32IH_Ssstateen' that is tested
	in ssstateen-csr.d.

include/ChangeLog:

	* opcode/riscv-opc.h: Update DECLARE_CSR declarations with
	new CSR classes.

ChangeLog:

	* gas/config/tc-aarch64.h:  Guard SFrame related definitions
	  with OBJ_ELF.

ChangeLog:

	* libsframe/Makefile.am: Add info-in-builddir to
	  AUTOMAKE_OPTIONS. Include doc/local.mk.
	* libsframe/Makefile.in: Regenerated.
	* libsframe/configure: Likewise.
	* libsframe/configure.ac: Check for makeinfo and set BUILD_INFO.
	* libsframe/doc/local.mk: New file.
	* libsframe/doc/sframe-spec.texi: Likewise.

ChangeLog:

	* gas/NEWS: Add SFrame related news.

ChangeLog:

	* binutils/NEWS: Add item for SFrame support.

ChangeLog:

	* src-release.sh: Add libsframe

include/ChangeLog:

	* sframe-api.h (dump_sframe): New function declaration.

ChangeLog:

	* binutils/Makefile.am: Add dependency on libsframe for
	readelf and objdump.
	* binutils/Makefile.in: Regenerate.
	* binutils/doc/binutils.texi: Document --sframe=[section].
	* binutils/doc/sframe.options.texi: New file.
	* binutils/objdump.c: Add support for SFrame format.
	* binutils/readelf.c: Likewise.
	* include/sframe-api.h: Add new API for dumping .sframe
	section.
	* libsframe/Makefile.am: Add sframe-dump.c.
	* libsframe/Makefile.in: Regenerate.
	* libsframe/sframe-dump.c: New file.

ChangeLog:

	* Makefile.def: Add install dependency on libsframe for libbfd.
	* Makefile.in: Regenerated.
	* bfd/Makefile.am: Add elf-sframe.c
	* bfd/Makefile.in: Regenerated.
	* bfd/bfd-in2.h (SEC_INFO_TYPE_SFRAME): Regenerated.
	* bfd/configure: Regenerate.
	* bfd/configure.ac: Add elf-sframe.lo.
	* bfd/elf-bfd.h (struct sframe_func_bfdinfo): New struct.
	(struct sframe_dec_info): Likewise.
	(struct sframe_enc_info): Likewise.
	(struct elf_link_hash_table): New member for encoded .sframe
	object.
	(struct output_elf_obj_tdata): New member.
	(elf_sframe): New access macro.
	(_bfd_elf_set_section_sframe): New declaration.
	* bfd/elf.c (get_segment_type): Handle new segment
	PT_GNU_SFRAME.
	(bfd_section_from_phdr): Likewise.
	(get_program_header_size): Likewise.
	(_bfd_elf_map_sections_to_segments): Likewise.
	* bfd/elf64-x86-64.c (elf_x86_64_link_setup_gnu_properties): Add
	contents to the .sframe sections or .plt* entries.
	* bfd/elflink.c (elf_section_ignore_discarded_relocs): Handle
	SEC_INFO_TYPE_SFRAME.
	(_bfd_elf_default_action_discarded): Handle .sframe section.
	(elf_link_input_bfd): Merge .sframe section.
	(bfd_elf_final_link): Write the output .sframe section.
	(bfd_elf_discard_info): Handle discarding .sframe section.
	* bfd/elfxx-x86.c (_bfd_x86_elf_size_dynamic_sections): Create
	.sframe section for .plt and .plt.sec.
	(_bfd_x86_elf_finish_dynamic_sections): Handle .sframe from
	.plt* sections.
	* bfd/elfxx-x86.h (PLT_SFRAME_FDE_START_OFFSET): New
	definition.
	(SFRAME_PLT0_MAX_NUM_FRES): Likewise.
	(SFRAME_PLTN_MAX_NUM_FRES): Likewise.
	(struct elf_x86_sframe_plt): New structure.
	(struct elf_x86_link_hash_table): New member.
	(struct elf_x86_init_table): New members for .sframe
	creation.
	* bfd/section.c: Add new definition SEC_INFO_TYPE_SFRAME.
	* binutils/readelf.c (get_segment_type): Handle new segment
	PT_GNU_SFRAME.
	* ld/ld.texi: Update documentation for
	--no-ld-generated-unwind-info.
	* ld/scripttempl/elf.sc: Support .sframe sections.
	* ld/Makefile.am (TESTSFRAMELIB): Use it.
	(check-DEJAGNU): Likewise.
	* ld/Makefile.in: Regenerated.
	* ld/configure.ac (TESTSFRAMELIB): Set to the .so or .a like TESTBFDLIB.
	* ld/configure: Regenerated.
	* bfd/elf-sframe.c: New file.

include/ChangeLog:

	* elf/common.h (PT_GNU_SFRAME): New definition.
	* elf/internal.h (struct elf_segment_map): Handle new segment
	type PT_GNU_SFRAME.

ld/testsuite/ChangeLog:

	* ld/testsuite/ld-bootstrap/bootstrap.exp: Add SFRAMELIB.
	* ld/testsuite/ld-aarch64/aarch64-elf.exp: Add new test
	  sframe-simple-1.
	* ld/testsuite/ld-aarch64/sframe-bar.s: New file.
	* ld/testsuite/ld-aarch64/sframe-foo.s: Likewise.
	* ld/testsuite/ld-aarch64/sframe-simple-1.d: Likewise.
	* ld/testsuite/ld-sframe/sframe-empty.d: New test.
	* ld/testsuite/ld-sframe/sframe-empty.s: New file.
	* ld/testsuite/ld-sframe/sframe.exp: New testsuite.
	* ld/testsuite/ld-x86-64/sframe-bar.s: New file.
	* ld/testsuite/ld-x86-64/sframe-foo.s: Likewise.
	* ld/testsuite/ld-x86-64/sframe-simple-1.d: Likewise.
	* ld/testsuite/ld-x86-64/sframe-plt-1.d: Likewise.
	* ld/testsuite/ld-x86-64/sframe-simple-1.d: Likewise.
	* ld/testsuite/ld-x86-64/x86-64.exp: Add new tests -
	  sframe-simple-1, sframe-plt-1.
	* ld/testsuite/lib/ld-lib.exp: Add new proc to check if
	  assembler supports SFrame section.
	* ld/testsuite/ld-sframe/discard.d: New file.
	* ld/testsuite/ld-sframe/discard.ld: Likewise.
	* ld/testsuite/ld-sframe/discard.s: Likewise.

ChangeLog:

	* Makefile.def: Add libsframe as new module with its
	dependencies.
	* Makefile.in: Regenerated.
	* binutils/Makefile.am: Add libsframe.
	* binutils/Makefile.in: Regenerated.
	* configure: Regenerated
	* configure.ac: Add libsframe to host_libs.
	* libsframe/Makefile.am: New file.
	* libsframe/Makefile.in: New file.
	* libsframe/aclocal.m4: New file.
	* libsframe/config.h.in: New file.
	* libsframe/configure: New file.
	* libsframe/configure.ac: New file.
	* libsframe/sframe-error.c: New file.
	* libsframe/sframe-impl.h: New file.
	* libsframe/sframe.c: New file.

include/ChangeLog:

	* sframe-api.h: New file.

testsuite/ChangeLog:

	* libsframe/testsuite/Makefile.am: New file.
	* libsframe/testsuite/Makefile.in: Regenerated.
	* libsframe/testsuite/libsframe.decode/Makefile.am: New
	  file.
	* libsframe/testsuite/libsframe.decode/Makefile.in:
	  Regenerated.
	* libsframe/testsuite/libsframe.decode/decode.exp: New file.
	* libsframe/testsuite/libsframe.encode/Makefile.am:
	  Likewise.
	* libsframe/testsuite/libsframe.encode/Makefile.in:
	  Regenerated.
	* libsframe/testsuite/libsframe.encode/encode.exp: New file.
	* libsframe/testsuite/libsframe.encode/encode-1.c: Likewise.
	* libsframe/testsuite/libsframe.decode/be-flipping.c: Likewise.
	* libsframe/testsuite/libsframe.decode/frecnt-1.c: Likewise.
	* libsframe/testsuite/libsframe.decode/frecnt-2.c: Likewise.
	* libsframe/testsuite/libsframe.decode/DATA-BE: New file.
	* libsframe/testsuite/libsframe.decode/DATA1: Likewise.
	* libsframe/testsuite/libsframe.decode/DATA2: Likewise.

ChangeLog:

	* gas/testsuite/gas/cfi-sframe/cfi-sframe-aarch64-1.d: New file.
	* gas/testsuite/gas/cfi-sframe/cfi-sframe-aarch64-1.s: Likewise.
	* gas/testsuite/gas/cfi-sframe/cfi-sframe-common-1.d: Likewise.
	* gas/testsuite/gas/cfi-sframe/cfi-sframe-common-1.s: Likewise.
	* gas/testsuite/gas/cfi-sframe/cfi-sframe-common-2.d: Likewise.
	* gas/testsuite/gas/cfi-sframe/cfi-sframe-common-2.s: Likewise.
	* gas/testsuite/gas/cfi-sframe/cfi-sframe-common-3.d: Likewise.
	* gas/testsuite/gas/cfi-sframe/cfi-sframe-common-3.s: Likewise.
	* gas/testsuite/gas/cfi-sframe/cfi-sframe-common-4.d: Likewise.
	* gas/testsuite/gas/cfi-sframe/cfi-sframe-common-4.s: Likewise.
	* gas/testsuite/gas/cfi-sframe/cfi-sframe-common-5.d: Likewise.
	* gas/testsuite/gas/cfi-sframe/cfi-sframe-common-5.s: Likewise.
	* gas/testsuite/gas/cfi-sframe/cfi-sframe-common-6.d: Likewise.
	* gas/testsuite/gas/cfi-sframe/cfi-sframe-common-6.s: Likewise.
	* gas/testsuite/gas/cfi-sframe/cfi-sframe-common-7.d: Likewise.
	* gas/testsuite/gas/cfi-sframe/cfi-sframe-common-7.s: Likewise.
	* gas/testsuite/gas/cfi-sframe/cfi-sframe-common-8.d: Likewise.
	* gas/testsuite/gas/cfi-sframe/cfi-sframe-common-8.s: Likewise.
	* gas/testsuite/gas/cfi-sframe/cfi-sframe-x86_64-1.d: Likewise.
	* gas/testsuite/gas/cfi-sframe/cfi-sframe-x86_64-1.s: Likewise.
	* gas/testsuite/gas/cfi-sframe/cfi-sframe.exp: Likewise.
	* gas/testsuite/gas/cfi-sframe/common-empty-1.d: Likewise.
	* gas/testsuite/gas/cfi-sframe/common-empty-1.s: Likewise.
	* gas/testsuite/gas/cfi-sframe/common-empty-2.d: Likewise.
	* gas/testsuite/gas/cfi-sframe/common-empty-2.s: Likewise.
	* gas/testsuite/gas/cfi-sframe/common-empty-3.d: Likewise.
	* gas/testsuite/gas/cfi-sframe/common-empty-3.s: Likewise.
	* gas/testsuite/gas/cfi-sframe/common-empty-4.d: Likewise.
	* gas/testsuite/gas/cfi-sframe/common-empty-4.s: Likewise.

ChangeLog:

	* gas/Makefile.am: Include gen-sframe.c and sframe-opt.c.
	* gas/Makefile.in: Regenerated.
	* gas/as.h (enum _relax_state): Add new state rs_sframe.
	(sframe_estimate_size_before_relax): New function.
	(sframe_relax_frag): Likewise.
	(sframe_convert_frag): Likewise.
	* gas/config/tc-aarch64.c (aarch64_support_sframe_p): New
	definition.
	(aarch64_sframe_ra_tracking_p): Likewise.
	(aarch64_sframe_cfa_ra_offset): Likewise.
	(aarch64_sframe_get_abi_arch): Likewise.
	(md_begin): Set values of sp/fp/ra registers.
	* gas/config/tc-aarch64.h (aarch64_support_sframe_p): New
	declaration.
	(support_sframe_p): Likewise.
	(SFRAME_CFA_SP_REG): Likewise.
	(SFRAME_CFA_FP_REG): Likewise.
	(SFRAME_CFA_RA_REG): Likewise.
	(aarch64_sframe_ra_tracking_p): Likewise.
	(sframe_ra_tracking_p): Likewise.
	(aarch64_sframe_cfa_ra_offset): Likewise.
	(sframe_cfa_ra_offset): Likewise.
	(aarch64_sframe_get_abi_arch): Likewise.
	(sframe_get_abi_arch): Likewise.
	* gas/config/tc-i386.c (x86_support_sframe_p): New definition.
	(x86_sframe_ra_tracking_p): Likewise.
	(x86_sframe_cfa_ra_offset): Likewise.
	(x86_sframe_get_abi_arch): Likewise.
	* gas/config/tc-i386.h (x86_support_sframe_p): New declaration.
	(support_sframe_p): Likewise.
	(SFRAME_CFA_SP_REG): Likewise.
	(SFRAME_CFA_FP_REG): Likewise.
	(x86_sframe_ra_tracking_p): Likewise.
	(sframe_ra_tracking_p): Likewise.
	(x86_sframe_cfa_ra_offset): Likewise.
	(sframe_cfa_ra_offset): Likewise.
	(x86_sframe_get_abi_arch): Likewise.
	(sframe_get_abi_arch): Likewise.
	* gas/config/tc-xtensa.c (unrelaxed_frag_max_size): Add case for
	rs_sframe.
	* gas/doc/as.texi: Add .sframe to the documentation for
	.cfi_sections.
	* gas/dw2gencfi.c (cfi_finish): Create a .sframe section.
	* gas/dw2gencfi.h (CFI_EMIT_sframe): New definition.
	* gas/write.c (cvt_frag_to_fill): Handle rs_sframe.
	(relax_segment): Likewise.
	* gas/gen-sframe.c: New file.
	* gas/gen-sframe.h: New file.
	* gas/sframe-opt.c: New file.

ChangeLog:

	* gas/as.c (parse_args): Parse args and set flag_gen_sframe.
	* gas/as.h: Introduce skeleton for --gsframe.
	* gas/doc/as.texi: document --gsframe.

include/ChangeLog:
	* sframe.h: New file.

gas/ChangeLog:

	* testsuite/gas/aarch64/cssc.d: Removed duplicate head.

gas/ChangeLog:

        * config/tc-aarch64.c (parse_operands): Handle new operand types.
        * doc/c-aarch64.texi: Document new extension.
        * testsuite/gas/aarch64/cssc.d: New test.
        * testsuite/gas/aarch64/cssc.s: New test.

include/ChangeLog:

        * opcode/aarch64.h (AARCH64_FEATURE_CSSC): New feature Macro.
        (enum aarch64_opnd): New operand types.
        (enum aarch64_insn_class): New instruction class.

opcodes/ChangeLog:

	* aarch64-asm-2.c: Regenerate.
	* aarch64-dis-2.c: Regenerate.
	* aarch64-opc-2.c: Regenerate.
	* aarch64-opc.c (operand_general_constraint_met_p): Update for new
	operand types.
	(aarch64_print_operand): Likewise.
	* aarch64-opc.h (enum aarch64_field_kind): Declare FLD_CSSC_imm8 field.
	* aarch64-tbl.h (aarch64_feature_cssc): Define new feature set.
	(CSSC): Define new feature set Macro.
	(CSSC_INSN): Define new instruction type.
	(aarch64_opcode_table): Add new instructions.

bfd/ChangeLog:

	* elf32-pru.c (elf_backend_default_execstack): Define as 0.

ld/ChangeLog:

	* testsuite/ld-elf/elf.exp (target_defaults_to_execstack):
	Return 0 for pru.

gas/ChangeLog:

2022-11-07  Srinath Parvathaneni  <srinath.parvathaneni@arm.com>

        * doc/c-arm.texi: Document directive.
        * config/tc-arm.c (s_arm_unwind_pacspval): Define function.
        (md_pseudo_table): Add entry for pacspval directive.
        * testsuite/gas/arm/ehabi-pacbti-m.d: New test.
        * testsuite/gas/arm/ehabi-pacbti-m.s: Likewise.

binutils/ChangeLog:

2022-11-07  Srinath Parvathaneni  <srinath.parvathaneni@arm.com>

        * readelf.c (decode_arm_unwind_bytecode): Add entry to decode opcode 0xb5.

bfd/ChangeLog:

2022-11-09  Srinath Parvathaneni  <srinath.parvathaneni@arm.com>

        * cpu-arm.c (processors): Add Cortex-X1C CPU entry.

gas/ChangeLog:

2022-11-09  Srinath Parvathaneni  <srinath.parvathaneni@arm.com>

        * NEWS: Update docs.
        * config/tc-arm.c (arm_cpus): Add cortex-x1c to -mcpu.
        * doc/c-arm.texi: Update docs.
        * testsuite/gas/arm/cpu-cortex-x1c.d: New test.

ChangeLog:

	* libctf/configure.ac: Use libtool instead.
	* libctf/configure: Regenerated.

ld/ChangeLog:

        * testsuite/ld-size/size.exp: Skip when -shared is not
	supported.

opcodes/ChangeLog:

	* i386-dis.c (VEX_W_0F3851): Corrected from
	VEX_W_0F3851_P_0.

gas/ChangeLog:

	* NEWS: Support Intel RAO-INT.
	* config/tc-i386.c: Add raoint.
	* doc/c-i386.texi: Document .raoint.
	* testsuite/gas/i386/i386.exp: Run RAO_INT tests.
	* testsuite/gas/i386/raoint-intel.d: New test.
	* testsuite/gas/i386/raoint.d: Ditto.
	* testsuite/gas/i386/raoint.s: Ditto.
	* testsuite/gas/i386/x86-64-raoint-intel.d: Ditto.
	* testsuite/gas/i386/x86-64-raoint.d: Ditto.
	* testsuite/gas/i386/x86-64-raoint.s: Ditto.

opcodes/ChangeLog:

	* i386-dis.c (PREFIX_0F38FC): New.
	(prefix_table): Add PREFIX_0F38FC.
	* i386-gen.c: (cpu_flag_init): Add CPU_RAO_INT_FLAGS and
	CPU_ANY_RAO_INT_FLAGS.
	* i386-init.h: Regenerated.
	* i386-opc.h: (CpuRAO_INT): New.
	(i386_cpu_flags): Add cpuraoint.
	* i386-opc.tbl: Add RAO_INT instructions.
	* i386-tbl.h: Regenerated.

ld/ChangeLog:

	* testsuite/ld-elfvers/vers.exp: Call check_shared_lib_support.
	* testsuite/ld-elfweak/elfweak.exp: Likewise.
	* testsuite/ld-shared/shared.exp: Likewise.

bfd/ChangeLog:

	* elfxx-riscv.c (riscv_parse_check_conflicts): Accept RV32EF
	because only older specifications disallowed it.

gas/ChangeLog:

	* testsuite/gas/riscv/march-fail-rv32ef.d: Remove as not directly
	prohibited.
	* testsuite/gas/riscv/march-fail-rv32ef.l: Likewise.

gas/ChangeLog:

	* NEWS: Support Intel AVX-NE-CONVERT.
	* config/tc-i386.c: Add avx_ne_convert.
	* doc/c-i386.texi: Document .avx_ne_convert.
	* testsuite/gas/i386/i386.exp: Run AVX NE CONVERT tests.
	* testsuite/gas/i386/avx-ne-convert-intel.d: New test.
	* testsuite/gas/i386/avx-ne-convert.d: Ditto.
	* testsuite/gas/i386/avx-ne-convert.s: Ditto.
	* testsuite/gas/i386/x86-64-avx-ne-convert-intel.d: Ditto.
	* testsuite/gas/i386/x86-64-avx-ne-convert.d: Ditto.
	* testsuite/gas/i386/x86-64-avx-ne-convert.s: Ditto.

opcodes/ChangeLog:

	* i386-dis.c (Mw): New.
	(PREFIX_VEX_0F3872): Ditto.
	(PREFIX_VEX_0F38B0_W_0): Ditto.
	(PREFIX_VEX_0F38B1_W_0): Ditto.
	(VEX_W_0F3872_P_1): Ditto.
	(VEX_W_0F38B0): Ditto.
	(VEX_W_0F38B1): Ditto.
	(prefix_table): Add PREFIX_VEX_0F3872, PREFIX_VEX_0F38B0_W_0,
	PREFIX_VEX_0F38B1_W_0.
	(vex_w_table): Add VEX_W_0F3872_P_1, VEX_W_0F38B0, VEX_W_0F38B1.
	* i386-gen.c (cpu_flag_init): Add CPU_AVX_NE_CONVERT_FLGAS and
	CPU_ANY_AVX_NE_CONVERT_FLAGS.
	(cpu_flags): Add CpuAVX_NE_CONVERT.
	* i386-init.h: Regenerated.
	* i386-opc.h (CpuAVX_NE CONVERT): New.
	(i386_cpu_flags): Add cpuavx_ne_convert.
	* i386-opc.tbl: Add Intel AVX-NE-CONVERT instructions.
	* i386-tbl.h: Regenerated.

gas/ChangeLog:

	* NEWS: Support Intel MSRLIST.
	* config/tc-i386.c: Add msrlist.
	* doc/c-i386.texi: Document .msrlist.
	* testsuite/gas/i386/i386.exp: Add MSRLIST tests.
	* testsuite/gas/i386/msrlist-inval.l: New test.
	* testsuite/gas/i386/msrlist-inval.s: Ditto.
	* testsuite/gas/i386/x86-64-msrlist-intel.d: Ditto.
	* testsuite/gas/i386/x86-64-msrlist.d: Ditto.
	* testsuite/gas/i386/x86-64-msrlist.s: Ditto.

opcodes/ChangeLog:

	* i386-dis.c (X86_64_0F01_REG_0_MOD_3_RM_6_P_1): New.
	(X86_64_0F01_REG_0_MOD_3_RM_6_P_3): Ditto.
	(prefix_table): New entry for msrlist.
	(x86_64_table): Add X86_64_0F01_REG_0_MOD_3_RM_6_P_1
	and X86_64_0F01_REG_0_MOD_3_RM_6_P_3.
	* i386-gen.c (cpu_flag_init): Add CPU_MSRLIST_FLAGS
	and CPU_ANY_MSRLIST_FLAGS.
	* i386-init.h: Regenerated.
	* i386-opc.h (CpuMSRLIST): New.
	(i386_cpu_flags): Add cpumsrlist.
	* i386-opc.tbl: Add MSRLIST instructions.
	* i386-tbl.h: Regenerated.

gas/ChangeLog:

        * NEWS: Support Intel WRMSRNS.
        * config/tc-i386.c: Add wrmsrns.
        * doc/c-i386.texi: Document .wrmsrns.
        * testsuite/gas/i386/i386.exp: Add WRMSRNS tests.
        * testsuite/gas/i386/wrmsrns-intel.d: New test.
        * testsuite/gas/i386/wrmsrns.d: Ditto.
        * testsuite/gas/i386/wrmsrns.s: Ditto.
        * testsuite/gas/i386/x86-64-wrmsrns-intel.d: Ditto.
        * testsuite/gas/i386/x86-64-wrmsrns.d: Ditto.

opcodes/ChangeLog:

	* i386-dis.c (PREFIX_0F01_REG_0_MOD_3_RM_6): New.
	(prefix_table): Add PREFIX_0F01_REG_0_MOD_3_RM_6.
	(rm_table): New entry for wrmsrns.
	* i386-gen.c (cpu_flag_init): Add CPU_WRMSRNS_FLAGS
	and CPU_ANY_WRMSRNS_FLAGS.
	(cpu_flags): Add CpuWRMSRNS.
        * i386-init.h: Regenerated.
        * i386-opc.h (CpuWRMSRNS): New.
	(i386_cpu_flags): Add cpuwrmsrns.
        * i386-opc.tbl: Add WRMSRNS instructions.
        * i386-tbl.h: Regenerated.

gas/ChangeLog:

	* config/tc-i386.c (cpu_flags_all_zero): Add new ARRAY_SIZE handle.
	(cpu_flags_equal): Ditto.
	(cpu_flags_and): Ditto.
	(cpu_flags_or): Ditto.
	(cpu_flags_and_not): Ditto.

gas/ChangeLog:

	* NEWS: Support Intel CMPccXADD.
	* config/tc-i386.c: Add cmpccxadd.
	(build_modrm_byte): Add operations for Vex.VVVV reg
	on operand 0 while have memory operand.
	* doc/c-i386.texi: Document .cmpccxadd.
	* testsuite/gas/i386/i386.exp: Run CMPccXADD tests.
	* testsuite/gas/i386/cmpccxadd-inval.s: New test.
	* testsuite/gas/i386/cmpccxadd-inval.l: Ditto.
	* testsuite/gas/i386/x86-64-cmpccxadd-intel.d: Ditto.
	* testsuite/gas/i386/x86-64-cmpccxadd.s: Ditto.
	* testsuite/gas/i386/x86-64-cmpccxadd.d: Ditto.

opcodes/ChangeLog:

	* i386-dis.c (Mdq): New.
	(X86_64_VEX_0F38E0): Ditto.
	(X86_64_VEX_0F38E1): Ditto.
	(X86_64_VEX_0F38E2): Ditto.
	(X86_64_VEX_0F38E3): Ditto.
	(X86_64_VEX_0F38E4): Ditto.
	(X86_64_VEX_0F38E5): Ditto.
	(X86_64_VEX_0F38E6): Ditto.
	(X86_64_VEX_0F38E7): Ditto.
	(X86_64_VEX_0F38E8): Ditto.
	(X86_64_VEX_0F38E9): Ditto.
	(X86_64_VEX_0F38EA): Ditto.
	(X86_64_VEX_0F38EB): Ditto.
	(X86_64_VEX_0F38EC): Ditto.
	(X86_64_VEX_0F38ED): Ditto.
	(X86_64_VEX_0F38EE): Ditto.
	(X86_64_VEX_0F38EF): Ditto.
	(x86_64_table): Add X86_64_VEX_0F38E0, X86_64_VEX_0F38E1,
	X86_64_VEX_0F38E2, X86_64_VEX_0F38E3, X86_64_VEX_0F38E4,
	X86_64_VEX_0F38E5, X86_64_VEX_0F38E6, X86_64_VEX_0F38E7,
	X86_64_VEX_0F38E8, X86_64_VEX_0F38E9, X86_64_VEX_0F38EA,
	X86_64_VEX_0F38EB, X86_64_VEX_0F38EC, X86_64_VEX_0F38ED,
	X86_64_VEX_0F38EE, X86_64_VEX_0F38EF.
	* i386-gen.c (cpu_flag_init): Add CPU_CMPCCXADD_FLAGS and
	CPU_ANY_CMPCCXADD_FLAGS.
	(cpu_flags): Add CpuCMPCCXADD.
	* i386-init.h: Regenerated.
	* i386-opc.h (CpuCMPCCXADD): New.
	(i386_cpu_flags): Add cpucmpccxadd. Comment unused for it is actually 0.
	* i386-opc.tbl: Add Intel CMPccXADD instructions.
	* i386-tbl.h: Regenerated.

gas/ChangeLog:

	* NEWS: Add support for Intel PREFETCHI instruction.
	* config/tc-i386.c (load_insn_p): Use prefetch* to fold all prefetches.
	(md_assemble): Add warning for illegal input of PREFETCHI.
	* doc/c-i386.texi: Document .prefetchi.
	* testsuite/gas/i386/i386.exp: Run PREFETCHI tests.
	* testsuite/gas/i386/x86-64-lfence-load.d: Add PREFETCHI.
	* testsuite/gas/i386/x86-64-lfence-load.s: Likewise.
	* testsuite/gas/i386/x86-64-prefetch.d: New test.
	* testsuite/gas/i386/x86-64-prefetchi-intel.d: Likewise.
	* testsuite/gas/i386/x86-64-prefetchi-inval-register.d: Likewise..
	* testsuite/gas/i386/x86-64-prefetchi-inval-register.s: Likewise.
	* testsuite/gas/i386/x86-64-prefetchi-warn.l: Likewise.
	* testsuite/gas/i386/x86-64-prefetchi-warn.s: Likewise.
	* testsuite/gas/i386/x86-64-prefetchi.d: Likewise.
	* testsuite/gas/i386/x86-64-prefetchi.s: Likewise.

opcodes/ChangeLog:

	* i386-dis.c (reg_table): Add MOD_0F18_REG_6 and MOD_0F18_REG_7
	(x86_64_table): Add X86_64_0F18_REG_6_MOD_0 and X86_64_0F18_REG_7_MOD_0.
	(mod_table): Add MOD_0F18_REG_6 and MOD_0F18_REG_7.
	(prefix_table): Add PREFIX_0F18_REG_6_MOD_0_X86_64 and
	PREFIX_0F18_REG_7_MOD_0_X86_64.
	(PREFETCHI_Fixup): New.
	* i386-gen.c (cpu_flag_init): Add CPU_PREFETCHI_FLAGS.
	(cpu_flags): Add CpuPREFETCHI.
	* i386-opc.h (CpuPREFETCHI): New.
	(i386_cpu_flags): Add cpuprefetchi.
	* i386-opc.tbl: Add Intel PREFETCHI instructions.
	* i386-init.h: Regenerated.
	* i386-tbl.h: Likewise.

gas/ChangeLog:

	* config/tc-riscv.c (validate_riscv_insn): Exclude non-
	instruction bits from displaying internal diagnostics.
	Change error message slightly.

gas/ChangeLog:

	* config/tc-riscv.c (validate_riscv_insn): Fix function
	description comment based on current spec.  Limit instruction
	length up to 64-bit for now.  Make sure that required_bits does
	not corrupt even if unsigned long long is longer than 64-bit.

gas/ChangeLog:

	* config/tc-riscv.c (make_mapping_symbol): Initialize variable
	buff with NULL to avoid build failure caused by a GCC's false
	positive of maybe uninitialized variable detection.

include/ChangeLog:

	* diagnostics.h (DIAGNOSTIC_IGNORE_DEPRECATED_DECLARATIONS):
	Define also on GCC.

ld/ChangeLog:

	* testsuite/ld-size/size.exp: Use canonical option name.

ld/ChangeLog:

	* testsuite/ld-arm/arm-elf.exp: Separate tests needing shared
	lib support.

ld/ChangeLog:

	* testsuite/ld-elf/exclude.exp: Call check_shared_lib_support.
	to skip for all targets without shared lib support.

binutils/ChangeLog:

	* doc/local.mk: Remove unused substitution PROGRAM.
	* Makefile.in: Regenerate.

ld/ChangeLog:

	* testsuite/ld-unique/unique.exp: Add board_ldflags when
	linking with GCC.
	* testsuite/lib/ld-lib.exp: Likewise.

gas/ChangeLog:

	* testsuite/gas/riscv/march-imply-h.d: New test, at least for 'H'.

bfd/ChangeLog:

	* elfxx-riscv.c (riscv_implicit_subsets): Add 'Zicsr'
	implicications for privileged extensions 'H', 'Smstateen',
	'Sscofpmf', 'Sstc' and 'Smepmp'.

opcodes/ChangeLog:

	* riscv-dis.c (last_map_state): Remove.
	(print_insn_riscv): Remove setting last_map_state.

opcodes/ChangeLog:

	* riscv-dis.c (xlen): Make this variable static.

opcodes/ChangeLog:

	* riscv-dis.c (no_aliases) Change type to bool.
	(set_default_riscv_dis_options): Use boolean.
	(parse_riscv_dis_option_without_args): Likewise.
	(riscv_disassemble_insn): Use boolean keywords.

opcodes/ChangeLog:

	* riscv-dis.c (riscv_disassemble_insn): Tidying with spacing.

opcodes/ChangeLog:

	* riscv-dis.c (xlen): Move before default_isa_spec. Add comment.
	(default_isa_spec, default_priv_spec): Add comment.
	(riscv_gpr_names, riscv_fpr_names): Likewise.
	(parse_riscv_dis_option_without_args): Likewise.
	(parse_riscv_dis_option, parse_riscv_dis_options): Likewise.
	(maybe_print_address): Likewise.
	(riscv_disassemble_insn): Fix comment about the Zfinx "extension".
	Add comment about the riscv_multi_subset_supports call.

gas/ChangeLog:

	* testsuite/gas/riscv/dw-regnums.s: Add "fp".
	* testsuite/gas/riscv/dw-regnums.d: Likewise.

opcodes/ChangeLog:

	* riscv-opc.c (riscv_opcodes): Move all standard hints before all
	standard instructions.

include/ChangeLog:

	* opcode/riscv.h (riscv_rm, riscv_pred_succ): Move declarations to
	opcodes/riscv-opc.c.  New non-static definitions.

opcodes/ChangeLog:

	* riscv-opc.c (riscv_rm, riscv_pred_succ): Move from
	include/opcode/riscv.h.  Add description.

bfd/ChangeLog:

	* libbfd.c: Set COMPRESS_DEBUG_GABI_ZLIB for "zlib" value.

ChangeLog:

	* configure.ac: Add --enable-default-compressed-debug-sections-algorithm.
	* configure: Regenerate.

gas/ChangeLog:

	* NEWS: Document the new option.
	* as.c (flag_compress_debug): Set default algorithm based
	on the configure option.
	* configure.ac: Add --enable-default-compressed-debug-sections-algorithm.
	* configure: Regenerate.
	* config.in: Likewise.

ld/ChangeLog:

	* NEWS: Document the new option.
	* configure.ac: Add --enable-default-compressed-debug-sections-algorithm.
	* configure: Regenerate.
	* config.in: Likewise.
	* ldmain.c: Set default algorithm based
	on the configure option.

bfd/ChangeLog:

	* bfd-in.h (bfd_hash_set_default_size): Add COMPRESS_UNKNOWN
	  enum value.
	(struct compressed_type_tuple): New.
	* bfd-in2.h (bfd_hash_set_default_size): Regenerate.
	(struct compressed_type_tuple): Likewise.
	* libbfd.c (ARRAY_SIZE): New macro.
	(bfd_get_compression_algorithm): New function.
	(bfd_get_compression_algorithm_name): Likewise.

gas/ChangeLog:

	* as.c: Do not special-case, use the new functions.

ld/ChangeLog:

	* emultempl/elf.em: Do not special-case, use the new functions.
	* lexsup.c (elf_static_list_options): Likewise.

opcodes/ChangeLog:

	* riscv-dis.c (print_insn_args): Use dis_style_immediate on
	the constant literal of the "Xl..." operand.

opcodes/ChangeLog:

	* riscv-dis.c (print_insn_args): Fix T-Head immediate types on
	printing.

opcodes/ChangeLog:

	* riscv-dis.c (print_insn_args): Split and print the comma as
	text.  (riscv_disassemble_insn): Split and print tabs as text.
	(riscv_disassemble_data): Likewise.

opcodes/ChangeLog:

	* riscv-dis.c (riscv_disassemble_data): Use smallest possible type
	to printing data.

opcodes/ChangeLog:

	* riscv-dis.c (print_insn_args): Fix printf argument types where
	the format specifier is "%x".

opcodes/ChangeLog:

	* riscv-dis.c (print_insn_args): Fix immediates to have
	"immediate" style.  (riscv_disassemble_data): Likewise.

include/ChangeLog:

	* opcode/riscv.h (RISCV_MAX_INSN_LEN): Max instruction length for
	use in buffer size.

opcodes/ChangeLog:

	* riscv-dis.c (print_insn_riscv): Increase buffer size for max
	176-bit length instructions.

bfd/ChangeLog:

	* elf.c (_bfd_elf_make_section_from_shdr): Compress all debug
	  info sections.

gas/ChangeLog:

	* write.c (compress_debug): Compress also ".gnu.debuglto_.debug_"
	if the compression algorithm is different from zlib-gnu.

opcodes/ChangeLog:

	* riscv-opc.c (riscv_opcodes): Adjust indents.  Move supervisor
	instructions after all unprivileged instructions.

binutils/ChangeLog:

	* dwarf.c (dwarf_regnames_riscv): Assign DWARF register numbers
	96..127 to vector registers v0-v31.

gas/ChangeLog:

	* config/tc-riscv.c (tc_riscv_regname_to_dw2regnum): Support
	vector registers.
	* testsuite/gas/riscv/dw-regnums.s: Add vector registers to the
	DWARF register number test.
	* testsuite/gas/riscv/dw-regnums.d: Likewise.

gas/ChangeLog:

	* testsuite/gas/riscv/dw-regnums.s: New DWARF register number test
	for GPRs/FPRs.
	* testsuite/gas/riscv/dw-regnums.d: Likewise.

gas/ChangeLog:

	* testsuite/gas/riscv/zfinx.s: Add "fmv.s" instruction.
	* testsuite/gas/riscv/zfinx.d: Likewise.
	* testsuite/gas/riscv/zdinx.s: Add "fmv.d" instruction.
	* testsuite/gas/riscv/zdinx.d: Likewise.
	* testsuite/gas/riscv/zqinx.d: Add "fmv.q" instruction.
	* testsuite/gas/riscv/zqinx.s: Likewise.

opcodes/ChangeLog:

	* riscv-opc.c (riscv_opcodes): Relax requirements to "fmv.[sdq]"
	instructions to support those in 'Zfinx'/'Zdinx'/'Zqinx'.

gas/ChangeLog:

	* testsuite/gas/riscv/zfinx.s: Use different registers for
	better encode space testing.  Make indentation consistent.
	Add tests for instruction with rounding mode.  Change march
	to minimum required extensions.  Remove source line.
	* testsuite/gas/riscv/zfinx.d: Likewise.
	* testsuite/gas/riscv/zdinx.s: Likewise.
	* testsuite/gas/riscv/zdinx.d: Likewise.
	* testsuite/gas/riscv/zqinx.s: Likewise.
	Also use even-numbered registers to use valid register pairs.
	* testsuite/gas/riscv/zqinx.d: Likewise.

bfd/ChangeLog:

	* elfxx-riscv.c (riscv_supported_std_s_ext): Add 'Smepmp',
	'Svnapot' and 'Svpbmt' extensions.

ld/ChangeLog:

	* testsuite/ld-elf/elf.exp (PR ld/29072): Force execstack and
	RWD segment warnings.

binutils/ChangeLog:
        *  testsuite/config/default.exp (CXXFILE): if cxxfilt not found,
        try c++filt.

binutils/ChangeLog:

	* testsuite/binutils-all/objdump.exp: Skip dotnet tests if
	gentestdlls is not available.

include/ChangeLog:

    * diagnostics.h (DIAGNOSTIC_IGNORE_UNUSED_BUT_SET_VARIABLE): New.

include/ChangeLog:

	* diagnostics.h (DIAGNOSTIC_IGNORE_USER_DEFINED_WARNINGS): New.

ld/ChangeLog:

	* testsuite/config/default.exp: Allow to change -B flag with
	ld_testsuite_bindir variable.

ld/ChangeLog:

	* testsuite/ld-bootstrap/bootstrap.exp: Skip if OFILES is
	missing

opcodes/ChangeLog:

	* riscv-dis.c (print_insn_args): Remove 'b' operand type.

gas/ChangeLog:

	* config/tc-riscv.c (validate_riscv_insn): Add "c", "VM" and "VT"
	macro-only operand types.

gas/ChangeLog:

	* config/tc-riscv.c (riscv_set_tso): Fix declaration.

gas/ChangeLog:

	* config/tc-riscv.c (s_riscv_option): Set TSO ELF flag if the
	'Ztso' extension is specified via ".option arch" directive.

ChangeLog:

	* configure.ac: Pass CPPFLAGS_FOR_BUILD to subdirectories.
	* configure: Regenerate.

bfd\ChangeLog:

        * elfnn-riscv.c (_bfd_riscv_elf_merge_private_bfd_data): Set TSO flag.
        * elfxx-riscv.c: Add Ztso's arch.

binutils\ChangeLog:

        * readelf.c (get_machine_flags): Set TSO flag.

gas\ChangeLog:

        * config/tc-riscv.c (riscv_set_tso): Ditto.
        (riscv_set_arch): Ditto.
        * testsuite/gas/riscv/ztso.d: New test.

include\ChangeLog:

        * elf/riscv.h (EF_RISCV_TSO): Ditto.

bfd/ChangeLog:

	* elf32-lm32.c (lm32_elf_size_dynamic_sections): Mark unused
	rgot_count variable.
	* elf32-nds32.c (elf32_nds32_unify_relax_group): Remove unused
	count variable.
	* mmo.c (mmo_scan): Mark unused lineno variable.

binutils/ChangeLog:

	* windmc.c (write_rc): Remove unused i variable.

gas/ChangeLog:

	* config/tc-riscv.c (riscv_ip): Remove unused argnum variable.

ld/ChangeLog:

	* pe-dll.c (generate_reloc): Remove unused bi and page_count
	variables.

bfd/ChangeLog:

	* warning.m4: Stop appending "-Wstack-usage=262144" option when
	compiled with Clang.
	* configure: Regenerate.

binutils/ChangeLog:

	* configure: Regenerate.

gas/ChangeLog:

	* configure: Regenerate.

gold/ChangeLog:

	* configure: Regenerate.

gprof/ChangeLog:

	* configure: Regenerate.

ld/ChangeLog:

	* configure: Regenerate.

opcodes/ChangeLog:

	* configure: Regenerate.

gas/ChangeLog:

	* config/tc-riscv.c (riscv_csr_address): Change vector CSR
	requirement from 'V' to 'Zve32x'.
	* testsuite/gas/riscv/csr-version-1p9p1.l: Change vector CSR
	requirement from 'V' to 'Zve32x'.
	* testsuite/gas/riscv/csr-version-1p10.l: Likewise.
	* testsuite/gas/riscv/csr-version-1p11.l: Likewise.
	* testsuite/gas/riscv/csr-version-1p12.l: Likewise.

gdbsupport/ChangeLog:

	* configure.ac: Fix config.status dependency.
	* Makefile.in: Regenerate.
	* configure: Regenerate.

gdb/ChangeLog:

	* gdb/disasm.c (set_disassembler_options): Add support for
	non-enum disassembler options.
	(show_disassembler_options_sfunc): Likewise.

include/ChangeLog:

	* dis-asm.h (disasm_option_arg_t): Update comment of values
	to allow non-enum disassembler options.

opcodes/ChangeLog:

	* riscv-dis.c (print_riscv_disassembler_options): Support
	non-enum disassembler options on printing disassembler help.
	* arc-dis.c (print_arc_disassembler_options): Likewise.
	* mips-dis.c (print_mips_disassembler_options): Likewise.

sim/ChangeLog:

	* riscv/sim-main.c (execute_i): Use "ebreak" instead of "sbreak".

gas/ChangeLog:

	* testsuite/gas/riscv/dis-addr-topaddr.s: New test for the top
	address (-1) printing.
	* testsuite/gas/riscv/dis-addr-topaddr-32.d: Likewise.
	* testsuite/gas/riscv/dis-addr-topaddr-64.d: Likewise.
	* testsuite/gas/riscv/dis-addr-topaddr-gp.s: New test for
	GP-relative addressing when GP is the highest address (-1).
	* testsuite/gas/riscv/dis-addr-topaddr-gp-32.d: Likewise.
	* testsuite/gas/riscv/dis-addr-topaddr-gp-64.d: Likewise.

opcodes/ChangeLog:

	* riscv-dis.c (struct riscv_private_data): Add `to_print_addr' to
	enable printing the highest address.
	(maybe_print_address): Utilize `to_print_addr'.
	(riscv_disassemble_insn): Likewise.

gas/ChangeLog:

	* testsuite/gas/riscv/dis-addr-addiw.s: New to test the address
	computation with sign extension as used in ADDIW/C.ADDIW.
	* testsuite/gas/riscv/dis-addr-addiw-a.d: Test PC sign bit 0.
	* testsuite/gas/riscv/dis-addr-addiw-b.d: Test PC sign bit 1.

gas/ChangeLog:

	* testsuite/gas/riscv/dis-addr-addiw-a.d: New test.
	* testsuite/gas/riscv/dis-addr-addiw-b.d: New test.
	* testsuite/gas/riscv/dis-addr-addiw.s: New test.

sim/ChangeLog:

	* MAINTAINERS: Update mailing list address.

bfd/ChangeLog:

	PR 29081
	* dwarf2.c (struct addr_range): New.
	(addr_range_intersects): Likewise.
	(splay_tree_compare_addr_range): Likewise.
	(splay_tree_free_addr_range): Likewise.
	(struct dwarf2_debug_file): Add comp_unit_tree.
	(find_abstract_instance): Use the splay tree when searching
	for a info_ptr.
	(stash_comp_unit): Insert to the splay tree.
	(_bfd_dwarf2_cleanup_debug_info): Clean up the splay tree.

bfd/ChangeLog:

	PR 29442
	* dwarf2.c (struct varinfo): Use const char * type.
	(scan_unit_for_symbols): Call find_abstract_instance for
	DW_AT_specification for variables that can be in a different CU
	(e.g. done by dwz)

ld/ChangeLog:

	* NEWS: Fix 2 typos.

gas/ChangeLog:

	* testsuite/gas/elf/section10.s: Use SHF_LINK_ORDER to test
	mixed numeric and alpha values.
	* testsuite/gas/elf/section10.d: Reflect the change above.

gas/ChangeLog:

	* config/tc-riscv.c (opcode_name_list): Add `OP_V'.
	* testsuite/gas/riscv/insn.s: Add testcase.
	* testsuite/gas/riscv/insn.d: Likewise.
	* testsuite/gas/riscv/insn-dwarf.d: Reflect insn.s update.

opcodes/ChangeLog:
	* disassemble.c (disassemble_init_for_target): Set
	created_styled_output for ARC based targets.
	* arc-dis.c (find_format_from_table): Use fprintf_styled_ftype
	instead of fprintf_ftype throughout.
	(find_format): Likewise.
	(print_flags): Likewise.
	(print_insn_arc): Likewise.

include/ChangeLog:

	* plugin-api.h (enum ld_plugin_tag): Sync with GCC.

bfd/ChangeLog:

	* elfxx-riscv.c (riscv_implicit_subsets): Change implicit
	subsets.  Zfh->Zicsr is not needed and Zfh->F is replaced with
	Zfh->Zfhmin and Zfhmin->F.  Zhinx->Zicsr is not needed and
	Zhinx->Zfinx is replaced with Zhinx->Zhinxmin and
	Zhinxmin->Zfinx.
	(riscv_supported_std_z_ext): Added zfhmin and zhinxmin.
	(riscv_multi_subset_supports):  Rewrite handling for new
	instruction classes.
	(riscv_multi_subset_supports_ext): Updated.
	(riscv_parse_check_conflicts): Change error message to include
	zfh and zfhmin extensions.

gas/ChangeLog:

	* testsuite/gas/riscv/zfhmin-d-insn-class-fail.s: New complex
	error handling test.
	* testsuite/gas/riscv/zfhmin-d-insn-class-fail-1.d: Likewise.
	* testsuite/gas/riscv/zfhmin-d-insn-class-fail-1.l: Likewise.
	* testsuite/gas/riscv/zfhmin-d-insn-class-fail-2.d: Likewise.
	* testsuite/gas/riscv/zfhmin-d-insn-class-fail-2.l: Likewise.
	* testsuite/gas/riscv/zfhmin-d-insn-class-fail-3.d: Likewise.
	* testsuite/gas/riscv/zfhmin-d-insn-class-fail-3.l: Likewise.
	* testsuite/gas/riscv/zfhmin-d-insn-class-fail-4.d: Likewise.
	* testsuite/gas/riscv/zfhmin-d-insn-class-fail-4.l: Likewise.
	* testsuite/gas/riscv/zfhmin-d-insn-class-fail-5.d: Likewise.
	* testsuite/gas/riscv/zfhmin-d-insn-class-fail-5.l: Likewise.
	* testsuite/gas/riscv/zhinx.d: Renamed from fp-zhinx-insns.d
	and refactored.
	* testsuite/gas/riscv/zhinx.s: Likewise.

include/ChangeLog:

	* opcode/riscv.h (enum riscv_insn_class): Removed INSN_CLASS_ZFH,
	INSN_CLASS_D_AND_ZFH_INX and INSN_CLASS_Q_AND_ZFH_INX.  Added
	INSN_CLASS_ZFHMIN, INSN_CLASS_ZFHMIN_OR_ZHINXMIN,
	INSN_CLASS_ZFHMIN_AND_D and INSN_CLASS_ZFHMIN_AND_Q.

opcodes/ChangeLog:

	* riscv-opc.c (riscv_opcodes): Change instruction classes for
	Zfh and Zfhmin instructions.  Fix `fcvt.h.lu' instruction
	(two operand variant) mask.

gas/ChangeLog:

	* testsuite/gas/riscv/zfinx-dis-numeric.s: Test new behavior of
	Zfinx extension and -M numeric disassembler option.
	* testsuite/gas/riscv/zfinx-dis-numeric.d: Likewise.

opcodes/ChangeLog:

	* riscv-dis.c (riscv_disassemble_insn): Use dynamically set GPR
	names to disassemble Zfinx instructions.

bfd/ChangeLog:

	* elfxx-riscv.c (riscv_multi_subset_supports): Fix feature gate
	on INSN_CLASS_{D,Q}_AND_ZFH_INX.
	(riscv_multi_subset_supports_ext): Fix feature gate diagnostics
	on INSN_CLASS_{D,Q}_AND_ZFH_INX.

gas/ChangeLog:

	* testsuite/gas/riscv/fp-zhinx-insns.d: Add Zqinx to -march
	for proper testing.

bfd/ChangeLog:

	* elfxx-riscv.c (riscv_supported_std_z_ext): Update version
	number of Zihintpause extension.

bfd/ChangeLog:

        * bfdio.c (_bfd_real_fopen): Retrieve codepage with
        ___lc_codepage_func() on MinGW.

bfd/ChangeLog:

	* elfxx-riscv.c (riscv_supported_std_s_ext): Add 'Sstc'
	extension to valid 'S' extension list.

gas/ChangeLog:

	* config/tc-riscv.c (enum riscv_csr_class): Add CSR classes for
	'Sstc' extension. (riscv_csr_address): Add handling for new CSR
	classes.
	* testsuite/gas/riscv/csr-dw-regnums.s: Add new CSRs.
	* testsuite/gas/riscv/csr-dw-regnums.d: Likewise.
	* testsuite/gas/riscv/csr.s: Add new CSRs.
	* testsuite/gas/riscv/csr-version-1p9p1.d: Likewise.
	* testsuite/gas/riscv/csr-version-1p9p1.l: Likewise.
	* testsuite/gas/riscv/csr-version-1p10.d: Likewise.
	* testsuite/gas/riscv/csr-version-1p10.l: Likewise.
	* testsuite/gas/riscv/csr-version-1p11.d: Likewise.
	* testsuite/gas/riscv/csr-version-1p11.l: Likewise.
	* testsuite/gas/riscv/csr-version-1p12.d: Likewise.
	* testsuite/gas/riscv/csr-version-1p12.l: Likewise.

include/ChangeLog:

	* opcode/riscv-opc.h (CSR_STIMECMP, CSR_STIMECMPH,
	CSR_VSTIMECMP, CSR_VSTIMECMPH): New CSR macros.

bfd/ChangeLog:

	* elfxx-riscv.c (riscv_supported_std_s_ext): Add 'Sscofpmf'
	extension to valid 'S' extension list.

gas/ChangeLog:

	* config/tc-riscv.c (enum riscv_csr_class): Add CSR classes for
	'Sscofpmf' extension. (riscv_csr_address): Add handling for new
	CSR classes.
	* testsuite/gas/riscv/csr-dw-regnums.s: Add new CSRs.
	* testsuite/gas/riscv/csr-dw-regnums.d: Likewise.
	* testsuite/gas/riscv/csr.s: Add new CSRs.
	* testsuite/gas/riscv/csr-version-1p9p1.d: Likewise.
	* testsuite/gas/riscv/csr-version-1p9p1.l: Likewise.
	* testsuite/gas/riscv/csr-version-1p10.d: Likewise.
	* testsuite/gas/riscv/csr-version-1p10.l: Likewise.
	* testsuite/gas/riscv/csr-version-1p11.d: Likewise.
	* testsuite/gas/riscv/csr-version-1p11.l: Likewise.
	* testsuite/gas/riscv/csr-version-1p12.d: Likewise.
	* testsuite/gas/riscv/csr-version-1p12.l: Likewise.

include/ChangeLog:

	* opcode/riscv-opc.h (CSR_SCOUNTOVF, CSR_MHPMEVENT3H,
	CSR_MHPMEVENT4H, CSR_MHPMEVENT5H, CSR_MHPMEVENT6H,
	CSR_MHPMEVENT7H, CSR_MHPMEVENT8H, CSR_MHPMEVENT9H,
	CSR_MHPMEVENT10H, CSR_MHPMEVENT11H, CSR_MHPMEVENT12H,
	CSR_MHPMEVENT13H, CSR_MHPMEVENT14H, CSR_MHPMEVENT15H,
	CSR_MHPMEVENT16H, CSR_MHPMEVENT17H, CSR_MHPMEVENT18H,
	CSR_MHPMEVENT19H, CSR_MHPMEVENT20H, CSR_MHPMEVENT21H,
	CSR_MHPMEVENT22H, CSR_MHPMEVENT23H, CSR_MHPMEVENT24H,
	CSR_MHPMEVENT25H, CSR_MHPMEVENT26H, CSR_MHPMEVENT27H,
	CSR_MHPMEVENT28H, CSR_MHPMEVENT29H, CSR_MHPMEVENT30H,
	CSR_MHPMEVENT31H): New CSR macros.

bfd/ChangeLog:

	* elfxx-riscv.c (riscv_supported_std_s_ext): Add 'Smstateen'
	extension to valid 'S' extension list.

gas/ChangeLog:

	* config/tc-riscv.c (enum riscv_csr_class): Add CSR classes for
	'Smstateen' extension. (riscv_csr_address): Add handling for
	new CSR classes.
	* testsuite/gas/riscv/csr-dw-regnums.s: Add new CSRs.
	* testsuite/gas/riscv/csr-dw-regnums.d: Likewise.
	* testsuite/gas/riscv/csr.s: Add new CSRs.
	* testsuite/gas/riscv/csr-version-1p9p1.d: Likewise.
	* testsuite/gas/riscv/csr-version-1p9p1.l: Likewise.
	* testsuite/gas/riscv/csr-version-1p10.d: Likewise.
	* testsuite/gas/riscv/csr-version-1p10.l: Likewise.
	* testsuite/gas/riscv/csr-version-1p11.d: Likewise.
	* testsuite/gas/riscv/csr-version-1p11.l: Likewise.
	* testsuite/gas/riscv/csr-version-1p12.d: Likewise.
	* testsuite/gas/riscv/csr-version-1p12.l: Likewise.

include/ChangeLog:

	* opcode/riscv-opc.h (CSR_MSTATEEN0, CSR_MSTATEEN1,
	CSR_MSTATEEN2, CSR_MSTATEEN3, CSR_SSTATEEN0, CSR_SSTATEEN1,
	CSR_SSTATEEN2, CSR_SSTATEEN3, CSR_HSTATEEN0, CSR_HSTATEEN1,
	CSR_HSTATEEN2, CSR_HSTATEEN3, CSR_MSTATEEN0H, CSR_MSTATEEN1H,
	CSR_MSTATEEN2H, CSR_MSTATEEN3H, CSR_HSTATEEN0H, CSR_HSTATEEN1H,
	CSR_HSTATEEN2H, CSR_HSTATEEN3H): New CSR macros.

gas/ChangeLog:

	* config/tc-riscv.c (riscv_csr_address): Add CSR feature gate
	handling for H.  Change handling on RV32.

ChangeLog:

2022-06-27  Tom de Vries  <tdevries@suse.de>

	* configure.ac: Set extra_host_libiberty_configure_flags and
	extra_host_zlib_configure_flags in separate case statements.
	* configure: Regenerate.

ChangeLog:

2022-06-27  Tom de Vries  <tdevries@suse.de>

	* configure.ac: Build libiberty pic variant for gdbserver.
	* configure: Regenerate.

bfd/ChangeLog:

	* elfxx-riscv.c (riscv_multi_subset_supports_ext): Wrap some
	strings with the gettext macro to prepare future i18n.

gas/ChangeLog:

	* config/tc-riscv.c (riscv_ip): Fix inconsistent error message.

ld/ChangeLog:

	* configure: Regenerate.

libctf/ChangeLog:

	* testsuite/lib/ctf-lib.exp: Prune warnings from compiler and
	linker output.
	* testsuite/libctf-regression/libctf-repeat-cu.exp: Likewise,
	and ar output too.

libctf/ChangeLog:

	* ctf-serialize.c (ctf_write_mem): Fix cast.

libctf/ChangeLog:

	PR libctf/29242
	* ctf-impl.h (struct ctf_dict) [ctf_link_in_out]: New.
	* ctf-dedup.c (ctf_dedup_emit_type): Set it.
	* ctf-link.c (ctf_link_add_ctf_internal): Set the input
	CU name uniquely when clashes are found.
	(ctf_link_add): Document what repeated additions do.
	(ctf_new_per_cu_name): New, come up with a consistent
	name for a new per-CU dict.
	(ctf_link_deduplicating): Use it.
	(ctf_create_per_cu): Use it, and ctf_link_in_out, and set
	ctf_link_in_out properly.  Don't overwrite per-CU dicts with
	per-CU dicts relating to different inputs.
	(ctf_link_add_cu_mapping): Prevent per-CU mappings being set up
	if we already have per-CU outputs.
	(ctf_link_one_variable): Adjust ctf_link_per_cu call.
	(ctf_link_deduplicating_one_symtypetab): Likewise.
	(ctf_link_empty_outputs): New, delete all the ctf_link_outputs
	and blank out ctf_link_in_out on the corresponding inputs.
	(ctf_link): Clarify the effect of multiple ctf_link calls.
	Empty ctf_link_outputs if it already exists rather than
	having the old output leak into the new link.  Fix a variable
	name.
	* testsuite/config/default.exp (AR): Add.
	(OBJDUMP): Likewise.
	* testsuite/libctf-regression/libctf-repeat-cu.exp: New test.
	* testsuite/libctf-regression/libctf-repeat-cu*: Main program,
	library, and expected results for the test.

gdb/ChangeLog:

	* debuginfod-support.c (debuginfod_is_enabled): Always use
	DIAGNOSTIC_IGNORE_STRINGOP_OVERREAD.

bfd/ChangeLog:

        * elfxx-riscv.c (riscv_multi_subset_supports): New extensions.
        (riscv_multi_subset_supports_ext): New extensions.

gas/ChangeLog:

        * testsuite/gas/riscv/fp-zhinx-insns.d: New test.
        * testsuite/gas/riscv/fp-zhinx-insns.s: New test.

include/ChangeLog:

        * opcode/riscv.h (enum riscv_insn_class): New INSN classes.

opcodes/ChangeLog:

        * riscv-opc.c: Modify INSN_CLASS.

bfd/ChangeLog:

	* elfxx-riscv.c (riscv_parse_check_conflicts): Remove conflict
	detection that prohibits RV32Q on 'Q' version 2.2 or later.

gas/ChangeLog:

	* testsuite/gas/riscv/march-fail-rv32iq.d: Removed.
	* testsuite/gas/riscv/march-fail-rv32iq.l: Likewise.
	* testsuite/gas/riscv/march-fail-rv32iq2p0.d: New test
	showing RV32IQ fails on 'Q' extension version 2.0.
	* testsuite/gas/riscv/march-fail-rv32iq2p0.l: Likewise.
	* testsuite/gas/riscv/march-fail-rv32iq2.d: Likewise.
	* testsuite/gas/riscv/march-fail-rv32iq-isa-2p2.d: New test
	showing RV32IQ fails on ISA specification version 2.2.
	* testsuite/gas/riscv/march-ok-rv32iq2p2.d: New test
	showing RV32IQ succesds on 'Q' extension version 2.2.
	* testsuite/gas/riscv/march-ok-rv32iq-isa-20190608.d: New test
	showing RV32IQ succesds on ISA specification 20190608.

bfd/ChangeLog:

        * elfxx-riscv.c: New imply.

gas/ChangeLog:

        * testsuite/gas/riscv/csr-insns-pseudo-zfinx.d: New test.

opcodes/ChangeLog:

        * riscv-opc.c: Update insn class.

gas/ChangeLog:

	* testsuite/gas/riscv/fmv.x.q-rv64-fail.d: New failure test.
	* testsuite/gas/riscv/fmv.x.q-rv64-fail.l: Likewise.
	* testsuite/gas/riscv/fmv.x.q-rv64-fail.s: Likewise.

include/ChangeLog:

	* opcode/riscv-opc.h (MATCH_FMV_X_Q, MASK_FMV_X_Q,
	MATCH_FMV_Q_X, MASK_FMV_Q_X): Remove RV128-only instructions.

opcodes/ChangeLog:

	* riscv-opc.c (riscv_opcodes): Remove RV128-only instructions.

bfd/ChangeLog:

	* elfxx-riscv.c (riscv_recognized_prefixed_ext): Fix "K" extension
	prefix to be placed before "J".

include/ChangeLog:

2022-05-16  Tamar Christina  <tamar.christina@arm.com>

	* opcode/aarch64.h (AARCH64_ARCH_V9_FEATURES): Add AARCH64_FEATURE_F16.

 gdb/ChangeLog:

    * debuginfod-support.c (debuginfod_is_enabled): Use
      DIAGNOSTIC_IGNORE_STRINGOP_OVERREAD on powerpc64.

include/ChangeLog:

	* ansidecl.h: Sync from GCC.

include/ChangeLog:

	* diagnostics.h (DIAGNOSTIC_IGNORE_STRINGOP_OVERREAD): New
	macro.

gdb/ChangeLog:

	* debuginfod-support.c (debuginfod_is_enabled): Use
	DIAGNOSTIC_IGNORE_STRINGOP_OVERREAD on s390x.

include/ChangeLog:

	* plugin-api.h (enum ld_plugin_tag): Sync with GCC.

libctf/ChangeLog:

	* ctf-dedup.c (ctf_dedup_detect_name_ambiguity): Use
	cd_output_first_gid to break ties.

ld/ChangeLog:

	* testsuite/ld-ctf/array-conflicted-ordering.d: New test, using...
	* testsuite/ld-ctf/array-char-conflicting-1.c: ... this...
	* testsuite/ld-ctf/array-char-conflicting-2.c: ... and this.
	* testsuite/ld-ctf/array-extern.d: New test, using...
	* testsuite/ld-ctf/array-extern.c: ... this.
	* testsuite/ld-ctf/conflicting-typedefs.d: Adjust for ordering
	changes.

include/ChangeLog:

	* ctf-api.h (ctf_*open): Improve comment.

bfd/ChangeLog:

	* elf.c (elfcore_grok_freebsd_note): Handle NT_ARM_TLS notes.

bfd/ChangeLog:

	* coff-rs6000.c (xcoff_reloc_type_noop): Add info argument.
	(xcoff_reloc_type_fail): Likewise.
	(xcoff_reloc_type_pos): Likewise.
	(xcoff_reloc_type_neg): Likewise.
	(xcoff_reloc_type_rel): Likewise.
	(xcoff_reloc_type_toc): Likewise.
	(xcoff_reloc_type_ba): Likewise.
	(xcoff_reloc_type_crel): Likewise.
	(xcoff_reloc_type_tls): Likewise.
	(xcoff_reloc_type_br): Add stub handler.
	(xcoff_ppc_relocate_section): Add info to
	xcoff_calculate_relocation.
	(xcoff_stub_indirect_call_code): New constant.
	(xcoff_stub_shared_call_code): Likewise.
	(bfd_xcoff_backend_data): Add stub code fields.
	(bfd_pmac_xcoff_backend_data): Likewise.
	* coff64-rs6000.c (xcoff64_reloc_type_br): Add stub handler.
	(xcoff64_ppc_relocate_section): Add info to
	xcoff64_calculate_relocation.
	(xcoff64_stub_indirect_call_code): New constant.
	(xcoff64_stub_shared_call_code): Likewise.
	(bfd_xcoff_backend_data): Add stub code fields.
	(bfd_xcoff_aix5_backend_data): Likewise.
	* libxcoff.h (struct xcoff_backend_data_rec): Add stub fields.
	(bfd_xcoff_stub_indirect_call_code): New define.
	(bfd_xcoff_stub_indirect_call_size): New define.
	(bfd_xcoff_stub_shared_call_code): New define.
	(bfd_xcoff_stub_shared_call_size): New define.
	(xcoff_reloc_function): Add info argument.
	(enum xcoff_stub_type): New enum.
	(struct xcoff_stub_hash_entry): New structure.
	* xcofflink.c (struct xcoff_link_hash_table): Add stub hash
	table and params fields.
	(xcoff_stub_hash_entry): New define.
	(xcoff_stub_hash_lookup): New define.
	(stub_hash_newfunc): New function.
	(_bfd_xcoff_bfd_link_hash_table_free): Free the new stub hash
	table.
	(_bfd_xcoff_bfd_link_hash_table_create): Create the new stub
	hash table.
	(xcoff_link_add_symbols): Save rawsize for XTY_SD.
	(bfd_xcoff_link_init): New function.
	(xcoff_stub_csect_name): New function.
	(xcoff_stub_get_csect_in_range): New function.
	(xcoff_stub_name): New function.
	(bfd_xcoff_get_stub_entry): New function.
	(bfd_xcoff_type_of_stub): New function.
	(xcoff_add_stub): New function.
	(xcoff_build_one_stub): New function.
	(bfd_xcoff_size_stubs): New function.
	(bfd_xcoff_build_stubs): New function.
	(xcoff_stub_create_relocations): New function.
	(xcoff_link_input_bfd): Adapt relocations to stub.
	(xcoff_write_global_symbol): Adapt to new TOC entries generated
	for stubs.
	(_bfd_xcoff_bfd_final_link): Handle stub file.
	* xcofflink.h (struct bfd_xcoff_link_params): New structure.

ld/ChangeLog:

	* emultempl/aix.em (params): New variable.
	(stub_file): New variable.
	(xcoff_add_stub_section): New function.
	(xcoff_layout_sections_again): New function
	(hook_in_stub): New function.
	(_after_allocation): Add stub creation.
	(_create_output_section_statements): Allocate stub file and
	pass params to backend.

bfd/ChangeLog:

	* coff-rs6000.c (_bfd_xcoff_put_ldsymbol_name): Write len in
	  ldinfo->strings instead of directly in the output_bfd.
	* coff64-rs6000.c (_bfd_xcoff64_put_ldsymbol_name): Likewise.
	* xcofflink.c (struct xcoff_link_hash_table): Remove ldrel_count
	  field. Add ldinfo field.
	(xcoff_mark_symbol): Adjust to new ldinfo field.
	(xcoff_mark): Likewise.
	(bfd_xcoff_link_count_reloc): Likewise.
	(xcoff_build_loader_section): Split into two functions: one that
	build the loader section (this function) and one that only size
	it...
	(xcoff_size_loader_section): ... (this function).
	(bfd_xcoff_size_dynamic_sections): Adapt to new ldinfo field.
	Move the part where the dynamic sections are build to ...
	(bfd_xcoff_build_dynamic_sections): ... this function.
	* xcofflink.h: Add bfd_xcoff_build_dynamic_sections prototype.

include/ChangeLog:

	* coff/xcoff.h (struct xcoff_loader_info): Add ldrel_count and
	libpath fields.

ld/ChangeLog:

	* emultempl/aix.em (_after_allocation): New function.

gas/ChangeLog:

	PR 29058
	* config/tc-m68k.h (TC_SYMFIELD_TYPE): define as m68k_tc_sy.
	* config/tc-m68k.c (m68k_frob_label): Use TC_SYMFIELD_TYPE to
	store label information.

ChangeLog:

	* configure.ac: Add AC_SUBST(PKG_CONFIG_PATH).
	* configure: Re-generate.
	* Makefile.tpl (HOST_EXPORTS): Pass PKG_CONFIG_PATH.
	(PKG_CONFIG_PATH): New.
	* Makefile.in: Re-generate.

gas/ChangeLog:

	* config/tc-s390.c (s390_parse_cpu): Add z16 as alternate CPU
	name.
	* doc/as.texi: Add z16 and arch14 to CPU string list.
	* doc/c-s390.texi: Add z16 to CPU string list.

opcodes/ChangeLog:

	* s390-mkopc.c (main): Enable z16 as CPU string in the opcode
	table.

opcodes/ChangeLog:

	* disassembler.c (disassemble_init_for_target): Set
	created_styled_output for i386 based targets.
	* i386-dis.c: Changed throughout to use fprintf_styled_func
	instead of fprintf_func.

opcodes/ChangeLog:

	* disassembler.c (disassemble_init_for_target): Set
	created_styled_output for riscv.
	* riscv-dis.c: Changed throughout to use fprintf_styled_func
	instead of fprintf_func.

binutils/ChangeLog:

	* NEWS: Mention new feature.
	* doc/binutils.texi (objdump): Describe --disassembler-color
	option.
	* objdump.c (disassembler_color): New global.
	(disassembler_extended_color): Likewise.
	(disassembler_in_comment): Likewise.
	(usage): Mention --disassembler-color option.
	(long_options): Add --disassembler-color option.
	(objdump_print_value): Use fprintf_styled_func instead of
	fprintf_func.
	(objdump_print_symname): Likewise.
	(objdump_print_addr_with_sym): Likewise.
	(objdump_color_for_disassembler_style): New function.
	(objdump_styled_sprintf): New function.
	(fprintf_styled): New function.
	(disassemble_jumps): Use disassemble_set_printf, and reset
	disassembler_in_comment.
	(null_styled_print): New function.
	(disassemble_bytes): Use disassemble_set_printf, and reset
	disassembler_in_comment.
	(disassemble_data): Update init_disassemble_info call.
	(main): Handle --disassembler-color option.

include/ChangeLog:

	* dis-asm.h (enum disassembler_style): New enum.
	(struct disassemble_info): Add fprintf_styled_func field, and
	created_styled_output field.
	(disassemble_set_printf): Declare.
	(init_disassemble_info): Add additional parameter.
	(INIT_DISASSEMBLE_INFO): Add additional parameter.

opcodes/ChangeLog:

	* dis-init.c (init_disassemble_info): Take extra parameter,
	initialize the new fprintf_styled_func and created_styled_output
	fields.
	* disassembler.c (disassemble_set_printf): New function definition.

bfd/ChangeLog:

	* elf-bfd.h (elfcore_write_x86_segbases): New.
	* elf.c (elfcore_grok_freebsd_note): Add pseudosections for
	NT_FREEBSD_X86_SEGBASES register notes.
	(elfcore_write_x86_segbases): New.
	(elfcore_write_register_note): Write NT_FREEBSD_X86_SEGBASES
	register notes.

binutils/ChangeLog:

	* readelf.c (get_freebsd_elfcore_note_type): Handle
	NT_FREEBSD_X86_SEGBASES.

include/ChangeLog:

	* elf/common.h (NT_FREEBSD_X86_SEGBASES): Define.

bfd/ChangeLog:

	* elf.c (elfcore_grok_freebsd_note): Remove checks for namesz.

