This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch/ob] Return type length of virtual type


FYI,

I checked in the attached.

	Andrew
2001-12-13  Andrew Cagney  <ac131313@redhat.com>

	* arch-utils.c (generic_register_virtual_size): Return TYPE_LENGTH
	of register's type.

Index: arch-utils.c
===================================================================
RCS file: /cvs/src/src/gdb/arch-utils.c,v
retrieving revision 1.41
diff -p -r1.41 arch-utils.c
*** arch-utils.c	2001/12/11 22:15:53	1.41
--- arch-utils.c	2001/12/13 23:46:05
*************** generic_register_raw_size (int regnum)
*** 392,398 ****
  int
  generic_register_virtual_size (int regnum)
  {
!   return REGISTER_VIRTUAL_TYPE (regnum);
  }
  
  
--- 392,398 ----
  int
  generic_register_virtual_size (int regnum)
  {
!   return TYPE_LENGTH (REGISTER_VIRTUAL_TYPE (regnum));
  }
  
  

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]