6

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?

1 Answer 1

14

try this first:

sudo apt-get install libc6-dbg gdb valgrind
1
  • got this when i ran the command..Reading package lists... Done Building dependency tree Reading state information... Done libc6-dbg is already the newest version. valgrind is already the newest version. gdb is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 21 not upgraded. Jun 5, 2014 at 16:47

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .