OSDN Git Service

* target.h (struct target_ops) <to_has_execution>: Add ptid_t
authortromey <tromey>
Tue, 8 Mar 2011 00:58:12 +0000 (00:58 +0000)
committertromey <tromey>
Tue, 8 Mar 2011 00:58:12 +0000 (00:58 +0000)
commit319ae802e8d0339eea7db57c839603120c3f2cf7
tree2e19755c2a52f57386b0cc88180ea70cf6725269
parent1b6d56913de3be55f32ab6db6449b684e8be036d
* target.h (struct target_ops) <to_has_execution>: Add ptid_t
parameter.
(target_has_execution_1): Update.
(target_has_execution_current): Declare.
(target_has_execution): Call target_has_execution_current.
(default_child_has_execution): Update.
* target.c (default_child_has_execution): Add 'the_ptid'
parameter.
(target_has_execution_1): Likewise.
(target_has_execution_current): New function.
(add_target): Update.
(init_dummy_target): Update.
* remote-m32r-sdi.c (m32r_has_execution): New function.
(init_m32r_ops): Use it.
* record.c (record_core_has_execution): Now static.  Add
'the_ptid' parameter.
* inferior.c (have_live_inferiors): Don't save current thread.
Use target_has_execution_1.
gdb/ChangeLog
gdb/inferior.c
gdb/record.c
gdb/remote-m32r-sdi.c
gdb/target.c
gdb/target.h