gdb displaying only one line of instructions when stepping

Andrea Monaco via Gdb <[email protected]>
Newsgroups gmane.comp.gdb.devel
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.