How to use -dbg packages?
Hi,
I need to debug kxkb and its library calls. I just tried to install
kdebase-dbg and kdelibs-dbg, but there are no usage instructions
in /usr/share/doc.
There's /usr/lib/debug/usr/bin/kxkb, but doesn't have by default any
execution bit. Adding, it still fails to run.
bathl:~# /usr/lib/debug/usr/bin/kxkb
-su: /usr/lib/debug/usr/bin/kxkb: cannot execute binary file
bathl:~# file /usr/lib/debug/usr/bin/kxkb
/usr/lib/debug/usr/bin/kxkb: ELF 32-bit LSB executable, Intel 80386, version
1 (SYSV), dynamically linked (uses shared libs), not stripped
bathl:~# strace /usr/lib/debug/usr/bin/kxkb
execve("/usr/lib/debug/usr/bin/kxkb", ["/usr/lib/debug/usr/bin/kxkb"], [/*
33 vars */]) = -1 ENOEXEC (Exec format error)
dup(2) = 3
fcntl64(3, F_GETFL) = 0x2 (flags O_RDWR)
fstat64(3, {st_mode=S_IFCHR|0700, st_rdev=makedev(136, 3), ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0xb7f4a000
_llseek(3, 0, 0xbfd95314, SEEK_CUR) = -1 ESPIPE (Illegal seek)
write(3, "strace: exec: Exec format error\n", 32strace: exec: Exec format
error
) = 32
close(3) = 0
munmap(0xb7f4a000, 4096) = 0
exit_group(1) = ?
Process 6067 detached
Are those kde -dbg packages only for those kde call traces when an
application crashes?
Thanks,
Bernd
Reply to: