[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [MiNT] gdb
Peter Slegg wrote:
Single stepping until exit from function main,
which has no line number information.
__main () at ../../../../libgcc/../gcc/libgcc2.c:2184
2184 ../../../../libgcc/../gcc/libgcc2.c: No such file or directory.
Do "n" (next), not "step".
GCC inserts a call to __main() at the very beginning of your main(). And
that function is defined in libgcc.a, usually you don't have the sources.
If you do "step" you go into __main(), but if you do "n" you stop just after
calling __main(), which is what you need.
- [MiNT] gdb
- From: Peter Slegg <firstname.lastname@example.org>