library/src/blockclass/BP-BlockClass.cc
// prints out registers for the current process
prints out registers for the current process
prints out registers for the current process
int Block::DbgPrintRegisters()
{
	if (dbgHandle == NULL)
		return ERR_FAILURE;
	printf("\n Registers:__________________ ");
	printf("\n\t EIP: 0x%.08x", dbgHandle->eip);
	printf("\n\t EBP: 0x%.08x", dbgHandle->ebp);
	printf("\n\t ESP: 0x%.08x", dbgHandle->esp);
	printf("\n");
	printf("\n\t EAX: 0x%.08x", dbgHandle->eax);
	printf("\n\t EBX: 0x%.08x", dbgHandle->ebx);
	printf("\n\t ECX: 0x%.08x", dbgHandle->ecx);
	printf("\n\t EDX: 0x%.08x", dbgHandle->edx);
	printf("\n\t ESI: 0x%.08x", dbgHandle->esi);
	printf("\n -------------------------- ");
	return ERR_SUCCESS;
}
int Block :: DbgPrintRegisters ( ) { if ( dbgHandle == NULL ) return ERR_FAILURE ; printf ( " \n " ) ; printf ( " \n \t " , dbgHandle -> eip ) ; printf ( " \n \t " , dbgHandle -> ebp ) ; printf ( " \n \t " , dbgHandle -> esp ) ; printf ( " \n " ) ; printf ( " \n \t " , dbgHandle -> eax ) ; printf ( " \n \t " , dbgHandle -> ebx ) ; printf ( " \n \t " , dbgHandle -> ecx ) ; printf ( " \n \t " , dbgHandle -> edx ) ; printf ( " \n \t " , dbgHandle -> esi ) ; printf ( " \n " ) ; return ERR_SUCCESS ; }
prints out registers for the current process
prints out registers for the current process
// return indicating success