This is the mail archive of the gdb-patches@sources.redhat.com 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: Re-initializing a list after the control returns to gdb...


> 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


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