convert to_files_info

2014-02-19  Tom Tromey  <tromey@redhat.com>

	* target-delegates.c: Rebuild.
	* target.c (update_current_target): Don't inherit or default
	to_files_info.
	* target.h (struct target_ops) <to_files_info>: Use
	TARGET_DEFAULT_IGNORE.
This commit is contained in:
Tom Tromey
2013-12-18 09:51:47 -07:00
parent 6c62816386
commit f86e59b2d1
4 changed files with 26 additions and 5 deletions

View File

@ -601,7 +601,7 @@ update_current_target (void)
/* Do not inherit to_store_registers. */
/* Do not inherit to_prepare_to_store. */
INHERIT (deprecated_xfer_memory, t);
INHERIT (to_files_info, t);
/* Do not inherit to_files_info. */
/* Do not inherit to_insert_breakpoint. */
/* Do not inherit to_remove_breakpoint. */
INHERIT (to_can_use_hw_breakpoint, t);
@ -734,9 +734,6 @@ update_current_target (void)
(int (*) (CORE_ADDR, gdb_byte *, int, int,
struct mem_attrib *, struct target_ops *))
nomemory);
de_fault (to_files_info,
(void (*) (struct target_ops *))
target_ignore);
de_fault (to_can_use_hw_breakpoint,
(int (*) (struct target_ops *, int, int, int))
return_zero);