This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[FYI 0/2] C++ in the Rust code
- From: Tom Tromey <tom at tromey dot com>
- To: gdb-patches at sourceware dot org
- Date: Wed, 9 Nov 2016 16:07:06 -0700
- Subject: [FYI 0/2] C++ in the Rust code
- Authentication-results: sourceware.org; auth=none
This changes the Rust code to use a bit more C++.
The first patch fixes a small memory leak.
The second patch removes some cleanups in favor of objects with
destructors.
There are still some cleanups left, primarily due to the way memory is
managed when parsing; but also a couple because other gdb modules
haven't yet been converted (e.g., make_cleanup_ui_file_delete).
Built and regtested by the buildbot.
I plan to check this in after a suitable interval.
Tom