From: Jim Kingdon Date: Mon, 2 Aug 1993 22:41:50 +0000 (+0000) Subject: * valops.c (typecmp): If we are passing a non-reference to a function X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=802d63084680ac87d652b4215dfc5138892e23ba;p=binutils-gdb.git * 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. --- 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.