* alphabsd-nat.c: Update copyright year.

(getregs_supplies): Use ALPHA_PC_REGNUM instead of PC_REGNUM.
This commit is contained in:
Mark Kettenis 2004-06-30 19:23:21 +00:00
parent 8a41c3ea7d
commit 076817596d
2 changed files with 8 additions and 3 deletions

View File

@ -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.

View File

@ -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). */