This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [FYI 0/3] Fix exponential behavior in rust_evaluate_subexp
- From: Joel Brobecker <brobecker at adacore dot com>
- To: Tom Tromey <tom at tromey dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Tue, 16 May 2017 08:00:08 -0700
- Subject: Re: [FYI 0/3] Fix exponential behavior in rust_evaluate_subexp
- Authentication-results: sourceware.org; auth=none
- References: <20170512150055.27230-1-tom@tromey.com>
Hi Tom,
> 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 went through all 3 patches, and they look good for 8.0, so go right
ahead.
Thanks!
--
Joel