This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[PATCH] Some Alpha BSD tweaks
- From: Mark Kettenis <kettenis at chello dot nl>
- To: gdb-patches at sources dot redhat dot com
- Date: Wed, 30 Jun 2004 21:23:32 +0200 (CEST)
- Subject: [PATCH] Some Alpha BSD tweaks
Committed,
Mark
Index: ChangeLog
from Mark Kettenis <kettenis@gnu.org>
* alphabsd-nat.c: Update copyright year.
(getregs_supplies): Use ALPHA_PC_REGNUM instead of PC_REGNUM.
Index: alphabsd-nat.c
===================================================================
RCS file: /cvs/src/src/gdb/alphabsd-nat.c,v
retrieving revision 1.10
diff -u -p -r1.10 alphabsd-nat.c
--- alphabsd-nat.c 1 Jun 2003 21:46:37 -0000 1.10
+++ alphabsd-nat.c 30 Jun 2004 19:22:09 -0000
@@ -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). */