gdb: warning: .dynamic section for "/usr/lib/libcrack.so.2" is not at the expected address

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I am trying to use gdb/gdbserver to debug C++ program. I am having one
server running on machine A, I attached the gdbserver to the server process.

[apeuser@apevm ~]$ /usr/bin/gdbserver host:8832 --attach 4922
Attached; pid = 4922
Listening on port 8832
Remote debugging from host 171.71.171.102


Then on another machine B, I started gdb, and set solib-search-path, when I
did ³target remote 171.71.26.144², I got some warning messages. What should
I set to get rid of those warning messages ?

Thanks
James C

nuo-sw-build16:/users/jzchen/sharelibrary 33 > gdbdme
GNU gdb Red Hat Linux (6.3.0.0-1.153.el4_6.1rh)
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 "i386-redhat-linux-gnu"...Using host libthread_db
library "/lib/tls/libthread_db.so.1".

(gdb) set solib-search-path
/users/jzchen/sharelibrary/:/auto/nbv_build/jzchen/infra/infra/sam/src/.debu
g/lib.out/public:/auto/nbv_build/jzchen/infra/infra/sam/src/.debug/lib.out/p
rivate:/usr/lib:/lib
(gdb) 
(gdb) 
(gdb) 
(gdb) 
(gdb) target remote 171.71.26.144:8832
Remote debugging using 171.71.26.144:8832
0x0028a402 in ?? ()
warning: .dynamic section for "/usr/lib/libcrack.so.2" is not at the
expected address
warning: .dynamic section for "/usr/lib/libstdc++.so.6" is not at the
expected address
warning: .dynamic section for "/lib/libm.so.6" is not at the expected
address
warning: .dynamic section for "/lib/libgcc_s.so.1" is not at the expected
address
warning: .dynamic section for "/lib/libc.so.6" is not at the expected
address
warning: .dynamic section for "/lib/libdl.so.2" is not at the expected
address
warning: .dynamic section for "/lib/libpthread.so.0" is not at the expected
address
warning: .dynamic section for "/lib/librt.so.1" is not at the expected
address
warning: .dynamic section for "/lib/ld-linux.so.2" is not at the expected
address
(gdb) 

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subjecthttps://www.redhat.com/mailman/listinfo/redhat-list


[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux