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


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



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