public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
From: "palves at redhat dot com" <sourceware-bugzilla@sourceware.org>
To: gdb-prs@sourceware.org
Subject: [Bug breakpoints/16280] Step into an inline function with varargs doesn't stop
Date: Sun, 01 Dec 2013 22:08:00 -0000	[thread overview]
Message-ID: <bug-16280-4717-50OiJumfSh@http.sourceware.org/bugzilla/> (raw)
In-Reply-To: <bug-16280-4717@http.sourceware.org/bugzilla/>

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

--- Comment #4 from Pedro Alves <palves at redhat dot com> ---
(gdb) disassemble Step::show
Dump of assembler code for function Step::show(char const*, ...):
   0x00000000004006e0 <+0>:     push   %rbp
   0x00000000004006e1 <+1>:     mov    %rsp,%rbp
   0x00000000004006e4 <+4>:     sub    $0xe0,%rsp
   0x00000000004006eb <+11>:    mov    %rsi,-0xa8(%rbp)
   0x00000000004006f2 <+18>:    mov    %rdx,-0xa0(%rbp)
   0x00000000004006f9 <+25>:    mov    %rcx,-0x98(%rbp)
   0x0000000000400700 <+32>:    mov    %r8,-0x90(%rbp)
   0x0000000000400707 <+39>:    mov    %r9,-0x88(%rbp)
   0x000000000040070e <+46>:    test   %al,%al
   0x0000000000400710 <+48>:    je     0x400732 <Step::show(char const*,
...)+82>
   0x0000000000400712 <+50>:    movaps %xmm0,-0x80(%rbp)
   0x0000000000400716 <+54>:    movaps %xmm1,-0x70(%rbp)
   0x000000000040071a <+58>:    movaps %xmm2,-0x60(%rbp)
   0x000000000040071e <+62>:    movaps %xmm3,-0x50(%rbp)
   0x0000000000400722 <+66>:    movaps %xmm4,-0x40(%rbp)
   0x0000000000400726 <+70>:    movaps %xmm5,-0x30(%rbp)
   0x000000000040072a <+74>:    movaps %xmm6,-0x20(%rbp)
   0x000000000040072e <+78>:    movaps %xmm7,-0x10(%rbp)
   0x0000000000400732 <+82>:    mov    %rdi,-0xd8(%rbp)
   0x0000000000400739 <+89>:    movl   $0x8,-0xc8(%rbp)
   0x0000000000400743 <+99>:    movl   $0x30,-0xc4(%rbp)
   0x000000000040074d <+109>:   lea    0x10(%rbp),%rax
   0x0000000000400751 <+113>:   mov    %rax,-0xc0(%rbp)
   0x0000000000400758 <+120>:   lea    -0xb0(%rbp),%rax
   0x000000000040075f <+127>:   mov    %rax,-0xb8(%rbp)
   0x0000000000400766 <+134>:   lea    -0xc8(%rbp),%rdx
   0x000000000040076d <+141>:   mov    -0xd8(%rbp),%rax
   0x0000000000400774 <+148>:   mov    %rdx,%rsi
   0x0000000000400777 <+151>:   mov    %rax,%rdi
   0x000000000040077a <+154>:   callq  0x40078c <Step::vlog(char const*,
__va_list_tag*)>
   0x000000000040077f <+159>:   jmp    0x400789 <Step::show(char const*,
...)+169>
   0x0000000000400781 <+161>:   mov    %rax,%rdi
   0x0000000000400784 <+164>:   callq  0x400590 <_Unwind_Resume@plt>
   0x0000000000400789 <+169>:   leaveq 
   0x000000000040078a <+170>:   retq   
End of assembler dump.
(gdb)

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


  parent reply	other threads:[~2013-12-01 22:08 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-01 19:40 [Bug breakpoints/16280] New: " psmith at gnu dot org
2013-12-01 22:03 ` [Bug breakpoints/16280] " palves at redhat dot com
2013-12-01 22:05 ` palves at redhat dot com
2013-12-01 22:08 ` palves at redhat dot com
2013-12-01 22:08 ` palves at redhat dot com [this message]
2013-12-01 22:11 ` palves at redhat dot com
2013-12-01 22:23 ` palves at redhat dot com
2013-12-01 22:30 ` palves at redhat dot com
2013-12-01 22:40 ` palves at redhat dot com
2013-12-02  0:14 ` psmith at gnu dot org
2013-12-17 10:47 ` gbenson at redhat dot com

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=bug-16280-4717-50OiJumfSh@http.sourceware.org/bugzilla/ \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=gdb-prs@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).