This is the mail archive of the
gdb-testers@sourceware.org
mailing list for the GDB project.
[binutils-gdb] Fix rust_dump_subexp_body
- From: sergiodj+buildbot at sergiodj dot net
- To: gdb-testers at sourceware dot org
- Date: Fri, 12 May 2017 11:51:47 -0400
- Subject: [binutils-gdb] Fix rust_dump_subexp_body
- Authentication-results: sourceware.org; auth=none
*** TEST RESULTS FOR COMMIT 68f2f2e308a8585c39ddb2f391a9ae8d779c5029 ***
Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: 68f2f2e308a8585c39ddb2f391a9ae8d779c5029
Fix rust_dump_subexp_body
rust_dump_subexp_body was not correct in a couple of cases. While
debugging the bug I was really interested in, this caused a crash.
This patch fixes the problems. No test case because, IIRC there
generally aren't tests for expression dumping.
ChangeLog
2017-05-12 Tom Tromey <tom@tromey.com>
* rust-lang.c (rust_dump_subexp_body) <STRUCTOP_ANONYMOUS,
OP_RUST_ARRAY>: Fix.