aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2003-09-29 21:12:05 +0000
committerJoel Brobecker <brobecker@gnat.com>2003-09-29 21:12:05 +0000
commit7a5dd6eec4361e8679f212b891927d4157710b68 (patch)
tree8aa79deea064dd42efb34e632f96d6bdde1be901
parentdad809b7ad6236abcd94e41999dc26d44bf79fad (diff)
downloadgdb-7a5dd6eec4361e8679f212b891927d4157710b68.zip
gdb-7a5dd6eec4361e8679f212b891927d4157710b68.tar.gz
gdb-7a5dd6eec4361e8679f212b891927d4157710b68.tar.bz2
* infcall.c (call_function_by_hand): Fix build failure
introduced in the previous change to this file.
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/infcall.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index ff40b4d..61ded4b 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2003-09-29 J. Brobecker <brobecker@gnat.com>
+
+ * infcall.c (call_function_by_hand): Fix build failure
+ introduced in the previous change to this file.
+
2003-09-29 Andrew Cagney <cagney@redhat.com>
* NEWS: Mention Objective-C.
diff --git a/gdb/infcall.c b/gdb/infcall.c
index 4adc4ea..0477d1e 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