This is the mail archive of the gdb-prs@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]

[Bug c++/11890] Run away symbol lookup


------- Additional Comments From wkf at alum dot mit dot edu  2010-08-06 12:07 -------
One work around is to first type:

  (gdb) p superMasterData
  Reading in symbols for oaDMDatabaseFile.cpp...done.
  Reading in symbols for oaDatabase.cpp...done.
  No symbol "superMasterData" in current context.

And let that stew for a few minutes before it returns and you then type

  (gdb) p this->superMasterData
  $1 = (struct OpenAccess_4::oaSuperMasterData *) 0x13313a50

Which then returns in a few minutes. Seems the first command avoids an O(n^2)
explosion in the second by priming the search.

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=11890

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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