From: Joel Brobecker Date: Mon, 29 Sep 2003 21:12:05 +0000 (+0000) Subject: * infcall.c (call_function_by_hand): Fix build failure X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7a5dd6eec4361e8679f212b891927d4157710b68;p=binutils-gdb.git * infcall.c (call_function_by_hand): Fix build failure introduced in the previous change to this file. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index ff40b4d0d1c..61ded4b6525 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2003-09-29 J. Brobecker + + * infcall.c (call_function_by_hand): Fix build failure + introduced in the previous change to this file. + 2003-09-29 Andrew Cagney * NEWS: Mention Objective-C. diff --git a/gdb/infcall.c b/gdb/infcall.c index 4adc4ea4789..0477d1ebe01 100644 --- a/gdb/infcall.c +++ b/gdb/infcall.c @@ -1080,7 +1080,7 @@ the function call).", name); if (struct_return) { do_cleanups (retbuf_cleanup); - return VALUE_RETURNED_FROM_STACK (value_type, struct_addr); + return DEPRECATED_VALUE_RETURNED_FROM_STACK (value_type, struct_addr); } #endif /* NOTE: cagney/2002-09-10: Only when the stack has been correctly