All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/4] gdb: AArch64 lacks lttng support
@ 2013-05-08 11:43 Marcin Juszkiewicz
  2013-05-08 11:43 ` [PATCH 2/4] gdb: add 7.6 version Marcin Juszkiewicz
                   ` (3 more replies)
  0 siblings, 4 replies; 14+ messages in thread
From: Marcin Juszkiewicz @ 2013-05-08 11:43 UTC (permalink / raw)
  To: openembedded-core

Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
---
 meta/recipes-devtools/gdb/gdb-common.inc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/recipes-devtools/gdb/gdb-common.inc b/meta/recipes-devtools/gdb/gdb-common.inc
index f574d5c..6f42dff 100644
--- a/meta/recipes-devtools/gdb/gdb-common.inc
+++ b/meta/recipes-devtools/gdb/gdb-common.inc
@@ -5,6 +5,7 @@ SECTION = "devel"
 DEPENDS = "expat ncurses readline ${LTTNGUST}"
 
 LTTNGUST = "lttng-ust"
+LTTNGUST_aarch64 = ""
 LTTNGUST_libc-uclibc = ""
 LTTNGUST_mips = ""
 LTTNGUST_mipsel = ""
-- 
1.8.1.2




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

* [PATCH 2/4] gdb: add 7.6 version
  2013-05-08 11:43 [PATCH 1/4] gdb: AArch64 lacks lttng support Marcin Juszkiewicz
@ 2013-05-08 11:43 ` Marcin Juszkiewicz
  2013-05-08 14:28   ` Saul Wold
  2013-05-09  4:36   ` [PATCH 2/4] gdb: add 7.6 version Khem Raj
  2013-05-08 11:43 ` [PATCH 3/4] gdb: move checksums to versioned include Marcin Juszkiewicz
                   ` (2 subsequent siblings)
  3 siblings, 2 replies; 14+ messages in thread
From: Marcin Juszkiewicz @ 2013-05-08 11:43 UTC (permalink / raw)
  To: openembedded-core

Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
---
 meta/recipes-devtools/gdb/gdb-7.6.inc              | 11 ++++++++++
 .../gdb/gdb-7.6/gdbserver-cflags-last.diff         | 25 ++++++++++++++++++++++
 .../recipes-devtools/gdb/gdb-cross-canadian_7.6.bb |  5 +++++
 meta/recipes-devtools/gdb/gdb-cross_7.6.bb         |  4 ++++
 meta/recipes-devtools/gdb/gdb_7.6.bb               |  3 +++
 5 files changed, 48 insertions(+)
 create mode 100644 meta/recipes-devtools/gdb/gdb-7.6.inc
 create mode 100644 meta/recipes-devtools/gdb/gdb-7.6/gdbserver-cflags-last.diff
 create mode 100644 meta/recipes-devtools/gdb/gdb-cross-canadian_7.6.bb
 create mode 100644 meta/recipes-devtools/gdb/gdb-cross_7.6.bb
 create mode 100644 meta/recipes-devtools/gdb/gdb_7.6.bb

diff --git a/meta/recipes-devtools/gdb/gdb-7.6.inc b/meta/recipes-devtools/gdb/gdb-7.6.inc
new file mode 100644
index 0000000..20c4ea1
--- /dev/null
+++ b/meta/recipes-devtools/gdb/gdb-7.6.inc
@@ -0,0 +1,11 @@
+LICENSE="GPLv2 & GPLv3 & LGPLv2 & LGPLv3"
+LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \
+		    file://COPYING3;md5=d32239bcb673463ab874e80d47fae504 \
+		    file://COPYING3.LIB;md5=6a6a8e020838b23406c81b19c1d46df6 \
+		    file://COPYING.LIB;md5=9f604d8a4f8e74f4f5140845a21b6674"
+
+PR = "${INC_PR}.0"
+S = "${WORKDIR}/${BPN}-${PV}"
+
+SRC_URI[md5sum] = "a9836707337e5f7bf76a009a8904f470"
+SRC_URI[sha256sum] = "8070389a5dcc104eb0be483d582729f98ed4d761ad19cedd3f17b5d2502faa36"
diff --git a/meta/recipes-devtools/gdb/gdb-7.6/gdbserver-cflags-last.diff b/meta/recipes-devtools/gdb/gdb-7.6/gdbserver-cflags-last.diff
new file mode 100644
index 0000000..4dfc419
--- /dev/null
+++ b/meta/recipes-devtools/gdb/gdb-7.6/gdbserver-cflags-last.diff
@@ -0,0 +1,25 @@
+Upstream-Status: Pending
+
+---
+ gdb/gdbserver/Makefile.in |    4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+--- gdb/gdbserver/Makefile.in.orig
++++ gdb/gdbserver/Makefile.in
+@@ -118,14 +118,14 @@ WARN_CFLAGS_NO_FORMAT = `echo " $(WARN_C
+ # CFLAGS is specifically reserved for setting from the command line
+ # when running make.  I.E.  "make CFLAGS=-Wmissing-prototypes".
+ CFLAGS = @CFLAGS@
+ 
+ # INTERNAL_CFLAGS is the aggregate of all other *CFLAGS macros.
+-INTERNAL_CFLAGS_BASE =  ${CFLAGS} ${GLOBAL_CFLAGS} \
++INTERNAL_CFLAGS_BASE =  ${GLOBAL_CFLAGS} \
+ 	${PROFILE_CFLAGS} ${INCLUDE_CFLAGS}
+ INTERNAL_WARN_CFLAGS =  ${INTERNAL_CFLAGS_BASE} $(WARN_CFLAGS)
+-INTERNAL_CFLAGS =  ${INTERNAL_WARN_CFLAGS} $(WERROR_CFLAGS) -DGDBSERVER
++INTERNAL_CFLAGS =  ${INTERNAL_WARN_CFLAGS} $(WERROR_CFLAGS) ${CFLAGS} -DGDBSERVER
+ 
+ # LDFLAGS is specifically reserved for setting from the command line
+ # when running make.
+ LDFLAGS = @LDFLAGS@
+ INTERNAL_LDFLAGS = $(LDFLAGS) @RDYNAMIC@
diff --git a/meta/recipes-devtools/gdb/gdb-cross-canadian_7.6.bb b/meta/recipes-devtools/gdb/gdb-cross-canadian_7.6.bb
new file mode 100644
index 0000000..a2194a1
--- /dev/null
+++ b/meta/recipes-devtools/gdb/gdb-cross-canadian_7.6.bb
@@ -0,0 +1,5 @@
+require gdb-common.inc
+require gdb-cross-canadian.inc
+require gdb-7.6.inc
+
+GDBPROPREFIX = "--program-prefix='${TARGET_PREFIX}'"
diff --git a/meta/recipes-devtools/gdb/gdb-cross_7.6.bb b/meta/recipes-devtools/gdb/gdb-cross_7.6.bb
new file mode 100644
index 0000000..62f6937
--- /dev/null
+++ b/meta/recipes-devtools/gdb/gdb-cross_7.6.bb
@@ -0,0 +1,4 @@
+require gdb-cross.inc
+require gdb-7.6.inc
+
+SRC_URI += "file://sim-install-6.6.patch"
diff --git a/meta/recipes-devtools/gdb/gdb_7.6.bb b/meta/recipes-devtools/gdb/gdb_7.6.bb
new file mode 100644
index 0000000..0c9818d
--- /dev/null
+++ b/meta/recipes-devtools/gdb/gdb_7.6.bb
@@ -0,0 +1,3 @@
+require gdb.inc
+require gdb-7.6.inc
+
-- 
1.8.1.2




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

