Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Andrew Cagney <ac131313@redhat.com>
To: Michal Ludvig <mludvig@suse.cz>
Cc: Andreas Schwab <schwab@suse.de>,
	GDB Patches <gdb-patches@sources.redhat.com>
Subject: Re: [RFA] Skip the "red zone" on AMD64
Date: Thu, 07 Aug 2003 15:04:00 -0000	[thread overview]
Message-ID: <3F326A8B.7060704@redhat.com> (raw)
In-Reply-To: <3F326511.3040506@suse.cz>

> I think it's something different - while on AIX or PPC64 the called function may clobber the stack above it's frame's top-of-stack address, on AMD64 it's the calling function that could have used the space below bottom-of-stack.

The SVR4 PPC32 ABI never goes beyond its end of stack, the PowerOpen 
(definitly) and PPC64 ABI (I'm told) do.  Hence, they have exactly the 
same problem as ...

> Functions on AMD64 sometimes don't allocate space for their local variables (i.e. don't decrement %rsp before pushing something below it), which is often the case for leaf functions that don't call anything else.

and the patch won't fix it :-(

Andrew



      reply	other threads:[~2003-08-07 15:04 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-07 11:05 Michal Ludvig
2003-08-07 11:18 ` Andreas Schwab
2003-08-07 11:27   ` Michal Ludvig
2003-08-07 14:10     ` Andrew Cagney
2003-08-07 14:40       ` Michal Ludvig
2003-08-07 15:04         ` Andrew Cagney [this message]

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=3F326A8B.7060704@redhat.com \
    --to=ac131313@redhat.com \
    --cc=gdb-patches@sources.redhat.com \
    --cc=mludvig@suse.cz \
    --cc=schwab@suse.de \
    /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