* Sparc32 Solaris target function calls on stack
2004-03-19 0:09 Sparc32 Solaris target function calls on stack Michael Snyder
@ 2004-03-10 21:01 ` Michael Snyder
2004-03-10 21:52 ` Andrew Cagney
1 sibling, 0 replies; 4+ messages in thread
From: Michael Snyder @ 2004-03-10 21:01 UTC (permalink / raw)
To: gdb-patches, gdb
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.
Michael
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Sparc32 Solaris target function calls on stack
2004-03-19 0:09 Sparc32 Solaris target function calls on stack Michael Snyder
2004-03-10 21:01 ` Michael Snyder
@ 2004-03-10 21:52 ` Andrew Cagney
2004-03-19 0:09 ` Andrew Cagney
1 sibling, 1 reply; 4+ messages in thread
From: Andrew Cagney @ 2004-03-10 21:52 UTC (permalink / raw)
To: Michael Snyder; +Cc: gdb-patches, gdb
> 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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Sparc32 Solaris target function calls on stack
@ 2004-03-19 0:09 Michael Snyder
2004-03-10 21:01 ` Michael Snyder
2004-03-10 21:52 ` Andrew Cagney
0 siblings, 2 replies; 4+ messages in thread
From: Michael Snyder @ 2004-03-19 0:09 UTC (permalink / raw)
To: gdb-patches, gdb
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.
Michael
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Sparc32 Solaris target function calls on stack
2004-03-10 21:52 ` Andrew Cagney
@ 2004-03-19 0:09 ` Andrew Cagney
0 siblings, 0 replies; 4+ messages in thread
From: Andrew Cagney @ 2004-03-19 0:09 UTC (permalink / raw)
To: Michael Snyder; +Cc: gdb-patches, gdb
> 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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2004-03-10 21:52 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-19 0:09 Sparc32 Solaris target function calls on stack Michael Snyder
2004-03-10 21:01 ` Michael Snyder
2004-03-10 21:52 ` Andrew Cagney
2004-03-19 0:09 ` Andrew Cagney
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox