This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug go/17018] New: XFAIL: gdb.go/hello.exp: Starting string check


https://sourceware.org/bugzilla/show_bug.cgi?id=17018

            Bug ID: 17018
           Summary: XFAIL: gdb.go/hello.exp: Starting string check
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: go
          Assignee: unassigned at sourceware dot org
          Reporter: palves at redhat dot com

On Fedora 20, I noticed this:

print st
$1 = 0xc200016210 "\000\000\000\000\000\000\000\000\200c\000\000\302", '\000'
<repeats 11 times>,
"d\000\000\000\000\000\000\000P$\322\367\377\177\000\000\000\000\000\000\0
00\000\000\000pb\001\000\302", '\000' <repeats 43 times>, "\240b\001\000\302",
'\000' <repeats 43 times>, "\320b\001\000\302", '\000' <repeats 44 times>,
"c\001\000\302\000
\000\000"...
(gdb) XFAIL: gdb.go/hello.exp: Starting string check

The comment in the test says this is XFAIL for a different reason:

# This used to print "", i.e., the local "st" initialized as "".
setup_xfail "*-*-*"

gdb_test "print st" \
    ".* = $hex \"\"" \
    "Starting string check"

So I wonder if this is really expected.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]