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] tui: initialize signal handler


> Date: Fri, 21 Sep 2007 22:23:42 -0300
> From: Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
> 
> I noticed that the TUI signal handler isn't initialized anywhere. Here's
> a patch to fix it.

Thanks.

> What do you think?

I think it shouldn't use sigaction unconditionally, as the rest of GDB
doesn't.  It should at least test HAVE_SIGACTION and include an
alternative solution for when sigaction is not available.  See
remote-fileio.c for an example.


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