From: Philipp Wagner <lists@philipp-wagner.com>
To: Yocto Project <yocto@yoctoproject.org>
Subject: Re: Add new module to recipe + meta-toolchain-qt: add gdb
Date: Tue, 10 Sep 2013 21:16:16 +0200 [thread overview]
Message-ID: <522F7000.5030103@philipp-wagner.com> (raw)
In-Reply-To: <522F5635.3040803@horus.es>
Hi Jose,
Am 10.09.2013 19:26, Jose Mª Ferreiro wrote:
> We expect/want to have a gdb compiled for the host machine at
> /opt/poky/1.4.2/sysroots/i686-pokysdk-linux/usr/bin/
>
> QT Desktop mode is starting /usr/bin/gdb but using the /opt/poky...
> directory as PYTHONHOME. We think if we have our
> /opt/poky/../usr/bin/gdb and we tell QT to use it, it will avoid ths
> sys.lib conflict.
To debug your desktop application, why do you want to use any of the
tools from the SDK? You can just use the system's tools (e.g.
/usr/bin/python with no PYTHONHOME set)?
To do that, just start a new console, do *not* source the
/opt/poky/1.4.2/environment-* file. This should give you an empty
PYTHONHOME variable and an unmodified PATH, so you can just use the
regular tools on the desktop.
Philipp
next prev parent reply other threads:[~2013-09-10 19:16 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-10 11:23 Add new module to recipe + meta-toolchain-qt: add gdb Jose Mª Ferreiro
2013-09-10 14:05 ` Jegan Chandru
2013-09-10 17:26 ` Jose Mª Ferreiro
2013-09-10 19:16 ` Philipp Wagner [this message]
2013-09-11 10:20 ` jfc
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=522F7000.5030103@philipp-wagner.com \
--to=lists@philipp-wagner.com \
--cc=yocto@yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.