* [PATCH 3/4] gdb: move checksums to versioned include
  2013-05-08 11:43 [PATCH 1/4] gdb: AArch64 lacks lttng support Marcin Juszkiewicz
  2013-05-08 11:43 ` [PATCH 2/4] gdb: add 7.6 version Marcin Juszkiewicz
@ 2013-05-08 11:43 ` Marcin Juszkiewicz
  2013-05-09  4:37   ` Khem Raj
  2013-05-08 11:43 ` [PATCH 4/4] gdb: tabs -> spaces Marcin Juszkiewicz
  2013-05-09  4:36 ` [PATCH 1/4] gdb: AArch64 lacks lttng support Khem Raj
  3 siblings, 1 reply; 14+ messages in thread
From: Marcin Juszkiewicz @ 2013-05-08 11:43 UTC (permalink / raw)
  To: openembedded-core

Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
---
 meta/recipes-devtools/gdb/gdb-common.inc | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/meta/recipes-devtools/gdb/gdb-common.inc b/meta/recipes-devtools/gdb/gdb-common.inc
index 6f42dff..deb3841 100644
--- a/meta/recipes-devtools/gdb/gdb-common.inc
+++ b/meta/recipes-devtools/gdb/gdb-common.inc
@@ -23,9 +23,6 @@ inherit autotools
 
 SRC_URI = "${GNU_MIRROR}/gdb/gdb-${PV}.tar.gz \
           "
-SRC_URI[md5sum] = "b1519bf899890d21d4774845a6e602fe"
-SRC_URI[sha256sum] = "f99f26e2c1127f12ba14ece0947a9a9948be45e96b69ef363131e469a698636e"
-
 export CC_FOR_BUILD = "${BUILD_CC}"
 export CXX_FOR_BUILD = "${BUILD_CXX}"
 export CPP_FOR_BUILD = "${BUILD_CPP}"
-- 
1.8.1.2




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

* [PATCH 4/4] gdb: tabs -> spaces
  2013-05-08 11:43 [PATCH 1/4] gdb: AArch64 lacks lttng support Marcin Juszkiewicz
  2013-05-08 11:43 ` [PATCH 2/4] gdb: add 7.6 version Marcin Juszkiewicz
  2013-05-08 11:43 ` [PATCH 3/4] gdb: move checksums to versioned include Marcin Juszkiewicz
@ 2013-05-08 11:43 ` Marcin Juszkiewicz
  2013-05-09  4:37   ` Khem Raj
  2013-05-09  4:36 ` [PATCH 1/4] gdb: AArch64 lacks lttng support Khem Raj
  3 siblings, 1 reply; 14+ messages in thread
From: Marcin Juszkiewicz @ 2013-05-08 11:43 UTC (permalink / raw)
  To: openembedded-core

Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
---
 meta/recipes-devtools/gdb/gdb.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-devtools/gdb/gdb.inc b/meta/recipes-devtools/gdb/gdb.inc
index a620eca..3321a24 100644
--- a/meta/recipes-devtools/gdb/gdb.inc
+++ b/meta/recipes-devtools/gdb/gdb.inc
@@ -4,7 +4,7 @@ inherit gettext
 
 SRC_URI += "file://kill_arm_map_symbols.patch \
             file://gdbserver-cflags-last.diff;striplevel=0 \
-	    file://renesas-sh-native-support.patch \
+            file://renesas-sh-native-support.patch \
            "
 #LDFLAGS_append = " -s"
 #export CFLAGS_append=" -L${STAGING_LIBDIR}"
-- 
1.8.1.2




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

* Re: [PATCH 2/4] gdb: add 7.6 version
  2013-05-08 11:43 ` [PATCH 2/4] gdb: add 7.6 version Marcin Juszkiewicz
@ 2013-05-08 14:28   ` Saul Wold
  2013-05-09  8:48     ` [PATCH v2 1/3] " Marcin Juszkiewicz
  2013-05-09  4:36   ` [PATCH 2/4] gdb: add 7.6 version Khem Raj
  1 sibling, 1 reply; 14+ messages in thread
