This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [patch/rfa] hppa-linux target, 2nd try
- From: Randolph Chung <randolph at tausq dot org>
- To: Andrew Cagney <cagney at gnu dot org>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Wed, 28 Apr 2004 09:00:05 -0700
- Subject: Re: [patch/rfa] hppa-linux target, 2nd try
- References: <20040424192614.GD2923@tausq.org> <408FD4B0.1000706@gnu.org>
- Reply-to: Randolph Chung <randolph at tausq dot org>
> >+static struct insn_pattern hppa_sigtramp[] = {
> >+ /* ldi 0, %r25 or ldi 1, %r25 */
> >+ { 0x34190000, 0xfffffffd },
> >+ /* ldi __NR_rt_sigreturn, %r20 */
> >+ { 0x3414015a, 0xffffffff },
> >+ /* be,l 0x100(%sr2, %r0), %sr0, %r31 */
> >+ { 0xe4008200, 0xffffffff },
> >+ /* nop */
> >+ { 0x08000240, 0xffffffff },
> >+ { 0, 0 }
> >+};
>
> hmm, perhaps the mask can be integrated into tramp-frame.[hc], anyone?
well, hppa still can't use it because of the variable offset in the
stack frame to locate the trampoline :(
randolph
--
Randolph Chung
Debian GNU/Linux Developer, hppa/ia64 ports
http://www.tausq.org/