2009-10-22 Hui Zhu <teawater@gmail.com>
authorMichael Snyder <msnyder@vmware.com>
Thu, 22 Oct 2009 19:32:11 +0000 (19:32 +0000)
committerMichael Snyder <msnyder@vmware.com>
Thu, 22 Oct 2009 19:32:11 +0000 (19:32 +0000)
commit27699eeaabe54d97b33751af582ca103f175c947
tree5467ce94343ada4d25c0842bf39fdec7238006c6
parent10ad9fe59107cf8f329d52f1e4e6768c1c2ce272
2009-10-22  Hui Zhu  <teawater@gmail.com>
    Michael Snyder  <msnyder@vmware.com>

* record.c (record_core_ops): New ops target vector.
(record_core_open_1): New function.  Open core target.
(record_open_1): New function.  Open normal process record.
(record_open): Call one of the above.
(record_close): Allow for both core and normal targets.
(record_core_resume): New function.
(record_core_kill): New function.
(record_core_fetch_registers): New function.
(record_core_prepare_to_store): New function.
(record_core_store_registers): New function.
(record_core_xfer_partial): New function.
(record_core_insert_breakpoint): New function.
(record_core_remove_breakpoint): New function.
(record_core_has_execution): New function.
(init_record_core_ops): New function.
(_initialize_record): Call init_record_core_ops, add_target.
gdb/ChangeLog
gdb/record.c