* valops.c (typecmp): If we are passing a non-reference to a function
authorJim Kingdon <jkingdon@engr.sgi.com>
Mon, 2 Aug 1993 22:41:50 +0000 (22:41 +0000)
committerJim Kingdon <jkingdon@engr.sgi.com>
Mon, 2 Aug 1993 22:41:50 +0000 (22:41 +0000)
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

index b3f69fb1cb7d0753354074fdb4d9b73c55c6e2ec..13d548187bbcfddcdcae7286877db2aff50bcb94 100644 (file)
@@ -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.