[OE-core] [PATCH 8/8] gdb: 7.7.1 -> 7.8

Martin Jansa martin.jansa at gmail.com
Tue Nov 4 12:35:46 UTC 2014


On Tue, Nov 04, 2014 at 11:39:08AM +0000, Richard Purdie wrote:
> Drop patch merged upstream.

Please use -M when sending patches, all 8 in this series look like
without -M.

> Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
> ---
>  meta/recipes-devtools/gdb/gdb-7.7.1.inc            | 10 --------
>  meta/recipes-devtools/gdb/gdb-7.8.inc              | 10 ++++++++
>  .../gdb/gdb-cross-canadian_7.7.1.bb                |  3 ---
>  .../recipes-devtools/gdb/gdb-cross-canadian_7.8.bb |  3 +++
>  meta/recipes-devtools/gdb/gdb-cross_7.7.1.bb       |  4 ---
>  meta/recipes-devtools/gdb/gdb-cross_7.8.bb         |  4 +++
>  meta/recipes-devtools/gdb/gdb.inc                  |  1 -
>  .../gdb/gdb/include_asm_ptrace.patch               | 30 ----------------------
>  meta/recipes-devtools/gdb/gdb_7.7.1.bb             | 24 -----------------
>  meta/recipes-devtools/gdb/gdb_7.8.bb               | 24 +++++++++++++++++
>  10 files changed, 41 insertions(+), 72 deletions(-)
>  delete mode 100644 meta/recipes-devtools/gdb/gdb-7.7.1.inc
>  create mode 100644 meta/recipes-devtools/gdb/gdb-7.8.inc
>  delete mode 100644 meta/recipes-devtools/gdb/gdb-cross-canadian_7.7.1.bb
>  create mode 100644 meta/recipes-devtools/gdb/gdb-cross-canadian_7.8.bb
>  delete mode 100644 meta/recipes-devtools/gdb/gdb-cross_7.7.1.bb
>  create mode 100644 meta/recipes-devtools/gdb/gdb-cross_7.8.bb
>  delete mode 100644 meta/recipes-devtools/gdb/gdb/include_asm_ptrace.patch
>  delete mode 100644 meta/recipes-devtools/gdb/gdb_7.7.1.bb
>  create mode 100644 meta/recipes-devtools/gdb/gdb_7.8.bb
> 
> diff --git a/meta/recipes-devtools/gdb/gdb-7.7.1.inc b/meta/recipes-devtools/gdb/gdb-7.7.1.inc
> deleted file mode 100644
> index aa16d5a..0000000
> --- a/meta/recipes-devtools/gdb/gdb-7.7.1.inc
> +++ /dev/null
> @@ -1,10 +0,0 @@
> -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"
> -
> -S = "${WORKDIR}/${BPN}-${PV}"
> -
> -SRC_URI[md5sum] = "45b07b53d81832d32ccd4829465d4886"
> -SRC_URI[sha256sum] = "eefadb9831e3695d1eaef34e98b8f1fb441df6fe5071317ea49c6bd6ba213eff"
> diff --git a/meta/recipes-devtools/gdb/gdb-7.8.inc b/meta/recipes-devtools/gdb/gdb-7.8.inc
> new file mode 100644
> index 0000000..f4e9a9e
> --- /dev/null
> +++ b/meta/recipes-devtools/gdb/gdb-7.8.inc
> @@ -0,0 +1,10 @@
> +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"
> +
> +S = "${WORKDIR}/${BPN}-${PV}"
> +
> +SRC_URI[md5sum] = "38d816d641093db2e13ba284e26090b4"
> +SRC_URI[sha256sum] = "46be505fc1bc157a01124333ef37ed195147fa6a405cbfd32dea63bacaaabbe4"
> diff --git a/meta/recipes-devtools/gdb/gdb-cross-canadian_7.7.1.bb b/meta/recipes-devtools/gdb/gdb-cross-canadian_7.7.1.bb
> deleted file mode 100644
> index 3010359..0000000
> --- a/meta/recipes-devtools/gdb/gdb-cross-canadian_7.7.1.bb
> +++ /dev/null
> @@ -1,3 +0,0 @@
> -require gdb-common.inc
> -require gdb-cross-canadian.inc
> -require gdb-${PV}.inc
> diff --git a/meta/recipes-devtools/gdb/gdb-cross-canadian_7.8.bb b/meta/recipes-devtools/gdb/gdb-cross-canadian_7.8.bb
> new file mode 100644
> index 0000000..3010359
> --- /dev/null
> +++ b/meta/recipes-devtools/gdb/gdb-cross-canadian_7.8.bb
> @@ -0,0 +1,3 @@
> +require gdb-common.inc
> +require gdb-cross-canadian.inc
> +require gdb-${PV}.inc
> diff --git a/meta/recipes-devtools/gdb/gdb-cross_7.7.1.bb b/meta/recipes-devtools/gdb/gdb-cross_7.7.1.bb
> deleted file mode 100644
> index f9da486..0000000
> --- a/meta/recipes-devtools/gdb/gdb-cross_7.7.1.bb
> +++ /dev/null
> @@ -1,4 +0,0 @@
> -require gdb-cross.inc
> -require gdb-${PV}.inc
> -
> -SRC_URI += "file://sim-install-6.6.patch"
> diff --git a/meta/recipes-devtools/gdb/gdb-cross_7.8.bb b/meta/recipes-devtools/gdb/gdb-cross_7.8.bb
> new file mode 100644
> index 0000000..f9da486
> --- /dev/null
> +++ b/meta/recipes-devtools/gdb/gdb-cross_7.8.bb
> @@ -0,0 +1,4 @@
> +require gdb-cross.inc
> +require gdb-${PV}.inc
> +
> +SRC_URI += "file://sim-install-6.6.patch"
> diff --git a/meta/recipes-devtools/gdb/gdb.inc b/meta/recipes-devtools/gdb/gdb.inc
> index 7b3e59a..3321a24 100644
> --- a/meta/recipes-devtools/gdb/gdb.inc
> +++ b/meta/recipes-devtools/gdb/gdb.inc
> @@ -5,7 +5,6 @@ inherit gettext
>  SRC_URI += "file://kill_arm_map_symbols.patch \
>              file://gdbserver-cflags-last.diff;striplevel=0 \
>              file://renesas-sh-native-support.patch \
> -            file://include_asm_ptrace.patch \
>             "
>  #LDFLAGS_append = " -s"
>  #export CFLAGS_append=" -L${STAGING_LIBDIR}"
> diff --git a/meta/recipes-devtools/gdb/gdb/include_asm_ptrace.patch b/meta/recipes-devtools/gdb/gdb/include_asm_ptrace.patch
> deleted file mode 100644
> index 85e0147..0000000
> --- a/meta/recipes-devtools/gdb/gdb/include_asm_ptrace.patch
> +++ /dev/null
> @@ -1,30 +0,0 @@
> -gdb: include asm/ptrace.h in two aarch64 source files
> -
> -Both sys/ptrace.h and asm/ptrace.h need to be included.
> -
> -Upstream-Status: Pending
> -
> -Signed-off-by: joe.slater at windriver.com
> -
> -
> ---- a/gdb/aarch64-linux-nat.c
> -+++ b/gdb/aarch64-linux-nat.c
> -@@ -32,6 +32,8 @@
> - #include "elf/common.h"
> - 
> - #include <sys/ptrace.h>
> -+#include <asm/ptrace.h>
> -+
> - #include <sys/utsname.h>
> - 
> - #include "gregset.h"
> ---- a/gdb/gdbserver/linux-aarch64-low.c
> -+++ b/gdb/gdbserver/linux-aarch64-low.c
> -@@ -26,6 +26,7 @@
> - #include <signal.h>
> - #include <sys/user.h>
> - #include <sys/ptrace.h>
> -+#include <asm/ptrace.h>
> - #include <sys/uio.h>
> - 
> - #include "gdb_proc_service.h"
> diff --git a/meta/recipes-devtools/gdb/gdb_7.7.1.bb b/meta/recipes-devtools/gdb/gdb_7.7.1.bb
> deleted file mode 100644
> index 1abc9d8..0000000
> --- a/meta/recipes-devtools/gdb/gdb_7.7.1.bb
> +++ /dev/null
> @@ -1,24 +0,0 @@
> -require gdb.inc
> -require gdb-${PV}.inc
> -
> -inherit python-dir
> -
> -PACKAGECONFIG ??= ""
> -PACKAGECONFIG[python] = "--with-python=${WORKDIR}/python,--without-python,python"
> -PACKAGECONFIG[babeltrace] = "--with-babeltrace,--without-babeltrace,babeltrace"
> -
> -do_configure_prepend() {
> -	if [ -n "${@bb.utils.contains('PACKAGECONFIG', 'python', 'python', '', d)}" ]; then
> -		cat > ${WORKDIR}/python << EOF
> -#!/bin/sh
> -case "\$2" in
> -	--includes) echo "-I${STAGING_INCDIR}/${PYTHON_DIR}/" ;;
> -	--ldflags) echo "-Wl,-rpath-link,${STAGING_LIBDIR}/.. -Wl,-rpath,${libdir}/.. -lpthread -ldl -lutil -lm -lpython${PYTHON_BASEVERSION}" ;;
> -	--exec-prefix) echo "${exec_prefix}" ;;
> -	*) exit 1 ;;
> -esac
> -exit 0
> -EOF
> -		chmod +x ${WORKDIR}/python
> -	fi
> -}
> diff --git a/meta/recipes-devtools/gdb/gdb_7.8.bb b/meta/recipes-devtools/gdb/gdb_7.8.bb
> new file mode 100644
> index 0000000..1abc9d8
> --- /dev/null
> +++ b/meta/recipes-devtools/gdb/gdb_7.8.bb
> @@ -0,0 +1,24 @@
> +require gdb.inc
> +require gdb-${PV}.inc
> +
> +inherit python-dir
> +
> +PACKAGECONFIG ??= ""
> +PACKAGECONFIG[python] = "--with-python=${WORKDIR}/python,--without-python,python"
> +PACKAGECONFIG[babeltrace] = "--with-babeltrace,--without-babeltrace,babeltrace"
> +
> +do_configure_prepend() {
> +	if [ -n "${@bb.utils.contains('PACKAGECONFIG', 'python', 'python', '', d)}" ]; then
> +		cat > ${WORKDIR}/python << EOF
> +#!/bin/sh
> +case "\$2" in
> +	--includes) echo "-I${STAGING_INCDIR}/${PYTHON_DIR}/" ;;
> +	--ldflags) echo "-Wl,-rpath-link,${STAGING_LIBDIR}/.. -Wl,-rpath,${libdir}/.. -lpthread -ldl -lutil -lm -lpython${PYTHON_BASEVERSION}" ;;
> +	--exec-prefix) echo "${exec_prefix}" ;;
> +	*) exit 1 ;;
> +esac
> +exit 0
> +EOF
> +		chmod +x ${WORKDIR}/python
> +	fi
> +}
> -- 
> 2.0.2
> 
> -- 
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20141104/0ef321b7/attachment-0002.sig>


More information about the Openembedded-core mailing list