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: [PATCH/SPARC-branch] Make call dummies on non-executable stack work


On Oct 15,  3:28pm, Michael Snyder wrote:

> Mark Kettenis wrote:
> > The attached patch makes call dummies on a non-executable stack
> > working.  I checked this in on my SPARC branch.  What do people think
> > about checking this in on mainline?  I don't think this will get much
> > exposure on the branch.
> 
> I guess the only way you would get a false positive here
> would be if you took a SEGV while executing a breakpoint trap.
> I *guess* that seems unlikely -- but I wonder if there's a
> pathological case, or if one might see this happening while
> porting gdb to a new target, an immature sim, or something?
> 
> Is there a gotcha, for instance, for VLIW machines?
> Might execute the trap, and another instruction simultaneously?
> Kevin?

I don't think there's any problem for IA-64.  For FR-V, this might
indeed be a gotcha.  Unfortunately, although I've looked at the
FR-V architecture manual, I'm unable to tell if this'd be a problem
or not.

(Sorry for the less than helpful reply...)

Kevin


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