aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1993-08-02 22:41:50 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1993-08-02 22:41:50 +0000
commit802d63084680ac87d652b4215dfc5138892e23ba (patch)
treeead0eb5e67cef7445ec10e7e1c15917332f1c7ed
parent4c7ff23d3291e5d7f9da612302d20368105826d0 (diff)
downloadgdb-802d63084680ac87d652b4215dfc5138892e23ba.zip
gdb-802d63084680ac87d652b4215dfc5138892e23ba.tar.gz
gdb-802d63084680ac87d652b4215dfc5138892e23ba.tar.bz2
* 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.
-rw-r--r--gdb/ChangeLog5
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index b3f69fb..13d5481 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.