ChangeLog:

	* configure.ac: Pass CPPFLAGS_FOR_BUILD to subdirectories.
	* configure: Regenerate.

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.

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-09-19  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* target.h (class process_stratum_target <supports_btrace>): Declare.
	* target.cc (process_stratum_target::supports_btrace): Define.
	* server.cc (handle_query): Omit reporting support for btrace packets
	if the target does not support it.
	* linux-low.cc (linux_process_target::supports_btrace): Define.
	* linux-low.h (class process_stratum_target <supports_btrace>):
	Declare.

bfd/ChangeLog:
2022-05-31  Alan Modra  <amodra@gmail.com>

	* elf32-v850.c (v850_elf_set_note): Make "note" param an
	unsigned int.

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

	* lib/gdb.exp (test_compiler_info): Return compiler from the
	board info in case OFFLOAD_IGNORE_PREPARE_FOR_TESTING option is
	set.
	* lib/openmp.exp (prepare_openmp_for_testing): Avoid re-compilation
	if option OFFLOAD_IGNORE_PREPARE_FOR_TESTING is set.
	(is_omp_offload_supported_compiler): C++ icpx compiler info contains
	icx-* so condition is updated to accept icpx-* compiler info
	of the board settings.
	* gdb.openmp/mixed-lang-stack.exp: Ditto.

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

	* gdb.openmp/break-before-kernel-workaround.exp: Iterate over pre-defined
	devices list in a board file and run the test steps on all of them.
	* gdb.openmp/break-before-kernel.exp: Ditto.
	* gdb.openmp/break-inside-kernel.exp: Ditto.
	* gdb.openmp/break.exp: Ditto.
	* gdb.openmp/break2.exp: Ditto.
	* gdb.openmp/call-stack.exp: Ditto.
	* gdb.openmp/cond-bp-on-local.exp: Ditto.
	* gdb.openmp/delete-bp.exp: Ditto.
	* gdb.openmp/derived-type-function.exp: Ditto.
	* gdb.openmp/derived-type-striding.exp: Ditto.
	* gdb.openmp/disable-bp.exp: Ditto.
	* gdb.openmp/infcall-parallel-for.exp: Ditto.
	* gdb.openmp/info-locals-and-args.exp: Ditto.
	* gdb.openmp/intelgt-auto-attach.exp: Ditto.
	* gdb.openmp/intelgt-run-inf2.exp: Ditto.
	* gdb.openmp/mixed-lang-stack.exp: Ditto.
	* gdb.openmp/module.exp: Ditto.
	* gdb.openmp/multi-kernel-async.exp: Ditto.
	* gdb.openmp/multi-kernel-unnamed.exp: Ditto.
	* gdb.openmp/multi-kernel.exp: Ditto.
	* gdb.openmp/parallel-for-1D.exp: Ditto.
	* gdb.openmp/parallel-for-2D.exp: Ditto.
	* gdb.openmp/read.exp: Ditto.
	* gdb.openmp/run-to-termination.exp: Ditto.
	* gdb.openmp/step-into-function.exp: Ditto.
	* gdb.openmp/step-parallel-for.exp: Ditto.
	* gdb.openmp/step.exp: Ditto.
	* gdb.openmp/temporary-bp.exp: Ditto.
	* gdb.openmp/vla-array.exp: Ditto.
	* gdb.openmp/write-local.exp: Ditto.
	* lib/openmp.exp (openmp_compilation_options): Deleted.
	(prepare_openmp_for_testing): Call build_executable with 'openmp'
	option and use extension value to pass c++ or f90 option for
	openmp offload tests.
	(skip_openmp_tests): Update check for the initialization of OpenMP
	device name.
	(omp_is_gen12): Replace cache with normal procedure since now
	tests run on all available devices.
	(omp_is_gen12adl): Ditto.
	(start_openmp_program): Add extension parameter to the binfile
	since for one test file executable is created for both cpp and
	f90 extensions.
	(require_openmp_device): Replace expr with ne in the condition.
	(init_openmp_device): Initializes the environment for target offload
	device and returns the test prefix.
	(is_omp_supported_device): Validate input device name.
	(omp_get_supported_devices_list): Returns the list of supported
	OpenMP devices after running openmp-devices program for each device.
	(init_omp_cpp_devices_list): Cache procedure to get OpenMP devices
	list for CPP programs.
	(init_omp_f90_devices_list): Cache procedure to get OpenMP devices
	list for F90 programs.
	(omp_get_device_list): Call the appropriate cache function for the
	devices list initialization according to the input extension cpp
	or f90.
	(is_omp_offload_supported_compiler): Check for the compiler
	if it is supported for OpenMP testing.
	README: Added the description for OpenMP tests related lists
	OFFLOAD_BACKEND_GROUP and OPENMP_LANG_GROUP.

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.

bfd/ChangeLog:
2022-08-13  Alan Modra <amodra@gmail.com>

    	* coffcode.h (coff_set_section_contents): Sanity check _LIB.

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

	* lib/mi-support.exp: update expected output expressions and fail
	  messages.

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

	* lib/dwarf.exp (function_range): Allow argument lists in
	function pattern.

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

	* dwarf2/read.c (unnamed_template_tag_name): New helper to
	generate artificial names for unnamed template tags.
	(dwarf2_name): Add DW_TAG_template_type_param and
	DW_TAG_template_value_param to the tags that might not have a
	name and call unnamed_template_tag_name.

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

	* gdb.dwarf2/missing-type-name-for-templates.exp: New test.
	* gdb.dwarf2/missing-type-name-for-templates.c: New test source.

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

	* gdb.perf/sycl-breakpoint.exp: Update Assemble section to initialize
	the required target device for the test.
	* gdb.perf/sycl-falsecondbp.exp: Ditto.
	* gdb.perf/sycl-step.exp: Ditto.
	* gdb.perf/sycl-thread.exp: Ditto.
	* lib/sycl.exp (sycl_perftest_initialize): New function to initialize
	the required device for the performance test and set AOT flags if
	needed.  It contains the "Assemble" section of the performance tests.
	* README: Add description for OFFLOAD_PERF_AOT_TESTING.

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-08-22  Abdul Basit Ijaz  <abdul.b.ijaz@intel.com>

	* lib/sycl.exp (get_sycl_supported_devices): Cache the sycl-hello
	binary to fixed path and avoid re-compilation if option
	OFFLOAD_IGNORE_PREPARE_FOR_TESTING is set.
	(init_sycl_devices_list): Cache the sycl-devices
	binary to fixed path and avoid re-compilation if option
	OFFLOAD_IGNORE_PREPARE_FOR_TESTING is set.
	(test_initialize): Avoid re-compilation if option
	OFFLOAD_IGNORE_PREPARE_FOR_TESTING is set.
	* README: Add description for new option
	'OFFLOAD_IGNORE_PREPARE_FOR_TESTING'.

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

	* lib/sycl.exp (is_sycl_device_filtered): Read the global
	"OFFLOAD_DEVICE_GROUP" and "OFFLOAD_GPU_ID" then return 1 if
	it contains requested device, otherwise return 0.
	(get_sycl_supported_devices): Add device to supported device
	list if is_sycl_device_filtered function return 1.
	* README: Add description for new options 'OFFLOAD_DEVICE_GROUP'
	and 'OFFLOAD_GPU_ID'.

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-08-17  Mohamed Bouhaouel  <mohamed.bouhaouel@intel.com>

	* intelgt-tdep.c (fe_stack_handle_vector): New function.
	(fe_stack_read_vector): New function.
	(fe_stack_write_vector): New function.
	(fe_stack_handle_small_struct): New function.
	(fe_stack_read_small_struct): New function.
	(fe_stack_write_small_struct): New function.
	(fe_stack_handle_primitive): New function.
	(fe_stack_read_primitive): New function.
	(fe_stack_write_primitive): New function.
	(intelgt_return_value): Updated.
	(intelgt_return_in_first_hidden_param_p): Updated.
	(intelgt_push_dummy_call): Updated.
	(intelgt_reserve_stack_space): New function.
	(intelgt_get_inferior_call_return_value): New function.
	(intelgt_gdbarch_init): Updated.

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

	* gdb.sycl/infcall-more.cpp: Enhancement.
	* gdb.sycl/infcall-more.exp: Enhancement.
	* gdb.sycl/intelgt-return-value.cpp: Enhancement.
	* gdb.sycl/intelgt-return-value.exp: Enhancement.

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

	* gdbarch-components.py (get_inferior_call_return_value): New gdbarch method.
	* gdbarch-gen.h: Regenerated.
	* gdbarch.c: Regenerated.
	* infcall.h (default_get_inferior_call_return_value): New function prototype.
	(call_return_meta_info): Struct moved from infcall.c.
	* infcall.c (get_call_return_value): Renamed to...
	(default_get_inferior_call_return_value) ...this.

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

	* gdbarch-components.py (reserve_stack_space): New gdbarch function.
	* gdbarch-gen.h: Regenerated.
	* gdbarch.c: Regenerated.
	* infcall.h (default_reserve_stack_space): New function prototype.
	* infcall.c (reserve_stack_space): Renamed to...
	(default_reserve_stack_space) ...this.

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.

bfd/ChangeLog:
2022-06-23  Natalia Saiapova  <natalia.saiapova@intel.com>
	* config.bfd: Add intelgt_elf64_vec.
	* configure.ac: Define intelgt_elf64_vec.
	* configure: Regenerate.
	* reloc.c: Define IntelGT specific relocations.
	* bfd-in2.h: Regenerate.
	* libbfd.h: Regenerate.
	* targets.c: Add intelgt_elf64_vec.
	* elf64-intelgt.c: New file.

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

	* readelf.c (dump_relocations): Add IntelGT relocations.
	(is_32bit_abs_reloc): Mention R_ZE_SYM_ADDR_32.
	(is_64bit_abs_reloc): Mention R_ZE_SYM_ADDR.

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

	* elf/intelgt.h: New file.

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

	* intelgt-tdep.c (intelgt_infcall_bp_address): gdbarch method
	implementation.
	(intelgt_gdbarch_init): Set the dummy call location to
	AT_CUSTOM_POINT and define infcall_bp_address method.

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

	* gdbarch-components.py (infcall_bp_address): Define new set of
	methods for infcall_bp_address.
	* gdbarch.c: Regenerate.
	* gdbarch-gen.h: regenerate.
	* inferior.h (enum call_dummy_location_kind): New kind
	AT_CUSTOM_POINT.
	* infcall.c (call_function_by_hand_dummy): Consider new location
	kind.

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

	* gdbarch-components.py: Use call_dummy_location_kind instead of int.
	* gdbarch.c: Regenerate.
	* gdbarch-gen.h: Regenerate.
	* inferior.h (ON_STACK): Move this ...
	(AT_ENTRY_POINT): ... and this to ...
	(enum call_dummy_location_kind): ... new enum here.

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-03-17  Christina Schimpe  <christina.schimpe@intel.com>

	* amd64-tdep.c (amd64_displaced_step_fixup): Correct shadow stack if
	enabled.
	* i386-tdep.c (i386_displaced_step_fixup): Likewise.

gdb/testsuite/ChangeLog:
2022-03-17  Christina Schimpe  <christina.schimpe@intel.com>

	* gdb.arch/i386-cet-disp-step.exp: New testfile.
	* gdb.arch/i386-cet.c: Adapt for displaced stepping tests.

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

	* gdb.texinfo: Add description of shadow stack manipulation.

bfd/ChangeLog:
2021-02-18  Lu, Hongjiu  <hongjiu.lu@intel.com>
	    Felix Willgerodt  <felix.willgerodt@intel.com>

	* elf.c (elfcore_grok_cetreg ): New function.
	(elfcore_grok_note): Add case for NT_X86_CET.
	(elfcore_write_cetreg): New function.
	(elfcore_write_register_note): Add CET section.

