This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [PATCH/SPARC-branch] Make call dummies on non-executable stack work
- From: Kevin Buettner <kevinb at redhat dot com>
- To: Michael Snyder <msnyder at redhat dot com>, Mark Kettenis <kettenis at chello dot nl>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Wed, 15 Oct 2003 16:06:15 -0700
- Subject: Re: [PATCH/SPARC-branch] Make call dummies on non-executable stack work
- References: <200310151957.h9FJvfwc000383@elgar.kettenis.dyndns.org> <3F8DCA21.2080000@redhat.com>
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