2009-08-06  Michael Snyder  <msnyder@vmware.com>

	* record.c (bfdcore_write): New function, abstracted out
	from cmd_record_dump.
	(cmd_record_dump): Call bfdcore_write.
	(cmd_record_load): Fix setting of record_insn_num.