2009-10-16 Hui Zhu <teawater@gmail.com>
authorMichael Snyder <msnyder@vmware.com>
Thu, 22 Oct 2009 19:36:06 +0000 (19:36 +0000)
committerMichael Snyder <msnyder@vmware.com>
Thu, 22 Oct 2009 19:36:06 +0000 (19:36 +0000)
commit0156b21832b684643a30b598bf2ce5acae533768
tree9d003571c49e1b89b6c78b178122ca91fda0927b
parent27699eeaabe54d97b33751af582ca103f175c947
2009-10-16  Hui Zhu  <teawater@gmail.com>
    Michael Snyder  <msnyder@msnyder-server.eng.vmware.com>

* record.c (RECORD_FILE_MAGIC): New constant.
(record_arch_list_cleanups): Renamed from record_message_cleanups.
(bfdcore_read): New function.
(netorder64): New function.
(netorder32): New function.
(netorder16): New function.
(record_restore): New function.  Restore a saved record log.
(bfdcore_write): New function.
(cmd_record_restore): New function.
(cmd_record_save): New function.  Save a record log to a file.
(_initialize_record): Set up commands for save and restore.

2009-10-17  Michael Snyder  <msnyder@vmware.com>

* gcore.h: New file.
* gcore.c (create_gcore_bfd): New function.
(write_gcore_file): New function.
(call_target_sbrk): New function.  Abstracted from gcore_command.
(gcore_command): Call call_target_sbrk.
gdb/ChangeLog
gdb/gcore.c
gdb/gcore.h [new file with mode: 0644]
gdb/record.c