Subversion Repositories Kolibri OS

Rev

Go to most recent revision | Blame | Last modification | View Log | Download | RSS feed

  1. struct __frame
  2. {
  3.  unsigned long ebp,edi,esi,edx,ecx,ebx,eax,eip;
  4. };
  5.  
  6. void __libc_null_call(volatile struct __frame frame)
  7. {
  8.  __libclog_printf("Bad call occured from EIP=%x\n",frame.eip);
  9.  __libclog_printf("EAX=%08x EBX=%08x ECX=%08x EDX=%08x\n",
  10.      frame.eax,frame.ebx,frame.ecx,frame.edx);
  11.  __libclog_printf("ESI=%08x EDI=%08x EBP=%08x\n",
  12.      frame.esi,frame.edi,frame.ebp);
  13.  _exit(1);
  14. }
  15.