From 076817596ddc6faad6857047b42e4c3cc972d485 Mon Sep 17 00:00:00 2001 From: Mark Kettenis Date: Wed, 30 Jun 2004 19:23:21 +0000 Subject: [PATCH] * alphabsd-nat.c: Update copyright year. (getregs_supplies): Use ALPHA_PC_REGNUM instead of PC_REGNUM. --- gdb/ChangeLog | 5 +++++ gdb/alphabsd-nat.c | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) 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). */ -- 2.34.1