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] Asynchronously resize the TUI


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


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