lib.dwfl
Class ElfPrFPRegSet

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

public class ElfPrFPRegSet
extends ElfNhdr.ElfNoteSectionEntry

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


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

Constructor Detail

ElfPrFPRegSet

public ElfPrFPRegSet()
Method Detail

setFPRegisterBuffer

public void setFPRegisterBuffer(byte[] buffer)
Sets the FP 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.

getFPRegisterBuffer

public byte[] getFPRegisterBuffer()
Returns the FP register info as a byte array

Returns:
- buffer of fp registers

decode

public static ElfPrFPRegSet[] 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