]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdb/ChangeLog
Convert Rust printing to value-based API
authorTom Tromey <tromey@adacore.com>
Fri, 13 Mar 2020 23:39:52 +0000 (17:39 -0600)
committerTom Tromey <tom@tromey.com>
Sat, 14 Mar 2020 00:03:40 +0000 (18:03 -0600)
commit5f56f7cbd22219e84df3caece06f469c5063e5fb
treeb9fc706b33e8600301d2bbb53eb2fae7fc600b51
parent26792ee0345c09bd1c76f3ee0e16ed15ab7215b9
Convert Rust printing to value-based API

For Rust, it was simple to convert the printing code to the
value-based API all at once.

gdb/ChangeLog
2020-03-13  Tom Tromey  <tom@tromey.com>

* rust-lang.c (val_print_struct, rust_print_enum): Use the value
API.
(rust_val_print): Rewrite.
(rust_value_print_inner): New function, from rust_val_print.
(rust_language_defn): Use rust_value_print_inner.
gdb/ChangeLog
gdb/rust-lang.c