binutils-gdb/gdb/testsuite/gdb.fortran
Alok Kumar Sharma c2fd7faea8 Fix for incorrect breakpoint set in case of flang compiled binary
Currently, GDB is not able to set a breakpoint at subprogram post
prologue for flang generated binaries. This is due to clang having
two line notes one before and another after the prologue.
  Now the end of prologue is determined using symbol table, which was
the way for clang generated binaries already. Since clang and flang
both share same back-end it is true for flang as well.

gdb/ChangeLog

      * amd64-tdep.c (amd64_skip_prologue): Using symbol table
      to find the end of prologue for flang compiled binaries.
      * arm-tdep.c (arm_skip_prologue): Likewise.
      * i386-tdep.c (i386_skip_prologue): Likewise.
      * producer.c (producer_is_llvm): New function.
      (producer_parsing_tests): Added new tests for clang/flang.
      * producer.h (producer_is_llvm): New declaration.

gdb/testsuite/ChangeLog

      * gdb.fortran/vla-type.exp: Skip commands not required for
      the Flang compiled binaries after prologue fix.
2020-08-20 10:38:59 +05:30
..
array-bounds-high.exp
array-bounds-high.f90
array-bounds.exp
array-bounds.f90
array-element.exp
array-element.f
array-slices.exp
array-slices.f90
block-data.exp
block-data.f
charset.exp
charset.f90
class-allocatable-array.exp gdb/fortran: resolve dynamic types when readjusting after an indirection 2020-07-25 01:30:20 +01:00
class-allocatable-array.f90 gdb/fortran: resolve dynamic types when readjusting after an indirection 2020-07-25 01:30:20 +01:00
common-block.exp
common-block.f90
complex.exp Add skip_fortran_tests to more Fortran testcases 2020-08-13 18:12:27 +01:00
complex.f90
derived-type-function.exp
derived-type-function.f90
derived-type-striding.exp
derived-type-striding.f90
derived-type.exp
derived-type.f90
dot-ops.exp
exprs.exp
function-calls.exp
function-calls.f90
info-modules.exp [gdb/testsuite] Fix gdb.fortran/info-modules.exp with gcc-4.8 2020-07-30 17:47:37 +02:00
info-types-2.f90
info-types.exp
info-types.f90
intrinsics.exp
intrinsics.f90
library-module-lib.f90
library-module-main.f90
library-module.exp Add skip_fortran_tests to more Fortran testcases 2020-08-13 18:12:27 +01:00
logical.exp Add skip_fortran_tests to more Fortran testcases 2020-08-13 18:12:27 +01:00
logical.f90
max-depth.exp
max-depth.f90
mixed-lang-stack.c [gdb/testsuite] Fix charlen type in mixed-lang-stack.c 2020-08-15 11:59:18 +02:00
mixed-lang-stack.cpp
mixed-lang-stack.exp [gdb/backtrace] Fix printing of fortran string args 2020-08-15 10:19:13 +02:00
mixed-lang-stack.f90
module.exp Add skip_fortran_tests to more Fortran testcases 2020-08-13 18:12:27 +01:00
module.f90
multi-dim.exp
multi-dim.f90
nested-funcs-2.exp
nested-funcs-2.f90
nested-funcs.exp
nested-funcs.f90
pointer-to-pointer.exp gdb/fortran: resolve dynamic types when readjusting after an indirection 2020-07-25 01:30:20 +01:00
pointer-to-pointer.f90 gdb/fortran: resolve dynamic types when readjusting after an indirection 2020-07-25 01:30:20 +01:00
pointers.f90
print_type.exp Add skip_fortran_tests to more Fortran testcases 2020-08-13 18:12:27 +01:00
print-formatted.exp
print-formatted.f90
printing-types.exp
printing-types.f90
ptr-indentation.exp
ptr-indentation.f90
ptype-on-functions.exp [gdb/testsuite] Fix gdb.fortran/ptype-on-functions.exp with gcc-4.8 2020-07-30 12:35:57 +02:00
ptype-on-functions.f90
short-circuit-argument-list.exp
short-circuit-argument-list.f90
subarray.exp
subarray.f
type-kinds.exp
type.f90
types.exp
vla-alloc-assoc.exp Add skip_fortran_tests to more Fortran testcases 2020-08-13 18:12:27 +01:00
vla-datatypes.exp Add skip_fortran_tests to more Fortran testcases 2020-08-13 18:12:27 +01:00
vla-datatypes.f90
vla-history.exp Add skip_fortran_tests to more Fortran testcases 2020-08-13 18:12:27 +01:00
vla-ptr-info.exp Add skip_fortran_tests to more Fortran testcases 2020-08-13 18:12:27 +01:00
vla-ptype-sub.exp Add skip_fortran_tests to more Fortran testcases 2020-08-13 18:12:27 +01:00
vla-ptype.exp Add skip_fortran_tests to more Fortran testcases 2020-08-13 18:12:27 +01:00
vla-sizeof.exp Add skip_fortran_tests to more Fortran testcases 2020-08-13 18:12:27 +01:00
vla-sub.f90
vla-type.exp Fix for incorrect breakpoint set in case of flang compiled binary 2020-08-20 10:38:59 +05:30
vla-type.f90
vla-value-sub-arbitrary.exp Add skip_fortran_tests to more Fortran testcases 2020-08-13 18:12:27 +01:00
vla-value-sub-finish.exp Add skip_fortran_tests to more Fortran testcases 2020-08-13 18:12:27 +01:00
vla-value-sub.exp Add skip_fortran_tests to more Fortran testcases 2020-08-13 18:12:27 +01:00
vla-value.exp Add skip_fortran_tests to more Fortran testcases 2020-08-13 18:12:27 +01:00
vla.f90
whatis_type.exp