Catch up to recent changes to call_function_by_hand().

gdb/ChangeLog:

	* spu-tdep.c (flush_ea_cache): Add missing argument to
	call_function_by_hand.
This commit is contained in:
John Baldwin 2017-09-04 15:57:02 -07:00
parent d69cf9b207
commit 5b9f8a7c6e
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2017-09-04 John Baldwin <jhb@FreeBSD.org>
* spu-tdep.c (flush_ea_cache): Add missing argument to
call_function_by_hand.
2017-09-04 Pedro Alves <palves@redhat.com>
* NEWS (Safer support for debugging with no debug info): New.

View File

@ -2036,7 +2036,7 @@ flush_ea_cache (void)
type = lookup_pointer_type (type);
addr = BMSYMBOL_VALUE_ADDRESS (msymbol);
call_function_by_hand (value_from_pointer (type, addr), 0, NULL);
call_function_by_hand (value_from_pointer (type, addr), NULL, 0, NULL);
}
}