This is the mail archive of the
mailing list for the GDB project.
Re: Sparc32 Solaris target function calls on stack
- From: Andrew Cagney <cagney at gnu dot org>
- To: Michael Snyder <msnyder at redhat dot com>
- Cc: gdb-patches at sources dot redhat dot com, gdb at sources dot redhat dot com
- Date: Wed, 10 Mar 2004 11:40:19 -0500
- Subject: Re: Sparc32 Solaris target function calls on stack
- References: <404F8217.firstname.lastname@example.org>
Is anyone planning on converting the sparc32 target over to use
a target-function-call scheme similar to that of sparc64? ie. so
that it doesn't have to execute code on the stack?
Apparently there is a security setting on Solaris that prohibits
executing code on the stack, even on sparc32, to reduce the risk
of being hacked into, and I'm guessing more and more companies are
going to be adopting it in these uncertain times.
This is from the NEWS file for 6.1:
* Revised SPARC target
The SPARC target has been completely revised, incorporating the
FreeBSD/sparc64 support that was added for GDB 6.0. As a result
support for LynxOS and SunOS 4 has been dropped. Calling functions
from within GDB on operating systems with a non-executable stack
(Solaris, OpenBSD) now works.
It should be working?