gdb/ChangeLog:
2021-02-18  Lu, Hongjiu  <hongjiu.lu@intel.com>
	    Felix Willgerodt  <felix.willgerodt@intel.com>

	* amd64-linux-tdep.c (amd64_linux_core_read_description): Add and
	adjust calls for CET.
	(amd64_linux_iterate_over_regset_sections): Add CET state.
	* i386-linux-tdep.c (i386_linux_core_read_cet_state_p): New function.
	(i386_linux_core_read_description): Add and adjust calls for CET.
	(i386_linux_supply_cetregset): New function.
	(i386_linux_collect_cetregset): New function.
	(i386_linux_cetregset): New struct.
	(i386_linux_iterate_over_regset_sections): Add CET state.
	* i386-linux-tdep.h (i386_linux_core_read_cet_state_p): New declaration.
	(i386_linux_cetregset): New struct.

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

	* gdb.arch/i386-cet-corefile.exp: New file.

gdb/ChangeLog:
2020-12-06  Felix Willgerodt  <felix.willgerodt@intel.com>
2022-06-30  Christina Schimpe  <christina.schimpe@intel.com>

	* amd64-tdep.c (amd64_push_dummy_call): Push return address on
	shadow stack.
	* i386-tdep.c (i386_thiscall_push_dummy_call): Push return
	address on shadow stack.
	(i386_cet_shstk_push): New function.
	* i386-tdep.h: Likewise.

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

	* i386-cet-cmds.exp: Add tests.

gdb/doc/ChangeLog:
2022-06-30  Christina Schimpe  <christina.schimpe@intel.com>

	* gdb.texinfo: Add description of shadow stack manipulation.

gdb/ChangeLog:
2020-12-06  Felix Willgerodt  <felix.willgerodt@intel.com>
2022-09-01  Christina Schimpe  <christina.schimpe@intel.com>

	* amd64-tdep.c (amd64_init_abi): Setup gdbarch functions for shadow
	stack manipulation.
	* gdbarch-gen.h: Regenerate.
	* gdbarch.c: Likewise.
	* gdbarch-components.py (set_shstk_pointer, get_shstk_pointer): New
	gdbarch functions.
	* frame.c (get_frame_level): New function.
	* frame.h (get_frame_level): New declaration.
	* i386-tdep.c (i386_elf_init_abi): Setup gdbarch functions for shadow
	stack manipulation.
	(i386_cet_set_shstk_pointer): New function.
	* i386-tdep.h: Likewise.
	* stack.c (return_command): Add SSP manipulation.

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

	* i386-cet-cmds.exp: Add tests.

gdb/doc/ChangeLog:
2022-07-01  Christina Schimpe  <christina.schimpe@intel.com>

	* gdb.texinfo: Add description of shadow stack manipulation.

gdb/ChangeLog:
2018-12-03  Felix Willgerodt  <felix.willgerodt@intel.com>
2022-05-23  Christina Schimpe  <christina.schimpe@intel.com>

	* x86-cet-cmds.c (print_cet_status, cet_get_registers, cet_status_cmd):
	New functions.
	(_initialize_cet_commands): Add cet_status_cmd.
	* i386-tdep.h: Add new defines.

gdb/doc/ChangeLog:
2018-12-03  Felix Willgerodt  <felix.willgerodt@intel.com>
2022-06-22  Christina Schimpe  <christina.schimpe@intel.com>

	* gdb.texinfo: (info cet status): New documentation.

gdb/testsuite/ChangeLog:
2018-12-03  Felix Willgerodt  <felix.willgerodt@intel.com>
2022-05-23  Christina Schimpe  <christina.schimpe@intel.com>

	* gdb.arch/i386-cet-cmds.exp: Added tests.

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:
2018-12-17  Arash Bakhtiari  <arash.bakhtiari@intel.com>
2022-09-01  Christina Schimpe  <christina.schimpe@intel.com>

	* amd64-tdep.c: Init shstk_addr_byte_align attribute.
	* gdbarch.c: Regenerate.
	* gdbarch-gen.h: Likewise.
	* gdbarch-components.py (shstk_addr_byte_align): New gdbarch
	attribute.
	* i386-tdep.c (i386_cet_get_shstk_mem_range,
	i386_cet_shstk_state, i386_cet_get_shstk_pointer): New functions.
	Init shstk_addr_byte_align attribute.
	* i386-tdep.h  (i386_cet_get_shstk_mem_range,
	i386_cet_shstk_state, i386_cet_get_shstk_pointer): New functions.
	* x86-cet-cmds.c: New file.
	* Makefile.in: Add x86-cet-cmds.c.

gdb/doc/ChangeLog:
2018-12-17  Arash Bakhtiari  <arash.bakhtiari@intel.com>
2022-06-22  Christina Schimpe  <christina.schimpe@intel.com>

	* gdb.texinfo (Intel Control-flow Enforcement Technology):
	New documentation.

gdb/testsuite/ChangeLog:
2020-12-06  Felix Willgerodt  <felix.willgerodt@intel.com>
2022-08-03  Christina Schimpe  <christina.schimpe@intel.com>

	* gdb.arch/i386-cet-cmds.exp: New test file.

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

	* top.c: Add bug report url.

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

	* server.h: Increase PBUFSIZ.

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

	* gdb/dwarf2/expr.c (struct piece_closure) <frame_id>: Change to...
	<frame>: ... this.
	(allocate_piece_closure): Update.
	(rw_pieced_value): Update.

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/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-18  Felix Willgerodt  <felix.willgerodt@intel.com>

	* lib/gdb.exp (gdb_compile): Add icx and icc case when enabling
	Wno-unknown-warning-option.

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-06-10  Abdul Basit Ijaz  <abdul.b.ijaz@intel.com>

	* lib/gdb.exp: Remove --data-directory as the default option for
	INTERNAL_GDBFLAGS in case of testing the GDB from another directory.
	* README: Update the description of INTERNAL_GDBFLAGS default value.

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  Matti Puputti  <matti.puputti@intel.com>

	* intelgt-low.cc: Call igfxdbg_EnableAttentionReporting.

gdbserver/ChangeLog:
2022-06-13  Matti Puputti  <matti.puputti@intel.com>

	* nonstop-low.cc: (nonstop_process_target::cleanup_pre_resume): New method.
	* nonstop.low.h: Same.

gdbserver/ChangeLog:
2022-06-13  Matti Puputti  <matti.puputti@intel.com>

	* intelgt-low.cc: cleanup_post_resume to call igfxdbg_RescanThreads.

gdbserver/ChangeLog:
2022-06-13  Matti Puputti  <matti.puputti@intel.com>

	* nonstop-low.cc: (nonstop_process_target::cleanup_post_resume): New method.
	* nonstop.low.h: Same.

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-06-08  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* gdb.sycl/intelgt-continue-when-pending-attach.exp: Skip the
	test if running on the level-zero debug API.

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/testsuite/ChangeLog:
2022-06-10  Andrew Burgess  <aburgess@redhat.com>

	* lib/gdb.exp (get_compiler_info): Remove compiler_info and
	add persistent compiler_info_cache.
	(test_compiler_info): Use compiler_info_cache instead of removed
	compiler_info.

gdb/testsuite/ChangeLog:
2022-06-10  Andrew Burgess  <aburgess@redhat.com>

	* lib/gdb.exp (get_compiler_info): Adapt error handling.

gdb/testsuite/ChangeLog:
2022-06-10  Andrew Burgess  <aburgess@redhat.com>

	* lib/gdb.exp (get_compiler_info): Make default argument 'c'
	and adapt proc accordingly.
	(test_compiler_info): Dito.

gdb/testsuite/ChangeLog:
2022-06-10  Andrew Burgess  <aburgess@redhat.com>

	* lib/dwarf.exp (build_executable_and_dwo_files): Remove
	get_compiler_info call.
	* lib/gdb.exp (skip_altivec_tests): Dito.
	(gdb_caching_proc): Dito.
	(gdb_compiler_shlib_1): Dito.
	(build_executable_from_specs): Dito.

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

	* gdb.exp (gcc_major_version): Use test_compiler_info over
	global variable compiler_info.

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-05-23  Ari Hannula  <ari.hannula@intel.com>

	* thread.c (print_thread_row): Add new fields to MI output.
	* NEWS: Describe changes.

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

	* gdb.texinfo: Document changes.

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

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

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/ChangeLog:
2022-03-24  Mohamed Bouhaouel  <mohamed.bouhaouel@intel.com>

	* intelgt-tdep.c (intelgt_return_value): Use grf_handler.

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-02-18  Mohamed Bouhaouel  <mohamed.bouhaouel@intel.com>

	* intelgt-tdep.c (intelgt_push_dummy_call): New function.
	(intelgt_unwind_sp): New function.
	(intelgt_frame_align): New function.
	(intelgt_return_in_first_hidden_param_p): New function.
	(intelgt_dummy_id): New function.
	(get_argument_required_registers): New function.
	(get_field_total_memory): New function.
	(is_a_promotable_small_struct): New function.
	(intelgt_value_arg_coerce): New function.

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

	* gdb.sycl/infcall-more.cpp: New file.
	* gdb.sycl/infcall-more.exp: New file.
	* gdb.sycl/infcall.exp: Enable GPU testing.

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

	* gdbarch-components.py (value_arg_coerce): New.
	* gdbarch-gen.h: Regenerated.
	* gdbarch.c: Regenerated.
	* infcall.h (default_value_arg_coerce): New function prototype.
	* infcall.c (value_arg_coerce): Renamed to...
	(default_value_arg_coerce) ...this.

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-08-05  Markus Metzger  <markus.t.metzger@intel.com>

	* thread.c: Include block.h.
	(thread_get_current_block): New.
	(thread_info::has_simd_lanes): Consider the thread's current block's
	SIMD width.
	(thread_info::active_simd_lanes_mask): Likewise.

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

	* gdb.base/annota1.exp: Update a regular exp.

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/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/testsuite/ChangeLog:
2022-06-01  Felix Willgerodt  <felix.willgerodt@intel.com>

	* gdb.base/callfuncs.c: Make DELTA a float.
	* gdb.base/callfuncs.exp: Compile with
	-Wno-deprecated-non-prototype.

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/testsuite/ChangeLog:
2022-05-31  Nils-Christian Kempke  <nils-christian.kempke@intel.com>

	* gdb.fortran/common-block.exp: Allow for differnt orders in
	'info locals' and 'info commons'.

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

	* gdb.fortran/mixed-lang-stack.exp: Adapt pattern when printing
	the pointer g.  Rename the pattern for g's value.

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

	* gdb.fortran/mixed-lang-stack.cpp (derived_type): Remove ctor
	and make string const member.

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

	* gdb.fortran/module.exp: Allow additional suggestions when
	testing the complete command.

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

	* gdb.fortran/info-types.exp: Adapt test to be more open to
	other compilers.

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

	* lib/sym-info-cmds.exp: Add optinal lookup for InfoSymbols.

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

	* lib/gdb.exp: Add '-debug-parameters all' flag for ifx.

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

	* gdb.fortran/dynamic-ptype-whatis.exp: Use compiler dependent
	type print system.

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

	* gdb.fortran/function-calls.f90: Add external keyword for
	no_arg_subroutine.

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

	* gdb.fortran/charset.exp: Disable test for ifx/ifort.

gdb/testsuite/ChangeLog:
2022-03-18  Cristian Sandu  <cristian.sandu@intel.com>
2022-05-31  Nils-Christian Kempke  <nils-christian.kempke@intel.com>

	* gdb.fortran/class-allocatable-array.exp: Use new Fortran
	compiler identification.
	* gdb.fortran/derived-type-striding.exp: Dito.
	* gdb.fortran/library-module.exp: Dito.
	* gdb.fortran/nested-funcs-2.exp: Dito.
	* gdb.fortran/ptype-on-functions.exp: Dito.
	* gdb.fortran/vla-array.exp: Dito.
	* gdb.fortran/vla-type.exp: Dito.
	* lib/compiler.F90: Added support for Fortran compilers alike
	for C/CC: compiler.c/cc.
	* lib/fortran.exp: Use new Fortran compiler identification.
	* lib/gdb.exp: Support added for Fortran compilers.

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

	* lib/gdb.exp: Move getting_compiler_info variable and use it.

