If I type gdb
on my terminal prompt, gdb opens up , but when I run commands like next, weird stuff shows up like:
_libc_start_main (main=0x40060d <main>, argc=1, argv=0x7fffffffdfc8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffdfb8) at libc-start.c:321 No such file or directory.
Same story with valgrind
. Could somebody tell me how to install gdb?