This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[PATCH] Fix typo in vax-tdep.c
- From: Mark Kettenis <kettenis at chello dot nl>
- To: gdb-patches at sources dot redhat dot com
- Date: Mon, 17 May 2004 23:59:00 +0200 (CEST)
- Subject: [PATCH] Fix typo in vax-tdep.c
Obviously this second struct was supposed to be a union.
Committed,
Mark
Index: ChangeLog
from Mark Kettenis <kettenis@gnu.org>
* vax-tdep.c (vax_return_value): Fix typo.
Index: vax-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/vax-tdep.c,v
retrieving revision 1.78
diff -u -p -r1.78 vax-tdep.c
--- vax-tdep.c 15 May 2004 17:11:48 -0000 1.78
+++ vax-tdep.c 17 May 2004 21:55:09 -0000
@@ -210,7 +210,7 @@ vax_return_value (struct gdbarch *gdbarc
char buf[8];
if (TYPE_CODE (type) == TYPE_CODE_STRUCT
- || TYPE_CODE (type) == TYPE_CODE_STRUCT
+ || TYPE_CODE (type) == TYPE_CODE_UNION
|| TYPE_CODE (type) == TYPE_CODE_ARRAY)
return RETURN_VALUE_STRUCT_CONVENTION;