| 1 |
#ifdef RCSID |
| 2 |
static char RCSid[] = |
| 3 |
"$Header$"; |
| 4 |
#endif |
| 5 |
|
| 6 |
/* |
| 7 |
* Copyright (c) 1999, 2002 Michael J. Roberts. All Rights Reserved. |
| 8 |
* |
| 9 |
* Please see the accompanying license file, LICENSE.TXT, for information |
| 10 |
* on using and copying this software. |
| 11 |
*/ |
| 12 |
/* |
| 13 |
Name |
| 14 |
vmini_nd.cpp - VM initialization - non-debug version |
| 15 |
Function |
| 16 |
Stub routines for initialization related to the debugger. This |
| 17 |
module should be linked into non-debug builds of the interpreter, |
| 18 |
so that debugger-related files are omitted from the executable. |
| 19 |
Notes |
| 20 |
|
| 21 |
Modified |
| 22 |
12/03/99 MJRoberts - Creation |
| 23 |
*/ |
| 24 |
|
| 25 |
#include "t3std.h" |
| 26 |
#include "vminit.h" |
| 27 |
#include "vmparam.h" |
| 28 |
|
| 29 |
/* |
| 30 |
* Initialize the debugger |
| 31 |
*/ |
| 32 |
void vm_init_debugger(VMG0_) |
| 33 |
{ |
| 34 |
/* non-debug version - nothing to do */ |
| 35 |
} |
| 36 |
|
| 37 |
/* |
| 38 |
* Initialization, phase 2: just before loading image file |
| 39 |
*/ |
| 40 |
void vm_init_before_load(VMG_ const char *image_filename) |
| 41 |
{ |
| 42 |
/* non-debug version - nothing to do */ |
| 43 |
} |
| 44 |
|
| 45 |
/* |
| 46 |
* Initialization, phase 3: just after loading the image file |
| 47 |
*/ |
| 48 |
void vm_init_after_load(VMG0_) |
| 49 |
{ |
| 50 |
/* non-debug version - nothing to do */ |
| 51 |
} |
| 52 |
|
| 53 |
|
| 54 |
/* |
| 55 |
* Termination - shut down the debugger |
| 56 |
*/ |
| 57 |
void vm_terminate_debug_shutdown(VMG0_) |
| 58 |
{ |
| 59 |
/* non-debug version - nothing to do */ |
| 60 |
} |
| 61 |
|
| 62 |
/* |
| 63 |
* Termination - delete debugger objects |
| 64 |
*/ |
| 65 |
void vm_terminate_debug_delete(VMG0_) |
| 66 |
{ |
| 67 |
/* non-debug version - nothing to do */ |
| 68 |
} |
| 69 |
|
| 70 |
/* |
| 71 |
* In the non-debug version, use the basic stack reserve parameter. |
| 72 |
*/ |
| 73 |
size_t vm_init_stack_reserve() |
| 74 |
{ |
| 75 |
return VM_STACK_RESERVE; |
| 76 |
} |