This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Sparc32 Solaris target function calls on stack


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?


Andrew



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]