diff -Nru gdb-14.1/debian/changelog gdb-14.1/debian/changelog --- gdb-14.1/debian/changelog 2024-01-19 20:21:32.000000000 +0100 +++ gdb-14.1/debian/changelog 2024-02-15 09:14:22.000000000 +0100 @@ -1,3 +1,10 @@ +gdb (14.1-0ubuntu3) noble; urgency=medium + + * Add d/patches/gdb-s390-add-record-replay-support-for-arch14.patch + to add support for IBM z16 hardware (LP: #1982336) + + -- Frank Heimes Thu, 15 Feb 2024 09:14:22 +0100 + gdb (14.1-0ubuntu2) noble; urgency=medium * No-change rebuild with Python 3.12 as default diff -Nru gdb-14.1/debian/patches/gdb-s390-add-record-replay-support-for-arch14.patch gdb-14.1/debian/patches/gdb-s390-add-record-replay-support-for-arch14.patch --- gdb-14.1/debian/patches/gdb-s390-add-record-replay-support-for-arch14.patch 1970-01-01 01:00:00.000000000 +0100 +++ gdb-14.1/debian/patches/gdb-s390-add-record-replay-support-for-arch14.patch 2024-02-15 09:13:48.000000000 +0100 @@ -0,0 +1,46 @@ +Description: gdb: s390: Add record/replay support for arch14 instructions + Enable recording of the new "arch14" instructions on z/Architecture + targets, except for the specialized-function-assist instruction NNPA. +Author: Andreas Arnez +Origin: https://sourceware.org/pipermail/gdb-patches/2024-February/206599.html +Bug-Ubuntu: https://bugs.launchpad.net/bugs/1982336 +Bug-IBM: BZ#199021 +Forwarded: https://sourceware.org/pipermail/gdb-patches/2024-February/206599.html +Reviewed-by: Frank Heimes +Last-Update: 2024-02-15 +--- +This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ +--- a/gdb/s390-tdep.c ++++ b/gdb/s390-tdep.c +@@ -5534,6 +5534,14 @@ + case 0xe635: /* VLRL - vector load rightmost with immed. length */ + case 0xe637: /* VLRLR - vector load rightmost with length */ + case 0xe649: /* VLIP - vector load immediate decimal */ ++ case 0xe656: /* VCLFNH - vector fp convert and lengthen from NNP high */ ++ case 0xe65e: /* VCLFNL - vector fp convert and lengthen from NNP low */ ++ case 0xe655: /* VCNF - vector fp convert to NNP */ ++ case 0xe65d: /* VCFN - vector fp convert from NNP */ ++ case 0xe674: /* VSCHP - decimal scale and convert to HFP */ ++ case 0xe675: /* VCRNF - vector fp convert and round to NNP */ ++ case 0xe67c: /* VSCSHP - decimal scale and convert and split to HFP */ ++ case 0xe67d: /* VCSPH - vector convert HFP to scaled decimal */ + case 0xe700: /* VLEB - vector load element */ + case 0xe701: /* VLEH - vector load element */ + case 0xe702: /* VLEG - vector load element */ +@@ -5791,11 +5799,16 @@ + + /* 0xe747-0xe749 undefined */ + ++ case 0xe651: /* VCLZDP - vector count leading zero digits */ ++ case 0xe654: /* VUPKZH - vector unpack zoned high */ + case 0xe658: /* VCVD - vector convert to decimal 32 bit */ + case 0xe659: /* VSRP - vector shift and round decimal */ + case 0xe65a: /* VCVDG - vector convert to decimal 64 bit*/ + case 0xe65b: /* VPSOP - vector perform sign operation decimal */ ++ case 0xe65c: /* VUPKZL - vector unpack zoned low */ ++ case 0xe670: /* VPKZR - vector pack zoned register */ + case 0xe671: /* VAP - vector add decimal */ ++ case 0xe672: /* VSRPR - vector shift and round decimal register */ + case 0xe673: /* VSP - vector subtract decimal */ + case 0xe678: /* VMP - vector multiply decimal */ + case 0xe679: /* VMSP - vector multiply decimal */ diff -Nru gdb-14.1/debian/patches/series gdb-14.1/debian/patches/series --- gdb-14.1/debian/patches/series 2023-06-07 23:35:22.000000000 +0200 +++ gdb-14.1/debian/patches/series 2024-02-15 08:57:42.000000000 +0100 @@ -10,3 +10,4 @@ # Ubuntu/Linaro gdb-strings.patch ptrace-error-verbosity.patch +gdb-s390-add-record-replay-support-for-arch14.patch