aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/alphabsd-nat.c6
2 files changed, 8 insertions, 3 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 5581b39..9e4f164 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2004-06-30 Mark Kettenis <kettenis@gnu.org>
+
+ * alphabsd-nat.c: Update copyright year.
+ (getregs_supplies): Use ALPHA_PC_REGNUM instead of PC_REGNUM.
+
2004-06-29 Joel Brobecker <brobecker@gnat.com>
* i386-cygwin-tdep.c (i386-cygwin-tdep.c): New function.
diff --git a/gdb/alphabsd-nat.c b/gdb/alphabsd-nat.c
index 0781698..d282a72 100644
--- a/gdb/alphabsd-nat.c
+++ b/gdb/alphabsd-nat.c
@@ -1,5 +1,6 @@
/* Native-dependent code for Alpha BSD's.
- Copyright 2000, 2001, 2002 Free Software Foundation, Inc.
+
+ Copyright 2000, 2001, 2002, 2004 Free Software Foundation, Inc.
This file is part of GDB.
@@ -76,10 +77,9 @@ static int
getregs_supplies (int regno)
{
return ((regno >= ALPHA_V0_REGNUM && regno <= ALPHA_ZERO_REGNUM)
- || regno >= PC_REGNUM);
+ || regno >= ALPHA_PC_REGNUM);
}
-
/* Fetch register REGNO from the inferior. If REGNO is -1, do this
for all registers (including the floating point registers). */