gdb/testsuite/ChangeLog:
2021-03-08  Felix Willgerodt  <felix.willgerodt@intel.com>
2021-08-18  Abdul Basit Ijaz  <abdul.b.ijaz@intel.com>
2022-05-31  Nils-Christian Kempke  <nils-christian.kempke@intel.com>

	* lib/fortran.exp (fortran_int4): Add case for "intel-*" compiler.
	(fortran_int8): Likewise.
	(fortran_real4): Likewise.
	(fortran_real8): Likewise.
	(fortran_complex4): Likewise.
	(fortran_complex8): Likewise.
	(fortran_complex16): Likewise.
	(fortran_logical4): Likewise.
	(fortran_character1): Likewise.

gdb/testsuite/ChangeLog:
2020-12-07  Abdul Basit Ijaz  <abdul.b.ijaz@intel.com>
2022-05-31  Nils-Christian Kempke  <nils-christian.kempke@intel.com>

	* lib/gdb.exp (gdb_compile): Use -module option
	for fortran files instead of -J.

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

	* boards/cc-with-tweaks.exp: Remove support for f77.
	* debug-types.exp: Dito.
	* boards/gold-gdb-index.exp: Dito.
	* lib/future.exp (gdb_default_target_compile_1): Remove compile
	options for f77 and F77_FOR_TARGET.
	(gdb_default_target_compile): Remove f77 as supported option.
	* lib/gdb.exp (gdb_compile): Remove f77 as supported argument.

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/ChangeLog:
2022-02-24  H.J. Lu  <hjl.tools@gmail.com>

	* amd64-linux-tdep.c (amd64_linux_read_description): Add PKRU.
	(amd64_linux_read_description): Add PKRU.
	* arch/amd64.c: Include pkeys.c over 64bit-pkeys.
	(amd64_create_target_description): Enable PKRU for x32.
	* arch/i386.c: Include pkeys.c over 64bit-pkeys.c
	(i386_create_target_description): Use consolidated
	create_feature_i386_pkeys.
	* features/Makefile (FEATURE_XMLFILES): Add
	i386/32bit-segments.xml, swith to consolidated pkeys.
	* features/i386/64bit-pkeys.c: Delete.
	* features/i386/64bit-pkeys.xml: Delete.
	* features/i386/32bit-pkeys.c: Delete.
	* features/i386/pkeys.c: Generate.
	* features/i386/32bit-pkeys.xml: Rename to pkeys.xml.

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

	* gdb.fortran/lbound-ubound.F90: Check pointer size at runtime
	and adapt test for 32 bit.
	* gdb.fortran/lbound-ubound.exp: Exclude test for 4 byte
	overflow on 32 bit targets.
	* gdb.fortran/size.f90: Check pointer size at runtime and adapt
	test for 32 bit.

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/doc/ChangeLog:
2021-11-16  Nils-Christian Kempke  <nils-christian.kempke@intel.com>

	* gdb.texinfo (Inferiors Connections and Programs): Fix typo.
	(Ada Tasks): Fix typo.

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

	* intelgt-low.cc (add_new_gt_process): Adjust message when
	attaching new device.

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/ChangeLog:
2021-11-09  Nils-Christian Kempke  <nils-christian.kempke@intel.com>

	* inferior.c (print_inferior): Add hint to info devices command
	when devices are being displayed.

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

	* NEWS (New commands): Add section about new info devices command.
	* inferior.c (print_devices): New helper method for info devices
	command.
	(info_devices_command): New method associated with the info
	devices command.
	(initialize_inferiors): Add info devices command.

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

	* gdb.texinfo (Inferiors Connections and Programs): Document the
	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.c (print_inferior): Replace NULL by nullptr.

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

	* inferior.c (inferior_pid_to_str): Adjust signature.
	(print_inferior): Make local variable const.

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

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

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

	* gdbarch-components.py <is_inferior_device>: New.
	* gdbarch.c: Newly generated.
	* gdbarch-gen.h: Newly generated.

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-05-09  Felix Willgerodt  <felix.willgerodt@intel.com>

	* record-btrace.c(record_btrace_start_replaying): Error out when
	there are no functions.

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

	* breakpoint.c (print_one_breakpoint_location): Add lane field to
	MI output, add simd_lane argument to create_breakpoint.
	* breakpoint.h (create_breakpoint): Add simd_lane argument.
	* mi/mi-cmd-break.c: Parse -l argument.
	* python/py-breakpoint.c: Fix create_breakpoint arguments.
	* python/py-finishbreakpoint.c: Fix create_breakpoint arguments.
	* guile/scm-breakpoint.c: Fix create_breakpoint arguments.
	* NEWS: Added description of changes.

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

	* gdb.texinfo: Document new -l argument.

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

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

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_1): Do not check for threads/execution when
	the current target is in pending attach state.
	(continue_command): Dito.
	* infrun.c (user_visible_resum_ptid): Allow the current thread to
	be nullptr.
	(clear_proceed_status): Clear the proceed status for other threads
	of other targets when the current target is pending attach.
	(schedlock_applies): Adapt for inferiors with no threads.
	(proceed): Modify to allow proceeding when the current
	target is in pending attach state.
	* mi/mi-interp.c (mi_on_resume): Allow resuming of targets
	without threads.
	* remote.c (resume): In non-stop mode, do not try to put a thread
	into RESUMED_PENDING_VCONT state, when pending attach.

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

	* gdb.sycl/intelgt-continue-when-pending-attach.exp: New test.

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

	* infrun.c (proceed): Move some of the variable initalizations
	and declarations.

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:
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-04-06  Nils-Christian Kempke  <nils-christian.kempke@intel.com>

	* infrun.c (proceed): Replace switch_to_thread (current_thread) with
	scoped_restore_current_thread.

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-08-09  Nils-Christian Kempke  <nils-chrstian.kempke@intel.com>

	* lib/dwarf.exp (function_range): Adapt func_pattern for C++
	main name with arguments.

gdb/ChangeLog:
2022-04-05  Bernhard Heckel  <bernard.heckel@intel.com>

	* f-lang.h (f_type_print_derivation_info): New function.
	* f-typeprint.c (f_language::f_type_print_derivation_info):
	New function.
	(f_language::f_type_print_base): Print derivation info.

gdb/testsuite/ChangeLog:
2022-04-05  Bernhard Heckel  <bernard.heckel@intel.com>

	* gdb.fortran/oop_extend_type.exp: Adapt test for 'extends'
	derivation print.

gdb/ChangeLog:
2022-04-05  Bernhard Heckel  <bernard.heckel@intel.com>

	* f-exp.y: Allow typenames as names in parser.
	* valops.c (value_struct_elt): Look for Fortran inherited
	fields.

gdb/testsuite/ChangeLog:
2022-04-05  Bernhard Heckel  <bernard.heckel@intel.com>

	* gdb.fortran/oop_extend_type.exp: New test.
	* gdb.fortran/oop_extend_type.f90: New test source.

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

	* gdb.texinfo (Fortran): Remove explicit reference to Fortran 77.
	(Fortran Defaults): Move and adapt section.
	(Fortran Types): New section.
	(Fortran Intrinsics): New section.

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

	* gdb.fortran/complex.exp: Add test for complex from integers.
	* gdb.fortran/complex.F90: Add complex variable constructed
	from integers.

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

	* f-exp.h (eval_op_f_ceil): Add missing comment and new overload.
	(eval_op_f_floor): Dito.
	(eval_op_f_cmplx): Add missing comments and 2 new overloads.
	(eval_op_f_array_size): Fix comment.
	(eval_op_f_array_size): Add new overload.
	(binary_kind_ftype): New typedef.
	(fortran_kind_2arg): New class.
	(ternary_kind_ftype) New typedef.
	(fortran_kind_3arg): New class.
	(fortran_ceil_operation): Remove using directive.
	(fortran_floor_operation): Dito.
	(fortran_ceil_operation_1arg): New using directive.
	(fortran_ceil_operation_2arg): Dito.
	(fortran_floor_operation_1arg): Dito.
	(fortran_floor_operation_2arg): Dito.
	(fortran_array_size_3arg): Dito.
	(fortran_cmplx_operation): Removed.
	(fortran_cmplx_operation_1arg): New using directive.
	(fortran_cmplx_operation_2arg): Dito.
	(fortran_cmplx_operation_3arg): Dito.
	(fortran_bound_3arg): New class.
	* f-exp.y: Rewrite expession handling.
	(wrap_unop_intrinsic): New function.
	(wrap_binop_intrinsic): Dito.
	(wrap_ternop_intrinsic): Dito.
	(fortran_wrap2_kind): Dito.
	(fortran_wrap3_kind): Dito.
	(tokens): Add UNOP_OR_BINOP_OR_TERNOP_INTRINSIC token.
	(f_keywords): Adapt tokens.
	* f-lang.c (fortran_bounds_all_dims): Change used integer type.
	(fortran_bounds_for_dimension): Add passing of result type.
	(fortran_array_size): Dito.
	(eval_op_f_array_size): Set default result type.
	(eval_op_f_array_size): Dito.  Implement second overload.
	(fortran_ceil_operation): New helper function.
	(eval_op_f_ceil): Pass to fortran_ceil_operation.
	Implement new overload.
	(fortran_floor_operation): New helper function.
	(fortran_op_f_floor): Pass to fortran_floor_operation.
	Implement new overload.
	(eval_op_f_cmplx): Adapt for return type argument. Implement 2
	new overloads.
	(fortran_bound_2arg::evaluate): Adapt for new signature of
	helper fortran_bounds_for_dimension.
	(fortran_bound_3arg::evaluate): New method.
	* gdb/std-operator.def: Rename some Fortran operators.

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

	* gdb.fortran/intrinsics.exp: Adapt for new intrinsics handling
	and new tests.
	* gdb.fortran/lbound-ubound.F90: Dito.
	* gdb.fortran/lbound-ubound.exp: Dito.
	* gdb.fortran/size.exp: Dito.
	* gdb.fortran/size.F90: Dito.

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

	* f-exp.y (f77_keywords): Rename to f_keywords.

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

	* f-lang.c (build_fortran_types): Change name of default
	integer and real types.

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

	* gdb.fortran/complex.exp: Adapt for new Fortran default type
	print.
	* gdb.fortran/types.exp: Dito.  Add missing tests.

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

	* f-exp.y (tokens): Reorder and complete token list.
	(typebase): Parse all newly added tokens and remove old ones.
	(f77_keywords): Complete and reoder keyword list.
	* f-lang.c (build_fortran_types): Complete and reoder builtin
	types.
	* f-lang.h (builtin_f_type): Complete and reorder types.

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

	* gdb.fortran/types.exp (test_default_types): New procedure.
	(test_primitive_types_known): Reoder and complete tests for
	types.

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

	* f-lang.c (f_language::language_arch_info): Change default
	logical to builtin_logical.

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

	* gdb.fortran/types.exp (test_logical_literal_types_accepted):
	Change default logical type expected.

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

	* f-lang.c (build_fortran_types): Reformat.

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

	* f-exp.y (parse_number): Add COMPLEX_S4_KEYWORD and remove
	COMPLEX_S32_KEYWORD.
	(typebase parsing): Adapt complex parsing to new keywords.
	(convert_to_kind_type): Adapt for new complex types.
	(f77_keywords): Adapt to new complex types and reorder.
	* f-lang.c (language_arch_info): Add builtin_complex over
	builtin_complex_s16.
	(build_fortran_types): Rename complex types and reorder.
	* f-lang.h (builtin_f_type) Add builtin_complex over
	builtin_complex_s32.

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

	* gdb.fortran/types.exp (test_primitive_types_known): Add tests
	for all complex types.

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

	* f-lang.c: Remove hidden ^L characters.

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

	* gdb/f-exp.y (convert_to_kind_type): Parse kind=1 for Integer.
	* gdb/f-lang.c (build_fortran_types): Add Integer(kind=1).
	* gdb/f-lang.h (builtin_f_type): Add builtin_integer_s1.

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

	* gdb.fortran/type-kinds.exp: Add tests for Integer(kind=1).
	* gdb.fortran/types.exp: Add tests for Integer(kind=1).

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-03-03  Felix Willgerodt  <felix.willgerodt@intel.com>

	* i386-tdep.c (i386_extract_return_value): Change buffer size(s).
	(i386_store_return_value): Same.
	(i386_pseudo_register_read_into_value): Same.
	(i386_pseudo_register_write): Same.
	* i387-tdep.c (i387_register_to_value): Same.
	(i387_value_to_register): Same.
	(i387_collect_xsave): Same.

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

	* i387-fp.cc (i387_cache_to_xsave): Add extra buffer for tiledata.

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

	* amd64-linux-nat.c (amd64_linux_gregset32_reg_offset):
	Add AMX registers.
	* amd64-linux-tdep.c (amd64_linux_gregset_reg_offset):
	Add AMX registers.
	(amd64_linux_read_description): Handle AMX target description.
	* amd64-tdep.c (amd64_tilecfg_raw_names): New array.
	(amd64_tiledata_names): Same.
	(amd64_tmm_names): Same.
	(amd64_tilecfg_names): Same.
	(amd64_pseudo_register_name): Add AMX register names.
	(amd64_tmm_resize_read): New function.
	(amd64_tmm_resize_write): Same.
	(amd64_pseudo_register_read_value): Add tmm and tilecfg case.
	(amd64_pseudo_register_write): Same.
	(amd64_init_abi): Handle AMX feature.
	(amd64_target_description): Handle AMX target description.
	* amd64-tdep.h (amd64_regnum): Add AMX registers.
	* arch/amd64.c (amd64_create_target_description): Add
	AMX feature handling.
	* features/Makefile (FEATURE_XMLFILES): Add new AMX feature.
	* features/i386/64bit-amx.c: New file.
	* features/i386/64bit-amx.xml: New file.
	* i386-linux-tdep.c (i386_linux_gregset_reg_offset):
	Add AMX registers.
	* i386-linux-tdep.h (I386_LINUX_ORIG_EAX_REGNUM): Update
	ORIG_EAX offset.
	* i386-tdep.c (i386_tilecfg_raw_names): New array.
	(i386_tiledata_names): Same.
	(i386_tilecfg_names): Same.
	(i386_tmm_names): Same.
	(i386_tilecfg_regnum_p): New function.
	(i386_tmm_regnum_p): Same.
	(i386_pseudo_register_name): Add AMX register names.
	(tilecfg_reg::tilecfg_reg): New constructor.
	(i386_tmm_type): New function.
	(i386_tilecfg_type): Same.
	(i386_pseudo_register_type): Handle new AMX pseudo registers.
	(i386_register_reggroup_p): Same.
	(i386_validate_tdesc_p): Add new AMX feature.
	(i386_gdbarch_init): Initialize new AMX registers.
	* i386-tdep.h (gdbarch_tdep): Add AMX regnum values.
	(i386_regnum): Add AMX registers.
	(I386_MAX_REGISTER_SIZE): Update define.
	(i386_tilecfg_regnum_p): New function declaration.
	(i386_tmm_regnum_p): Same.
	(tilecfg_reg): New class.
	* i387-tdep.c (xsave_tilecfg_raw_offset): New array.
	(XSAVE_TILECFG_RAW_ADDR): New define.
	(xsave_tiledata_offset): New array.
	(XSAVE_TILEDATA_ADDR): New define.
	(i387_supply_xsave): Add AMX register handling.
	(i387_collect_xsave): Same.
	* i387-tdep.h: (I387_NUM_TILECFG_REGS): New define.
	(I387_NUM_TILECFG_RAW_REGS): Same.
	(I387_NUM_TILEDATA_REGS): Same.
	(I387_NUM_TMM_REGS): Same.
	(I387_TILECFG_REGNUM): Same.
	(I387_TILECFG_RAW_REGNUM): Same.
	(I387_TMM_REGNUM): Same.
	(I387_TILEDATA_REGNUM): Same.

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

	* gdb.texinfo (Advanced Matrix Extensions): New subsection.
	(i386 Features): Document AMX feature.

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

	* gdb.arch/amd64-amx.c: New file.
	* gdb.arch/amd64-amx.exp: New file.
	* gdb.arch/amd64-amx-corefile.exp: New file.
	* lib/gdb.exp (skip_amx_tests): New proc.

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

	* x86-xstate.h: Update and add new defines for AMX.

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

	* i387-fp.cc (i387_xsave): Add new AMX members.
	(i387_cache_to_xsave): Add and handle AMX registers.
	* linux-amd64-ipa.cc (idx2mask): Update AMX enum.
	* linux-i386-ipa.cc (idx2mask): Update AMX enum.
	* linux-x86-low.cc (x86_64_regmap): Add AMX registers.
	* linux-x86-tdesc.cc (xc0_to_desc_idx): Add AMX target description.
	* linux-x86-tdesc.h (x86_linux_tdesc): New enum value.
	* server.h (PBUFSIZ): Increase buffer size for AMX.

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/ChangeLog:
2022-02-17  Natalia Saiapova  <natalia.saiapova@intel.com>

	* mi/mi-interp.c (display_mi_prompt): Notify the before_prompt
	observer.
	(mi_on_resume_1): Likewise.

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:
2022-01-25  Eduard Sargsyan  <eduard.sargsyan@intel.com>

	* breakpoint.c (may_leave_breakpoints_inserted): Use value of
	'always-insert' and target architecture to decide wether
	breakpoint can be kept.
	(always_inserted_mode): Extend type to have 'auto' value
	(breakpoints_should_be_inserted_now): Update
	* gdbarch.sh (struct gdbarch): Add field 'can_leave_breakpoints'.
	* gdbarch.h: Regenerate.
	* gdbarch.c: Regenerate.

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/ChangeLog:
2021-11-08  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* infcmd.c (post_create_inferior): Remove the condition
	that exec_bfd is non-null.

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

	* infcmd.c: Consider inlined functions when finding out SFN.

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

	* gdb.base/jump-inline.exp: New file.
	* gdb.base/jump-inline.c: New file.

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.

ChangeLog:
2021-09-27  Felix Willgerodt  <felix.willgerodt@intel.com>

	* README-INTEL.md: New file.

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.

gdbserver/ChangeLog:
2021-08-30  Natalia Saiapova  <natalia.saiapova@intel.com>
	* intelgt-low.cc: Use debug_print instead of fprintf.

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:
2021-08-01  Natalia Saiapova  <natalia.saiapova@intel.com>

	* intelgt-tdep.c (intelgt_unwind_pc): use $ip for unwinding.

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-02  Abdul Basit Ijaz  <abdul.b.ijaz@intel.com>

	* printcmd.c (print_variable_and_value): Print <shadowed>
	after the value of super-block variable in case of variable
	shadowing.
	* stack.c (iterate_over_block_locals): Detect variable shadowing
	using vector to track the inner block variables.
	(iterate_over_block_local_vars): Declare unordered_set type object
	and pass it to function 'iterate_over_block_locals'.
	(do_print_variable_and_value): Add Boolean variable in call back
	function to indicate variable shadowing.
	* stack.h (iterate_over_block_arg_local_vars_cb) : Ditto.
	* tracepoint.c (do_collect_symbol): Ditto.
	* value.h (print_variable_and_value): Add Boolean variable in
	function declaration to indicate variable shadowing.

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

	* gdb.opt/inline-locals.exp: Update regex expressions for testing
	'info locals' command output to handle <shadowed> annotation.
	* gdb.opt/var-shadowing.c: New file.
	* gdb.opt/var-shadowing.exp: New file.
	* gdb.rust/var_reuse.exp: New file.
	* gdb.rust/var_reuse.rs: 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/ChangeLog:
2021-06-08  Mihails Strasuns  <mihails.strasuns@intel.com>

	* gdb/arch/intelgt.c: Completely removed arch_info
	class hierarchy.  Few methods have become free functions.
	* gdb/arch/intelgt.h: Ditto.
	* gdb/intelgt-low.cc: Stop relying on the arch_info to deduce any
	necessary register information. Use target description exclusively.
	* gdb/intelgt-tdep.c: Stop relying on the arch info to deduce any
	necessary register information. Track DWARF register number
	ranges and map all of the target registers automatically.

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

	* features/Makefile: Remove intelgt features.
	* features/intelgt-arf9.c: Removed.
	* features/intelgt-arf9.xml: Removed.
	* features/intelgt-arf11.c: Removed.
	* features/intelgt-arf11.xml: Removed.
	* features/intelgt-arf12.c: Removed.
	* features/intelgt-arf12.xml: Removed.
	* features/intelgt-arf12.c: Removed.
	* features/intelgt-arf12.xml: Removed.
	* features/intelgt-debug.c: Removed.
	* features/intelgt-debug.xml: Removed.
	* features/intelgt-grf.c: Removed.
	* features/intelgt-grf.xml: Removed.
	* gdb/intelgt-tdep.c: Switch to the the single arf feature.

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

	* intelgt-low.cc (create_target_description): Dynamically
	generate the target description without using xmls.
	* configure.srv: Match feature file changes.

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

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

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

	* gdb.texinfo (General Query Packets): Document new addr_space
	argument in qSearch:memory packet.

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

	* findcmd.c (parse_find_args): Enable parsing address space
	information.
	(find_command): Same.
	* remote.c (remote_target::search_memory): Send address space
	information with the qSearch:memory packet.
	* target-delegates.c (target_ops::search_memory): Add and use
	address space argument.
	(dummy_target::search_memory): Same.
	(debug_target::search_memory): Same.
	* target.c (simple_search_memory): Same and adjust error messages.
	(default_search_memory): Same.
	(target_search_memory): Same.
	* target.h (search_memory): Same.
	(target_search_memory): Same.

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

	* gdb.base/find-unmapped.exp (test_not_found):
	Adjust regex for new warning message.

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/doc/ChangeLog:
2021-05-11  Felix Willgerodt  <felix.willgerodt@intel.com>

	* gdb.texinfo (Packets): Document address space argument in M and X
	packets.

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

	* corefile.c (write_memory): Add addr_space argument.
	(write_memory_with_notification): Same.
	* gdbcore.h (write_memory): Same.
	(write_memory_with_notification): Same.
	* remote.c (remote_target::remote_write_bytes_aux): Same and use it
	when creating any packet.
	(remote_target::remote_write_bytes): Same.
	* target.c (target_write_memory): Same.
	(target_write_partial): Same.
	(target_write_with_progress): Same.
	(target_write): Same.
	* target.h (target_write): Same.
	(target_write_with_progress) Same.
	* valops.c (value_assign): Get addr_space from type_flags and use
	it when writing.

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

	* remote-utils.cc (decode_X_packet): Add new addr_space argument
	and enable decoding it.
	* remote-utils.h (decode_X_packet): Add new addr_space argument.
	* server.cc (gdb_write_memory): Same.
	(process_serial_event): Decode addr_space in M and X packets.

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

	* target.c (target_write_memory): Add addr_space argument.
	* target/target.h (target_write_memory): Same.

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

	* intelgt-low.cc (intelgt_process_target::write_memory): Same.
	* linux-low.cc (linux_process_target::write_memory): Same.
	* linux-low.h(write_memory): Same.
	* target.cc (target_write_memory): Same.
	* target.h (write_memory): Same.

