Re: Re-initializing a list after the control returns to gdb...

Joel Brobecker
2003-02-19T17:50:58Z

> You've the `observer' problem.

Just like when you are sick, you already feel better when you know which
disease you have contracted :).

> GDB's observer code is very primative. A combination of gdb-events
> (needs direction) and chained hooks (see target_new_objfile_hook).
>
> I suspect what you really want is a `target changed' event.

I need to update the task list every time the inferior stops and
the control returns to the user. I think the `target change' event
is not exactly what I would need?

Do we have a list of currently supported events? Is there a framework
for implementing these events?

--
Joel