This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug cli/21814] New: Make it possible to view disassembly with raw bytes using x/i command


https://sourceware.org/bugzilla/show_bug.cgi?id=21814

            Bug ID: 21814
           Summary: Make it possible to view disassembly with raw bytes
                    using x/i command
           Product: gdb
           Version: 8.0
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P2
         Component: cli
          Assignee: unassigned at sourceware dot org
          Reporter: b7.10110111 at gmail dot com
  Target Milestone: ---

I know two modes of GDB disassembly:

First command be used to show instructions as well as raw byte, but it seems to
not accept number of instructions to disassemble — only memory range:
    disas/r $pc,+30

Second command can disassemble exactly N instructions, like follows, but
without raw bytes:
    x/10i $pc

I'd be good to have a hybrid of these two modes: make the raw bytes visible as
in disas/r and be able to specify exact number of instructions to disassemble
as in x/10i.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]