gdb/doc/ChangeLog:
2021-05-11  Felix Willgerodt  <felix.willgerodt@intel.com>
	* gdb.texinfo (Packets): Document address space argument in m packet.

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

	* auxv.h (memory_xfer_auxv): Replace shared declaration with its
	own.
	* bfd-target.c (target_bfd::xfer_partial): Add addr_space argument.
	* corefile.c (read_memory_object): Same.
	* corelow.c (core_target::xfer_partial): Same.
	* exec.c (exec_target::xfer_partial): Same.
	* inf-ptrace.c (inf_ptrace_target::xfer_partial): Same.
	* inf-ptrace.h (xfer_partial): Same.
	* linux-nat.c (linux_nat_target::xfer_partial): Same
	* linux-nat.h (xfer_partial): Same.
	* ravenscar-thread.c (ravenscar_thread_target::xfer_partial): Same.
	* record-btrace.c (record_btrace_target::xfer_partial): Same.
	* record-full.c (record_full_target::xfer_partial): Same.
	(record_full_core_target::xfer_partial): Same.
	* remote.c (remote_target::remote_read_bytes_1): Same.
	(remote_target::remote_read_bytes): Same.
	* target-delegates.c (xfer_partial): Same
	(target_ops::xfer_partial): Same.
	(dummy_target::xfer_partial): Same.
	(debug_target::xfer_partial): Same.
	* target.c (raw_memory_xfer_partial): Same.
	(memory_xfer_partial_1): Same.
	(memory_xfer_partial): Same.
	(target_xfer_partial): Same.
	(target_read_partial): Same.
	(target_read): Same.
	* target.h (target_xfer_partial_ftype): Remove.
	(raw_memory_xfer_partial): Add addr_space argument.
	(target_xfer_partial): Same.
	(xfer_partial): Same.
	(target_read): Same.
	* tracectf.c (ctf_target::xfer_partial): Same.
	* tracefile-tfile.c (tfile_target::xfer_partial): Same.
	* valops.c (read_value_memory): Get addr_space from type_flags and use
	it when reading.
	* windows-nat.c (windows_nat_target::xfer_partial): Add addr_space
	argument.

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

	* remote-utils.cc (decode_m_packet_params): Add new addr_space argument
	and enable decoding it.
	(decode_m_packet): Same.
	(decode_M_packet): Same.
	(look_up_one_symbol): Decode addr_space in m packet.
	* remote-utils.h (decode_m_packet_params): Add new addr_space argument.
	(decode_m_packet): Same.
	(decode_M_packet): Same.
	* server.cc (gdb_read_memory): Same.
	(process_serial_event): Decode addr_space in m packet.

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

	* target.c (target_read_memory): Add addr_space argument.
	* target/target.h (target_read_memory): Same.

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

	* intelgt-low.cc (intelgt_process_target::read_memory): Same.
	* linux-low.cc (linux_process_target::read_memory): Same.
	* linux-low.h(read_memory): Same.
	* target.cc (read_inferior_memory): Same.
	(target_read_memory): Same.
	* target.h (read_memory): Same.
	(target_read_memory): Same.

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>

	* gdbarch-components.py (address_space_from_type_flags): New method.
	* gdbarch.c: Regenerated.
	* gdbarch.h: Regenerated.

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.

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

	* intelgt-low.cc (intelgt_process_target::read_memory):
	(intelgt_process_target::write_memory):

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

	* server.cc (process_serial_event): Do not enforce a thread for
	the 'Hg' packet if GDB did not request one explicitly.

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

	* server.cc (require_process_or_break): New macro.
	(process_serial_event): Use 'require_process_or_break' for the 'm',
	'M', and 'X' packets.
	* target.cc (prepare_to_access_memory): Do not bail out if a thread
	is not found; use a process if possible.
	(done_accessing_memory): Call set_desired_thread instead of
	switch_to_thread.

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

	* server.cc (handle_query): Enforce having a current process
	instead of a thread.

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

	* server.cc (handle_qxfer_libraries): Enforce having a current
	process, not a thread.

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

	* server.cc (handle_qxfer_features): Use the current process,
	not the current thread.
	* tdesc.cc (current_target_desc): Ditto.

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

	* target.cc (set_desired_thread): Switch to process if the client
	state does not point to a particular thread.

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

	* inferiors.cc (switch_to_process): Allow nullptr argument.

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

	* inferiors.cc (add_process): Switch to the new process if no
	current process exists.

gdb/ChangeLog:
2020-11-12  Aleksandar Paunovic  <aleksandar.paunovic@intel.com>

	* common/tdesc.c (tdesc_predefined_types): Add int512 and
	uint512.
	* common/tdesc.h (enum tdesc_type_kind) <TDESC_TYPE_INT512>: New
	enum value.
	(enum tdesc_type_kind) <TDESC_TYPE_UINT512>: New enum value.
	* target-descriptions.c (make_gdb_type): Update to handle the
	new cases, TDESC_TYPE_INT512 and TDESC_TYPE_UINT512.
	* gdbtypes.h (struct builtin_type) <builtin_int512>: New field.
	(struct builtin_type) <builtin_uint512>: New field.
	* gdbtypes.c (gdbtypes_post_init): Update to initialize the
	two new fields, builtin_int512 and builtin_uint512.

gdb/doc/ChangeLog:
2020-11-12  Aleksandar Paunovic  <aleksandar.paunovic@intel.com>

	* gdb.texinfo (Predefined Target Types): Add int512 and uint512.

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/thread.c (simd_lane_num_make_value): New function.
	(_initialize_thread): Add new convenience variable $_simd_lane.

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

	* gdb.threads/simd-bp.exp: Add tests for $_simd_lane convenience variable.
	* gdb.threads/simd-switch.exp: Likewise.
	* gdb.threads/simd-thread.exp: Likewise.

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/ChangeLog:
2021-05-27  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* progspace.c: Include <unordered_set>.
	(update_address_spaces): Limit updating the address
	spaces to the current target.

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-05-21  Natalia Saiapova  <natalia.saiapova@intel.com>

	* breakpoint.c (maybe_print_thread_hit_breakpoint): Handle
	"inactive" state.
	(bpstat_check_breakpoint_conditions): Pretend that an inactive
	thread has active SIMD lane 0.
	(bkpt_print_it): Handle "inactive" state.
	* infrun.c (struct previous_thread_ptid_simd_lane): Remember emask.
	(proceed): Remember emask.
	(init_wait_for_inferior): Initialize the new field.
	(normal_stop): Add notifications about changing the "active"
	state.
	* thread.c (thread_command): Handle "inactive" state.

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

	* gdbthread.h (class thread_info): New method is_active.
	* thread.c (thread_info::is_active): Implement the method.
	(thread_execute_cmd): Use the method.
	(thr_try_catch_cmd): Likewise.
	(print_selected_thread_frame): Likewise.

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.

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

	* gdbthread.h (class scoped_restore_current_thread) <m_process>:
	New field.
	* inferiors.h (current_process): Update the comment.
	(has_current_process): New declaration.
	* inferiors.cc (current_process_): New global.
	(current_process_): Update to use the global.
	(switch_to_thread): Ditto.
	(switch_to_process): Ditto.
	(scoped_restore_current_thread::~scoped_restore_current_thread):
	Also restore the current process.
	(scoped_restore_current_thread::scoped_restore_current_thread):
	Store the current process.
	(has_current_process): New function.

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.

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

	* intelgt-low.cc (find_thread_from_gt_event): Guard a debug log.
	(intelgt_process_target::handle_thread_started): Use
	'find_thread_from_gt_event' to eliminate code duplication.

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.

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

	* intelgt-low.cc (intelgt_process_target::attach): Handle the case
	when the argument is 0.
	(intelgt_process_target::low_wait): Do not return
	TARGET_WAITKIND_IGNORE if there is no current thread.
	(intelgt_process_target::request_interrupt): Handle the case where
	there may be no processes, yet.
	(initialize_low): Remove device initialization.

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

	* infcmd.c (attach_command): Handle the PID=0 case.
	* process-stratum-target.h (class process_stratum_target)
	<pending_attach>: New field.
	* inferior.c (inferior_appeared): Unset the pending_attach field.
	* infrun.c (proceed): Consider targets that are pending attach.
	(stop_all_threads): Ditto.
	(normal_stop): Omit a print if the target is pending an attach.
	* remote.c (extended_remote_target::attach): Handle the PID=9 case.
	(remote_target::putpkt_binary): Ditto.

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

	* gdb.base/attach.exp: Adapt the PID=0 case for the "pending"
	scenario.

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

	* server.cc (attach_inferior): Handle the PID=0 case.
	(handle_v_attach): Ditto.
	* linux-low.cc (linux_process_target::attach): Check pid == 0;

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

	* process-stratum-target.h (all_process_targets): New declaration.
	* process-stratum-target.c (all_process_targets): New function.

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

	* intelgt-low.cc (intelgt_process_target::handle_interrupt_timedout):
	New method.
	(intelgt_process_target::process_single_event): Call
	handle_interrupt_timedout.

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-01  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* inferior.h (class inferior): Define a constructor that takes
	a new parameter, 'hidden'.
	(add_inferior): Add a 'hidden' parameter.
	(add_inferior_silent): Ditto.
	(add_inferior_with_spaces): Ditto.
	* inferior.c (inferior::inferior): Add a 'hidden' parameter.
	Assign the inf a negative number if hidden.
	(add_inferior_silent): Ditto.
	(add_inferior): Ditto.
	(unhide_inferior): New function.
	(inferior_appeared): Use 'unhide_inferior'.
	(print_inferior): Take hidden inferiors into consideration.  Accept
	a negative inferior number as the argument if hidden inferior are
	to be shown.
	(maintenance_info_inferiors): New function.
	(add_inferior_with_spaces): Add a 'hidden' parameter.
	(add_inferior_command): Extend with the '-hidden' flag.
	(remove_inferior_command): Accept a negative number as the argument.

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

	* gdb.base/inferior-hidden.exp: New file.

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-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.

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

	* intelgt-low.cc (intelgt_process_target::supports_pid_to_exec_file)
	(intelgt_process_target::pid_to_exec_file): Implement.

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

	* intelgt-low.cc (initialize_low): Disable the default shader
	except for the first device.

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'.

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

	* intelgt-low.cc (add_new_gt_process): Forward declare.
	(find_process_from_gt_event): Call add_new_gt_process to create
	a new process.

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

	* intelgt-low.cc (create_target_description): Turn into a static
	function instead of a method of 'intelgt_process_target'.
	(add_new_gt_process): Extract out from...
	(intelgt_process_target::attach): ...this.

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

	* intelgt-low.cc: Include unordered_map.
	(process_infos): New global variable to store information about
	devices/processes.
	(struct process_info_private) <device_info, dcd_device_index>:
	New field.
	(intelgt_process_target::initialize_device): New method extracted
	from...
	(intelgt_process_target::attach): ...here.
	(initialize_low): Call 'initialize_device' to initialize all
	devices.

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

	* infcmd.c (jump_command): Ignore sals from other program space(s).

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

	* gdb.base/jump.exp: Adapted for multiple inferiors.

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.

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

	* server.cc <intelgt_hostpid>: New global var.
	(gdbserver_usage): Use intelgt_hostpid.
	(captured_main): Use intelgt_hostpid.
	* intelgt-low.cc (intelgt_process_target::attach): Use the argument
	as device index.
	(initialize_low): Check that intelgt_hostpid is defined.

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

	* intelgt-low.cc (intelgt_process_target::supports_multi_process):
	Override to return true.

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

	* intelgt-low.cc (intelgt_process_target::low_resume_all_threads):
	Resume all devices.
	(intelgt_process_target::request_interrupt): Interrupt all devices.

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

	* intelgt-low.cc (intelgt_process_target::low_wait): Use null
	device handle for wildcard wait queries.

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

	* intelgt-low.cc (intelgt_process_target::handle_thread_started):
	Remove the pid parameter; use the pid of the process that tracks
	the event's device handle.
	(intelgt_process_target::process_single_event): Ditto.
	(intelgt_process_target::low_wait): Update the call to
	process_single_event.
	(find_thread_from_gt_event): Use the pid of the process that
	tracks the event's device handle.
	(intelgt_process_target::handle_device_exited): Ditto.

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

	* intelgt-low.cc <intelgt_info>: Remove the global variable.
	(struct process_info_private) <intelgt_info>: New field.
	(get_intelgt_info): New function.  Update the functions below to
	use this new function.
	(intelgt_process_target::create_target_description): Update.
	(intelgt_process_target::attach): Update.
	(intelgt_process_target::read_gt_register): Update.
	(intelgt_process_target::fetch_registers): Update.
	(intelgt_process_target::write_gt_register): Update.
	(intelgt_process_target::store_registers): Update.
	(intelgt_process_target::low_breakpoint_at): Update.

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

	* intelgt-low.cc (intelgt_process_target::handle_kernel_loaded)
	(intelgt_process_target::handle_kernel_unloaded): Use the event's
	process.

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/ChangeLog:
2020-12-22  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* dwarf2/read.c (add_partial_subprogram): Do not ignore inlined
	function if external.

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

	* gdb.dwarf2/dw2-inline-external.S: New test.
	* gdb.dwarf2/dw2-inline-external.c: New test.
	* gdb.dwarf2/dw2-inline-external.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/ChangeLog:
