diff mbox

[PUSHED] Catch up to recent changes to call_function_by_hand().

Message ID 20170905162629.94866-1-jhb@FreeBSD.org
State New
Headers show

Commit Message

John Baldwin Sept. 5, 2017, 4:26 p.m. UTC
gdb/ChangeLog:

	* spu-tdep.c (flush_ea_cache): Add missing argument to
	call_function_by_hand.
---
 gdb/ChangeLog  | 5 +++++
 gdb/spu-tdep.c | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)
diff mbox

Patch

diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 9686de3f76..abded2cc4f 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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.
diff --git a/gdb/spu-tdep.c b/gdb/spu-tdep.c
index ca1a3fc99f..59c51b2b86 100644
--- a/gdb/spu-tdep.c
+++ b/gdb/spu-tdep.c
@@ -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);
     }
 }