diff options
author | Andrew Cagney <cagney@redhat.com> | 2003-09-30 19:12:20 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2003-09-30 19:12:20 +0000 |
commit | 973e868eb3abe910b2997bf1c5e61bfe0bb695d6 (patch) | |
tree | 2b0a0d8935a098a53e78096ab60a8ab0a6f67471 /gdb/regcache.c | |
parent | 1393f652d71c0c84faba5a69fbb02aa459b8f8de (diff) | |
download | gdb-973e868eb3abe910b2997bf1c5e61bfe0bb695d6.tar.gz |
2003-09-30 Andrew Cagney <cagney@redhat.com>
* mi-main.c: Rename REGISTER_VIRTUAL_SIZE to
DEPRECATED_REGISTER_VIRTUAL_SIZE.
2003-09-30 Andrew Cagney <cagney@redhat.com>
* 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 <cagney@redhat.com>
* gdbint.texinfo (Target Architecture Definition): Rename
REGISTER_VIRTUAL_SIZE to DEPRECATED_REGISTER_VIRTUAL_SIZE.
(Target Architecture Definition):
Diffstat (limited to 'gdb/regcache.c')
-rw-r--r-- | gdb/regcache.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/regcache.c b/gdb/regcache.c index 42280ff5b89..a36cd1e5fe5 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)); } } |