aboutsummaryrefslogtreecommitdiff
path: root/gdb/arch-utils.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2003-09-30 13:29:44 +0000
committerAndrew Cagney <cagney@redhat.com>2003-09-30 13:29:44 +0000
commit2e0926257dd7f472121aa9d48341d94e5b08c403 (patch)
tree67dfe2e9b150659816b1726f0c904e68f76665d4 /gdb/arch-utils.c
parent4deab7378b2e02751de8e835f30b2233685afefd (diff)
downloadgdb-2e0926257dd7f472121aa9d48341d94e5b08c403.zip
gdb-2e0926257dd7f472121aa9d48341d94e5b08c403.tar.gz
gdb-2e0926257dd7f472121aa9d48341d94e5b08c403.tar.bz2
2003-09-29 Andrew Cagney <cagney@redhat.com>
* gdbarch.sh (DEPRECATED_REGISTER_VIRTUAL_TYPE): Rename DEPRECATED_REGISTER_VIRTUAL_TYPE. * gdbarch.h, gdbarch.c: Regenerate. * arch-utils.c, hppa-tdep.c, regcache.c, regcache.h: Update. * sh64-tdep.c, sparc-tdep.c: Update. 2003-09-30 Andrew Cagney <cagney@redhat.com> * gdbint.texinfo (Target Architecture Definition): Rename REGISTER_VIRTUAL_TYPE to DEPRECATED_REGISTER_VIRTUAL_TYPE.
Diffstat (limited to 'gdb/arch-utils.c')
-rw-r--r--gdb/arch-utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/arch-utils.c b/gdb/arch-utils.c
index 6e79c55..a38a6e4 100644
--- a/gdb/arch-utils.c
+++ b/gdb/arch-utils.c
@@ -294,7 +294,7 @@ generic_register_size (int regnum)
/* FIXME: cagney/2003-03-01: Once all architectures implement
gdbarch_register_type(), this entire function can go away. It
is made obsolete by register_size(). */
- return TYPE_LENGTH (REGISTER_VIRTUAL_TYPE (regnum)); /* OK */
+ return TYPE_LENGTH (DEPRECATED_REGISTER_VIRTUAL_TYPE (regnum)); /* OK */
}
/* Assume all registers are adjacent. */