delorie.com/djgpp/doc/libc/libc_288.html   search  
libc.a reference

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

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

ANSI/ISO C No
POSIX No

Example

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

  edi_init (start_state);


  webmaster     delorie software   privacy  
  Copyright © 2004     Updated Apr 2004