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: [patch/rfa] hppa-linux target, 2nd try


> >+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/


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