diff options
author | Michael Snyder <msnyder@vmware.com> | 2001-12-11 22:15:55 +0000 |
---|---|---|
committer | Michael Snyder <msnyder@vmware.com> | 2001-12-11 22:15:55 +0000 |
commit | ce29138a6e7cdb10675c83bd0d16a2ee5078717a (patch) | |
tree | 84cc644535517bc625576eddbc22288429e6cd7c /gdb/arch-utils.h | |
parent | 5ae326fa7049c90412645417e00dfed7325dc279 (diff) | |
download | gdb-ce29138a6e7cdb10675c83bd0d16a2ee5078717a.zip gdb-ce29138a6e7cdb10675c83bd0d16a2ee5078717a.tar.gz gdb-ce29138a6e7cdb10675c83bd0d16a2ee5078717a.tar.bz2 |
2001-12-10 Michael Snyder <msnyder@redhat.com>
* arch-utils.c (generic_register_virtual_size): New function.
* arch-utils.h: Export generic version of register_virtual_size.
* gdbarch.sh (REGISTER_VIRTUAL_SIZE): Use new function as default.
* gdbarch.c: Regenerate.
Diffstat (limited to 'gdb/arch-utils.h')
-rw-r--r-- | gdb/arch-utils.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/arch-utils.h b/gdb/arch-utils.h index d1b4226..834d3f1 100644 --- a/gdb/arch-utils.h +++ b/gdb/arch-utils.h @@ -142,4 +142,8 @@ extern int generic_in_function_epilogue_p (struct gdbarch *gdbarch, CORE_ADDR pc of the integer type. */ extern int generic_register_raw_size (int regnum); +/* Assume the virtual size of registers corresponds to the virtual type. */ + +extern int generic_register_virtual_size (int regnum); + #endif |