[Bug testsuite/25048] FAIL: gdb.rust/simple.exp: print k

vries at gcc dot gnu.org sourceware-bugzilla@sourceware.org
Tue Oct 8 08:47:00 GMT 2019


Tom de Vries <vries at gcc dot gnu.org> changed:

           What    |Removed                     |Added
          Component|rust                        |testsuite

--- Comment #6 from Tom de Vries <vries at gcc dot gnu.org> ---
(In reply to Tom Tromey from comment #3)

> I think this turns out to be a bug in the Rust compiler.

Thanks for the analysis.

> I tend to think gdb should not do anything about this.  It seems
> somewhat difficult to work around.  Like, maybe we could try sorting
> the fields by offset and hoping that works?  It seems iffy to me.


> The very best thing to do is make sure the distro is using a
> new-enough LLVM.

OK, I'll file an openSUSE bug.

> Failing that, I guess you could open a bug against
> Rust; though TBH I would be surprised if anyone wanted to fix a bug in
> a legacy encoding that is hopefully slated for removal.

I still think it would be good to do so. Having that bug open and not fixed can
perhaps be an argument to up the required llvm version or some such.

> If this all sounds ok to you, my suggestion is to close/wontfix this.

I prefer to mark this as a testsuite PR, and submit a patch marking this as an

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

More information about the Gdb-prs mailing list