This is the mail archive of the gdb@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] |
I'm not familiar with C++ debugging, so there is not much I can do in this case to help. The fact that it returns very quickly when the variable is in scope seems logical - I would imagine that symbol lookups by name search the current scope first, before expanding the search to the global scope. As for the search in the global scope, it's hard to say... Perhaps if you create a PR and provide a reproducer, someone will be able to find out more.
Hi, all. As Chris supplied a profile enabled version of gdb in : http://emergedesktop.org/gdb/gdb-7.1-profiling.tar.lzma
So, I have upload a profile result file to my bug report in : http://sourceware.org/bugzilla/show_bug.cgi?id=11316
Thanks Asmwarrior
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |