OSDN Git Service

2000-10-13 Fernando Nasser <fnasser@cygnus.com>
authorfnasser <fnasser>
Mon, 23 Oct 2000 21:39:28 +0000 (21:39 +0000)
committerfnasser <fnasser>
Mon, 23 Oct 2000 21:39:28 +0000 (21:39 +0000)
commitd0ce29475e6d55b30aecf239eb9b97f0db300209
treef9edd1c1e78fac7f8c1a0cc33550fda561fc8c60
parent6b7b257250f1adce8a76c640db064d1edb425141
2000-10-13  Fernando Nasser  <fnasser@cygnus.com>

        With Steven Johnson <sbjohnson@ozemail.com.au>
        This change fixes part of the possible scenarios where a race condition
        would cause core dumps if there were commands changing registers or
        other target resources in a startup script.
        The remaining scenarios are fixed by a patch to generic.gdbtk.c
        * interface.tcl (gdbtk_update_safe): New function. Like gdbtk_update
        but does nothing if target is running.
        (gdbtk_register_changed): Call the above safe version.
        (gdbtk_memory_changed): Likewise.
gdb/gdbtk/library/ChangeLog
gdb/gdbtk/library/interface.tcl