1 /*
2  * Copyright (c) 2001, Oracle and/or its affiliates. All rights reserved.
3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4  *
5  * This code is free software; you can redistribute it and/or modify it
6  * under the terms of the GNU General Public License version 2 only, as
7  * published by the Free Software Foundation.
8  *
9  * This code is distributed in the hope that it will be useful, but WITHOUT
10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
12  * version 2 for more details (a copy is included in the LICENSE file that
13  * accompanied this code).
14  *
15  * You should have received a copy of the GNU General Public License version
16  * 2 along with this work; if not, write to the Free Software Foundation,
17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18  *
19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20  * or visit www.oracle.com if you need additional information or have any
21  * questions.
22  *
23  */
24 
25 package sun.jvm.hotspot.debugger.win32.coff;
26 
27 /** Constants indicating debug information types in the
28     DebugDirectory. (Some of the descriptions are taken directly from
29     Microsoft's documentation and are copyrighted by Microsoft.) */
30 
31 public interface DebugTypes {
32 
33   /** Unknown value, ignored by all tools. */
34   public static final int IMAGE_DEBUG_TYPE_UNKNOWN = 0;
35 
36   /** COFF debug information (line numbers, symbol table, and string
37       table). This type of debug information is also pointed to by
38       fields in the file headers. */
39   public static final int IMAGE_DEBUG_TYPE_COFF = 1;
40 
41   /** CodeView debug information. The format of the data block is
42       described by the CV4 specification. */
43   public static final int IMAGE_DEBUG_TYPE_CODEVIEW = 2;
44 
45   /** Frame Pointer Omission (FPO) information. This information tells
46       the debugger how to interpret non-standard stack frames, which
47       use the EBP register for a purpose other than as a frame
48       pointer. */
49   public static final int IMAGE_DEBUG_TYPE_FPO = 3;
50 
51   public static final int IMAGE_DEBUG_TYPE_MISC = 4;
52   public static final int IMAGE_DEBUG_TYPE_EXCEPTION = 5;
53   public static final int IMAGE_DEBUG_TYPE_FIXUP = 6;
54   public static final int IMAGE_DEBUG_TYPE_OMAP_TO_SRC = 7;
55   public static final int IMAGE_DEBUG_TYPE_OMAP_FROM_SRC = 8;
56   public static final int IMAGE_DEBUG_TYPE_BORLAND = 9;
57 }
58