Trying to remotely debug (gdbserver --attach <PID>) already running program via Lazarus IDE doesn't work.
Original Reporter info from Mantis: Cyrax
-
Reporter name:
Original Reporter info from Mantis: Cyrax
- Reporter name:
Description:
Like summary says, it seems that Lazarus debugger does not recognise already remotely stopped program by gdbserver (gdbserver does this automatically when attaching to program). It will continue the execution of the program and further tries to affect to the debugging process is nil.
Except from Debug output window:
~"Reading symbols from target:/usr/lib/libFLAC.so.8...\n" ~"(No debugging symbols found in target:/usr/lib/libFLAC.so.8)\n" ~"Reading symbols from target:/usr/lib/libnss_files.so.2...\n" ~"(No debugging symbols found in target:/usr/lib/libnss_files.so.2)\n" ~"Reading symbols from target:/usr/lib/gio/modules/libgvfsdbus.so...\n" ~"(No debugging symbols found in target:/usr/lib/gio/modules/libgvfsdbus.so)\n" ~"Reading symbols from target:/usr/lib/gvfs/libgvfscommon.so...\n" ~"(No debugging symbols found in target:/usr/lib/gvfs/libgvfscommon.so)\n" ~"Reading symbols from target:/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-png.so...\n" ~"(No debugging symbols found in target:/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-png.so)\n" ~"Reading symbols from target:/usr/lib/gio/modules/libgioremote-volume-monitor.so...\n" ~"(No debugging symbols found in target:/usr/lib/gio/modules/libgioremote-volume-monitor.so)\n" ~"Reading /lib64/ld-linux-x86-64.so.2 from remote target...\n" ~"0x00007fc4374a5abf in poll () from target:/usr/lib/libc.so.6\n" *stopped,frame={addr="0x00007fc4374a5abf",func="poll",args=[],from="target:/usr/lib/libc.so.6",arch="i386:x86-64"},thread-id="1",stopped-threads="all",core="6" ^done (gdb)
Mantis conversion info:
- Mantis ID: 36859
- OS: Arch
- OS Build: 3.17.4-1
- Build: r62845
- Platform: Linux x86_64
- Version: 2.1 (SVN)