From: Aleksandar Ristovski <aristovski@qnx.com>
Date: Thu, 11 Jun 2009 14:53:19 -0400
Hello,
This is another cleanup patch for nto target (part of the
ongoing effort to get my local changes into mainline).
ChangeLog:
* i386-nto-tdep.c (I386_NTO_SIGCONTEXT_OFFSET): Remove define.
(i386nto_sigcontext_addr): Change the way context address
is calculated.
(i386nto_init_abi): Remove usage of deprecated
sc_reg_offset and
sc_sp_offset and set sc_reg_offset and sc_num_regs.
Hard for me to check the correctness of this diff, but the mechanism
you're using does look correct.