Comment #11 on issue 260 by [email protected]: memcached big bug
http://code.google.com/p/memcached/issues/detail?id=260

I'm doing this:
1) screen -fn -S gdb_memcached -dm gdb memcached $(pidof memcached)
2) screen -r gdb_memcached

Displays:

GNU gdb (GDB) Red Hat Enterprise Linux (7.2-56.el6)
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/memcached...(no debugging symbols found)...done.
Attaching to program: /usr/bin/memcached, process 15090
Reading symbols from /usr/lib64/libevent-1.4.so.2...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libevent-1.4.so.2
Reading symbols from /lib64/librt.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib64/librt.so.1
Reading symbols from /usr/lib64/libsasl2.so.2...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libsasl2.so.2
Reading symbols from /lib64/libpthread.so.0...(no debugging symbols found)...done.
[Thread debugging using libthread_db enabled]
[New Thread 0x7f04f7e13700 (LWP 15096)]
[New Thread 0x7f04f8614700 (LWP 15094)]
[New Thread 0x7f04f8e15700 (LWP 15093)]
[New Thread 0x7f04f9616700 (LWP 15092)]
[New Thread 0x7f04f9e17700 (LWP 15091)]
Loaded symbols for /lib64/libpthread.so.0
Reading symbols from /lib64/libc.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib64/libc.so.6
Reading symbols from /lib64/libnsl.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib64/libnsl.so.1
Reading symbols from /lib64/libresolv.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib64/libresolv.so.2
Reading symbols from /lib64/ld-linux-x86-64.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib64/ld-linux-x86-64.so.2
Reading symbols from /lib64/libdl.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib64/libdl.so.2
Reading symbols from /lib64/libcrypt.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib64/libcrypt.so.1
Reading symbols from /lib64/libfreebl3.so...(no debugging symbols found)...done.
Loaded symbols for /lib64/libfreebl3.so
Reading symbols from /lib64/libnss_files.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib64/libnss_files.so.2
0x00007f04fabf8713 in epoll_wait () from /lib64/libc.so.6
Missing separate debuginfos, use: debuginfo-install memcached-1.4.15-2.el6.remi.x86_64
(gdb)


Whether or not to run the "run" in the debugger?
Or leave as is?

Reply via email to