OSDN Git Service

2002-04-20 Daniel Jacobowitz <drow@mvista.com>
authordrow <drow>
Sat, 20 Apr 2002 17:22:46 +0000 (17:22 +0000)
committerdrow <drow>
Sat, 20 Apr 2002 17:22:46 +0000 (17:22 +0000)
commit7545b884cd15ceb9dacd91ce624e237b0ac58892
treef5deef9799956a075571bf8a54afb6fdafe7e45f
parenta3cf5d4e1a2fa6f8681a8df2edab81d2c005a5f9
2002-04-20  Daniel Jacobowitz  <drow@mvista.com>

        * gdbserver/inferiors.c (struct inferior_info): Add regcache_data.
        (add_inferior): Call create_register_cache.
        (clear_inferiors): Call free_register_cache.
        (inferior_regcache_data, set_inferior_regcache_data): New functions.
        * gdbserver/regcache.c (struct inferior_regcache_data): New.
        (registers): Remove.
        (get_regcache): New function.
        (create_register_cache, free_register_cache): New functions.
        (set_register_cache): Don't initialize the register cache here.
        (registers_to_string, registers_from_string, register_data): Call
        get_regcache.
        * gdbserver/regcache.h: Add prototypes.
        * gdbserver/server.h: Likewise.
gdb/ChangeLog
gdb/gdbserver/inferiors.c
gdb/gdbserver/regcache.c
gdb/gdbserver/regcache.h
gdb/gdbserver/server.h