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]

Re: [mingw] gdb eat a lot of memory and slowly when start an inferior


> Hi, Joel, I did what you suggest. Finally, I definitely found that this issue was introduced by your patch in:
> 
> 
> Author: Joel Brobecker
> Date: 2012-1-26 12:20:31
> Message:
> Ada: allow unqualified function names in linespecs

Can you try the attached patch? This should restore the only effective
change I made for non-Ada units.

-- 
Joel
diff --git a/gdb/linespec.c b/gdb/linespec.c
index dc9dfc6..d0a35a4 100644
--- a/gdb/linespec.c
+++ b/gdb/linespec.c
@@ -365,7 +365,7 @@ iterate_over_all_matching_symtabs (const char *name,
   matcher_data.symbol_name_match_p =
     current_language->la_get_symbol_name_match_p != NULL
     ? current_language->la_get_symbol_name_match_p (name)
-    : strcmp_iw;
+    : strcmp_iw_ordered;
 
   ALL_PSPACES (pspace)
   {

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