From: kettenis Date: Wed, 30 Jun 2004 19:23:18 +0000 (+0000) Subject: * alphabsd-nat.c: Update copyright year. X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=9e7f5b3877a20393784e89ceb36f93b6186c3501;p=pf3gnuchains%2Fsourceware.git * alphabsd-nat.c: Update copyright year. (getregs_supplies): Use ALPHA_PC_REGNUM instead of PC_REGNUM. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 5581b39b29..9e4f164c72 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2004-06-30 Mark Kettenis + + * alphabsd-nat.c: Update copyright year. + (getregs_supplies): Use ALPHA_PC_REGNUM instead of PC_REGNUM. + 2004-06-29 Joel Brobecker * i386-cygwin-tdep.c (i386-cygwin-tdep.c): New function. diff --git a/gdb/alphabsd-nat.c b/gdb/alphabsd-nat.c index 0781698710..d282a72ad6 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). */