X-Git-Url: https://git.pld-linux.org/?a=blobdiff_plain;f=gdb-vla-intel-stringbt-fix.patch;h=b2170f4c5493048a5342018b32e975663c0ddf04;hb=refs%2Ftags%2Fauto%2Fth%2Fgdb-8.2-1;hp=6f4c625d23291b187ff14bcac4cd4d89e9407242;hpb=f281b16425be6f777f76ccb7a06927813a47a372;p=packages%2Fgdb.git diff --git a/gdb-vla-intel-stringbt-fix.patch b/gdb-vla-intel-stringbt-fix.patch index 6f4c625..b2170f4 100644 --- a/gdb-vla-intel-stringbt-fix.patch +++ b/gdb-vla-intel-stringbt-fix.patch @@ -1,10 +1,7 @@ From FEDORA_PATCHES Mon Sep 17 00:00:00 2001 From: Jan Kratochvil Date: Fri, 1 Aug 2014 23:02:17 +0200 -Subject: Crash regression(?) printing Fortran strings in bt [Re: [V2 00/23] - Fortran dynamic array support] - -FileName: gdb-vla-intel-stringbt-fix.patch +Subject: gdb-vla-intel-stringbt-fix.patch ;;=push+jan @@ -29,18 +26,8 @@ cannot reproduce it. Thanks, Jan ---- - gdb/dwarf2loc.c | 15 +++++++++ - .../gdb.fortran/dynamic-other-frame-stub.f90 | 24 +++++++++++++ - gdb/testsuite/gdb.fortran/dynamic-other-frame.exp | 39 ++++++++++++++++++++++ - gdb/testsuite/gdb.fortran/dynamic-other-frame.f90 | 36 ++++++++++++++++++++ - 4 files changed, 114 insertions(+) - create mode 100644 gdb/testsuite/gdb.fortran/dynamic-other-frame-stub.f90 - create mode 100644 gdb/testsuite/gdb.fortran/dynamic-other-frame.exp - create mode 100644 gdb/testsuite/gdb.fortran/dynamic-other-frame.f90 diff --git a/gdb/dwarf2loc.c b/gdb/dwarf2loc.c -index 5105c8d23a..5486e4dc12 100644 --- a/gdb/dwarf2loc.c +++ b/gdb/dwarf2loc.c @@ -42,6 +42,7 @@ @@ -74,7 +61,6 @@ index 5105c8d23a..5486e4dc12 100644 ctx.gdbarch = get_objfile_arch (objfile); diff --git a/gdb/testsuite/gdb.fortran/dynamic-other-frame-stub.f90 b/gdb/testsuite/gdb.fortran/dynamic-other-frame-stub.f90 new file mode 100644 -index 0000000000..261ce17ae5 --- /dev/null +++ b/gdb/testsuite/gdb.fortran/dynamic-other-frame-stub.f90 @@ -0,0 +1,24 @@ @@ -104,7 +90,6 @@ index 0000000000..261ce17ae5 +end subroutine bar diff --git a/gdb/testsuite/gdb.fortran/dynamic-other-frame.exp b/gdb/testsuite/gdb.fortran/dynamic-other-frame.exp new file mode 100644 -index 0000000000..570a28ca65 --- /dev/null +++ b/gdb/testsuite/gdb.fortran/dynamic-other-frame.exp @@ -0,0 +1,39 @@ @@ -149,7 +134,6 @@ index 0000000000..570a28ca65 +gdb_test "bt" {foo \(string='hello'.*} diff --git a/gdb/testsuite/gdb.fortran/dynamic-other-frame.f90 b/gdb/testsuite/gdb.fortran/dynamic-other-frame.f90 new file mode 100644 -index 0000000000..2bc637db49 --- /dev/null +++ b/gdb/testsuite/gdb.fortran/dynamic-other-frame.f90 @@ -0,0 +1,36 @@ @@ -189,6 +173,3 @@ index 0000000000..2bc637db49 + end interface + call foo ('hello') +end --- -2.14.3 -