Hello Everyone,
I am trying to debug "cc1" through gdb but is not working as it was
before (my current revision is 190623) . For example, when I try to print out
any local variable when I am inside the function, it says the variable is not
in in the context. Here is an example below:
e.g.
Single stepping until exit from function _ZL14tree_vectorizev,
which has no line number information.
vectorize_loops() () at ../../trunk-gcc/gcc/tree-vectorizer.c:168
168 unsigned int num_vectorized_loops = 0;
(gdb) n
173 vect_loops_num = number_of_loops ();
(gdb) p num_vectorized_loops
No symbol "num_vectorized_loops" in current context.
Another wierd thing I noticed is that "Breakpoint 1 and Breakpoint 2" generally
point to 2 lines in diagnostic.c (I believe they are fancy_abort and
internal_error) but now it is just giving addresses. Also, when I start
something, it says it can't find line number information:
Can someone please tell me how I can to fix these?
Any help is greatly appreciated!
Thanks,
Balaji V. Iyer.
PS. Please CC me when responding.