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 1RekHC-0005l2-0Z for garchives@archives.gentoo.org; Sun, 25 Dec 2011 09:21:54 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 38FDA21C0BC; Sun, 25 Dec 2011 09:21:31 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 353AF21C0A3 for ; Sun, 25 Dec 2011 09:20:59 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 6B06E1B402A for ; Sun, 25 Dec 2011 09:20:58 +0000 (UTC) X-Virus-Scanned: by amavisd-new using ClamAV at gentoo.org X-Spam-Flag: NO X-Spam-Score: -1.639 X-Spam-Level: X-Spam-Status: No, score=-1.639 tagged_above=-999 required=5.5 tests=[AWL=1.060, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=no Received: from smtp.gentoo.org ([127.0.0.1]) by localhost (smtp.gentoo.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rbHhPyxuDdTb for ; Sun, 25 Dec 2011 09:20:53 +0000 (UTC) Received: from mail-vx0-f177.google.com (mail-vx0-f177.google.com [209.85.220.177]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C7C401B4004 for ; Sun, 25 Dec 2011 09:20:49 +0000 (UTC) Received: by vcbf11 with SMTP id f11so9792740vcb.36 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-embedded@lists.gentoo.org Reply-to: gentoo-embedded@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-embedded] gdb debugging of small system built with catalyst To: gentoo-user@lists.gentoo.org, gentoo-embedded@lists.gentoo.org Content-Type: multipart/alternative; boundary=14dae9cdc87764975704b4e72a45 X-Archives-Salt: 00022b08-eed5-4dcb-b6ed-66e45d4221f4 X-Archives-Hash: 27a3a37354c1fa679810fd18671efb9d --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--