This is the mail archive of the gdb-patches@sourceware.org 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 2/4]#3 Fix lost siginfo_t for inferior calls


On Fri, 24 Sep 2010 18:40:09 +0200, Pedro Alves wrote:
> On Tuesday 21 September 2010 23:49:35, Jan Kratochvil wrote:
> 
> > gdb/
> > 2010-09-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
> > 
> >         Fix lost siginfo_t for inferior calls
> >         * infrun.c
> >         (struct inferior_thread_state) <siginfo_gdbarch, siginfo_data>: New.
> >         (save_inferior_thread_state): New variables regcache, gdbarch and
> >         siginfo_data.  Initialize SIGINFO_DATA if gdbarch_get_siginfo_type_p.
> >         Move INF_STATE allocation later, pre-clear it.  Initialize REGISTERS
> >         using REGCACHE.
> >         (restore_inferior_thread_state): New variables regcache and gdbarch.
> >         Restore SIGINFO_DATA for matching GDBARCH.  Restore REGISTERS using
> >         REGCACHE.  Free also SIGINFO_DATA.
> 
> Okay, thanks.

Checked-in:
	http://sourceware.org/ml/gdb-cvs/2010-09/msg00156.html


Thanks,
Jan


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