From: Saul Wold @ 2013-05-08 14:28 UTC (permalink / raw)
  To: Marcin Juszkiewicz, Bogdan Marinescu; +Cc: openembedded-core

On 05/08/2013 04:43 AM, Marcin Juszkiewicz wrote:
> Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
> ---
>   meta/recipes-devtools/gdb/gdb-7.6.inc              | 11 ++++++++++
>   .../gdb/gdb-7.6/gdbserver-cflags-last.diff         | 25 ++++++++++++++++++++++
>   .../recipes-devtools/gdb/gdb-cross-canadian_7.6.bb |  5 +++++
>   meta/recipes-devtools/gdb/gdb-cross_7.6.bb         |  4 ++++
>   meta/recipes-devtools/gdb/gdb_7.6.bb               |  3 +++
>   5 files changed, 48 insertions(+)
>   create mode 100644 meta/recipes-devtools/gdb/gdb-7.6.inc
>   create mode 100644 meta/recipes-devtools/gdb/gdb-7.6/gdbserver-cflags-last.diff
>   create mode 100644 meta/recipes-devtools/gdb/gdb-cross-canadian_7.6.bb
>   create mode 100644 meta/recipes-devtools/gdb/gdb-cross_7.6.bb
>   create mode 100644 meta/recipes-devtools/gdb/gdb_7.6.bb
>

Why are you keeping the previous version, OE-Core mostly takes Updates 
to recipes unless there is strong reason to keep the old version around.

I also note that Bogdan provided such an update, but might have other issues


Sau!

> diff --git a/meta/recipes-devtools/gdb/gdb-7.6.inc b/meta/recipes-devtools/gdb/gdb-7.6.inc
> new file mode 100644
> index 0000000..20c4ea1
> --- /dev/null
> +++ b/meta/recipes-devtools/gdb/gdb-7.6.inc
> @@ -0,0 +1,11 @@
> +LICENSE="GPLv2 & GPLv3 & LGPLv2 & LGPLv3"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \
> +		    file://COPYING3;md5=d32239bcb673463ab874e80d47fae504 \
> +		    file://COPYING3.LIB;md5=6a6a8e020838b23406c81b19c1d46df6 \
> +		    file://COPYING.LIB;md5=9f604d8a4f8e74f4f5140845a21b6674"
> +
> +PR = "${INC_PR}.0"
> +S = "${WORKDIR}/${BPN}-${PV}"
> +
> +SRC_URI[md5sum] = "a9836707337e5f7bf76a009a8904f470"
> +SRC_URI[sha256sum] = "8070389a5dcc104eb0be483d582729f98ed4d761ad19cedd3f17b5d2502faa36"
> diff --git a/meta/recipes-devtools/gdb/gdb-7.6/gdbserver-cflags-last.diff b/meta/recipes-devtools/gdb/gdb-7.6/gdbserver-cflags-last.diff
> new file mode 100644
> index 0000000..4dfc419
> --- /dev/null
> +++ b/meta/recipes-devtools/gdb/gdb-7.6/gdbserver-cflags-last.diff
> @@ -0,0 +1,25 @@
> +Upstream-Status: Pending
> +
> +---
> + gdb/gdbserver/Makefile.in |    4 ++--
> + 1 file changed, 2 insertions(+), 2 deletions(-)
> +
> +--- gdb/gdbserver/Makefile.in.orig
> ++++ gdb/gdbserver/Makefile.in
> +@@ -118,14 +118,14 @@ WARN_CFLAGS_NO_FORMAT = `echo " $(WARN_C
> + # CFLAGS is specifically reserved for setting from the command line
> + # when running make.  I.E.  "make CFLAGS=-Wmissing-prototypes".
> + CFLAGS = @CFLAGS@
> +
> + # INTERNAL_CFLAGS is the aggregate of all other *CFLAGS macros.
> +-INTERNAL_CFLAGS_BASE =  ${CFLAGS} ${GLOBAL_CFLAGS} \
> ++INTERNAL_CFLAGS_BASE =  ${GLOBAL_CFLAGS} \
> + 	${PROFILE_CFLAGS} ${INCLUDE_CFLAGS}
> + INTERNAL_WARN_CFLAGS =  ${INTERNAL_CFLAGS_BASE} $(WARN_CFLAGS)
> +-INTERNAL_CFLAGS =  ${INTERNAL_WARN_CFLAGS} $(WERROR_CFLAGS) -DGDBSERVER
> ++INTERNAL_CFLAGS =  ${INTERNAL_WARN_CFLAGS} $(WERROR_CFLAGS) ${CFLAGS} -DGDBSERVER
> +
> + # LDFLAGS is specifically reserved for setting from the command line
> + # when running make.
> + LDFLAGS = @LDFLAGS@
> + INTERNAL_LDFLAGS = $(LDFLAGS) @RDYNAMIC@
> diff --git a/meta/recipes-devtools/gdb/gdb-cross-canadian_7.6.bb b/meta/recipes-devtools/gdb/gdb-cross-canadian_7.6.bb
> new file mode 100644
> index 0000000..a2194a1
> --- /dev/null
> +++ b/meta/recipes-devtools/gdb/gdb-cross-canadian_7.6.bb
> @@ -0,0 +1,5 @@
> +require gdb-common.inc
> +require gdb-cross-canadian.inc
> +require gdb-7.6.inc
> +
> +GDBPROPREFIX = "--program-prefix='${TARGET_PREFIX}'"
> diff --git a/meta/recipes-devtools/gdb/gdb-cross_7.6.bb b/meta/recipes-devtools/gdb/gdb-cross_7.6.bb
> new file mode 100644
> index 0000000..62f6937
> --- /dev/null
> +++ b/meta/recipes-devtools/gdb/gdb-cross_7.6.bb
> @@ -0,0 +1,4 @@
> +require gdb-cross.inc
> +require gdb-7.6.inc
> +
> +SRC_URI += "file://sim-install-6.6.patch"
> diff --git a/meta/recipes-devtools/gdb/gdb_7.6.bb b/meta/recipes-devtools/gdb/gdb_7.6.bb
> new file mode 100644
> index 0000000..0c9818d
> --- /dev/null
> +++ b/meta/recipes-devtools/gdb/gdb_7.6.bb
> @@ -0,0 +1,3 @@
> +require gdb.inc
> +require gdb-7.6.inc
> +
>



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

* Re: [PATCH 2/4] gdb: add 7.6 version
  2013-05-08 11:43 ` [PATCH 2/4] gdb: add 7.6 version Marcin Juszkiewicz
  2013-05-08 14:28   ` Saul Wold
@ 2013-05-09  4:36   ` Khem Raj
  1 sibling, 0 replies; 14+ messages in thread
