Re: [RFA] OSF/1 - "next" over prologueless function call

Daniel Jacobowitz
2003-12-02T04:30:46Z

On Mon, Dec 01, 2003 at 08:26:46PM -0800, Joel Brobecker wrote:
>
> So I suggest we refine this test to use a new gdbarch function which,
> by default, would be the exact equivalent of this equality check. But
> I then provide an OSF/1-specific version of this function that checks
> that we stopped either at the first instruction of the function, or
> right after the couple of instructions forming the ldgp macro.

About the general principle, I'm unsure - I'd like to think a little
more or have someone else's opinion. But about the OSF/1 specific
target hook: no, this should be an Alpha-specific target hook instead.
The GNU tools perform this same optimization (and may do something
similar on MIPS soon).

--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer