[22.04 FEAT] BINUTILS: Support for new IBM Z Hardware - GDB Part

Bug #1959407 reported by bugproxy
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu on IBM z Systems
Fix Released
High
Skipper Bug Screeners
binutils (Ubuntu)
Fix Released
High
Unassigned
gdb (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

BINUTILS: Support for new IBM Z Hardware

This request will track the inclusion of the patches for this feature in GDB to provide the GDB disassembler support for the new instructions.

bugproxy (bugproxy)
tags: added: architecture-s39064 bugnameltc-196147 severity-high targetmilestone-inin2204
Changed in ubuntu:
assignee: nobody → Skipper Bug Screeners (skipper-screen-team)
affects: ubuntu → linux (Ubuntu)
Revision history for this message
Frank Heimes (fheimes) wrote :

Please could you specify the gdb version that incl. the patches mentioned above (or alternatively the patches - name/commit - themselves).

affects: linux (Ubuntu) → gdb (Ubuntu)
Changed in ubuntu-z-systems:
assignee: nobody → Skipper Bug Screeners (skipper-screen-team)
Changed in gdb (Ubuntu):
importance: Undecided → High
Changed in ubuntu-z-systems:
importance: Undecided → High
Changed in gdb (Ubuntu):
status: New → Incomplete
Changed in ubuntu-z-systems:
status: New → Incomplete
Revision history for this message
bugproxy (bugproxy) wrote : Comment bridged from LTC Bugzilla

------- Comment From <email address hidden> 2022-02-09 10:42 EDT-------
On top of the GDB 11.1/2 release we will need the following Binutils upstream patches:

* e4cc3b47ec2c4bdb1892db7e9759f90576742f31 IBM Z: Add another arch14 instruction
* a164bbda300d1da6f97bfa14ba7fa22475e61d17 IBM Z: Remove lpswey parameter

Frank Heimes (fheimes)
Changed in gdb (Ubuntu):
status: Incomplete → New
Changed in ubuntu-z-systems:
status: Incomplete → New
Changed in gdb (Ubuntu):
assignee: Skipper Bug Screeners (skipper-screen-team) → Canonical Foundations Team (canonical-foundations)
tags: added: rls-jj-incoming
Frank Heimes (fheimes)
Changed in gdb (Ubuntu):
assignee: Canonical Foundations Team (canonical-foundations) → nobody
affects: gdb (Ubuntu) → binutils (Ubuntu)
tags: removed: rls-jj-incoming
Revision history for this message
Frank Heimes (fheimes) wrote (last edit ):

Since the transition to binutils 2.38 started for jammy, and v2.38 is meanwhile in -proposed:
 binutils | 2.37.90.20220130-0ubuntu2 | jammy
 binutils | 2.38-1ubuntu1 | jammy-proposed

and since the two commits requested above are included in v2.38:
e4cc3b47ec2 "IBM Z: Add another arch14 instruction" --> binutils-2_38
a164bbda300 "IBM Z: Remove lpswey parameter" --> binutils-2_38

I'm updating this ticket to Fix Committed.

Changed in binutils (Ubuntu):
status: New → Fix Committed
Changed in ubuntu-z-systems:
status: New → Fix Committed
Revision history for this message
bugproxy (bugproxy) wrote :

------- Comment From <email address hidden> 2022-02-10 03:24 EDT-------
(In reply to comment #9)
> Since the transition to binutils 2.38 started for jammy, and v2.38 is
> meanwhile in -proposed:
> binutils | 2.37.90.20220130-0ubuntu2 | jammy
> binutils | 2.38-1ubuntu1 | jammy-proposed
>
> and since the two commits requested above are included in v2.38:
> e4cc3b47ec2 "IBM Z: Add another arch14 instruction" --> binutils-2_38
> a164bbda300 "IBM Z: Remove lpswey parameter" --> binutils-2_38
>
> I'm updating this ticket to Fix Committed.

Just to make sure we get this right. The GDB build usually does not use the installed binutils packages for its disassembly but rather the binutils version in the same source tree at the time the GDB release was done. We have opened this request to make sure that the GDB you are using uses a binutils source tree with the proper patchlevel. The level of the binutils package probably does not matter here.

Revision history for this message
Matthias Klose (doko) wrote :

fixed for binutils

Changed in binutils (Ubuntu):
status: Fix Committed → Fix Released
Changed in gdb (Ubuntu):
status: New → Fix Released
Revision history for this message
Matthias Klose (doko) wrote :

jammy now has a gdb build from the trunk. we'll update that up to the 12.1 release for 22.04 LTS

Frank Heimes (fheimes)
Changed in ubuntu-z-systems:
status: Fix Committed → Fix Released
Revision history for this message
bugproxy (bugproxy) wrote :

------- Comment From <email address hidden> 2022-03-10 14:41 EDT-------
I've verified that GDB on jammy disassembles the new instructions correctly. Thanks!

Revision history for this message
Frank Heimes (fheimes) wrote :

Cool - yes our toolchain 'master' had a special eye on this - thx for confirming!

Frank Heimes (fheimes)
information type: Private → Public
Revision history for this message
bugproxy (bugproxy) wrote :

------- Comment From <email address hidden> 2022-05-18 23:17 EDT-------
fix verified and released, hence closing the bug.
Staus: => CLOSED.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.