From: Khem Raj @ 2013-05-09  4:36 UTC (permalink / raw)
  To: Marcin Juszkiewicz; +Cc: openembedded-core


On May 8, 2013, at 4:43 AM, Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> wrote:

> Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
> ---
> meta/recipes-devtools/gdb/gdb-7.6.inc              | 11 ++++++++++
> .../gdb/gdb-7.6/gdbserver-cflags-last.diff         | 25 ++++++++++++++++++++++
> .../recipes-devtools/gdb/gdb-cross-canadian_7.6.bb |  5 +++++
> meta/recipes-devtools/gdb/gdb-cross_7.6.bb         |  4 ++++
> meta/recipes-devtools/gdb/gdb_7.6.bb               |  3 +++
> 5 files changed, 48 insertions(+)
> create mode 100644 meta/recipes-devtools/gdb/gdb-7.6.inc
> create mode 100644 meta/recipes-devtools/gdb/gdb-7.6/gdbserver-cflags-last.diff
> create mode 100644 meta/recipes-devtools/gdb/gdb-cross-canadian_7.6.bb
> create mode 100644 meta/recipes-devtools/gdb/gdb-cross_7.6.bb
> create mode 100644 meta/recipes-devtools/gdb/gdb_7.6.bb
> 

also get rid of 6.5

> diff --git a/meta/recipes-devtools/gdb/gdb-7.6.inc b/meta/recipes-devtools/gdb/gdb-7.6.inc
> new file mode 100644
> index 0000000..20c4ea1
> --- /dev/null
> +++ b/meta/recipes-devtools/gdb/gdb-7.6.inc
> @@ -0,0 +1,11 @@
> +LICENSE="GPLv2 & GPLv3 & LGPLv2 & LGPLv3"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \
> +		    file://COPYING3;md5=d32239bcb673463ab874e80d47fae504 \
> +		    file://COPYING3.LIB;md5=6a6a8e020838b23406c81b19c1d46df6 \
> +		    file://COPYING.LIB;md5=9f604d8a4f8e74f4f5140845a21b6674"
> +
> +PR = "${INC_PR}.0"

get rid of PR and INC_PR 

otherwise looks ok

> +S = "${WORKDIR}/${BPN}-${PV}"
> +
> +SRC_URI[md5sum] = "a9836707337e5f7bf76a009a8904f470"
> +SRC_URI[sha256sum] = "8070389a5dcc104eb0be483d582729f98ed4d761ad19cedd3f17b5d2502faa36"
> diff --git a/meta/recipes-devtools/gdb/gdb-7.6/gdbserver-cflags-last.diff b/meta/recipes-devtools/gdb/gdb-7.6/gdbserver-cflags-last.diff
> new file mode 100644
> index 0000000..4dfc419
> --- /dev/null
> +++ b/meta/recipes-devtools/gdb/gdb-7.6/gdbserver-cflags-last.diff
> @@ -0,0 +1,25 @@
> +Upstream-Status: Pending
> +
> +---
> + gdb/gdbserver/Makefile.in |    4 ++--
> + 1 file changed, 2 insertions(+), 2 deletions(-)
> +
> +--- gdb/gdbserver/Makefile.in.orig
> ++++ gdb/gdbserver/Makefile.in
> +@@ -118,14 +118,14 @@ WARN_CFLAGS_NO_FORMAT = `echo " $(WARN_C
> + # CFLAGS is specifically reserved for setting from the command line
> + # when running make.  I.E.  "make CFLAGS=-Wmissing-prototypes".
> + CFLAGS = @CFLAGS@
> + 
> + # INTERNAL_CFLAGS is the aggregate of all other *CFLAGS macros.
> +-INTERNAL_CFLAGS_BASE =  ${CFLAGS} ${GLOBAL_CFLAGS} \
> ++INTERNAL_CFLAGS_BASE =  ${GLOBAL_CFLAGS} \
> + 	${PROFILE_CFLAGS} ${INCLUDE_CFLAGS}
> + INTERNAL_WARN_CFLAGS =  ${INTERNAL_CFLAGS_BASE} $(WARN_CFLAGS)
> +-INTERNAL_CFLAGS =  ${INTERNAL_WARN_CFLAGS} $(WERROR_CFLAGS) -DGDBSERVER
> ++INTERNAL_CFLAGS =  ${INTERNAL_WARN_CFLAGS} $(WERROR_CFLAGS) ${CFLAGS} -DGDBSERVER
> + 
> + # LDFLAGS is specifically reserved for setting from the command line
> + # when running make.
> + LDFLAGS = @LDFLAGS@
> + INTERNAL_LDFLAGS = $(LDFLAGS) @RDYNAMIC@
> diff --git a/meta/recipes-devtools/gdb/gdb-cross-canadian_7.6.bb b/meta/recipes-devtools/gdb/gdb-cross-canadian_7.6.bb
> new file mode 100644
> index 0000000..a2194a1
> --- /dev/null
> +++ b/meta/recipes-devtools/gdb/gdb-cross-canadian_7.6.bb
> @@ -0,0 +1,5 @@
> +require gdb-common.inc
> +require gdb-cross-canadian.inc
> +require gdb-7.6.inc
> +
> +GDBPROPREFIX = "--program-prefix='${TARGET_PREFIX}'"
> diff --git a/meta/recipes-devtools/gdb/gdb-cross_7.6.bb b/meta/recipes-devtools/gdb/gdb-cross_7.6.bb
> new file mode 100644
> index 0000000..62f6937
> --- /dev/null
> +++ b/meta/recipes-devtools/gdb/gdb-cross_7.6.bb
> @@ -0,0 +1,4 @@
> +require gdb-cross.inc
> +require gdb-7.6.inc
> +
> +SRC_URI += "file://sim-install-6.6.patch"
> diff --git a/meta/recipes-devtools/gdb/gdb_7.6.bb b/meta/recipes-devtools/gdb/gdb_7.6.bb
> new file mode 100644
> index 0000000..0c9818d
> --- /dev/null
> +++ b/meta/recipes-devtools/gdb/gdb_7.6.bb
> @@ -0,0 +1,3 @@
> +require gdb.inc
> +require gdb-7.6.inc
> +
> -- 
> 1.8.1.2
> 
> 
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core




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

* Re: [PATCH 1/4] gdb: AArch64 lacks lttng support
  2013-05-08 11:43 [PATCH 1/4] gdb: AArch64 lacks lttng support Marcin Juszkiewicz
                   ` (2 preceding siblings ...)
  2013-05-08 11:43 ` [PATCH 4/4] gdb: tabs -> spaces Marcin Juszkiewicz
@ 2013-05-09  4:36 ` Khem Raj
  3 siblings, 0 replies; 14+ messages in thread
