All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Jose Mª Ferreiro" <jose.ferreiro@horus.es>
To: yocto@yoctoproject.org
Subject: Add new module to recipe + meta-toolchain-qt: add gdb
Date: Tue, 10 Sep 2013 13:23:43 +0200	[thread overview]
Message-ID: <522F013F.7070002@horus.es> (raw)

Hello

We have compiled meta-toolchain-qt (Yocto dylan). Now we can run QT 
applications on Desktop (Ubuntu 12.04) and on target (iMX6 sabre Lite 
board). We can also debug the applications on board, but we can not 
debug on desktop.

When /usr/bin/gdb is started it starts automatically /usr/bin/python. It 
fails because Ubuntu python does not recognize sys.lib variable from 
/op/poky...python. We have found no way to tell gdb to start changing 
PYTHONHOME to Ubuntu python home to avoid the problem.

So we need to add gdb to the toolchain. If we get it to work, we suppose 
the /op/poky...gdb will start the /opt/poky...python (we test it and 
that python knows what sys.lib is).

We try to add to conf/local.conf: TOOLCHAIN_HOST_TASK_append = " 
nativesdk-gdb". But nativesdk-gdb is not a defined name.

So the cuestion is: how can i know what recipes are avaliable to sdk 
host toolchain and what are their names?

Thank you and best regards



             reply	other threads:[~2013-09-10 11:23 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-10 11:23 Jose Mª Ferreiro [this message]
2013-09-10 14:05 ` Add new module to recipe + meta-toolchain-qt: add gdb Jegan Chandru
2013-09-10 17:26   ` Jose Mª Ferreiro
2013-09-10 19:16     ` Philipp Wagner
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=522F013F.7070002@horus.es \
    --to=jose.ferreiro@horus.es \
    --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.