elf_prstatus-size.patch no longer applies as the patched file no longer exists. The patched code now resides in gdb-linaro-7.8-2014.09/bfd/elfxx-aarch64.c with the patch already applied.
ERROR: Command Error: exit status: 1 Output: Applying patch elf_prstatus-size.patch can't find file to patch at input line 5
Signed-off-by: Max Krummenacher max.oss.09@gmail.com --- .../recipes-devtools/gdb/gdb-7.8/elf_prstatus-size.patch | 13 ------------- .../recipes-devtools/gdb/gdb-cross_linaro-7.8.bb | 1 - 2 files changed, 14 deletions(-) delete mode 100644 meta-linaro-toolchain/recipes-devtools/gdb/gdb-7.8/elf_prstatus-size.patch
diff --git a/meta-linaro-toolchain/recipes-devtools/gdb/gdb-7.8/elf_prstatus-size.patch b/meta-linaro-toolchain/recipes-devtools/gdb/gdb-7.8/elf_prstatus-size.patch deleted file mode 100644 index 857e94d..0000000 --- a/meta-linaro-toolchain/recipes-devtools/gdb/gdb-7.8/elf_prstatus-size.patch +++ /dev/null @@ -1,13 +0,0 @@ -Index: gdb-linaro-7.6.1-2013.10/bfd/elf64-aarch64.c -=================================================================== ---- gdb-linaro-7.6.1-2013.10.orig/bfd/elf64-aarch64.c -+++ gdb-linaro-7.6.1-2013.10/bfd/elf64-aarch64.c -@@ -1529,7 +1529,7 @@ elf64_aarch64_grok_prstatus (bfd *abfd, - default: - return FALSE; - -- case 408: /* sizeof(struct elf_prstatus) on Linux/arm64. */ -+ case 392: /* sizeof(struct elf_prstatus) on Linux/arm64. */ - /* pr_cursig */ - elf_tdata (abfd)->core->signal - = bfd_get_16 (abfd, note->descdata + 12); diff --git a/meta-linaro-toolchain/recipes-devtools/gdb/gdb-cross_linaro-7.8.bb b/meta-linaro-toolchain/recipes-devtools/gdb/gdb-cross_linaro-7.8.bb index 12ffe4c..b2003b4 100644 --- a/meta-linaro-toolchain/recipes-devtools/gdb/gdb-cross_linaro-7.8.bb +++ b/meta-linaro-toolchain/recipes-devtools/gdb/gdb-cross_linaro-7.8.bb @@ -2,4 +2,3 @@ require recipes-devtools/gdb/gdb-cross.inc require gdb-${PV}.inc
SRC_URI += "file://sim-install-6.6.patch" -SRC_URI += "file://elf_prstatus-size.patch"
Thanks, added to gerrit: https://review.linaro.org/4135
On 30 December 2014 at 16:20, Max Krummenacher max.oss.09@gmail.com wrote:
elf_prstatus-size.patch no longer applies as the patched file no longer exists. The patched code now resides in gdb-linaro-7.8-2014.09/bfd/elfxx-aarch64.c with the patch already applied.
ERROR: Command Error: exit status: 1 Output: Applying patch elf_prstatus-size.patch can't find file to patch at input line 5
Signed-off-by: Max Krummenacher max.oss.09@gmail.com
.../recipes-devtools/gdb/gdb-7.8/elf_prstatus-size.patch | 13
.../recipes-devtools/gdb/gdb-cross_linaro-7.8.bb | 1 - 2 files changed, 14 deletions(-) delete mode 100644 meta-linaro-toolchain/recipes-devtools/gdb/gdb-7.8/elf_prstatus-size.patch
diff --git a/meta-linaro-toolchain/recipes-devtools/gdb/gdb-7.8/elf_prstatus-size.patch b/meta-linaro-toolchain/recipes-devtools/gdb/gdb-7.8/elf_prstatus-size.patch deleted file mode 100644 index 857e94d..0000000
a/meta-linaro-toolchain/recipes-devtools/gdb/gdb-7.8/elf_prstatus-size.patch +++ /dev/null @@ -1,13 +0,0 @@
-Index: gdb-linaro-7.6.1-2013.10/bfd/elf64-aarch64.c
---- gdb-linaro-7.6.1-2013.10.orig/bfd/elf64-aarch64.c -+++ gdb-linaro-7.6.1-2013.10/bfd/elf64-aarch64.c -@@ -1529,7 +1529,7 @@ elf64_aarch64_grok_prstatus (bfd *abfd,
default:
return FALSE;
-- case 408: /* sizeof(struct elf_prstatus) on Linux/arm64. */ -+ case 392: /* sizeof(struct elf_prstatus) on Linux/arm64. */
/* pr_cursig */
elf_tdata (abfd)->core->signal
= bfd_get_16 (abfd, note->descdata + 12);
diff --git a/meta-linaro-toolchain/recipes-devtools/gdb/ gdb-cross_linaro-7.8.bb b/meta-linaro-toolchain/recipes-devtools/gdb/ gdb-cross_linaro-7.8.bb index 12ffe4c..b2003b4 100644 --- a/meta-linaro-toolchain/recipes-devtools/gdb/gdb-cross_linaro-7.8.bb +++ b/meta-linaro-toolchain/recipes-devtools/gdb/gdb-cross_linaro-7.8.bb @@ -2,4 +2,3 @@ require recipes-devtools/gdb/gdb-cross.inc require gdb-${PV}.inc
SRC_URI += "file://sim-install-6.6.patch"
-SRC_URI += "file://elf_prstatus-size.patch"
1.8.4.5
linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev