lib.dwfl
Class ElfPrXFPRegSet

java.lang.Object
  extended by lib.dwfl.ElfNhdr.ElfNoteSectionEntry
      extended by lib.dwfl.ElfPrXFPRegSet

public class ElfPrXFPRegSet
extends ElfNhdr.ElfNoteSectionEntry

Java Representation of the the Floating point notes secion found in core files


Constructor Summary
ElfPrXFPRegSet()
           
 
Method Summary
static ElfPrXFPRegSet[] decode(ElfData noteData)
           
 long fillMemRegion(byte[] buffer, long startAddress)
           
 long getEntrySize()
           
static long getNoteData(ElfData data)
           
 byte[] getXFPRegisterBuffer()
          Returns the XFP register info as a byte array
 void setXFPRegisterBuffer(byte[] buffer)
          Sets the XFP register buffer from buffer.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ElfPrXFPRegSet

public ElfPrXFPRegSet()
Method Detail

setXFPRegisterBuffer

public void setXFPRegisterBuffer(byte[] buffer)
Sets the XFP register buffer from buffer.

Parameters:
byte[] - buffer - the ptrace byte buffer representing the block of memory the fp registers reside. As fp registers are very arch specific this is the only way we can represent in a genric way.

getXFPRegisterBuffer

public byte[] getXFPRegisterBuffer()
Returns the XFP register info as a byte array

Returns:
- buffer of fp registers

decode

public static ElfPrXFPRegSet[] decode(ElfData noteData)

getNoteData

public static long getNoteData(ElfData data)

getEntrySize

public long getEntrySize()
Specified by:
getEntrySize in class ElfNhdr.ElfNoteSectionEntry

fillMemRegion

public long fillMemRegion(byte[] buffer,
                          long startAddress)
Specified by:
fillMemRegion in class ElfNhdr.ElfNoteSectionEntry