2020-12-07  Mihails Strasuns  <miihails.strasuns@intel.com>

	* gdb_bfd.c (mem_bfd*, gdb_bfd_open_from_target_memory): Code style tweak.

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>

	* stack.c (print_frame_info): Catch and handle NOT_AVAILABLE_ERROR if
	raised when obtaining the symtab_and_line.
	* amd64-linux-nat.c (amd64_linux_nat_target::fetch_registers):
	Raise NOT_AVAILABLE_ERROR if registers cannot be fetched.
	* remote.c (remote_target::fetch_register_using_p): Ditto.
	(remote_target::send_g_packet): Ditto.

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

	* gdb.threads/killed-outside.exp: Update the expected output.

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>

	* breakpoint.c (struct breakpoint_commands_context): New.
	(breakpoint_about_to_proceed): Use the breakpoint commands context.
	(bpstat_do_actions_1): Ditto.

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 (stop_waiting): In condition evaluation do not stop
        all threads.

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>

	* infcall.c (run_inferior_call): In condition evaluation,
        register the target back after the infcall.

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.

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-07-29  Markus Metzger  <markus.t.metzger@intel.com>

	* dwarf2/expr.c (dwarf_expr_context::execute_stack_op): Support
	DW_OP_INTEL_push_bit_piece_stack and DW_OP_INTEL_regs.
	* dwarf2/expr.h (struct dwarf_expr_context) <read_reg>: New.
	* dwarf2/frame.c (class dwarf_expr_executor) <read_reg>: New.
	* dwarf2/loc.c (class dwarf_evaluate_loc_desc) <read_reg>: New.
	(class symbol_needs_eval_context) <read_reg>: New.

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

	* dwarf.c (decode_location_expression): Add DW_OP_INTEL_regs and
	DW_OP_INTEL_push_bit_piece_stack.

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

	* dwarf2.def (DW_OP):  Define DW_OP_INTEL_push_bit_piece_stack and
	DW_OP_INTEL_regs.

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>

	* dwarf2/expr.c (dwarf_expr_context::fetch_result): Do not diagnose
	array types without an upper bound.

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-08-05  Markus Metzger  <markus.t.metzger@intel.com>

	* block.h (struct block) <simd_width>: New.
	(BLOCK_SIMD_WIDTH): New.
	* dwarf2/read.c (dwarf2_find_ancestor_attr): New.
	(read_func_scope): Consider the SIMD width.
	(read_lexical_block_scope): Likewise.

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

	* dwarf2.def (DW_AT): Add DW_AT_INTEL_simd_width.

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:
2019-03-29  Arash Bakhtiari  <arash.bakhtiari@intel.com>
2022-01-17  H.J. Lu  <hjl.tools@gmail.com>
2022-08-05  Christina Schimpe  <christina.schimpe@intel.com>

	* amd64-linux-nat.c
	(amd64_linux_gregset32_reg_offset): Add CET registers.
	(fetch_registers): Handle CET registers.
	(store_registers): Likewise.
	* amd64-linux-tdep.c
	(amd64_linux_gregset_reg_offset): Add CET registers.
	(amd64_linux_read_description): Construct target description with
	CET registers if it is supported on the target.
	* amd64-linux-tdep.h: Likewise.
	* amd64-tdep.c (amd64_init_abi): Init the target description with CET
	related info.
	* amd64-tdep.h (amd64_regnum): Add CET register numbers.
	* arch/amd64.c (amd64_create_target_description): Add CET feature.
	* arch/amd64.h: Likewise.
	* arch/i386.c (i386_create_target_description): Add CET feature.
	* arch/i386.h: Likewise.
	* features/Makefile (FEATURE_XMLFILES): Add CET XML files.
	* features/i386/32bit-cet.c: Generated.
	* features/i386/32bit-cet.xml: New file.
	* features/i386/64bit-cet.c: Generated.
	* features/i386/64bit-cet.xml: New file.
	* i386-linux-nat.c
	(fetch_registers): Handle CET registers.
	(store_registers): Likewise.
	* i386-linux-tdep.c
	(i386_linux_gregset_reg_offset): Add CET registers.
	(i386_linux_read_description): Construct target desciption with
	CET registers if it is supported on the target.
	* i386-linux-tdep.h: Likewise.
	* i386-tdep.c
	(i386_register_reggroup_p): Handle CET registers.
	(i386_validate_tdesc_p): Add CET feature.
	(i386_gdbarch_init): Init CET registers.
	* i386-tdep.h (i386_regnum): Add CET register numbers.
	* nat/x86-linux.c:
	(x86_check_cet_support): New function.
	(x86_check_cet_ptrace_status): New function.
	* nat/x86-linux.h
	(x86_check_cet_support): New function.
	(x86_check_cet_ptrace_status): New function.
	* x86-linux-nat.c (read_description): Add code to detect if CET is
	available on the target.
	(x86_linux_fetch_cet_regs): New function.
	(x86_linux_store_cet_regs): New function.
	(x86_linux_fetch_cet_regs): Fetch CET registers if CET is
	enabled.
	(x86_linux_store_cet_regs): Store CET registers if CET is
	enabled.
	* x86-linux-nat.h
	(x86_linux_fetch_cet_regs): New function.
	(x86_linux_store_cet_regs): New function.
	* x86-tdep.c:
	(x86_supply_cet, x86_collect_cet): New functions to supply/collect
	CET registers.
	* x86-tdep.h: Likewise.

include/ChangeLog:
2019-03-29  Arash Bakhtiari  <arash.bakhtiari@intel.com>
2022-02-21  Christina Schimpe  <christina.schimpe@intel.com>

	* elf/common.h (NT_X86_CET): New macro.

gdb/testsuite/ChangeLog:
2019-03-29  Arash Bakhtiari  <arash.bakhtiari@intel.com>
2022-07-07  Christina Schimpe  <christina.schimpe@intel.com>

	* lib/gdb.exp
	(skip_cet_tests): New procedure.
	* gdb.arch/i386-cet.c: New file.
	* gdb.arch/i386-cet-regs.exp: New file.

gdbserver/ChangeLog:
2019-03-29  Arash Bakhtiari  <arash.bakhtiari@intel.com>
2022-01-17  H.J. Lu  <hjl.tools@gmail.com>
2022-02-21  Christina Schimpe  <christina.schimpe@intel.com>

	* linux-x86-low.c
	(x86_64_regmap): Add CET registers.
	(x86_fill_cet_regs): New function.
	(x86_store_cet_regs): New function.
	(x86_fill_gregset): Handle CET registers.
	(x86_store_gregset): Handle CET registers.
	(x86_linux_read_description): Add code to detect if CET is available
	on the target.
	(x86_store_cet_regs): Store CET registers if CET is enabled.
	(x86_fill_cet_regs): Fill CET registers if CET is enabled.
	* linux-x86-tdesc.c
	(i386_linux_read_description): Construct target description with
	CET registers if it is supported on the target.
	(amd64_linux_read_description): Likewise.
	* linux-x86-tdesc.h: Likewise.

gdb/doc/ChangeLog:
2019-03-29  Arash Bakhtiari  <arash.bakhtiari@intel.com>

	* gdb.texinfo (i386 Features): Add description of CET registers.

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

	* utils.c (perror_warning_with_name, perror_string): Remove
	  functions.
	* utils.h (perror_warning_with_name): Remove function
	  declaration.

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

	* errors.cc (perror_warning_with_name, perror_string): New
	  function.
	* errors.h (perror_warning_with_name, perror_string): Likewise.

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:
2018-12-27  Tim Wiederhake  <tim.wiederhake@intel.com>

	* mi/mi-cmds.c (mi_cmds): Add mi_cmd_record_function_call_history.
	* mi/mi-cmds.h (mi_cmd_record_function_call_history): New declaration.
	* record.c (mi_cmd_record_function_call_history): New function.
	* record.h (mi_cmd_record_function_call_hisotry): New declaration.

gdb/testsuite/ChangeLog:
2018-12-27  Tim Wiederhake  <tim.wiederhake@intel.com>

	* gdb.mi/mi-function_call_history.exp: Add tests.

gdb/ChangeLog:
2018-12-21  Tim Wiederhake  <tim.wiederhake@intel.com>

	* mi/mi-cmds.c (mi_cmds): Add
	mi_cmd_record_function_call_history_length.
	* mi/mi-cmds.h (mi_cmd_record_function_call_history_length): New
	declaration.
	* record-btrace.c (record_btrace_target) <call_history_length>:
	New declaration.
	(record_btrace_target::call_history_length): New function.
	* record.c (mi_cmd_record_function_call_history_length): New
	function.
	* record.h (mi_cmd_record_function_call_hisotry_length): New
	declaration.
	* target-delegates.c: Regenerated.
	* target.c (target_call_hisotry_length): New function.
	* target.h (target_ops) <call_history_length>: New declaration.
	(target_call_history_length): New declaration.

gdb/testsuite/ChangeLog:
2018-12-21  Tim Wiederhake  <tim.wiederhake@intel.com>

	* gdb.mi/mi-function_call_history.c: New file.
	* gdb.mi/mi-function_call_history.exp: New file.

gdb/ChangeLog:
2018-12-27  Tim Wiederhake  <tim.wiederhake@intel.com>

	* record-btrace.c (btrace_call_history): Emit individual tuples.
	(record_btrace_target::call_history): Emit list instead of tuple,
	fix field name.
	(record_btrace_target::call_history_range): Emit list instead of
	tuple.

gdb/testsuite/ChangeLog:
2015-04-27  ravitheja.addepally  <ravitheja.addepally@intel.com>

	* gdb.btrace/server-multithreaded-function-call-history.c: New file.
	* gdb.btrace/server-multithreaded-function-call-history.exp: New file.

