This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[FYI 0/3] Fix exponential behavior in rust_evaluate_subexp
- From: Tom Tromey <tom at tromey dot com>
- To: gdb-patches at sourceware dot org
- Date: Fri, 12 May 2017 09:00:52 -0600
- Subject: [FYI 0/3] Fix exponential behavior in rust_evaluate_subexp
- Authentication-results: sourceware.org; auth=none
This fixes a bug noticed by a Rust user, where evaluating a certain
expression took a very long time -- 1.5 minutes. While working on
this, though, I noticed a couple of other minor problems in the Rust
code, so this series fixes them all.
There are no new tests in this series. Expression dumping isn't
generally tested, and I didn't know of a good way to check for lack of
exponential behavior.
Regression tested on the buildbot.
I would like to put this, or at least patch #3, on the 8.0 branch.
I'm checking this in to master.
thanks,
Tom