From: Khem Raj @ 2013-05-09  4:36 UTC (permalink / raw)
  To: Marcin Juszkiewicz; +Cc: openembedded-core

looks good.

Acked-by: Khem Raj <raj.khem@gmail.com>

On May 8, 2013, at 4:43 AM, Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> wrote:

> Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
> ---
> meta/recipes-devtools/gdb/gdb-common.inc | 1 +
> 1 file changed, 1 insertion(+)
> 
> diff --git a/meta/recipes-devtools/gdb/gdb-common.inc b/meta/recipes-devtools/gdb/gdb-common.inc
> index f574d5c..6f42dff 100644
> --- a/meta/recipes-devtools/gdb/gdb-common.inc
> +++ b/meta/recipes-devtools/gdb/gdb-common.inc
> @@ -5,6 +5,7 @@ SECTION = "devel"
> DEPENDS = "expat ncurses readline ${LTTNGUST}"
> 
> LTTNGUST = "lttng-ust"
> +LTTNGUST_aarch64 = ""
> LTTNGUST_libc-uclibc = ""
> LTTNGUST_mips = ""
> LTTNGUST_mipsel = ""
> -- 
> 1.8.1.2
> 
> 
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core




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

* Re: [PATCH 3/4] gdb: move checksums to versioned include
  2013-05-08 11:43 ` [PATCH 3/4] gdb: move checksums to versioned include Marcin Juszkiewicz
@ 2013-05-09  4:37   ` Khem Raj
  2013-05-09  7:42     ` Richard Purdie
  0 siblings, 1 reply; 14+ messages in thread
From: Khem Raj @ 2013-05-09  4:37 UTC (permalink / raw)
  To: Marcin Juszkiewicz; +Cc: openembedded-core

not if we have 1 version.

On May 8, 2013, at 4:43 AM, Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> wrote:

> Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
> ---
> meta/recipes-devtools/gdb/gdb-common.inc | 3 ---
> 1 file changed, 3 deletions(-)
> 
> diff --git a/meta/recipes-devtools/gdb/gdb-common.inc b/meta/recipes-devtools/gdb/gdb-common.inc
> index 6f42dff..deb3841 100644
> --- a/meta/recipes-devtools/gdb/gdb-common.inc
> +++ b/meta/recipes-devtools/gdb/gdb-common.inc
> @@ -23,9 +23,6 @@ inherit autotools
> 
> SRC_URI = "${GNU_MIRROR}/gdb/gdb-${PV}.tar.gz \
>           "
> -SRC_URI[md5sum] = "b1519bf899890d21d4774845a6e602fe"
> -SRC_URI[sha256sum] = "f99f26e2c1127f12ba14ece0947a9a9948be45e96b69ef363131e469a698636e"
> -
> export CC_FOR_BUILD = "${BUILD_CC}"
> export CXX_FOR_BUILD = "${BUILD_CXX}"
> export CPP_FOR_BUILD = "${BUILD_CPP}"
> -- 
> 1.8.1.2
> 
> 
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core




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

* Re: [PATCH 4/4] gdb: tabs -> spaces
  2013-05-08 11:43 ` [PATCH 4/4] gdb: tabs -> spaces Marcin Juszkiewicz
