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] |
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?
That's the problem (you said sick), we've three: - gdb-events - chained hooks - simple hooks gdb-events started on the problem but lost direction.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |