This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch] tui: initialize signal handler
- From: Pedro Alves <pedro_alves at portugalmail dot pt>
- To: Carlos Eduardo Seo <cseo at linux dot vnet dot ibm dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Sat, 22 Sep 2007 11:43:34 +0100
- Subject: Re: [patch] tui: initialize signal handler
- References: <46F46E9E.5070003@linux.vnet.ibm.com>
Carlos Eduardo Seo wrote:
I noticed that the TUI signal handler isn't initialized anywhere. Here's
a patch to fix it. I'm not sure if this is the correct file to add this,
though.
What do you think?
Thanks! I wondered why it wouldn't resize :)
(Addicionally to Elli's remark, testing for ifdef SIGWINCH would be
a good idea too.)
I don't think tui_initialize_readline is the best place for this.
How about a new tui_initialize_win in tui-win.c, and call it from
next to where tui_initialize_readline is called in tui_init ?
Cheers,
Pedro Alves