------- Comment From [email protected] 2026-01-29 11:40 EDT------- Verification of GDB looks like it was not re-build with the Binutils code changes for z17 (GDB and Binutils share a source repository and GDB picks up the disassembler from the Binutils sources):
root@b3545006:~# apt install -t noble-proposed gdb root@b3545006:~# apt-cache policy gdb gdb: Installed: 15.1-1ubuntu1~24.04 Candidate: 15.1-1ubuntu1~24.04 Version table: *** 15.1-1ubuntu1~24.04 100 100 http://ports.ubuntu.com/ubuntu-ports noble-proposed/main s390x Packages 100 /var/lib/dpkg/status 15.0.50.20240403-0ubuntu1 500 500 http://ports.ubuntu.com/ubuntu-ports noble/main s390x Packages root@b3545006:~/binutils-build/gas/testsuite# ld -o tmpdir/gdb-zarch-arch15 tmpdir/zarch-arch15.o ld: warning: cannot find entry symbol _start; defaulting to 0000000001000078 root@b3545006:~/binutils-build/gas/testsuite# gdb tmpdir/gdb-zarch-arch15 GNU gdb (Ubuntu 15.1-1ubuntu1~24.04) 15.1 ... (gdb) disassemble foo Dump of assembler code for function foo: 0x0000000001000078 <+0>: .long 0xe7f14d00 0x000000000100007c <+4>: bxle %r8,%r9,2033(%r14) 0x0000000001000080 <+8>: sth %r0,1929(%r8) 0x0000000001000084 <+12>: .long 0xe7f14100 0x0000000001000088 <+16>: bxle %r8,%r9,2033(%r14) 0x000000000100008c <+20>: stc %r0,1929(%r8) 0x0000000001000090 <+24>: .long 0xe7f14300 0x0000000001000094 <+28>: bxle %r8,%r9,2033(%r14) 0x0000000001000098 <+32>: ex %r0,1929(%r8) 0x000000000100009c <+36>: .long 0xe7f140fd 0x00000000010000a0 <+40>: bxle %r8,%r8,2033(%r14) 0x00000000010000a4 <+44>: .long 0x0000d454 0x00000000010000a8 <+48>: .long 0xe7f10000 0x00000000010000ac <+52>: .long 0x0454e7f1 0x00000000010000b0 <+56>: .long 0x00001454 0x00000000010000b4 <+60>: .long 0xe7f10000 0x00000000010000b8 <+64>: hdr %f5,%f4 0x00000000010000ba <+66>: .long 0xe7f10000 0x00000000010000be <+70>: her %f5,%f4 0x00000000010000c0 <+72>: .long 0xe7f10000 0x00000000010000c4 <+76>: ex %r5,2033(%r4,%r14) 0x00000000010000c8 <+80>: .long 0x000034d7 0x00000000010000cc <+84>: vuplh %v15,%v17,3 0x00000000010000d2 <+90>: vupl %v15,%v17,3 0x00000000010000d8 <+96>: vupll %v15,%v17,3 0x00000000010000de <+102>: vavg %v15,%v17,%v20,4 0x00000000010000e4 <+108>: vavgl %v15,%v17,%v20,4 0x00000000010000ea <+114>: vec %v15,%v17,4 0x00000000010000f0 <+120>: vecl %v15,%v17,4 0x00000000010000f6 <+126>: vceq %v15,%v17,%v20,4,0 0x00000000010000fc <+132>: vceq %v15,%v17,%v20,4,1 0x0000000001000102 <+138>: vch %v15,%v17,%v20,4,0 0x0000000001000108 <+144>: vch %v15,%v17,%v20,4,1 0x000000000100010e <+150>: vchl %v15,%v17,%v20,4,0 0x0000000001000114 <+156>: vchl %v15,%v17,%v20,4,1 0x000000000100011a <+162>: vclz %v15,%v17,4 0x0000000001000120 <+168>: vctz %v15,%v17,4 0x0000000001000126 <+174>: vlc %v15,%v17,4 0x000000000100012c <+180>: vlp %v15,%v17,4 0x0000000001000132 <+186>: vmx %v15,%v17,%v20,4 0x0000000001000126 <+174>: vlc %v15,%v17,4 0x000000000100012c <+180>: vlp %v15,%v17,4 0x0000000001000132 <+186>: vmx %v15,%v17,%v20,4 0x0000000001000138 <+192>: vmxl %v15,%v17,%v20,4 0x000000000100013e <+198>: vmn %v15,%v17,%v20,4 0x0000000001000144 <+204>: vmnl %v15,%v17,%v20,4 0x000000000100014a <+210>: vmal %v15,%v17,%v20,%v24,3 0x0000000001000150 <+216>: vmal %v15,%v17,%v20,%v24,4 0x0000000001000156 <+222>: vmah %v15,%v17,%v20,%v24,3 0x000000000100015c <+228>: vmah %v15,%v17,%v20,%v24,4 0x0000000001000162 <+234>: vmalh %v15,%v17,%v20,%v24,3 0x0000000001000168 <+240>: vmalh %v15,%v17,%v20,%v24,4 0x000000000100016e <+246>: vmae %v15,%v17,%v20,%v24,3 0x0000000001000174 <+252>: vmale %v15,%v17,%v20,%v24,3 0x000000000100017a <+258>: vmao %v15,%v17,%v20,%v24,3 0x0000000001000180 <+264>: vmalo %v15,%v17,%v20,%v24,3 0x0000000001000186 <+270>: vmh %v15,%v17,%v20,3 0x000000000100018c <+276>: vmh %v15,%v17,%v20,4 0x0000000001000192 <+282>: vmlh %v15,%v17,%v20,3 0x0000000001000198 <+288>: vmlh %v15,%v17,%v20,4 0x000000000100019e <+294>: vml %v15,%v17,%v20,3 0x00000000010001a4 <+300>: vml %v15,%v17,%v20,4 0x00000000010001aa <+306>: vme %v15,%v17,%v20,3 0x00000000010001b0 <+312>: vmle %v15,%v17,%v20,3 0x00000000010001b6 <+318>: vmo %v15,%v17,%v20,3 0x00000000010001bc <+324>: vmlo %v15,%v17,%v20,3 0x00000000010001c2 <+330>: .long 0xe7f1400c 0x00000000010001c6 <+334>: oc 2033(179,%r14),13(%r4) 0x00000000010001cc <+340>: mxr %f11,%f2 0x00000000010001ce <+342>: .long 0xe7f1400d 0x00000000010001d2 <+346>: axr %f11,%f2 0x00000000010001d4 <+348>: .long 0xe7f1400d 0x00000000010001d8 <+352>: bct %r11,2033(%r2,%r14) 0x00000000010001dc <+356>: sth %r0,1712(%r12,%r13) 0x00000000010001e0 <+360>: .long 0xe7f1400d 0x00000000010001e4 <+364>: mxr %f11,%f0 0x00000000010001e6 <+366>: .long 0xe7f1400d 0x00000000010001ea <+370>: axr %f11,%f0 0x00000000010001ec <+372>: .long 0xe7f1400d 0x00000000010001f0 <+376>: bct %r11,2033(%r14) 0x00000000010001f4 <+380>: sth %r0,1715(%r12,%r13) 0x00000000010001f8 <+384>: .long 0xe7f1400d 0x00000000010001fc <+388>: mxr %f11,%f3 0x00000000010001fe <+390>: .long 0xe7f1400d 0x0000000001000202 <+394>: axr %f11,%f3 0x0000000001000204 <+396>: .long 0xe7f1400d 0x0000000001000208 <+400>: bct %r11,2033(%r3,%r14) 0x000000000100020c <+404>: sth %r0,1713(%r12,%r13) 0x0000000001000210 <+408>: .long 0xe7f1400d 0x0000000001000214 <+412>: mxr %f11,%f1 0x0000000001000216 <+414>: .long 0xe7f1400d 0x000000000100021a <+418>: axr %f11,%f1 0x000000000100021c <+420>: .long 0xe7f1400d 0x0000000001000220 <+424>: bct %r11,2408(%r1,%r11) 0x0000000001000224 <+428>: .long 0x0069b969 0x0000000001000228 <+432>: .long 0x0069e369 0x000000000100022c <+436>: .long 0xb8f0fd60 0x0000000001000230 <+440>: .long 0xe369b8f0 0x0000000001000234 <+444>: dp 873(7,%r14),2288(3,%r11) 0x000000000100023a <+450>: dp 873(7,%r14),2288(5,%r11) 0x0000000001000240 <+456>: dp 873(7,%r14),2288(7,%r11) 0x0000000001000246 <+462>: dp 873(7,%r14),2288(9,%r11) 0x000000000100024c <+468>: dp 873(7,%r14),2288(2,%r11) 0x0000000001000252 <+474>: dp 873(7,%r14),2288(4,%r11) 0x0000000001000258 <+480>: dp 873(7,%r14),2288(6,%r11) 0x000000000100025e <+486>: dp 873(7,%r14),2288(8,%r11) 0x0000000001000264 <+492>: dp 2412(7,%r11),105(10,%r11) 0x000000000100026a <+498>: .long 0xb96db069 0x000000000100026e <+502>: kimd %r6,%r9 0x0000000001000272 <+506>: .long 0xb93ed069 0x0000000001000276 <+510>: klmd %r6,%r9 0x000000000100027a <+514>: .long 0xb93fd069 0x000000000100027e <+518>: .long 0xe6f100d0 0x0000000001000282 <+522>: .long 0x044ee6f1 0x0000000001000286 <+526>: .long 0x00cfd44a 0x000000000100028a <+530>: vtp %v15 0x0000000001000290 <+536>: .long 0xe60f0fff 0x0000000001000294 <+540>: trtr 1551(96,%r14),4095(%r1) 0x000000000100029a <+546>: .short 0xd27f End of assembler dump. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2108997 Title: [SRU] GDB: Internal binutils code requires updates made for IBM z17 in binutils already To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-z-systems/+bug/2108997/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
