aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog7
-rw-r--r--gdb/vax-tdep.c2
2 files changed, 8 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 7f6da6f..27d0058 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2004-05-17 Mark Kettenis <kettenis@gnu.org>
+
+ * vax-tdep.c (vax_return_value): Fix typo.
+
2004-05-17 Andrew Cagney <cagney@redhat.com>
* MAINTAINERS: Mark Salter was also responsible for
@@ -31,6 +35,9 @@
2004-05-17 Mark Kettenis <kettenis@gnu.org>
+ * alphabsd-nat.c: Update copyright year.
+ (getregs_supplies): Replace PC_REGNUM with ALPHA_PC_REGNUM.
+
* m68k-tdep.h (m68k_regnum): Add M68K_D2_REGNUM, M68K_D7_REGNUM
and M68K_A2_REGNUM.
diff --git a/gdb/vax-tdep.c b/gdb/vax-tdep.c
index 48bb81b..f9f044a 100644
--- a/gdb/vax-tdep.c
+++ b/gdb/vax-tdep.c
@@ -210,7 +210,7 @@ vax_return_value (struct gdbarch *gdbarch, struct type *type,
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;