From 802d63084680ac87d652b4215dfc5138892e23ba Mon Sep 17 00:00:00 2001 From: Jim Kingdon Date: Mon, 2 Aug 1993 22:41:50 +0000 Subject: [PATCH] * valops.c (typecmp): If we are passing a non-reference to a function which takes a reference, pass the address. (value_arg_coerce): Don't use COERCE_ENUM; we don't want to dereference references here. --- gdb/ChangeLog | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index b3f69fb1cb7..13d548187bb 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,10 @@ Mon Aug 2 12:06:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com) + * valops.c (typecmp): If we are passing a non-reference to a function + which takes a reference, pass the address. + (value_arg_coerce): Don't use COERCE_ENUM; we don't want to dereference + references here. + * thread.c (thread_switch): Define as static. (add_thread): Cast return value from xmalloc. -- 2.30.2