[PATCH] Asynchronously resize the TUI

Pedro Alves palves@redhat.com
Thu Feb 19 11:00:00 GMT 2015


On 02/19/2015 12:03 AM, Patrick Palka wrote:

> Thanks for reviewing.  I have committed the patch in two pieces
> because I forgot to add the gdb/ChangeLog entry in the first commit.
> Sorry about that...

No worries.

> BTW shouldn't the object returned by create_async_signal_handler() be
> eventually deallocated via delete_async_event_handler() at some point?
>  It doesn't seem that we do this for any async signal handler
> currently in use so far..

Yeah, that's not really different from all the global objects that
are allocated on the heap, and aren't ever deleted.  They'll just go away
when GDB exits along with the heap.  For a proper GDB-as-a-library use
case though, we'd/we'll probably need to consider this.

Thanks,
Pedro Alves



More information about the Gdb-patches mailing list