- Updated libstdc++ pretty printers to - Remove gdb-libstdc++-v3-python-6.3.1-20170212.tar.bz2 as unused in SUSE. - Add patches for s390x z14 feates [fate #321514, fate #322272] gdb-s390x-1b63490.patch gdb-s390x-289e23a.patch gdb-s390x-8fe09d7.patch gdb-s390x-96235dc.patch gdb-s390x-ad33963.patch - Adjust some patches: gdb-ppc-power7-test.patch gdb-rhbz795424-bitpos-20of25.patch gdb-rhbz795424-bitpos-21of25.patch gdb-vla-intel-fortran-vla-strings.patch - Add some patches from Fedora: gdb-rhbz1420304-s390x-01of35.patch gdb-rhbz1420304-s390x-02of35.patch gdb-rhbz1420304-s390x-03of35.patch gdb-rhbz1420304-s390x-04of35.patch gdb-rhbz1420304-s390x-05of35.patch gdb-rhbz1420304-s390x-06of35.patch gdb-rhbz1420304-s390x-07of35.patch gdb-rhbz1420304-s390x-08of35.patch gdb-rhbz1420304-s390x-09of35.patch gdb-rhbz1420304-s390x-10of35.patch gdb-rhbz1420304-s390x-11of35.patch gdb-rhbz1420304-s390x-12of35.patch gdb-rhbz1420304-s390x-13of35.patch gdb-rhbz1420304-s390x-14of35.patch OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gdb?expand=0&rev=167
39 lines
1.2 KiB
Diff
39 lines
1.2 KiB
Diff
commit 8fe09d7421db51bc13c9228547d63e6315bd6bd0
|
|
Author: Andreas Arnez <arnez@linux.vnet.ibm.com>
|
|
Date: Thu Sep 21 17:45:18 2017 +0200
|
|
|
|
S/390: Fix Elf note swap s390_gs_bc vs. s390_gs_cb
|
|
|
|
Fix two typos that resulted in swapping the BFD names for the core note
|
|
register sections NT_S390_GS_CB and NT_S390_GS_BC.
|
|
|
|
bfd/ChangeLog:
|
|
|
|
* elf.c (elfcore_grok_note): For the cases NT_S390_GS_CB and
|
|
NT_S390_GS_BC, correct the previously swapped invocations of
|
|
elfcore_grok_s390_gs_bc and elfcore_grok_s390_gs_cb.
|
|
|
|
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
|
|
index 4c8c12c..ebefab3 100644
|
|
diff --git a/bfd/elf.c b/bfd/elf.c
|
|
index 2aa2337..9b61f06 100644
|
|
--- a/bfd/elf.c
|
|
+++ b/bfd/elf.c
|
|
@@ -9698,14 +9698,14 @@ elfcore_grok_note (bfd *abfd, Elf_Internal_Note *note)
|
|
case NT_S390_GS_CB:
|
|
if (note->namesz == 6
|
|
&& strcmp (note->namedata, "LINUX") == 0)
|
|
- return elfcore_grok_s390_gs_bc (abfd, note);
|
|
+ return elfcore_grok_s390_gs_cb (abfd, note);
|
|
else
|
|
return TRUE;
|
|
|
|
case NT_S390_GS_BC:
|
|
if (note->namesz == 6
|
|
&& strcmp (note->namedata, "LINUX") == 0)
|
|
- return elfcore_grok_s390_gs_cb (abfd, note);
|
|
+ return elfcore_grok_s390_gs_bc (abfd, note);
|
|
else
|
|
return TRUE;
|
|
|