All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] gdb-cross: build with python support
@ 2014-10-07 15:50 Andreas Müller
  2014-10-20 20:42 ` Andreas Müller
  2014-10-21 15:26 ` Burton, Ross
  0 siblings, 2 replies; 5+ messages in thread
From: Andreas Müller @ 2014-10-07 15:50 UTC (permalink / raw)
  To: openembedded-core

variable contents are displayed properly when debugging qt applications remotely

see [1] for further details

[1] http://qt-project.org/doc/qtcreator-2.6/creator-debugging-helpers.html#debugging-helpers-based-on-python

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
---
 meta/recipes-devtools/gdb/gdb-cross.inc | 13 +++++++++++--
 1 file changed, 11 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-devtools/gdb/gdb-cross.inc b/meta/recipes-devtools/gdb/gdb-cross.inc
index cb99b06..6e44778 100644
--- a/meta/recipes-devtools/gdb/gdb-cross.inc
+++ b/meta/recipes-devtools/gdb/gdb-cross.inc
@@ -1,8 +1,17 @@
 require gdb-common.inc
 
-DEPENDS = "expat-native ncurses-native readline-native"
+DEPENDS = "expat-native ncurses-native readline-native python-native"
 
-EXTRA_OECONF += "--without-python"
+inherit pythonnative
+
+EXTRA_OECONF += "--with-python=${STAGING_BINDIR_NATIVE}/python-native/python"
+
+do_compile_prepend() {
+    export BUILD_SYS="${BUILD_SYS}"
+    export HOST_SYS="${HOST_SYS}"
+    export STAGING_LIBDIR="${STAGING_LIBDIR_NATIVE}"
+    export STAGING_INCDIR="${STAGING_INCDIR_NATIVE}"
+}
 
 #EXTRA_OEMAKE += "LDFLAGS='${BUILD_LDFLAGS}'"
 
-- 
1.8.3.1



^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH] gdb-cross: build with python support
  2014-10-07 15:50 [PATCH] gdb-cross: build with python support Andreas Müller
@ 2014-10-20 20:42 ` Andreas Müller
  2014-10-21 15:26 ` Burton, Ross
  1 sibling, 0 replies; 5+ messages in thread
From: Andreas Müller @ 2014-10-20 20:42 UTC (permalink / raw)
  To: openembedded-core