@ 2013-05-09  4:37   ` Khem Raj
  0 siblings, 0 replies; 14+ messages in thread
From: Khem Raj @ 2013-05-09  4:37 UTC (permalink / raw)
  To: Marcin Juszkiewicz; +Cc: openembedded-core

Acked-by: Khem Raj <raj.khem@gmail.com>

On May 8, 2013, at 4:43 AM, Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> wrote:

> Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
> ---
> meta/recipes-devtools/gdb/gdb.inc | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/meta/recipes-devtools/gdb/gdb.inc b/meta/recipes-devtools/gdb/gdb.inc
> index a620eca..3321a24 100644
> --- a/meta/recipes-devtools/gdb/gdb.inc
> +++ b/meta/recipes-devtools/gdb/gdb.inc
> @@ -4,7 +4,7 @@ inherit gettext
> 
> SRC_URI += "file://kill_arm_map_symbols.patch \
>             file://gdbserver-cflags-last.diff;striplevel=0 \
> -	    file://renesas-sh-native-support.patch \
> +            file://renesas-sh-native-support.patch \
>            "
> #LDFLAGS_append = " -s"
> #export CFLAGS_append=" -L${STAGING_LIBDIR}"
> -- 
> 1.8.1.2
> 
> 
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core




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

* Re: [PATCH 3/4] gdb: move checksums to versioned include
  2013-05-09  4:37   ` Khem Raj
@ 2013-05-09  7:42     ` Richard Purdie
  2013-05-09  7:56       ` Khem Raj
  0 siblings, 1 reply; 14+ messages in thread
From: Richard Purdie @ 2013-05-09  7:42 UTC (permalink / raw)
  To: Khem Raj; +Cc: openembedded-core

On Wed, 2013-05-08 at 21:37 -0700, Khem Raj wrote:
> not if we have 1 version.

In principle they do belong in the .bb file rather than the
general .inc/. People can then do things in other layers if desired.

Cheers,

Richard

> 
> On May 8, 2013, at 4:43 AM, Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> wrote:
> 
> > Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
> > ---
> > meta/recipes-devtools/gdb/gdb-common.inc | 3 ---
> > 1 file changed, 3 deletions(-)
> > 
> > diff --git a/meta/recipes-devtools/gdb/gdb-common.inc b/meta/recipes-devtools/gdb/gdb-common.inc
> > index 6f42dff..deb3841 100644
> > --- a/meta/recipes-devtools/gdb/gdb-common.inc
> > +++ b/meta/recipes-devtools/gdb/gdb-common.inc
> > @@ -23,9 +23,6 @@ inherit autotools
> > 
> > SRC_URI = "${GNU_MIRROR}/gdb/gdb-${PV}.tar.gz \
> >           "
> > -SRC_URI[md5sum] = "b1519bf899890d21d4774845a6e602fe"
> > -SRC_URI[sha256sum] = "f99f26e2c1127f12ba14ece0947a9a9948be45e96b69ef363131e469a698636e"
> > -
> > export CC_FOR_BUILD = "${BUILD_CC}"
> > export CXX_FOR_BUILD = "${BUILD_CXX}"
> > export CPP_FOR_BUILD = "${BUILD_CPP}"
> > -- 
> > 1.8.1.2
> > 
> > 
> > _______________________________________________
> > Openembedded-core mailing list
> > Openembedded-core@lists.openembedded.org
> > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
> 
> 
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
> 





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

* Re: [PATCH 3/4] gdb: move checksums to versioned include
  2013-05-09  7:42     ` Richard Purdie
@ 2013-05-09  7:56       ` Khem Raj
  0 siblings, 0 replies; 14+ messages in thread
From: Khem Raj @ 2013-05-09  7:56 UTC (permalink / raw)
  To: Richard Purdie; +Cc: openembedded-core


On May 9, 2013, at 12:42 AM, Richard Purdie <richard.purdie@linuxfoundation.org> wrote:

> In principle they do belong in the .bb file rather than the
> general .inc/. People can then do things in other layers if desired.
> 

yes true


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

* [PATCH v2 1/3] gdb: add 7.6 version
  2013-05-08 14:28   ` Saul Wold
@ 2013-05-09  8:48     ` Marcin Juszkiewicz
  2013-05-09  8:48       ` [PATCH v2 2/3] gdb: checksums are in versioned include Marcin Juszkiewicz
  2013-05-09  8:48       ` [PATCH v2 3/3] gdb-cross-canadian: set everything in gdb-cross-canadian.inc Marcin Juszkiewicz
  0 siblings, 2 replies; 14+ messages in thread
From: Marcin Juszkiewicz @ 2013-05-09  8:48 UTC (permalink / raw)
  To: openembedded-core

Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
---
 .../gdb/{gdb_7.5.1.bb => gdb-7.6.inc}                |  5 +++--
 ...s-canadian_7.5.1.bb => gdb-cross-canadian_7.6.bb} |  5 +----
 .../gdb/{gdb-cross_7.5.1.bb => gdb-cross_7.6.bb}     |  5 +----
 .../gdb/gdb/gdbserver-cflags-last.diff               | 20 +++++++++++++-------
 meta/recipes-devtools/gdb/gdb_7.6.bb                 |  2 ++
 5 files changed, 20 insertions(+), 17 deletions(-)
 rename meta/recipes-devtools/gdb/{gdb_7.5.1.bb => gdb-7.6.inc} (70%)
 rename meta/recipes-devtools/gdb/{gdb-cross-canadian_7.5.1.bb => gdb-cross-canadian_7.6.bb} (67%)
 rename meta/recipes-devtools/gdb/{gdb-cross_7.5.1.bb => gdb-cross_7.6.bb} (56%)
 create mode 100644 meta/recipes-devtools/gdb/gdb_7.6.bb

