aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2004-05-17 21:56:19 +0000
committerMark Kettenis <kettenis@gnu.org>2004-05-17 21:56:19 +0000
commitcaed1a458002ae270ce2db725510aff5d1c9f2b9 (patch)
tree0510623a08dcb25a6c740fa2a9feea426d459290 /gdb
parente7e61c9f1e560b3c11e83a8bc47864facb1e0da1 (diff)
downloadgdb-caed1a458002ae270ce2db725510aff5d1c9f2b9.zip
gdb-caed1a458002ae270ce2db725510aff5d1c9f2b9.tar.gz
gdb-caed1a458002ae270ce2db725510aff5d1c9f2b9.tar.bz2
* vax-tdep.c (vax_return_value): Fix typo.
* alphabsd-nat.c: Update copyright year. (getregs_supplies): Replace PC_REGNUM with ALPHA_PC_REGNUM.
Diffstat (limited to 'gdb')
-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;