Qt World Summit: Submit your Presentation

GDB version information

  • I try to use gdb to get the threads running for a multithreaded process.
    But there seems to be no output. Looks like the gdb installed in my linux OS does not have thread level debugging support.

    1. How do I check the current installed version of gdb?
    2. Which version of gdb should I install to get thread level debuggin support.?

    Currently I find only the below 3 files in my system i-e in /usr/bin directory.
    ls -ltr gdb*
    -rwxr-xr-x 1 root root 2330136 Jan 18 2007 gdbtui
    -rwxr-xr-x 1 root root 46348 Jan 18 2007 gdbserver
    -rwxr-xr-x 1 root root 2330132 Jan 18 2007 gdb

  • gdb --version

Log in to reply