lib.dwfl
Class ElfPrXFPRegSet
java.lang.Object
lib.dwfl.ElfNhdr.ElfNoteSectionEntry
lib.dwfl.ElfPrXFPRegSet
public class ElfPrXFPRegSet
- extends ElfNhdr.ElfNoteSectionEntry
Java Representation of the the Floating point notes secion
found in core files
ElfPrXFPRegSet
public ElfPrXFPRegSet()
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