[Bug 1178539] [NEW] gdb 7.6 can take tens of seconds to resolve symbols in C++
Constantine Sapuntzakis
csapuntz at gmail.com
Fri May 10 05:44:05 UTC 2013
Public bug reported:
See http://sourceware.org/bugzilla/show_bug.cgi?id=15454
filed by me.
Reverting 677b1bf from the gdb git repository fixes the problem.
In this revision, gdb started searching the base classes for the symbol
too. The algorithm seems to require optimization.
Meanwhile, the problem can be worked with a one-line diff that reverts
the behavior to the pre-677b1bf. Attaching the patch
lsb_release -rd
Description: Ubuntu 13.04
Release: 13.04
gdb:
Installed: 7.6~20130417-0ubuntu1
Candidate: 7.6~20130417-0ubuntu1
Version table:
*** 7.6~20130417-0ubuntu1 0
500 http://us.archive.ubuntu.com/ubuntu/ raring/main amd64 Packages
100 /var/lib/dpkg/status
** Affects: gdb (Ubuntu)
Importance: Undecided
Status: New
** Patch added: "Disable base class search"
https://bugs.launchpad.net/bugs/1178539/+attachment/3671618/+files/gdb-7.6-slow-baseclass-search-disable.diff
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to gdb in Ubuntu.
https://bugs.launchpad.net/bugs/1178539
Title:
gdb 7.6 can take tens of seconds to resolve symbols in C++
Status in “gdb” package in Ubuntu:
New
Bug description:
See http://sourceware.org/bugzilla/show_bug.cgi?id=15454
filed by me.
Reverting 677b1bf from the gdb git repository fixes the problem.
In this revision, gdb started searching the base classes for the
symbol too. The algorithm seems to require optimization.
Meanwhile, the problem can be worked with a one-line diff that reverts
the behavior to the pre-677b1bf. Attaching the patch
lsb_release -rd
Description: Ubuntu 13.04
Release: 13.04
gdb:
Installed: 7.6~20130417-0ubuntu1
Candidate: 7.6~20130417-0ubuntu1
Version table:
*** 7.6~20130417-0ubuntu1 0
500 http://us.archive.ubuntu.com/ubuntu/ raring/main amd64 Packages
100 /var/lib/dpkg/status
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gdb/+bug/1178539/+subscriptions
More information about the foundations-bugs
mailing list