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.
This commit is contained in:
parent
5ae326fa70
commit
ce29138a6e
5 changed files with 21 additions and 2 deletions
|
@ -387,6 +387,14 @@ generic_register_raw_size (int regnum)
|
|||
return TARGET_INT_BIT / HOST_CHAR_BIT;
|
||||
}
|
||||
|
||||
/* Assume the virtual size corresponds to the virtual type. */
|
||||
|
||||
int
|
||||
generic_register_virtual_size (int regnum)
|
||||
{
|
||||
return REGISTER_VIRTUAL_TYPE (regnum);
|
||||
}
|
||||
|
||||
|
||||
/* Functions to manipulate the endianness of the target. */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue