Joel Brobecker
ea53e89f14
* doc/observer.texi (executable_changed): New observer.
...
* symtab.c: Include "observer.h".
(find_main_name): New function.
(main_name): If name_of_main is unset, then compute it
using find_main_name.
(symtab_observer_executable_changed): New function.
(_initialize_symtab): Attach executable_changed observer.
* exec.c: Include "observer.h".
(exec_file_attach): Emit executable_changed notification.
* symfile.c: Include "observer.h".
(reread_symbols): Send an executable_changed if appropriate.
* Makefile.in (exec.o): Add dependency on observer.h.
(symfile.o): Likewise.
(symtab.o): Likewise.
2005-03-08 04:34:45 +00:00
Mark Kettenis
fbd1b305fd
* observer.texi (GDB Observers): Document "solib_loaded".
2005-01-12 20:48:08 +00:00
Jeff Johnston
f3bb67042f
2004-09-01 Jeff Johnston <jjohnstn@redhat.com>
...
* observer.texi (solib_unloaded): New observer.
2004-09-01 17:59:37 +00:00
Andrew Cagney
59caf092b6
2004-05-21 Andrew Cagney <cagney@redhat.com>
...
* observer.texi (GDB Observers): Document "inferior_created".
2004-05-21 16:04:03 +00:00
Andrew Cagney
2b4855ab6b
2004-05-07 Andrew Cagney <cagney@redhat.com>
...
* observer.c: Include "commands.h" and "gdbcmd.h".
(observer_debug, _initialize_observer): Add the
command "set/show debug observer".
* observer.sh: When observer debugging, log notify calls.
* Makefile.in (observer.o): Update dependencies.
Index: doc/ChangeLog
2004-05-07 Andrew Cagney <cagney@redhat.com>
* observer.texi (GDB Observers): Add "Debugging" section. Include
cross reference to "set/show debug observer".
* gdb.texinfo (Debugging Output): Document "set/show debug
observer".
2004-05-07 22:51:55 +00:00
Orjan Friberg
67ab9a76b5
2004-04-30 Orjan Friberg <orjanf@axis.com>
...
* observer.texi (GDB Observers): Correct spelling.
2004-04-30 07:38:50 +00:00
Orjan Friberg
79346bcbc0
2004-04-26 Orjan Friberg <orjanf@axis.com>
...
* observer.texi (GDB Observers): Add target_changed event.
2004-04-26 09:36:56 +00:00
Andrew Cagney
7a46442073
2004-04-15 Andrew Cagney <cagney@redhat.com>
...
* observer.c (normal_stop_subject, observer_notify_normal_stop)
(observer_normal_stop_notification_stub)
(observer_attach_normal_stop, observer_detach_normal_stop):
Delete, replaced by #include "observer.inc".
* infrun.c (normal_stop): Pass "stop_bpstat" to
observer_notify_normal_stop.
* Makefile.in (observer_inc): Define.
(observer.o): Update dependencies.
(observer.h, observer.inc): New rules.
* observer.h: Delete file.
* observer.sh: New file.
Index: doc/ChangeLog
2004-04-08 Andrew Cagney <cagney@redhat.com>
* observer.texi (GDB Observers): Rework, provide generic observer
definitions and then a list of observable events.
2004-04-15 14:29:21 +00:00
Joel Brobecker
6be67e674a
* observer.texi (GDB Observers): Adjust the documentation for the
...
normal_stop notification to better describe reality. Fix a couple
of minor typos.
2003-04-03 15:14:48 +00:00
Joel Brobecker
bcd7e15f07
* gdbint.texinfo (Algorithms): Add new section describing the
...
Observer paradigm.
(Top): Add menu entry to new observer appendix.
* observer.texi: New file.
* Makefile.in (GDBINT_DOC_SOURCE_INCLUDES): Add dependency on
new observer.texi file.
2003-03-18 17:44:23 +00:00