Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Step:15-SP4
gdb.18935
fixup-2-gdb-archer-vla-tests.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File fixup-2-gdb-archer-vla-tests.patch of Package gdb.18935
fixup-2-gdb-archer-vla-tests Fixup gdb-archer-vla-tests.patch --- gdb/testsuite/gdb.opt/fortran-string.exp | 11 +++++++++-- gdb/testsuite/gdb.opt/fortran-string.f90 | 1 + 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/gdb/testsuite/gdb.opt/fortran-string.exp b/gdb/testsuite/gdb.opt/fortran-string.exp index 90a2bdf..5255424 100644 --- a/gdb/testsuite/gdb.opt/fortran-string.exp +++ b/gdb/testsuite/gdb.opt/fortran-string.exp @@ -34,6 +34,13 @@ if ![runto $srcfile:[gdb_get_line_number "s = s"]] then { continue } -gdb_test "frame" ".*s='foo'.*" -gdb_test "ptype s" "type = character\\*3" +gdb_test "info args" ".*s = 'foo'.*" +gdb_test_multiple "ptype s" "" { + -re -wrap "type = character \\(3\\)" { + pass $gdb_test_name + } + -re -wrap "type = character\\*3" { + pass $gdb_test_name + } +} gdb_test "p s" "\\$\[0-9\]* = 'foo'" diff --git a/gdb/testsuite/gdb.opt/fortran-string.f90 b/gdb/testsuite/gdb.opt/fortran-string.f90 index e48d520..e3bb6ad 100644 --- a/gdb/testsuite/gdb.opt/fortran-string.f90 +++ b/gdb/testsuite/gdb.opt/fortran-string.f90 @@ -21,6 +21,7 @@ subroutine f(s) character*(*) s s = s + print *, s end program main
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor