This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

gdbserver cannot attach to the process


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 ~]$


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]