commit 0a709cba00d36d490482d0e8673e323ac1e897a6 Author: Alok Kumar Sharma Date: Wed Mar 4 17:16:52 2020 +0530 gdb.fortran: Allow Flang kind printing in fortran testing In lib/fortran.exp, in the helper function fortran_int4, kind parameter is expected to be printed as (kind=4) for the LLVM Fortran compiler, Flang along with gfortran. And in the helper function fortran_int8 kind parameter is expected to be printed as (kind=8). But for the Flang compiler default kind is not printed and non default kind is printed differently than gfortran as below. integer(kind=4) => integer integer(kind=8) => integer*8 real(kind=4) => real real(kind=8) => double precision complex(kind=4) => complex logical(kind=4) => logical character(kind=1) => character This commit adds support for printing of kind parameter for the Flang. There should be no change when testing with gfortran. Note: The current patch overrides earlier patch with below details. commit c3b149eb7697b376df1b3a47d0102afda389ee6d Author Alok Kumar Sharma (alokkumar.sharma@amd.com) Earlier patch was incomplete and based on assumption that flang should be changed to dump a type with kind like the way gfortan does. Later it was realized that the way flang dumps this info is not incorrect but different. And changes in gdb test framework are finalized. gdb/testsuite/ChangeLog: * lib/fortran.exp (fortran_int4): Handle flang kind printing. (fortran_int8): Likewise. (fortran_real4): Likewise. (fortran_real8): Likewise. (fortran_complex4): Likewise. (fortran_logical4): Likewise. (fortran_character1): Likewise. commit a847e32224d9a4297514a9a291c024c207eefdb9 Author: Jan Beulich Date: Wed Mar 4 08:58:13 2020 +0100 x86: support VMGEXIT It has been publicly documented for quite some time, albeit not in the "General-Purpose and System Instructions" volume: https://www.amd.com/system/files/TechDocs/24593.pdf. commit 45830fd60e3c7b694dfa03f6fc1e7de431a3fcd1 Author: Alan Modra Date: Wed Mar 4 16:38:59 2020 +1030 Revert "PR25570, ld duplicate "warning: changing start of section"" This reverts commit 91114f7583fac8fdf57c58a1f632839da62e43da. . . . commit c3b149eb7697b376df1b3a47d0102afda389ee6d Author: Alok Kumar Sharma Date: Tue Feb 4 17:17:20 2020 +0000 gdb/fortran: Allow for using Flang in Fortran testing In lib/fortran.exp, in the helper function fortran_int4, there is currently no support for the LLVM Fortran compiler, Flang. As a result we return the default pattern 'unknown' to match against all 4-byte integer types, which causes many tests to fail. The same is true for all of the other helper functions related to finding a suitable type pattern. This commit adds support for Flang. There should be no change when testing with gfortran. gdb/testsuite/ChangeLog: * lib/fortran.exp (fortran_int4): Handle clang. (fortran_int8): Likewise. (fortran_real4): Likewise. (fortran_real8): Likewise. (fortran_complex4): Likewise. (fortran_logical4): Likewise. (fortran_character1): Likewise. Change-Id: Ife0d9828f78361fbd992bf21af746042b017dafc . . .