* [gentoo-user] gdb debugging of small system built with catalyst
@ 2011-12-25 9:20 Kfir Lavi
2011-12-31 21:20 ` [gentoo-user] Re: [gentoo-embedded] " Mike Frysinger
0 siblings, 1 reply; 4+ messages in thread
From: Kfir Lavi @ 2011-12-25 9:20 UTC (permalink / raw
To: gentoo-user, gentoo-embedded
[-- Attachment #1: Type: text/plain, Size: 926 bytes --]
Hi,
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
/var/tmp/.../../file.cpp.
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.
Regards,
Kfir
[-- Attachment #2: Type: text/html, Size: 1028 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* [gentoo-user] Re: [gentoo-embedded] gdb debugging of small system built with catalyst
2011-12-25 9:20 [gentoo-user] gdb debugging of small system built with catalyst Kfir Lavi
@ 2011-12-31 21:20 ` Mike Frysinger
2012-01-02 9:09 ` Kfir Lavi
0 siblings, 1 reply; 4+ messages in thread
From: Mike Frysinger @ 2011-12-31 21:20 UTC (permalink / raw
To: gentoo-embedded; +Cc: Kfir Lavi, gentoo-user
[-- Attachment #1: Type: Text/Plain, Size: 121 bytes --]
FEATURES=installsources would probably get what you need by normalizing all
source trees into /usr/src/debug/.
-mike
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* [gentoo-user] Re: [gentoo-embedded] gdb debugging of small system built with catalyst
2011-12-31 21:20 ` [gentoo-user] Re: [gentoo-embedded] " Mike Frysinger
@ 2012-01-02 9:09 ` Kfir Lavi
2012-01-02 19:31 ` [gentoo-user] " Mike Frysinger
0 siblings, 1 reply; 4+ messages in thread
From: Kfir Lavi @ 2012-01-02 9:09 UTC (permalink / raw
To: Mike Frysinger; +Cc: gentoo-embedded, gentoo-user
[-- Attachment #1: Type: text/plain, Size: 535 bytes --]
On Sat, Dec 31, 2011 at 11:20 PM, Mike Frysinger <vapier@gentoo.org> wrote:
> FEATURES=installsources would probably get what you need by normalizing all
> source trees into /usr/src/debug/.
> -mike
>
Thanks Mike,
I'm using FEATURES="installsources splitdebug"
so now I have /usr/lib/debug and /usr/src/debug, and together, I can
control the copying of debug directories to the target.
I'm now struggling connecting eclipse to debugging remote the target.
If someone have some insight for me, I'll be happy to hear it.
Thanks,
Kfir
[-- Attachment #2: Type: text/html, Size: 905 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* [gentoo-user] Re: gdb debugging of small system built with catalyst
2012-01-02 9:09 ` Kfir Lavi
@ 2012-01-02 19:31 ` Mike Frysinger
0 siblings, 0 replies; 4+ messages in thread
From: Mike Frysinger @ 2012-01-02 19:31 UTC (permalink / raw
To: Kfir Lavi; +Cc: gentoo-embedded, gentoo-user
[-- Attachment #1: Type: Text/Plain, Size: 435 bytes --]
On Monday 02 January 2012 04:09:10 Kfir Lavi wrote:
> I'm now struggling connecting eclipse to debugging remote the target.
> If someone have some insight for me, I'll be happy to hear it.
http://docs.blackfin.uclinux.org/doku.php?id=debuggers
http://docs.blackfin.uclinux.org/doku.php?id=toolchain:eclipse:tool-setup
you should be able to replace the Blackfin-specific stuff with whatever your
target happens to be
-mike
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2012-01-02 19:33 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-25 9:20 [gentoo-user] gdb debugging of small system built with catalyst Kfir Lavi
2011-12-31 21:20 ` [gentoo-user] Re: [gentoo-embedded] " Mike Frysinger
2012-01-02 9:09 ` Kfir Lavi
2012-01-02 19:31 ` [gentoo-user] " Mike Frysinger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox