mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-10-19 13:53:29 +08:00
Return typelength of register virtual type as size.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2001-12-13 Andrew Cagney <ac131313@redhat.com>
|
||||||
|
|
||||||
|
* arch-utils.c (generic_register_virtual_size): Return TYPE_LENGTH
|
||||||
|
of register's type.
|
||||||
|
|
||||||
2001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
|
2001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
|
||||||
|
|
||||||
* cli/cli-script.c (print_command_lines): Remove extra
|
* cli/cli-script.c (print_command_lines): Remove extra
|
||||||
|
@ -392,7 +392,7 @@ generic_register_raw_size (int regnum)
|
|||||||
int
|
int
|
||||||
generic_register_virtual_size (int regnum)
|
generic_register_virtual_size (int regnum)
|
||||||
{
|
{
|
||||||
return REGISTER_VIRTUAL_TYPE (regnum);
|
return TYPE_LENGTH (REGISTER_VIRTUAL_TYPE (regnum));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user