gdb/testsuite/ChangeLog:
2019-02-18  Tim Wiederhake  <tim.wiederhake@intel.com>

	* lib/gdb.exp (gdb_compile_pthreads): Add new error regexp.

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:
2019-02-25  Felix Willgerodt  <felix.willgerodt@intel.com>

	* py-record-btrace.c (recpy_bt_clear): New function.
	* py-record-btrace.h (recpy_bt_clear): New export.
	* py-record.c (recpy_clear): New function.
	(recpy_record_methods): Add clear_trace.

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

	* gdb.python/py-record-btrace.exp: Add tests for btrace_clear.

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

	* python.texi (gdb.Record): Document btrace_clear().

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/gdbserver/ChangeLog:
2020-04-28  Markus Metzger  <markus.t.metzger@intel.com>

	* intelgt-low.c (intelgt_process_target::sw_breakpoint_from_kind):
	Return NULL.

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

	* intelgt-low.c (intelgt_process_target)<insert_point>
	(intelgt_process_target)<remove_point>: Remove.
	(intelgt_process_target::insert_point): Remove.
	(intelgt_process_target::remove_point): Remove.
	(intelgt_process_target::supports_z_point_type): Return false.

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.

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

	* intelgt-low.cc (find_process_from_gt_event): New function.

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

	* intelgt-low.cc: Enable non-stop behavior in the intelgt target.

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/gdbserver/ChangeLog:
2020-03-13  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* gdb/gdbserver/nonstop-low.h (class nonstop_process_target):
	<supports_resume_all, resume_all_threads>: Declare.
	* gdb/gdbserver/nonstop-low.c (nonstop_process_target::resume):
	Call 'resume_all_threads' if supported.
	(nonstop_process_target::resume_one_thread): Omit resuming
	the individual thread if resuming all threads is supported and
	a wildcard continue request was issued.
	(nonstop_process_target::supports_resume_all): Define to
	return false.
	(nonstop_process_target::resume_all_threads): Define to
	assert as not reachable.

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

	* linux-low.h (class linux_process_target) <proceed_one_nti>:
	Pull upp into...
	* nonstop-low.h (class nonstop_process_target): ...here.
	* nonstop-low.cc (nonstop_process_target::proceed_one_nti)
	(nonstop_process_target::resume_one_nti_should_step)
	(nonstop_process_target::maybe_hw_step): New.
	* linux-low.cc (linux_process_target::proceed_one_nti): Pull up
	into the base class.  Update the directly/indirectly impacted
	locations below.
	(linux_process_target::handle_extended_wait)
	(linux_process_target::status_pending_p_callback)
	(linux_process_target::filter_event)
	(linux_process_target::maybe_hw_step)
	(linux_process_target::resume_stopped_resumed_lwps)
	(linux_process_target::wait_for_event_filtered)
	(linux_process_target::low_wait)
	(linux_process_target::move_out_of_jump_pad)
	(linux_process_target::resume_one_lwp_throw)
	(linux_process_target::resume_one_nti_throw)
	(linux_process_target::resume_one_lwp)
	(linux_process_target::resume_one_nti)
	(linux_process_target::start_step_over)
	(linux_process_target::has_pending_status)
	(linux_process_target::resume_one_nti_should_step)
	(regsets_store_inferior_registers)
	(linux_process_target::store_register): Update.

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

	* nonstop-low.h (struct nonstop_thread_info) <stopped>: New.
	(class nonstop_process_target) <resume_stop_one_stopped_thread,
	has_pending_status, enqueue_signal_pre_resume, proceed_one_nti>: New.
	* nonstop-low.cc (nonstop_process_target::resume_one_thread)
	(nonstop_process_target::has_pending_status): New.
	* linux-low.h (class linux_process_target)
	<enqueue_signal_pre_resume, proceed_one_nti,
	resume_stop_one_stopped_thread, has_pending_status>: New.
	<resume_one_thread>: Remove.
	(struct lwp_info) <stopped>: Remove.

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

	* nonstop-low.h (struct nonstop_thread_info) <stop_expected>: New.
	(class nonstop_process_target) <send_sigstop, low_send_sigstop>:
	New.
	* nonstop-low.cc (nonstop_process_target::send_sigstop): Migrated
	from linux-low.cc.
	* linux-low.h (class linux_process_target) <low_send_sigstop>: New.
	(struct lwp_info) <stop_expected>: Remove.
	* linux-low.cc (send_sigstop): Remove.
	(linux_process_target::low_send_sigstop): New.
	(linux_process_target::stop_all_lwps)
	(linux_stop_lwp): Update the call to send_sigstop.

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

	* nonstop-low.h (class nonstop_process_target)
	<resume_request_applies_to_thread>: Make non-pure.
	* nonstop-low.cc
	(nonstop_process_target::resume_request_applies_to_thread): Pull
	here from...
	* linux-low.cc
	(linux_process_target::resume_request_applies_to_thread): ...here,
	except for stuff about fork children.
	* linux-low.h (class linux_process_target): Update the comment.

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

	* linux-low.h (class linux_process_target) <resume>: Remove.
	(struct lwp_info) <step_range_start, step_range_end, resume>:
	Remove.
	* linux-low.cc (linux_process_target::supports_breakpoints): New.
	(linux_process_target::set_resume_request)
	(linux_process_target::resume_status_pending)
	(linux_process_target::resume): Remove.
	(linux_process_target::start_step_over): Convert the parameter's
	type to thread_info.
	(linux_process_target::proceed_all_lwps): Update the call to
	start_step_over.
	* nonstop-low.h (struct nonstop_thread_info) <step_range_start,
	step_range_end, resume>: New.
	(class nonstop_process_target) <resume, set_resume_request,
	resume_request_applies_to_thread, post_set_resume_request,
	thread_still_has_status_pending, thread_needs_step_over,
	supports_breakpoints, resume_one_thread, start_step_over>: New.
	* nonstop-low.cc (nonstop_process_target::resume)
	(nonstop_process_target::set_resume_request): New.

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

	* linux-low.h (class linux_process_target)
	<set_resume_request, resume_request_applies_to_thread,
	post_set_resume_request>: New declarations.
	* linux-low.cc (linux_set_resume_request): Convert into...
	(linux_process_target::set_resume_request): ...this, and...
	(linux_process_target::resume_request_applies_to_thread): ...this,
	and...
	(linux_process_target::post_set_resume_request): ...this.
	(linux_process_target::resume): Update to call set_resume_request.

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

	* linux-low.h (class linux_process_target) <wait>: Remove.
	<wait_1>: Rename to...
	<low_wait>: ...this.
	* nonstop-low.h (class nonstop_process_target) <wait> <low_wait>:
	Declare.
	* linux-low.c (linux_process_target::wait): Rename to...
	(linux_process_target::low_wait): ...this.
	(linux_process_target::wait): Turn into...
	* nonstop-low.c (nonstop_process_target::wait): ...this.

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

	* nonstop-low.cc: Disable the non-stop support on Windows.

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

	* Makefile.in <SFILES>: Add nonstop-low.c.
	* configure.srv <srv_linux_obj>: Add nonstop-low.o.
	* linux-low.c (linux_event_pipe)
	(target_is_async_p)
	(async_file_mark)
	(async_file_flush)
	(linux_process_target::supports_non_stop)
	(linux_process_target::async)
	(linux_process_target::start_non_stop): Remove.
	* linux-low.h: Add "nonstop-low.h" to #include's.
	(class linux_process_target): Update to derive from
	nonstop_process_target.
	(struct process_info_private): Update to derive from
	nonstop_process_info.
	(struct lwp_info): Update to derive from nonstop_thread_info.
	(class linux_process_target) <supports_non_stop>
	<async> <start_non_stop>: Remove.
	* nonstop-low.cc: New file.
	* nonstop-low.h: New file.

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:
2020-05-13  Natalia Saiapova  <natalia.saiapova@intel.com>
	* thread.c (thread_apply_command_completer): Update.
	* tid-parse.c (tid_range_parser::in_thread_range): Rename to...
	tid_range_parser::state: ... this.
	(tid_range_parser::skip_range): Update.
	(tid_range_parser::get_tid_or_range): Update.
	(tid_range_parser::in_thread_star_range): Update.
	* tid-parse.h (class tid_range_parser):
	<in_thread_range>: Rename to ...
	<in_thread_state>: ... this

gdb/ChangeLog:
2020-05-13  Natalia Saiapova  <natalia.saiapova@intel.com>
	* thread.c (thread_apply_command): Update.
	* tid-parse.c (tid_range_parser::init): Init m_in_thread_star_range.
	(tid_range_parser::finished): Remove STATE_STAR_RANGE.
	(tid_range_parser::cur_tok): Remove STATE_STAR_RANGE.
	(tid_range_parser::skip_range): Remove STATE_STAR_RANGE.
	(tid_range_parser::process_inferior_state): Update.
	(tid_range_parser::get_tid_or_range): Update.
	(tid_range_parser::in_star_range): Use m_in_thread_star_range
	and rename to...
	(tid_range_parser::in_thread_star_range): ... this.
	* tid-parse.h (class tid_range_parser):
	<m_state>: Remove STATE_STAR_RANGE from enum.
	<m_in_thread_star_range>: New private field.

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/ChangeLog:
2020-03-30  Natalia Saiapova  <natalia.saiapova@intel.com>
	* breakpoint.c (condition_command): Update.
	(ignore_command): Update.
	(map_breakpoint_numbers): Update (add error handling).
	(extract_bp_num): Update.
	(enable_count_command): Update (add error handling)
	(get_tracepoint_by_number): Update.
	* cli/cli-utils.c (get_number_trailer): Add (int *num) argument for
	parsed value.  Change return type to bool.
	(get_number): Add (int *num) argument for parsed value.  Change
	return type to bool.
	(number_or_range_parser::get_number):  Add (int *num) argument
	for parsed value.  Change return type to bool.
	(number_or_range_parser::setup_range): Allow zero to be a start value.
	(number_is_in_list): Update.
	* cli/cli-utils.h (get_number_trailer): Update signature.
	(get_number): Update signature.
	(class number_or_range_parser): Update.
	* inferior.c (detach_inferior_command): Update (add error handling).
	(kill_inferior_command): Update.
	(remove_inferior_command): Update (add error handling).
	* linespec.c (decode_line_2): Update.
	* memattr.c (enable_mem_command): Update (add error handling).
	(disable_mem_command): Update (add error handling).
	(delete_mem_command): Update (add error handling).
	* printcmd.c (map_display_numbers): Update.
	* reverse.c (delete_bookmark_command): Update (add error handling).
	(goto_bookmark_command): Update.
	(info_bookmarks_command): Update (add error handling).
	* sparc64-tdep.c (adi_examine_command): Update (no error handling).
	(adi_assign_command): Update (no error handling).
	* stack.c (frame_apply_level_cmd_completer): Update.
	(frame_apply_cmd_completer): Update.
	(frame_apply_level_command): Update.
	(frame_apply_command): Update.
	* tid-parse.c (get_positive_number_trailer): Add (int *num) argument for
	pased value.  Change return type to bool.
	(parse_thread_id): Update.
	(tid_range_parser::get_tid_or_range): Update.

gdb/testsuite/ChangeLog:
2020-05-27  Natalia Saiapova  <natalia.saiapova@intel.com>
	* gdb.base/options.exp: Update.
	* gdb.multi/tids.exp: Update.
	* gdb.trace/deltrace.exp: Update.

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.

