public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug gdb/27736] New: Gdb really needs an enhanced assembly stepping mode
@ 2021-04-15 18:19 keiths at redhat dot com
  2021-04-15 19:02 ` [Bug gdb/27736] " keiths at redhat dot com
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: keiths at redhat dot com @ 2021-04-15 18:19 UTC (permalink / raw)
  To: gdb-prs

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

            Bug ID: 27736
           Summary: Gdb really needs an enhanced assembly stepping mode
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gdb
          Assignee: unassigned at sourceware dot org
          Reporter: keiths at redhat dot com
  Target Milestone: ---

>From https://bugzilla.redhat.com/show_bug.cgi?id=1859714 :

Gdb really needs an enhanced assembly stepping mode that will print,
not just the instructions themselves, but also the inputs and outputs.

For example, on POWER, if the current instruction is add r9, r1, r2:

(gdb) stepi
    # would print
<address expression>:     <previous instruction>
    r1 = 15 (0x0F)  r2 = 14 (0x0E)
<current address>:        add  r9, r1, r2
    r9 = 29 (0x1D)
<address expression>:     <next instruction>

(gdb)

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug gdb/27736] Gdb really needs an enhanced assembly stepping mode
  2021-04-15 18:19 [Bug gdb/27736] New: Gdb really needs an enhanced assembly stepping mode keiths at redhat dot com
@ 2021-04-15 19:02 ` keiths at redhat dot com
  2021-04-15 20:13 ` tromey at sourceware dot org
  2021-04-16 15:14 ` ssbssa at sourceware dot org
  2 siblings, 0 replies; 4+ messages in thread
From: keiths at redhat dot com @ 2021-04-15 19:02 UTC (permalink / raw)
  To: gdb-prs

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

Keith Seitz <keiths at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |enhancement

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug gdb/27736] Gdb really needs an enhanced assembly stepping mode
  2021-04-15 18:19 [Bug gdb/27736] New: Gdb really needs an enhanced assembly stepping mode keiths at redhat dot com
  2021-04-15 19:02 ` [Bug gdb/27736] " keiths at redhat dot com
@ 2021-04-15 20:13 ` tromey at sourceware dot org
  2021-04-16 15:14 ` ssbssa at sourceware dot org
  2 siblings, 0 replies; 4+ messages in thread
From: tromey at sourceware dot org @ 2021-04-15 20:13 UTC (permalink / raw)
  To: gdb-prs

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

Tom Tromey <tromey at sourceware dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tromey at sourceware dot org

--- Comment #1 from Tom Tromey <tromey at sourceware dot org> ---
This would be great.
gdb may have this info for targets where "record" is implemented.
I don't think it's available for other targets though.
It seems unfortunate that the sim doesn't expose this somehow.

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug gdb/27736] Gdb really needs an enhanced assembly stepping mode
  2021-04-15 18:19 [Bug gdb/27736] New: Gdb really needs an enhanced assembly stepping mode keiths at redhat dot com
  2021-04-15 19:02 ` [Bug gdb/27736] " keiths at redhat dot com
  2021-04-15 20:13 ` tromey at sourceware dot org
@ 2021-04-16 15:14 ` ssbssa at sourceware dot org
  2 siblings, 0 replies; 4+ messages in thread
From: ssbssa at sourceware dot org @ 2021-04-16 15:14 UTC (permalink / raw)
  To: gdb-prs

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

Hannes Domani <ssbssa at sourceware dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ssbssa at sourceware dot org

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-04-16 15:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-15 18:19 [Bug gdb/27736] New: Gdb really needs an enhanced assembly stepping mode keiths at redhat dot com
2021-04-15 19:02 ` [Bug gdb/27736] " keiths at redhat dot com
2021-04-15 20:13 ` tromey at sourceware dot org
2021-04-16 15:14 ` ssbssa at sourceware dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).