I am using Eclipse gdb to debug c++ code.When step into yyparse() which is actually go thru flex and bison it happen
Can't find a source file at "eqv_yacc.tab.c" Locate the file or edit the source lookup path to include its location.
However thr is no longer the file eqv__yacc.tab.c there is only eqv_yacc.c.the name has been changed in my makefile.How can I solve this to point to eqv_yacc.c instead of need the debugger to find eqv_yacc.tab.c?anyone face the same problem before?
Makefile code:
eqv_yacc.C:
eqv_yacc.y $(YACC) $(YFLAGS) eqv_yacc.y
sed s/yy/eqvyy/g eqv_yacc.tab.c > eqv_yacc.C
sed s/yy/eqvyy/g eqv_yacc.tab.h > eqvy.tab.H
$(RM) eqv_yacc.tab.h
$(RM) eqv_yacc.tab.c
bisonthen it have an option-oto name the output file (see thebisonmanual page), maybe you might want to use that instead.gdb. And you should show yourMakefilerule buildingeqv_yacc.c. Please edit your question to show that.