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: [RFA] OSF/1 - "next" over prologueless function call


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


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