diff options
author | Mark Kettenis <kettenis@gnu.org> | 2004-06-30 19:23:21 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2004-06-30 19:23:21 +0000 |
commit | 076817596ddc6faad6857047b42e4c3cc972d485 (patch) | |
tree | 74085e935a916818a5eec184a38124b65d484864 | |
parent | 8a41c3ea7d1cc877ea3e82fe67184a3c9f607e00 (diff) | |
download | gdb-076817596ddc6faad6857047b42e4c3cc972d485.zip gdb-076817596ddc6faad6857047b42e4c3cc972d485.tar.gz gdb-076817596ddc6faad6857047b42e4c3cc972d485.tar.bz2 |
* alphabsd-nat.c: Update copyright year.
(getregs_supplies): Use ALPHA_PC_REGNUM instead of PC_REGNUM.
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/alphabsd-nat.c | 6 |
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). */ |