This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch] i386-nto-tdep.c - sigcontext
- From: Mark Kettenis <mark dot kettenis at xs4all dot nl>
- To: aristovski at qnx dot com
- Cc: gdb-patches at sources dot redhat dot com
- Date: Thu, 11 Jun 2009 22:33:31 +0200 (CEST)
- Subject: Re: [patch] i386-nto-tdep.c - sigcontext
- References: <h0rjqv$k9u$1@ger.gmane.org>
> 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.