2004-04-26 Orjan Friberg <orjanf@axis.com>
authorOrjan Friberg <orjanf@axis.com>
Mon, 26 Apr 2004 09:49:36 +0000 (09:49 +0000)
committerOrjan Friberg <orjanf@axis.com>
Mon, 26 Apr 2004 09:49:36 +0000 (09:49 +0000)
commitf4c5303c32d8fda229d182d9d7db4ceb64bf9e02
tree1019d06d4acf0538f5f116d80bcfd0c9f867d287
parent79346bcbc0a0cc4086e810f116a1fcd39c7cd2ef
2004-04-26  Orjan Friberg <orjanf@axis.com>

* frame.c: Include "observer.h".
(frame_observer_target_changed): New function.
(_initialize_frame): Attach target_changed observer.
* regcache.c: Include "observer.h".
(regcache_observer_target_changed): New function.
(_initialize_regcache): Attach target_changed observer.
* valops.c: Include "observer.h".
(value_assign): Notify target_changed event when modifying register.
* Makefile.in (frame.o, regcache.o, valops.o): Add $(observer_h).
gdb/ChangeLog
gdb/Makefile.in
gdb/frame.c
gdb/regcache.c
gdb/valops.c