On Thu, May 13, 2010 at 11:45 PM, Diego Novillo <dnovi...@google.com> wrote: > On 5/4/10 15:11 , Wolfgang kaifler wrote: > >> (gdb) p browse_tree (current_function_decl) >> No symbol "browse_tree" in current context. >> (gdb) >> >> What i'm doing wrong? Any ideas? > > The tree browser code has bitrotted to the point that I think it should > be removed, unfortunately. It's a great candidate to be re-implemented > as a plugin. > > I know this does not help you much. Sorry. In this case, it is likely > that since there are no calls to browse_tree anywhere in the code, the > linker is removing it. Are you building cc1 with -O0?
It probably also can be re-implemented as gdb python script? Richard. > > Diego. >