WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Setup dgb for multi-threaded debug  (Read 8647 times)

Offline Kurvivor

  • Newbie
  • *
  • Posts: 9
Re: Setup dgb for multi-threaded debug
« Reply #15 on: October 15, 2016, 04:15:34 PM »
To clarify: you mean this part:
Code: [Select]
cd glibc-2.20

patch -Np1 -i ../glibc-2.20-fhs-1.patch

mkdir ../glibc-build
cd ../glibc-build

echo "CFLAGS += -march=i486 -mtune=i686 -Os -pipe" > configparms

../glibc-2.20/configure --prefix=/usr --libexecdir=/usr/lib/glibc --disable-profile --enable-kernel=3.8.13 --enable-obsolete-rpc

find . -name config.make -type f -exec sed -i 's/-O2/ /g' {} \;

make

touch /etc/ld.so.conf

make install
Is that correct?
From what i understand, that file you linked is a build log for old tinycore from another environment (thus typical cross-compilation activity of first building compiler that can compile to needed target and then using it). I can get sources from the same location

Trying it out now

Offline Kurvivor

  • Newbie
  • *
  • Posts: 9
Re: Setup dgb for multi-threaded debug
« Reply #16 on: October 16, 2016, 12:36:17 PM »
You are a life-saver
gdb_thread-db is indeed the package i needed. Now gdb says that it can debug threads, which i will now commence doing.
Thanks!