gdb/ChangeLog:
2020-05-11  Natalia Saiapova  <natalia.saiapova@intel.com>
	* intelgt-tdep.c (intelgt_pointer_to_address): New function.
	(intelgt_gdbarch_init): set pointer_to_address function for
        intelgt architecture.

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-04-14  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* infrun.c (stop_all_threads): Handle stopping all-stop targets
	by taking the first thread of the target as the representative
	and by not sending queries to all-stop targets if they are
	executing.
	(stop_waiting): Stop all threads if we are in all-stop mode,
	regardless of the targets being non-stop or not.

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

	* infrun.c (proceed): Proceed also the threads of targets other than
	the current one.

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:
2020-04-23  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* gdbthread.h (prune_threads): Add a new parameter of type
	process_stratum_target.
	* thread.c (prune_threads): Add a new argument of type
	process_stratum_target.  Do not prune threads that do not belong
	to this new argument.
	* bsd-uthread.c (bsd_uthread_target::update_thread_list):
	Update the call to prune_threads.
	* fbsd-nat.c (fbsd_nat_target::update_thread_list): Ditto.
	* gnu-nat.c (gnu_nat_target::create_inferior): Ditto.
	* linux-thread-db.c (thread_db_target::update_thread_list): Ditto.
	* nbsd-nat.c (nbsd_nat_target::update_thread_list): Ditto.
	* nto-procfs.c (nto_procfs_target::update_thread_list): Ditto.
	* obsd-nat.c (obsd_nat_target::update_thread_list): Ditto.
	* procfs.c (procfs_target::update_thread_list): Ditto.
	* remote.c (remote_target::update_thread_list): Ditto.
	* sol-thread.c (sol_thread_target::update_thread_list): Ditto.

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/ChangeLog:
2019-09-04  Mihails Strasuns  <mihails.strasuns@intel.com>

	* infrun.c (proceed): Minor refactoring.
	(proceed_resume_thread): New function.

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.

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

	* lib/jit-elf-helpers.exp (compile_and_download_n_jit_so): Add
	optional parameter for specifying extra compiler flags.

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

	* remote.c (read_ptid): Use current_inferior's pid instead of
	inferior_ptid, if multi-process not supported.

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

	* infrun.c (handle_signal_stop): Switch the context in the
	STOP_QUIETLY_NO_SIGSTOP case.

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

	* gdb.multi/attach-no-multi-process.c: New file.
	* gdb.multi/attach-no-multi-process.exp: New file.

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

	* breakpoint.h (struct breakpoint): new field 'inferior'
	* breakpoint.c (find_condition_and_thread): supports new
	break command syntax for specifying an inferior
	(create_breakpoint): pass breakpoint inferior argument around
	(decode_location_default, init_breakpoint_sal): if inferior number is
	present, only match location if inferior pspace matches
	location pspace
	(print_one_breakpoint_location): always print inferior for
	inferior-specific breakpoints
	* linespec.c (linespec_keywords): add "inferior" to the keyword list

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

	* gdb.base/breakpoint-inferior.exp: new test case to cover
	functionaity of inferior breakpoint feature
	* lib/completion-support.exp, gdb.linespec/explicit.exp:
	recognize new keyword

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

	* py-breakpoint.c (bppy_init): Change how create_breakpoint
	is called.

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

	* py-breakpoint.exp: Test per-thread breakpoint.

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/ChangeLog:
2020-03-19  Natalia Saiapova  <natalia.saiapova@intel.com>
	* breakpoint.c (commands_command_1): Update.
	(bpstat_do_actions_1): Update.
	(bpstats::bpstats): New attribute `bool all_hit_simd_lanes`.
	(bpstat_stop_status): Update.
	* breakpoint.h (struct breakpoint):
        <all_hit_simd_lanes>: New attribute.
	(struct bpstats):
        <bool all_hit_simd_lanes>: New attribute.

gdb/ChangeLog:
2020-03-19  Natalia Saiapova  <natalia.saiapova@intel.com>
	* breakpoint.c (bpstats::bpstats):
        <simd_lane_num>: Replace with ...
        <simd_lane_mask>: ... this.
	(maybe_print_thread_hit_breakpoint): Update.
	(bpstat_check_breakpoint_conditions): Update.
	(bpstat_what):
        <simd_lane_num>: Remove.
	(bkpt_print_it): Update.
	* breakpoint.h (struct bpstat_what): Update.
	(struct bpstats): Update.
	* gdbthread.h (is_simd_lane_active): New function.
	* infrun.c (process_event_stop_test): Update.
	* thread.c (is_simd_lane_active): New function.

gdb/testsuite/ChangeLog:
2020-04-01  Natalia Saiapova  <natalia.saiapova@intel.com>
	* gdb.threads/simd-thread.exp: Update.

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-29  Natalia Saiapova  <natalia.saiapova@intel.com>

	* breakpoint.c (create_breakpoints_sal_default): SIMD lanes support.
	(bpstats::bpstats): SIMD lanes support.
	(maybe_print_thread_hit_breakpoint): SIMD lanes support.
	(bpstat_check_breakpoint_conditions): SIMD lanes support.
	(bpstat_what): SIMD lanes support.
	(print_one_breakpoint_location): SIMD lanes support.
	(describe_other_breakpoints): SIMD lanes support.
	(init_breakpoint_sal): SIMD lanes support.
	(create_breakpoint_sal): SIMD lanes support.
	(create_breakpoints_sal): SIMD lanes support.
	(find_condition_and_thread): SIMD lanes support.
	(create_breakpoint): SIMD lanes support.
	(watch_command_1): SIMD lanes support.
	(base_breakpoint_create_breakpoints_sal): SIMD lanes support.
	(bkpt_create_breakpoints_sal): SIMD lanes support.
	(tracepoint_create_breakpoints_sal): SIMD lanes support.
	(strace_marker_create_breakpoints_sal): SIMD lanes support.
	(location_to_sals): SIMD lanes support.
	* breakpoint.h (struct breakpoint_ops): SIMD lanes support.
	(struct breakpoint): SIMD lanes support.
	(struct bpstat_what): SIMD lanes support.
	(struct bpstats): SIMD lanes support.

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.

gdbserver/ChangeLog:
2020-02-20  Mihails Strasuns  <mihails.strasuns@intel.com>

	* linux-low.c, linux-x86-low.c: add assertions to silence a static
	  analysis warning

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

	* breakpoint.c (until_break_command): Update.
	* linespec.c (decode_line_with_last_displayed): New argument.
	(decode_line_with_last_displayed_allow_empty): New argument.
	* linespec.h: (decode_line_with_last_displayed): New argument.
	(decode_line_with_last_displayed_allow_empty): New argument.

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

	* gdb.multi/multi-until.c: New test.
	* gdb.multi/multi-until.exp: New file.

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

	* breakpoint.c (until_break_command): Use
        decode_line_with_last_displayed_allow_empty.
	* linespec.c (decode_line_with_last_displayed): Update.
	(decode_line_with_last_displayed_allow_empty): New function.
	* linespec.h (decode_line_with_last_displayed_allow_empty):
        New Function.

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

	* arch/intelgt.h (enum class version): Add Gen12 value.
	* arch/intelgt.c (arch_info_gen12): New declaration aliased
	to arch_info_gen11.
	(arch_info::get_or_create): Handle Gen12 case.
	* features/intelgt-arf12.c: New file.
	* features/intelgt-arf12.xml: New file.
	* features/Makefile (FEATURE_XMLFILES): Add
	features/intelgt-arf12.xml.
	* intelgt-tdep.c (GT_FEATURE_ARF12): New #define.
	(intelgt_version_from_tdesc): Add check for ARF12 feature.
	(intelgt_gdbarch_init): Ditto.
	(intelgt_initialize_gdbarch_data): Handle Gen12 case.

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

	* configure.srv (intelgt-*-elf) <srv_xmlfiles>: Include
	intelgt-arf12.xml.
	* intelgt-low.c: Add "features/intelgt-arf12.c" to includes.
	(intelgt_process_target::attach): Handle Gen12 case.
	(intelgt_process_target::create_target_description): Ditto.

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

	* arch/intelgt.h (enum class version): Add Gen11 value.
	* arch/intelgt.c (arch_info_gen11): New declaration aliased
	to arch_info_gen9.
	(arch_info::get_or_create): Handle Gen11 case.
	* features/intelgt-arf11.c: New file.
	* features/intelgt-arf11.xml: New file.
	* features/Makefile (FEATURE_XMLFILES): Add
	features/intelgt-arf11.xml.
	* intelgt-tdep.c (GT_FEATURE_ARF11): New #define.
	(intelgt_version_from_tdesc): Add check for ARF11 feature.
	(intelgt_gdbarch_init): Ditto.
	(intelgt_initialize_gdbarch_data): Handle Gen11 case.

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

	* configure.srv (intelgt-*-elf) <srv_xmlfiles>: Include
	intelgt-arf11.xml.
	* intelgt-low.c: Add "features/intelgt-arf11.c" to includes.
	(intelgt_process_target::attach): Handle Gen11 case.
	(intelgt_process_target::create_target_description): Ditto.

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:
2022-01-31  Stephan Rohr  <stephan.rohr@intel.com>

	* regcache.c (_initialize_regcache): Disabled
	'cooked_read_test' for intelgt target.
	* disasm-selftest.c (_initialize_disasm_selftests): Disabled
	'print_one_insn_test' for intelgt target.

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

	* selftest-arch.h (register_test_foreach_arch): Add a new 'set'
	parameter.
	* selftest-arch.c (register_test_foreach_arch): Use the new
	set argument to omit the test for an arch.

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-06-19  Kai Trojahner  <kai.trojahner@intel.com>
	    Albertano Caruso  <albertano.caruso@intel.com>

	* Makefile.in: Add LIBIGA64 support.
	* configure.in: Re-generate.
	* configure: Re-generate.
	* configure.ac: Add LIBIGA64 support.
	* intelgt-tdep.c: Add disassemble feature.

gdb/testsuite/ChangeLog:
2019-06-19  Albertano Caruso  <albertano.caruso@intel.com>

	* gdb.arch/intelgt-disassemble.exp: New file.
	* gdb.arch/sycl-simple.exp: New file.

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

	* intelgt-low.c (class intelgt_process_target)
	<supports_hardware_single_step>: New declaration.
	(intelgt_process_target::supports_hardware_single_step): New
	function implementation that returns true.

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

	* target.c (prepare_to_access_memory): Prefer current thread if
	stopped, when accessing memory.

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/gdbserver/ChangeLog:
2019-03-07  Mircea Gherzan  <mircea.gherzan@intel.com>
	    Fabian Schnell  <fabian.schnell@intel.com>
	    Sanimir Agovic  <sanimir.agovic@intel.com>
	    Ofir Cohen  <ofir.o.cohen@intel.com>
	    Arik Adler  <arik.adler@intel.com>
	    Natalia Saiapova  <natalia.saiapova@intel.com>
	    Kai Trojahner  <kai.trojahner@intel.com>
	    Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* intelgt-low.c: Add target ops.

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

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

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

	* configure.srv (intelgt-*-elf): New target.
	* configure.ac: Add check for linking with the Intel GT debug
	library.  Implicitly add the '--with-libigfxdbg-prefix' argument.
	* configure: Re-generate.
	* intelgt-low.c: New file.
	* Makefile.in (LIBIGFXDBG): New variable substituted by configure.

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  Mircea Gherzan  <mircea.gherzan@intel.com>
	    Ofir Cohen  <ofir.o.cohen@intel.com>
	    Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* features/Makefile: Update to include intelgt among
	architectures with features.
	(FEATURE_XMLFILES): Add intelgt-grf.xml and intelgt-arf9.xml.
	* features/intelgt-arf9.xml: New file.
	* features/intelgt-arf9.c: New file (generated from XML).
	* features/intelgt-grf.xml: New file.
	* features/intelgt-grf.c: New file (generated from XML).
	* target-descriptions.c (maint_print_c_tdesc_cmd): Update to
	include intelgt among architectures with features.

opcodes/ChangeLog:
2019-03-07  Mircea Gherzan  <mircea.gherzan@intel.com>

	* configure: Regenerate.
	* configure.ac: Add bfd_intelgt_arch.

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

	* configure.tgt (intelgt-*-elf): New.

bfd/ChangeLog:
2019-03-07  Fabian Schnell  <fabian.schnell@intel.com>
            Mircea Gherzan  <mircea.gherzan@intel.com>

	* Makefile.am (ALL_MACHINES): Add 'cpu-intelgt.lo'.
	(ALL_MACHINES_CFILES): Add 'cpu-intelgt.c'.
	* Makefile.in: Regenerate.
	* archures.c: Add bfd_arch_intelgt.
	* bfd-in2.h: Regenerate.
	* config.bfd: Add intelgt-legacy target.
	* configure: Regenerate.
	* configure.ac: Add intelgt_legacy_elf64_vec target.
	* cpu-intelgt.c: New file.
	* elf64-intelgt.c: New file.
	* targets.c: Add intelgt_legacy_elf64_vec.

binutils/ChangeLog:
2019-03-07  Fabian Schnell  <fabian.schnell@intel.com>
	    Mircea Gherzan  <mircea.gherzan@intel.com>

	* readelf.c (get_machine_name): Remove the case for EM_INTEL182,
	add a case for EM_INTEL_GEN.

include/ChangeLog:
2019-03-07  Fabian Schnell  <fabian.schnell@intel.com>
	    Mircea Gherzan  <mircea.gherzan@intel.com>

	* elf/common.h (EM_INTEL182): Remove.
	(EM_INTEL_GEN): New macro.

ChangeLog:
2019-03-07  Mircea Gherzan  <mircea.gherzan@intel.com>

	* config.sub (intelgt): New.

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.