diff --git a/meta/recipes-devtools/gdb/gdb_7.5.1.bb b/meta/recipes-devtools/gdb/gdb-7.6.inc
similarity index 70%
rename from meta/recipes-devtools/gdb/gdb_7.5.1.bb
rename to meta/recipes-devtools/gdb/gdb-7.6.inc
index 0645b56..00cb6ee 100644
--- a/meta/recipes-devtools/gdb/gdb_7.5.1.bb
+++ b/meta/recipes-devtools/gdb/gdb-7.6.inc
@@ -1,9 +1,10 @@
-require gdb.inc
 LICENSE="GPLv2 & GPLv3 & LGPLv2 & LGPLv3"
 LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \
 		    file://COPYING3;md5=d32239bcb673463ab874e80d47fae504 \
 		    file://COPYING3.LIB;md5=6a6a8e020838b23406c81b19c1d46df6 \
 		    file://COPYING.LIB;md5=9f604d8a4f8e74f4f5140845a21b6674"
-PR = "${INC_PR}.0"
 
 S = "${WORKDIR}/${BPN}-${PV}"
+
+SRC_URI[md5sum] = "a9836707337e5f7bf76a009a8904f470"
+SRC_URI[sha256sum] = "8070389a5dcc104eb0be483d582729f98ed4d761ad19cedd3f17b5d2502faa36"
diff --git a/meta/recipes-devtools/gdb/gdb-cross-canadian_7.5.1.bb b/meta/recipes-devtools/gdb/gdb-cross-canadian_7.6.bb
similarity index 67%
rename from meta/recipes-devtools/gdb/gdb-cross-canadian_7.5.1.bb
rename to meta/recipes-devtools/gdb/gdb-cross-canadian_7.6.bb
index c15aa7a..a2194a1 100644
--- a/meta/recipes-devtools/gdb/gdb-cross-canadian_7.5.1.bb
+++ b/meta/recipes-devtools/gdb/gdb-cross-canadian_7.6.bb
@@ -1,8 +1,5 @@
 require gdb-common.inc
 require gdb-cross-canadian.inc
-
-PR = "${INC_PR}.0"
+require gdb-7.6.inc
 
 GDBPROPREFIX = "--program-prefix='${TARGET_PREFIX}'"
-
-S = "${WORKDIR}/${BPN}-${PV}"
diff --git a/meta/recipes-devtools/gdb/gdb-cross_7.5.1.bb b/meta/recipes-devtools/gdb/gdb-cross_7.6.bb
similarity index 56%
rename from meta/recipes-devtools/gdb/gdb-cross_7.5.1.bb
rename to meta/recipes-devtools/gdb/gdb-cross_7.6.bb
index a14d0ba..62f6937 100644
--- a/meta/recipes-devtools/gdb/gdb-cross_7.5.1.bb
+++ b/meta/recipes-devtools/gdb/gdb-cross_7.6.bb
@@ -1,7 +1,4 @@
 require gdb-cross.inc
+require gdb-7.6.inc
 
 SRC_URI += "file://sim-install-6.6.patch"
-
-PR = "${INC_PR}.0"
-
-S = "${WORKDIR}/${BPN}-${PV}"
diff --git a/meta/recipes-devtools/gdb/gdb/gdbserver-cflags-last.diff b/meta/recipes-devtools/gdb/gdb/gdbserver-cflags-last.diff
index 8256f17..4dfc419 100644
--- a/meta/recipes-devtools/gdb/gdb/gdbserver-cflags-last.diff
+++ b/meta/recipes-devtools/gdb/gdb/gdbserver-cflags-last.diff
@@ -1,10 +1,14 @@
 Upstream-Status: Pending
 
-Index: gdb/gdbserver/Makefile.in
-===================================================================
---- gdb/gdbserver/Makefile.in.orig	2011-03-09 23:32:02.000000000 -0800
-+++ gdb/gdbserver/Makefile.in	2011-08-05 21:16:43.592202579 -0700
-@@ -94,10 +94,10 @@
+---
+ gdb/gdbserver/Makefile.in |    4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+--- gdb/gdbserver/Makefile.in.orig
++++ gdb/gdbserver/Makefile.in
+@@ -118,14 +118,14 @@ WARN_CFLAGS_NO_FORMAT = `echo " $(WARN_C
+ # CFLAGS is specifically reserved for setting from the command line
+ # when running make.  I.E.  "make CFLAGS=-Wmissing-prototypes".
  CFLAGS = @CFLAGS@
  
  # INTERNAL_CFLAGS is the aggregate of all other *CFLAGS macros.
@@ -12,8 +16,10 @@ Index: gdb/gdbserver/Makefile.in
 +INTERNAL_CFLAGS_BASE =  ${GLOBAL_CFLAGS} \
  	${PROFILE_CFLAGS} ${INCLUDE_CFLAGS}
  INTERNAL_WARN_CFLAGS =  ${INTERNAL_CFLAGS_BASE} $(WARN_CFLAGS)
--INTERNAL_CFLAGS =  ${INTERNAL_WARN_CFLAGS} $(WERROR_CFLAGS)
-+INTERNAL_CFLAGS =  ${INTERNAL_WARN_CFLAGS} $(WERROR_CFLAGS) ${CFLAGS}
+-INTERNAL_CFLAGS =  ${INTERNAL_WARN_CFLAGS} $(WERROR_CFLAGS) -DGDBSERVER
++INTERNAL_CFLAGS =  ${INTERNAL_WARN_CFLAGS} $(WERROR_CFLAGS) ${CFLAGS} -DGDBSERVER
  
  # LDFLAGS is specifically reserved for setting from the command line
  # when running make.
+ LDFLAGS = @LDFLAGS@
+ INTERNAL_LDFLAGS = $(LDFLAGS) @RDYNAMIC@
diff --git a/meta/recipes-devtools/gdb/gdb_7.6.bb b/meta/recipes-devtools/gdb/gdb_7.6.bb
new file mode 100644
index 0000000..6b38812
--- /dev/null
+++ b/meta/recipes-devtools/gdb/gdb_7.6.bb
@@ -0,0 +1,2 @@
+require gdb.inc
+require gdb-7.6.inc
-- 
1.8.1.2




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

* [PATCH v2 2/3] gdb: checksums are in versioned include
  2013-05-09  8:48     ` [PATCH v2 1/3] " Marcin Juszkiewicz
