diff options
author | Manish Goregaokar <manish@mozilla.com> | 2016-10-27 16:46:34 -0700 |
---|---|---|
committer | Manish Goregaokar <manish@mozilla.com> | 2016-11-03 15:45:05 -0700 |
commit | 51a789c3bf3d9b04d3d81493fda7f2514ae43add (patch) | |
tree | ffb87d61643983177391b967ebf543796383d50f /gdb/ui-out.c | |
parent | 98d0e90ccafe18d0b6392fa891e4b3d77299ae95 (diff) | |
download | gdb-51a789c3bf3d9b04d3d81493fda7f2514ae43add.zip gdb-51a789c3bf3d9b04d3d81493fda7f2514ae43add.tar.gz gdb-51a789c3bf3d9b04d3d81493fda7f2514ae43add.tar.bz2 |
Fix handling of discriminantless univariant enums in Rust; fix bug with encoded enums
2016-10-27 Manish Goregaokar <manish@mozilla.com>
gdb/ChangeLog:
* rust-lang.c (rust_get_disr_info): Treat univariant enums
without discriminants as encoded enums with a real field
* rust-lang.c (rust_evaluate_subexp): Handle field access
on encoded struct-like enums
gdb/testsuite/ChangeLog:
* simple.rs: Add test for univariant enums without discriminants
and for encoded struct-like enums
* simple.exp: Add test expectations
Diffstat (limited to 'gdb/ui-out.c')
0 files changed, 0 insertions, 0 deletions