From: Jakub Jelinek <jakub@redhat.com>
To: Andreas Jaeger <aj@suse.de>
Cc: Richard Henderson <rth@redhat.com>,
Glibc hackers <libc-hacker@sources.redhat.com>
Subject: Re: [PATCH] Fix AMD64 backtrace
Date: Sun, 11 Jan 2004 18:50:00 -0000 [thread overview]
Message-ID: <20040111164256.GN6413@sunsite.ms.mff.cuni.cz> (raw)
In-Reply-To: <m3wu7y7k7j.fsf@gromit.moeb>
On Sun, Jan 11, 2004 at 01:17:52PM +0100, Andreas Jaeger wrote:
> /* Load the new stack pointer, the preserved registers and
> registers used for passing args. */
> cfi_def_cfa(%rdi, 0)
> cfi_offset(%rbx,oRBX)
> cfi_offset(%rbp,oRBP)
> cfi_offset(%r12,oR12)
> cfi_offset(%r13,oR13)
> cfi_offset(%r14,oR14)
> cfi_offset(%r15,oR15)
> cfi_offset(%rsp,oRSP)
> cfi_offset(%rip,oRIP)
>
> movq oRSP(%rdi), %rsp
> movq oRBX(%rdi), %rbx
> movq oRBP(%rdi), %rbp
> movq oR12(%rdi), %r12
> movq oR13(%rdi), %r13
> movq oR14(%rdi), %r14
> movq oR15(%rdi), %r15
>
> /* The following ret should return to the address set with
> getcontext. Therefore push the address on the stack. */
> movq oRIP(%rdi), %rcx
> pushq %rcx
> cfi_adjust_cfa_offset(8)
pushq %rcx modifies %rsp, but current CFI here is %rdi
which is unchanged.
Jakub
next prev parent reply other threads:[~2004-01-11 18:50 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-01-08 15:49 Jakub Jelinek
2004-01-08 18:24 ` Ulrich Drepper
2004-01-10 16:10 ` Andreas Jaeger
2004-01-10 18:07 ` Ulrich Drepper
2004-01-10 19:22 ` Andreas Jaeger
2004-01-10 19:24 ` Jakub Jelinek
2004-01-10 19:26 ` Andreas Jaeger
2004-01-10 19:27 ` Andreas Jaeger
2004-01-10 19:30 ` Ulrich Drepper
2004-01-10 19:51 ` Andreas Jaeger
2004-01-10 19:57 ` Jakub Jelinek
2004-01-10 20:13 ` Andreas Jaeger
2004-01-11 10:40 ` Andreas Jaeger
[not found] ` <20040111024737.A1431@redhat.com>
2004-01-11 10:50 ` Andreas Jaeger
[not found] ` <20040111025223.A2564@redhat.com>
2004-01-11 10:54 ` Andreas Jaeger
2004-01-11 10:57 ` Andreas Jaeger
[not found] ` <20040111030005.C13258@redhat.com>
2004-01-11 12:16 ` Andreas Jaeger
2004-01-11 12:17 ` Andreas Jaeger
2004-01-11 18:50 ` Jakub Jelinek [this message]
2004-01-11 19:28 ` Andreas Jaeger
2004-01-11 20:13 ` Jakub Jelinek
2004-01-11 20:19 ` Andreas Jaeger
[not found] ` <20040111202020.GB24540@redhat.com>
2004-01-11 20:31 ` Andreas Jaeger
[not found] ` <20040111213631.GD24540@redhat.com>
[not found] ` <20040112231919.GB27775@nevyn.them.org>
[not found] ` <20040112155217.A30317@redhat.com>
2004-01-22 7:24 ` [rfc] dwarf2 backtrace from setcontext Andreas Jaeger
[not found] ` <20040122080350.GA18412@redhat.com>
2004-01-22 8:16 ` Andreas Jaeger
2004-01-12 9:58 ` [PATCH] Fix AMD64 backtrace Jakub Jelinek
2004-01-12 16:44 ` Andreas Jaeger
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=20040111164256.GN6413@sunsite.ms.mff.cuni.cz \
--to=jakub@redhat.com \
--cc=aj@suse.de \
--cc=libc-hacker@sources.redhat.com \
--cc=rth@redhat.com \
/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).