Make evaluation and type-printing of all NonZero optimized enums work
authorManish Goregaokar <manish@mozilla.com>
Sat, 25 Jun 2016 05:39:23 +0000 (11:09 +0530)
committerManish Goregaokar <manish@mozilla.com>
Sat, 25 Jun 2016 05:56:53 +0000 (11:26 +0530)
commitb5a4b3c5e711be9096423f9765623eda449d8f4d
tree05963322723b75903e268eabb935597d3e863aab
parent6b8505468e64c2be8d0eea1f2b8db86fa3897600
Make evaluation and type-printing of all NonZero optimized enums work

gdb/ChangeLog:
2016-06-25  Manish Goregaokar  <manish@mozilla.com>

    PR gdb/20239
    * rust-lang.c (rust_get_disr_info): Correctly interpret
    NonZero-optimized enums of arbitrary depth.
    (rust_print_type): Correctly print NonZero-optimized
    enums.
gdb/ChangeLog
gdb/rust-lang.c