From: Andrea Monaco <andrea.monaco@autistici.org>
To: gdb@sourceware.org
Subject: gdb displaying only one line of instructions when stepping
Date: Tue, 21 Dec 2021 15:15:34 +0100 [thread overview]
Message-ID: <87h7b2gi2h.fsf@autistici.org> (raw)
Hello.
I noticed that, when single stepping through a program, gdb shows only
one line of instructions that take more than one.
For example, a simple
a =
5;
is showed as
(gdb) next
24 a =
(gdb)
As a user, I'd definitely prefer gdb to show me the full instruction I'm
about to run.
Maybe there's some way to do that, and I missed it? Otherwise I can
work on it.
Let me know,
Andrea Monaco
next reply other threads:[~2021-12-21 14:15 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-21 14:15 Andrea Monaco [this message]
2021-12-21 14:21 ` David Blaikie
2021-12-21 22:14 Andrea Monaco
2021-12-21 22:54 ` David Blaikie
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87h7b2gi2h.fsf@autistici.org \
--to=andrea.monaco@autistici.org \
--cc=gdb@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).