Knaster
Posts: 2
Joined: Mon Jun 24, 2019 10:15 pm

Explicitly using libc.so.6 *without* debugging symbols

Mon Jun 24, 2019 10:29 pm

Hello

I'm debugging a software i'm writing using the timers defined in time.h and keep getting halted at breakpoints that seems to be defined within libc.so.6 whenever i create a new timer using timer_settime;

Code: Select all

In poll () (/lib/arm-linux-gnueabihf/libc.so.6)
Continuing ..
In syscall () (/lib/arm-linux-gnueabihf/libc.so.6)
Continuing ..
How do i make sure to link against a libc.so.6 that does *not* include the debugging symbols? I made sure to remove libc6-dbg but to no avail. I'm using GDB under Code::Blocks - Any help much appreciated!

Knaster
Posts: 2
Joined: Mon Jun 24, 2019 10:15 pm

Re: Explicitly using libc.so.6 *without* debugging symbols

Tue Jun 25, 2019 2:11 am

Nevermind, turns out i did indeed run a libc.so.6 without debugging symbols but that the default behavior of GDB is to halt on signal events and it has to be turned off by creating a .gdbinit file

Return to “C/C++”