This is the mail archive of the gdb-patches@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: [patch] Perform a namespace lookup at every block level



+      /* C++ language specific lookup requires the lowest block level.  */
+      if (language != language_cplus)
+        block = function_block;
+
+    }

I dont know if resetting the pointer is needed by other languages. I saw no test failures without it. I just did it to preserve the code for other languages in case I am missing something.

Sami


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