From f30992d46d166a62fb5dbb5b86b625ee019a7107 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Tue, 30 Sep 2003 19:12:20 +0000 Subject: 2003-09-30 Andrew Cagney * mi-main.c: Rename REGISTER_VIRTUAL_SIZE to DEPRECATED_REGISTER_VIRTUAL_SIZE. 2003-09-30 Andrew Cagney * gdbarch.sh (DEPRECATED_REGISTER_VIRTUAL_SIZE): Rename REGISTER_VIRTUAL_SIZE. * gdbarch.h, gdbarch.c: Regenerate. * vax-tdep.h, sparc-tdep.c, regcache.h: Update. * regcache.c, mn10300-tdep.c, mips-tdep.c: Update. * infcmd.c, frame.c, findvar.c, cris-tdep.c: Update. 2003-09-30 Andrew Cagney * gdbint.texinfo (Target Architecture Definition): Rename REGISTER_VIRTUAL_SIZE to DEPRECATED_REGISTER_VIRTUAL_SIZE. (Target Architecture Definition): --- gdb/regcache.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'gdb/regcache.c') diff --git a/gdb/regcache.c b/gdb/regcache.c index 42280ff..a36cd1e 100644 --- a/gdb/regcache.c +++ b/gdb/regcache.c @@ -114,7 +114,7 @@ init_legacy_regcache_descr (struct gdbarch *gdbarch, descr->register_offset[i] = DEPRECATED_REGISTER_BYTE (i); descr->sizeof_register[i] = REGISTER_RAW_SIZE (i); gdb_assert (MAX_REGISTER_SIZE >= REGISTER_RAW_SIZE (i)); - gdb_assert (MAX_REGISTER_SIZE >= REGISTER_VIRTUAL_SIZE (i)); + gdb_assert (MAX_REGISTER_SIZE >= DEPRECATED_REGISTER_VIRTUAL_SIZE (i)); } /* Compute the real size of the register buffer. Start out by @@ -243,7 +243,7 @@ init_regcache_descr (struct gdbarch *gdbarch) gdb_assert (descr->register_offset[i] == DEPRECATED_REGISTER_BYTE (i)); #if 0 gdb_assert (descr->sizeof_register[i] == REGISTER_RAW_SIZE (i)); - gdb_assert (descr->sizeof_register[i] == REGISTER_VIRTUAL_SIZE (i)); + gdb_assert (descr->sizeof_register[i] == DEPRECATED_REGISTER_VIRTUAL_SIZE (i)); #endif } /* gdb_assert (descr->sizeof_raw_registers == DEPRECATED_REGISTER_BYTES (i)); */ @@ -1553,7 +1553,7 @@ regcache_dump (struct regcache *regcache, struct ui_file *file, if ((regcache->descr->sizeof_register[regnum] != REGISTER_RAW_SIZE (regnum)) || (regcache->descr->sizeof_register[regnum] - != REGISTER_VIRTUAL_SIZE (regnum)) + != DEPRECATED_REGISTER_VIRTUAL_SIZE (regnum)) || (regcache->descr->sizeof_register[regnum] != TYPE_LENGTH (register_type (regcache->descr->gdbarch, regnum))) @@ -1623,7 +1623,7 @@ regcache_dump (struct regcache *regcache, struct ui_file *file, regcache_cooked_read (regcache, regnum, buf); fprintf_unfiltered (file, "0x"); dump_endian_bytes (file, TARGET_BYTE_ORDER, buf, - REGISTER_VIRTUAL_SIZE (regnum)); + DEPRECATED_REGISTER_VIRTUAL_SIZE (regnum)); } } -- cgit v1.1