Go to the first, previous, next, last section, table of contents.


edi_init

Syntax

#include <debug/dbgcom.h>

void edi_init (jmp_buf start_state);

Description

This function is part of the DJGPP debugging support. It should be called after a call to v2loadimage (see section v2loadimage) which loads an executable program as a debuggee. edi_init then takes care of initializing the data structures which need to be set before the debugger can set breakpoints and run the debuggee.

The argument start_state is usually set by a preceding call to v2loadimage.

Portability

not ANSI, not POSIX

Example

 if (v2loadimage (exec_file, cmdline, start_state))
   {
      printf ("Load failed for image %s\n", exec_file);
      exit (1);
   }

  edi_init (start_state);


Go to the first, previous, next, last section, table of contents.