This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA] OSF/1 - "next" over prologueless function call
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: Joel Brobecker <brobecker at gnat dot com>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Mon, 1 Dec 2003 23:30:42 -0500
- Subject: Re: [RFA] OSF/1 - "next" over prologueless function call
- References: <20031202042646.GW1186@gnat.com>
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