How does a debugger work in Linux?
but then how does debugger ‘know’ what it is being attached to? from man ptrace The ptrace() system call provides a means by … Read more
but then how does debugger ‘know’ what it is being attached to? from man ptrace The ptrace() system call provides a means by … Read more
Is there a way to see if process listening on TCP port receives a message?
On linux you can address an application’s file-descriptors as named files in /dev/fd/[0-9]. And what you definitely can do with a named file … Read more
Kernel and QEMU : Unable to mount root fs error
Adding OPTIONS+=(debug !strip) adds this (from /etc/makepkg.conf) to your build options: DEBUG_CFLAGS=”-g -fvar-tracking-assignments”. Neither of these disables any optimizations (https://gcc.gnu.org/onlinedocs/gcc/Debugging-Options.html). You get an … Read more
QEMU + GDB step-by-step procedure tested on Ubuntu 16.10 host To get started from scratch quickly I’ve made a minimal fully automated QEMU … Read more
An easy method is to use top. To determine whether file-roller is using either unrar or p7zip-rar, simply start top in a terminal, … Read more
What is Linux native debugging symbols format?
Debugging kernel module
Why some libraries and other parts get repeated in the linux virtual memory with gdb?