This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: [GDB 7.6/GCC 4.8.0] Slowdown in GDB macro processing for cores?
- From: Paul Smith <psmith at gnu dot org>
- To: Doug Evans <dje at google dot com>
- Cc: Tom Tromey <tromey at redhat dot com>, Pedro Alves <palves at redhat dot com>, gdb <gdb at sourceware dot org>
- Date: Tue, 28 May 2013 13:53:48 -0400
- Subject: Re: [GDB 7.6/GCC 4.8.0] Slowdown in GDB macro processing for cores?
- References: <1368733335 dot 4101 dot 743 dot camel at pdsdesk> <51960329 dot 2010802 at redhat dot com> <1369248335 dot 7209 dot 151 dot camel at homebase> <1369250399 dot 7209 dot 164 dot camel at homebase> <87wqqqg4e2 dot fsf at fleche dot redhat dot com> <1369264444 dot 7209 dot 184 dot camel at homebase> <CADPb22ROm94M3deompzcxeNK=JDk+0gQRu_b97c2wua6TT5Rpg at mail dot gmail dot com> <1369284101 dot 7209 dot 197 dot camel at homebase> <CADPb22TbD-N6Rcw33NpNc2m-rdzWU19Hg8rLG6Thy6JPGU7B1Q at mail dot gmail dot com> <1369762373 dot 3295 dot 20 dot camel at pdsdesk> <CADPb22R78kWcCog5f0OV5sa-F6N08X_p92HSMSX+xy3Wf75q_w at mail dot gmail dot com>
- Reply-to: psmith at gnu dot org
On Tue, 2013-05-28 at 10:40 -0700, Doug Evans wrote:
> > I'll try the latest Git to see if it makes a difference.
>
> I'd be curious for before/after data with this patch:
>
> http://sourceware.org/ml/gdb-patches/2013-05/msg00964.html
>
> I doubt it fixes everything, or even a lot of it.
I didn't realize that wasn't pushed yet. In any event I tried the
latest content of Git and then I also tried with the above patch
applied, and there was no appreciable improvement (I didn't do an
in-depth analysis of exactly how many times various functions were
called to see if it improved, but the iterations of the macro continued
to take multiple seconds where they take fractions of a second with
7.5.1).