install debug packages with "list-symbols-packages-v2.1" sh script needs update....

Verwijs1969 dutch.glory at yahoo.com
Wed Jan 3 13:58:31 UTC 2018


install debug packages with "list-symbols-packages-v2.1" sh script needs
update. at least (k)ubuntu 17.10 compatible 
and how to install "../sysdeps/unix/sysv/linux/poll.c"  ..

source:
https://wiki.ubuntu.com/Debug%20Symbol%20Packages


run.
list-symbols-packages-v2.1.sh  -p $(pidof plasmashell)

OUTPUT:
++ basename /home/verwijs/Downloads/list-symbols-packages-v2.1.sh
+ progname=list-symbols-packages-v2.1.sh
+ all=false
+ preferred='dbgsym dbg'
+ debug=false
+ terse=false
+ pid=
+ getopts :adgp:t opt
+ case $opt in
+ pid=1315
++ readlink /proc/1315/exe
+ binary=/usr/bin/plasmashell
+ '[' -z /usr/bin/plasmashell ']'
+ getopts :adgp:t opt
+ '[' -z /usr/bin/plasmashell ']'
+ '[' '!' -z 1315 ']'
+ Args=--pid=1315
+ echo q
+ gdb --pid=1315
+ grep 'Reading symbols from '
+ false
+ grep 'no debugging symbols found'
+ sort -u
+ find-debug
+ read i
+ false
+ cat
+ sort -u
+ read i
+ sed -e 's/^\(.*\): .*$/\1/'
+ sed -e 's/^Reading symbols from \(.*\)\.\.\.\((\|Reading \).*$/\1/'
29      ../sysdeps/unix/sysv/linux/poll.c: file does not exist.
---





--
Sent from: http://ubuntu.5.x6.nabble.com/kubuntu-devel-f1175703.html



More information about the kubuntu-devel mailing list