From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1RekI1-0005tF-6N for garchives@archives.gentoo.org; Sun, 25 Dec 2011 09:22:45 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CF08021C0C2; Sun, 25 Dec 2011 09:22:18 +0000 (UTC) Received: from mail-vx0-f181.google.com (mail-vx0-f181.google.com [209.85.220.181]) by pigeon.gentoo.org (Postfix) with ESMTP id 2A3B321C088 for ; Sun, 25 Dec 2011 09:20:48 +0000 (UTC) Received: by vcbfk26 with SMTP id fk26so8434017vcb.40 for ; Sun, 25 Dec 2011 01:20:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; bh=bruRltukhkUG1GfenuCo5AY3pJiZ6MobESTEt6HeORQ=; b=NZOTk4bzG21KtJv55OVkwGnxFIrEnXKG/EuSCDIugaRBK5YROdj44KAQG/UjBEpfAj uT9wHrEWoBLW/mUKeYPOA30tXP8DbOJaa5sz9cVWR3APu9X+8J4NU3nJ4paaccE3mk6/ hBHFRj6hIlWQVwiNOuNuNKCijh5JyqYneQ/U8= Received: by 10.220.231.73 with SMTP id jp9mr12391874vcb.50.1324804848522; Sun, 25 Dec 2011 01:20:48 -0800 (PST) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Received: by 10.52.163.35 with HTTP; Sun, 25 Dec 2011 01:20:27 -0800 (PST) From: Kfir Lavi Date: Sun, 25 Dec 2011 11:20:27 +0200 Message-ID: Subject: [gentoo-user] gdb debugging of small system built with catalyst To: gentoo-user@lists.gentoo.org, gentoo-embedded@gentoo.org Content-Type: multipart/alternative; boundary=14dae9cdc87764975704b4e72a45 X-Archives-Salt: 42c5a081-3ed7-4f15-935c-47fa3b0c259f X-Archives-Hash: e0b2ee7a09d5038e16dbcbd6ce38a660 --14dae9cdc87764975704b4e72a45 Content-Type: text/plain; charset=UTF-8 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 --14dae9cdc87764975704b4e72a45 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi,
I have few directories each contains C++ code, and = is mapped to a local private ebuild.
So I need to install few projects t= hat depend on each other.
On the target machine I have gdbserver runnin= g.
When connecting to gdbserver, the links to the sources is /var/tmp/.../../f= ile.cpp.
My problem is that I need to debug all programs together, and t= he 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 w= ay 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.
Regar= ds,
Kfir
--14dae9cdc87764975704b4e72a45--