近日需要调一个在国产操作系统中标麒麟的一个程序,发现gdb不好使。
查看自带gdb版本信息
[root@localhost gdb-7.8]# gdb --version
GNU gdb (GDB) Red Hat Enterprise Linux (7.2-60.ns6.0.2)
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 "mips64el-neokylin-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
gdb进入程序后
Missing separate debuginfos, use: debuginfo-install glibc-2.12-1.166.ns6.0.5.mips64el keyutils-libs-1.4-4.ns6.0.mips64el krb5-libs-1.10.3-42.ns6.0.mips64el libacl-2.2.49-6.ns6.0.mips64el libattr-2.4.44-7.ns6.0.mips64el libcom_err-1.41.12-18.ns6.0