Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
runtime: TestGdbPythonCgo fails on x1 Linux #27608
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
referenced this issue
Sep 29, 2018
I Have the same error in an Ubuntu-like :
I think the fix is still fragile. The patched version still isn't fixed my gdb's output. What I see my gdb 8.2-3 producing for "info locals" is:
which does not match the pair of infoLocalsRe test expressions:
It seems as though the gdb 8.2 @shuLhan tested against produced slicevar and then mapvar, whereas with my instance it's producing mapvar then slicevar.
My version of gdb is from fedora 29
Layering even more re complexity into this seems like a bad idea, but here's an re that tries to accommodate mapvar appearing either before or after the slicevar, or not appearing at all:
@jimrobinson If you recompiling Go from source (using master branch, not Go 1.1x source), make sure you fetch the latest commits. The test conditional checks in