* linux-low.c (linux_unprepare_to_access_memory): Rename to ...

(linux_done_accessing_memory): ... this.
	(linux_target_ops): Adjust.
	* linux-x86-low.c (x86_insert_point, x86_remove_point): Adjust.
	* nto-low.c (nto_target_ops): Adjust comment.
	* server.c (gdb_read_memory, gdb_write_memory): Adjust.
	* spu-low.c (spu_target_ops): Adjust comment.
	* target.h (target_ops): Rename unprepare_to_access_memory field
	to done_accessing_memory.
	(unprepare_to_access_memory): Rename to ...
	(done_accessing_memory): ... this.
This commit is contained in:
Pedro Alves
2010-08-27 00:16:48 +00:00
parent 6b911e8b2a
commit 0146f85bf7
8 changed files with 27 additions and 13 deletions

View File

@ -562,7 +562,7 @@ x86_insert_point (char type, CORE_ADDR addr, int len)
if (ret)
return -1;
ret = set_gdb_breakpoint_at (addr);
unprepare_to_access_memory ();
done_accessing_memory ();
return ret;
}
case '2':
@ -590,7 +590,7 @@ x86_remove_point (char type, CORE_ADDR addr, int len)
if (ret)
return -1;
ret = delete_gdb_breakpoint_at (addr);
unprepare_to_access_memory ();
done_accessing_memory ();
return ret;
}
case '2':