public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* Is nexti confused by pushq?
@ 2019-02-25 15:40 David Griffiths
  2019-02-25 15:54 ` dwk
  0 siblings, 1 reply; 11+ messages in thread
From: David Griffiths @ 2019-02-25 15:40 UTC (permalink / raw)
  To: gdb

Hi, when I get to the following instructions:

  0x00007fffe192413e: rex.W pushq 0x28(%rsp)
  0x00007fffe1924143: rex.W popq (%rsp)
  0x00007fffe1924147: callq  0x00007fffe1045de0

and do "nexti" at the first, it doesn't stop at the second but instead acts
as though I'd done "continue". For some reason I can't reproduce with a
little test though.

(gdb 8.1 on Ubuntu 16.04)

BTW I'm doing nexti programmatically and trying to avoid looking at the
next instruction to decide whether to do stepi or nexti.

Cheers,

David

-- 

David Griffiths, Senior Software Engineer

Undo <https://undo.io> | Resolve even the most challenging software defects
with software flight recorder technology

Software reliability report: optimizing the software supplier and customer
relationship
<https://info.undo.io/software-reliability-report-optimizing-supplier-and-customer-relationship>

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

end of thread, other threads:[~2019-02-27 14:53 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-25 15:40 Is nexti confused by pushq? David Griffiths
2019-02-25 15:54 ` dwk
2019-02-26  7:32   ` Andrew Burgess
2019-02-26 10:12     ` Jan Kratochvil
2019-02-26 11:50       ` David Griffiths
2019-02-26 11:58         ` Jan Kratochvil
2019-02-26 14:19         ` Dmitry Samersoff
2019-02-26 14:42           ` David Griffiths
2019-02-26 19:05         ` Tom Tromey
2019-02-27  7:59           ` Dmitry Samersoff
2019-02-27 14:53             ` Tom Tromey

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).