[-- Attachment #1: Type: text/plain, Size: 1398 bytes --]

On Tuesday, October 7, 2014, Andreas Müller <schnitzeltony@googlemail.com>
wrote:
> variable contents are displayed properly when debugging qt applications
remotely
>
> see [1] for further details
>
> [1]
http://qt-project.org/doc/qtcreator-2.6/creator-debugging-helpers.html#debugging-helpers-based-on-python
>
> Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
> ---
>  meta/recipes-devtools/gdb/gdb-cross.inc | 13 +++++++++++--
>  1 file changed, 11 insertions(+), 2 deletions(-)
>
> diff --git a/meta/recipes-devtools/gdb/gdb-cross.inc
b/meta/recipes-devtools/gdb/gdb-cross.inc
> index cb99b06..6e44778 100644
> --- a/meta/recipes-devtools/gdb/gdb-cross.inc
> +++ b/meta/recipes-devtools/gdb/gdb-cross.inc
> @@ -1,8 +1,17 @@
>  require gdb-common.inc
>
> -DEPENDS = "expat-native ncurses-native readline-native"
> +DEPENDS = "expat-native ncurses-native readline-native python-native"
>
> -EXTRA_OECONF += "--without-python"
> +inherit pythonnative
> +
> +EXTRA_OECONF +=
"--with-python=${STAGING_BINDIR_NATIVE}/python-native/python"
> +
> +do_compile_prepend() {
> +    export BUILD_SYS="${BUILD_SYS}"
> +    export HOST_SYS="${HOST_SYS}"
> +    export STAGING_LIBDIR="${STAGING_LIBDIR_NATIVE}"
> +    export STAGING_INCDIR="${STAGING_INCDIR_NATIVE}"
> +}
>
>  #EXTRA_OEMAKE += "LDFLAGS='${BUILD_LDFLAGS}'"
>
> --
> 1.8.3.1
>
>
ping

[-- Attachment #2: Type: text/html, Size: 1931 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] gdb-cross: build with python support
  2014-10-07 15:50 [PATCH] gdb-cross: build with python support Andreas Müller
  2014-10-20 20:42 ` Andreas Müller
@ 2014-10-21 15:26 ` Burton, Ross
  2014-10-22  7:39   ` Andreas Müller
  2014-10-23  9:52   ` Andreas Müller
  1 sibling, 2 replies; 5+ messages in thread
From: Burton, Ross @ 2014-10-21 15:26 UTC (permalink / raw)
  To: Andreas Müller; +Cc: OE-core

On 7 October 2014 16:50, Andreas Müller <schnitzeltony@googlemail.com> wrote:
> -DEPENDS = "expat-native ncurses-native readline-native"
> +DEPENDS = "expat-native ncurses-native readline-native python-native"
>
> -EXTRA_OECONF += "--without-python"
> +inherit pythonnative

Do we want to make this a PACKAGECONFIG option?  Adding Python isn't a
trivial dependency.

Ross


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] gdb-cross: build with python support
  2014-10-21 15:26 ` Burton, Ross
@ 2014-10-22  7:39   ` Andreas Müller
  2014-10-23  9:52   ` Andreas Müller
  1 sibling, 0 replies; 5+ messages in thread
From: Andreas Müller @ 2014-10-22  7:39 UTC (permalink / raw)
  To: Burton, Ross; +Cc: OE-core

[-- Attachment #1: Type: text/plain, Size: 680 bytes --]

On Tue, Oct 21, 2014 at 5:26 PM, Burton, Ross <ross.burton@intel.com> wrote:

> On 7 October 2014 16:50, Andreas Müller <schnitzeltony@googlemail.com>
> wrote:
> > -DEPENDS = "expat-native ncurses-native readline-native"
> > +DEPENDS = "expat-native ncurses-native readline-native python-native"
> >
> > -EXTRA_OECONF += "--without-python"
> > +inherit pythonnative
>
> Do we want to make this a PACKAGECONFIG option?  Adding Python isn't a
> trivial dependency.
>
> Ross
>
A PACKAGECONFIG for something which will never be included in an image? I
have no strong opinion on that but need remote debugging for qt. So let me
know what the decision is.

Andreas

[-- Attachment #2: Type: text/html, Size: 1219 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] gdb-cross: build with python support
  2014-10-21 15:26 ` Burton, Ross
  2014-10-22  7:39   ` Andreas Müller
@ 2014-10-23  9:52   ` Andreas Müller
  1 sibling, 0 replies; 5+ messages in thread
From: Andreas Müller @ 2014-10-23  9:52 UTC (permalink / raw)
  To: Burton, Ross; +Cc: OE-core

[-- Attachment #1: Type: text/plain, Size: 558 bytes --]

On Tue, Oct 21, 2014 at 5:26 PM, Burton, Ross <ross.burton@intel.com> wrote:

> On 7 October 2014 16:50, Andreas Müller <schnitzeltony@googlemail.com>
> wrote:
> > -DEPENDS = "expat-native ncurses-native readline-native"
> > +DEPENDS = "expat-native ncurses-native readline-native python-native"
> >
> > -EXTRA_OECONF += "--without-python"
> > +inherit pythonnative
>
> Do we want to make this a PACKAGECONFIG option?  Adding Python isn't a
> trivial dependency.
>
> Ross
>
Could you live with a PACKAGECONFIG enabled by default?

Andreas

[-- Attachment #2: Type: text/html, Size: 1099 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-10-23  9:52 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-10-07 15:50 [PATCH] gdb-cross: build with python support Andreas Müller
2014-10-20 20:42 ` Andreas Müller
2014-10-21 15:26 ` Burton, Ross
2014-10-22  7:39   ` Andreas Müller
2014-10-23  9:52   ` Andreas Müller

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.