I'm not an expert of gdb, but here is the extract
GNU gdb 6.1-debian
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for
details.
This GDB was configured as "ia64-linux"...(no debugging symbols
found)...Using host libthread_db library "/lib/tls/libthread_db.so.1".
Attaching to program: /usr/local/openldap-2.2.14/libexec/slapd, process
23430
Reading symbols from /usr/local/BerkeleyDB.4.2/lib/libdb-4.2.so...done.
Loaded symbols for /usr/local/BerkeleyDB.4.2/lib/libdb-4.2.so
Reading symbols from /lib/tls/libresolv.so.2...done.
Loaded symbols for /lib/tls/libresolv.so.2
Reading symbols from /lib/tls/libpthread.so.0...done.
[Thread debugging using libthread_db enabled]
[New Thread 2305843009213882320 (LWP 23430)]
[New Thread 2305843009227946192 (LWP 23431)]
Loaded symbols for /lib/tls/libpthread.so.0
Reading symbols from /lib/tls/libc.so.6.1...done.
Loaded symbols for /lib/tls/libc.so.6.1
Reading symbols from /lib/ld-linux-ia64.so.2...done.
Loaded symbols for /lib/ld-linux-ia64.so.2
0x2000000000232841 in pthread_join () from /lib/tls/libpthread.so.0
(gdb) c
Continuing.
[New Thread 2305843009232140496 (LWP 23488)]
c
Program received signal SIGINT, Interrupt.
[Switching to Thread 2305843009213882320 (LWP 23430)]
0x2000000000232841 in pthread_join () from /lib/tls/libpthread.so.0