Gentoo Archives: gentoo-embedded

From: Kfir Lavi <lavi.kfir@×××××.com>
To: gentoo-user@l.g.o, gentoo-embedded@l.g.o
Subject: [gentoo-embedded] gdb debugging of small system built with catalyst
Date: Sun, 25 Dec 2011 09:21:54
I have few directories each contains C++ code, and is mapped to a local
private ebuild.
So I need to install few projects that depend on each other.
On the target machine I have gdbserver running.
When connecting to gdbserver, the links to the sources is
My problem is that I need to debug all programs together, and the sources
are in catalyst's tmp working directory.
I can use 'directory' command in gdb to change the search path of the
source files, but doing it to few projects is cumbersome.
I can compile the source with -g3 and embed the sources there, but didn't
try that as I heard it is unstable.
At the end I need to provide a way to allow programmers to use Eclipse with
all the directories sources to debug all projects at once.
Is there other method to do this and integrate it to Eclipse?
For start no need for eclipse, I need to debug from the command line or vim.