This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
gdbserver cannot attach to the process
- From: Ashish Kumar <ashishk at gmail dot com>
- To: gdb at sources dot redhat dot com
- Date: Thu, 26 Aug 2004 14:07:36 -0700
- Subject: gdbserver cannot attach to the process
- Reply-to: Ashish Kumar <ashishk at gmail dot com>
On the host side:
=============
(gdb) set solib-absolute-prefix /nfsroot
(gdb) set solib-absolute-prefix /nfsroot
(gdb) target remote 10.10.63.90:2345
Remote debugging using 10.10.63.90:2345
0x4451887e in ?? ()
BFD: /myroot/scsi0/net/libcommon_api.so.1.0: invalid string offset 18348 >
= 1524 for section `.dynstr'
BFD: /myroot/scsi0/net/liblpd_main.so.1.0: invalid string offset 18010 >=
1922 for section `.dynstr'
Ignoring packet error, continuing...
Error while reading shared library symbols:
putpkt: write failed: Broken pipe.
Error while reading shared library symbols:
putpkt: write failed: Broken pipe.
Error while reading shared library symbols:
putpkt: write failed: Broken pipe.
Error while reading shared library symbols:
putpkt: write failed: Broken pipe.
BFD: /antigua/scsi0/system/libefiaccounts.so: invalid string offset 17050 >
= 1448 for section `.dynstr'
Error while reading shared library symbols:
putpkt: write failed: Broken pipe.
Error while reading shared library symbols:
putpkt: write failed: Broken pipe.
Error while reading shared library symbols:
...
...
On the target side:
=================
[root ~]$ gdbserver 0:2345 --attach 836
Attached; pid = 836
Listening on port 2345
Remote debugging from host 10.10.69.62
Cannot attach to process 836: Operation not permitted (1)
[root ~]$