@ 2013-05-09  8:48       ` Marcin Juszkiewicz
  2013-05-09  8:48       ` [PATCH v2 3/3] gdb-cross-canadian: set everything in gdb-cross-canadian.inc Marcin Juszkiewicz
  1 sibling, 0 replies; 14+ messages in thread
From: Marcin Juszkiewicz @ 2013-05-09  8:48 UTC (permalink / raw)
  To: openembedded-core

This allows out-of-tree versions to reuse this file for any version.

Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
---
 meta/recipes-devtools/gdb/gdb-common.inc | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/meta/recipes-devtools/gdb/gdb-common.inc b/meta/recipes-devtools/gdb/gdb-common.inc
index 6f42dff..deb3841 100644
--- a/meta/recipes-devtools/gdb/gdb-common.inc
+++ b/meta/recipes-devtools/gdb/gdb-common.inc
@@ -23,9 +23,6 @@ inherit autotools
 
 SRC_URI = "${GNU_MIRROR}/gdb/gdb-${PV}.tar.gz \
           "
-SRC_URI[md5sum] = "b1519bf899890d21d4774845a6e602fe"
-SRC_URI[sha256sum] = "f99f26e2c1127f12ba14ece0947a9a9948be45e96b69ef363131e469a698636e"
-
 export CC_FOR_BUILD = "${BUILD_CC}"
 export CXX_FOR_BUILD = "${BUILD_CXX}"
 export CPP_FOR_BUILD = "${BUILD_CPP}"
-- 
1.8.1.2




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

* [PATCH v2 3/3] gdb-cross-canadian: set everything in gdb-cross-canadian.inc
  2013-05-09  8:48     ` [PATCH v2 1/3] " Marcin Juszkiewicz
  2013-05-09  8:48       ` [PATCH v2 2/3] gdb: checksums are in versioned include Marcin Juszkiewicz
@ 2013-05-09  8:48       ` Marcin Juszkiewicz
  1 sibling, 0 replies; 14+ messages in thread
From: Marcin Juszkiewicz @ 2013-05-09  8:48 UTC (permalink / raw)
  To: openembedded-core

This allows out-of-tree versions to include one file to have all set.

Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
---
 meta/recipes-devtools/gdb/gdb-cross-canadian.inc    | 2 ++
 meta/recipes-devtools/gdb/gdb-cross-canadian_7.6.bb | 2 --
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-devtools/gdb/gdb-cross-canadian.inc b/meta/recipes-devtools/gdb/gdb-cross-canadian.inc
index 1f60322..f6f515c 100644
--- a/meta/recipes-devtools/gdb/gdb-cross-canadian.inc
+++ b/meta/recipes-devtools/gdb/gdb-cross-canadian.inc
@@ -9,6 +9,8 @@ DEPENDS = "nativesdk-ncurses nativesdk-expat nativesdk-gettext nativesdk-readlin
 RDEPENDS_${PN} += "nativesdk-python-core nativesdk-python-lang nativesdk-python-re \
                    nativesdk-python-codecs nativesdk-python-netclient"
 
+GDBPROPREFIX = "--program-prefix='${TARGET_PREFIX}'"
+
 EXTRA_OECONF_append = "--with-python=${WORKDIR}/python"
 
 do_configure_prepend() {
diff --git a/meta/recipes-devtools/gdb/gdb-cross-canadian_7.6.bb b/meta/recipes-devtools/gdb/gdb-cross-canadian_7.6.bb
index a2194a1..3864435 100644
--- a/meta/recipes-devtools/gdb/gdb-cross-canadian_7.6.bb
+++ b/meta/recipes-devtools/gdb/gdb-cross-canadian_7.6.bb
@@ -1,5 +1,3 @@
 require gdb-common.inc
 require gdb-cross-canadian.inc
 require gdb-7.6.inc
-
-GDBPROPREFIX = "--program-prefix='${TARGET_PREFIX}'"
-- 
1.8.1.2




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

end of thread, other threads:[~2013-05-09  9:07 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-08 11:43 [PATCH 1/4] gdb: AArch64 lacks lttng support Marcin Juszkiewicz
2013-05-08 11:43 ` [PATCH 2/4] gdb: add 7.6 version Marcin Juszkiewicz
2013-05-08 14:28   ` Saul Wold
2013-05-09  8:48     ` [PATCH v2 1/3] " Marcin Juszkiewicz
2013-05-09  8:48       ` [PATCH v2 2/3] gdb: checksums are in versioned include Marcin Juszkiewicz
2013-05-09  8:48       ` [PATCH v2 3/3] gdb-cross-canadian: set everything in gdb-cross-canadian.inc Marcin Juszkiewicz
2013-05-09  4:36   ` [PATCH 2/4] gdb: add 7.6 version Khem Raj
2013-05-08 11:43 ` [PATCH 3/4] gdb: move checksums to versioned include Marcin Juszkiewicz
2013-05-09  4:37   ` Khem Raj
2013-05-09  7:42     ` Richard Purdie
2013-05-09  7:56       ` Khem Raj
2013-05-08 11:43 ` [PATCH 4/4] gdb: tabs -> spaces Marcin Juszkiewicz
2013-05-09  4:37   ` Khem Raj
2013-05-09  4:36 ` [PATCH 1/4] gdb: AArch64 lacks lttng support Khem Raj

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.