• Icon: Story Story
    • Resolution: Unresolved
    • Icon: Normal Normal
    • rhel-10.0.beta
    • rhel-10.0.beta
    • gdb
    • None
    • gdb-14.2-1.el10
    • 1
    • rhel-sst-pt-perf-debug
    • ssg_platform_tools
    • 15
    • 17
    • 1
    • QE ack
    • False
    • Hide

      None

      Show
      None
    • No
    • Red Hat Enterprise Linux
    • Perf Debug Sprint 6
    • Unspecified Release Note Type - Unknown
    • x86_64
    • None

      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
      

      Seen with: gdb-14.1-8.el10.x86_64

              keiths@redhat.com Keith Seitz
              fweimer@redhat.com Florian Weimer
              Keith Seitz Keith Seitz
              Michal Kolar Michal Kolar
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated: