Bug 2277160 - gdb: missing APX support in the disassembler
Summary: gdb: missing APX support in the disassembler
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: gdb
Version: 40
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Keith Seitz
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-04-25 13:46 UTC by Florian Weimer
Modified: 2024-05-30 01:22 UTC (History)
8 users (show)

Fixed In Version: gdb-14.2-2.fc40
Clone Of:
Environment:
Last Closed: 2024-05-30 01:22:01 UTC
Type: ---
Embargoed:
fweimer: mirror+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker FC-1177 0 None None None 2024-04-25 14:08:17 UTC

Description Florian Weimer 2024-04-25 13:46:09 UTC
The GDB disassembler does not support APX.

Reproducer:

cat >apx.s <<EOF
	.text
f:
	push2 %rax, %rbx
EOF
as apx.s
gdb -quiet -ex "disassemble f" -ex quit a.out

Current output:

Reading symbols from a.out...
(No debugging symbols found in a.out)
Dump of assembler code for function f:
   0x0000000000000000 <+0>:	(bad)
   0x0000000000000001 <+1>:	hlt
   0x0000000000000002 <+2>:	fs sbb %bh,%bh
   0x0000000000000005 <+5>:	lock
End of assembler dump.

Expected output: Something similar to what objdump prints:

0000000000000000 <f>:
   0:	62 f4 64 18 ff f0    	push2  %rax,%rbx


Problem seen with: gdb-14.2-1.fc40.x86_64

Reproducible: Always

Comment 1 Fedora Update System 2024-05-22 18:01:11 UTC
FEDORA-2024-11329d120f (gdb-14.2-2.fc40) has been submitted as an update to Fedora 40.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-11329d120f

Comment 2 Fedora Update System 2024-05-23 03:10:43 UTC
FEDORA-2024-11329d120f has been pushed to the Fedora 40 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-11329d120f`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-11329d120f

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 3 Fedora Update System 2024-05-30 01:22:01 UTC
FEDORA-2024-11329d120f (gdb-14.2-2.fc40) has been pushed to the Fedora 40 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.