]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdb/target.c
* target.h (struct target_ops) <to_has_execution>: Add ptid_t
authorTom Tromey <tromey@redhat.com>
Mon, 7 Mar 2011 15:58:13 +0000 (15:58 +0000)
committerTom Tromey <tromey@redhat.com>
Mon, 7 Mar 2011 15:58:13 +0000 (15:58 +0000)
commitaeaec16283729646a2269c53f64c2bc06096906b
tree12290b6d41234aab200c674bd14f14b2f64a50b8
parent08e1408309952d0890e72ca2b3ac813570127aa0
* 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