diff options
author | Tom Tromey <tromey@adacore.com> | 2020-03-13 17:39:52 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2020-03-13 18:03:40 -0600 |
commit | 5f56f7cbd22219e84df3caece06f469c5063e5fb (patch) | |
tree | b9fc706b33e8600301d2bbb53eb2fae7fc600b51 /gdb/go-lang.h | |
parent | 26792ee0345c09bd1c76f3ee0e16ed15ab7215b9 (diff) | |
download | gdb-5f56f7cbd22219e84df3caece06f469c5063e5fb.zip gdb-5f56f7cbd22219e84df3caece06f469c5063e5fb.tar.gz gdb-5f56f7cbd22219e84df3caece06f469c5063e5fb.tar.bz2 |
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.
Diffstat (limited to 'gdb/go-lang.h')
0 files changed, 0 insertions, 0 deletions