This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[FYI 0/2] C++ in the Rust code


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]